]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Fix sincos errno setting (bug 15467).
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d435569c
JM
12015-02-11 Joseph Myers <joseph@codesourcery.com>
2
3 [BZ #15467]
4 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
5 (__sincos): Set errno to EDOM for infinite argument.
6 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
7 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
8 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
9 (__sincosl): Set errno to EDOM for infinite argument.
10 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
11 (__sincosl): Set errno to EDOM for infinite argument.
12 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
13 (__sincosl): Set errno to EDOM for infinite argument.
14 * math/libm-test.inc (sincos_test_data): Test errno setting.
15
d35273f2
LH
162015-02-11 Leonhard Holz <leonhard.holz@web.de>
17
18 * string/strxfrm_l.c: Remove #define STRCMP.
19 * string/strcoll_l.c: Remove #define STRLEN.
20 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
21 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22
306bc0d1
JM
232015-02-10 Joseph Myers <joseph@codesourcery.com>
24
25 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
26 * sysdeps/mips/mips32/sfp-machine.h: ... here.
27 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
28 * sysdeps/mips/mips64/Makefile: ... here.
29 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
30 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
31 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
32 * sysdeps/mips/mips64/sfp-machine.h: ... here.
33 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
34 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
35 * sysdeps/mips/mips64/n64/Implies: Likewise.
36
92b67e8d
RM
372015-02-10 Roland McGrath <roland@hack.frob.com>
38
39 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
40 <sys/time.h>, <string.h>, and <errno.h>.
41 (dest_offset, dest_address, value, zero): Remove unused variables.
42 (ldouble): Remove typedef.
43 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
44 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
45 1). Fix code style.
46 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
47 (check): Function removed.
48 (CHECK): New macro.
49 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
50 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
51 Don't call set_sigaction_FP and remove_sigaction_FP here.
52 (ldouble_test): Just use 'long double' as macro argument, no need for
53 the 'ldouble' typedef.
54 (do_test): Set up SIGFPE handler at start, using plain signal rather
55 than sigaction. Fix code style.
56
132a1328
EF
572015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
58
59 [BZ #17949]
60 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
61 jump label.
62
3001e54c
AZ
632015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
64
bc0cdc49
AZ
65 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
66 * sysdeps/powerpc/powerpc32/configure: Regenerated.
67
83658961
AZ
68 * sysdeps/powerpc/configure.ac: Remove file.
69 * sysdeps/powerpc/configure: Likewise.
70
10169938
AZ
71 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
72 [sysdep_routines]: Remove wordcopy-power6 object.
73 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
74 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
75 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
76 (__memmove_ppc32): Likewise.
77 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
78 file.
79 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
80 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
81 Remove preprocessor.
82
8548a53d
AZ
83 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
84 [sysdep_routines]: Remove wide chars objects.
85 [wcsmbs]: New rule for wide char objects.
86
b2692114
AZ
87 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
88 Remove wordcopy-power6 obejct.
89 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
90 Use local call for wordcopy and memcpy symbols.
91 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
92 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
93 implementation for loader.
94 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
95
18e270aa
AZ
96 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
97 Remove wordcopy-power7 object.
98 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
99 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
100 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
101 (_wordcopy_fwd_dest_aligned): Likewise.
102 (_wordcopy_bwd_aligned): Likewise.
103 (_wordcopy_bwd_dest_aligned): Likewise.
104
6f0993a6
AZ
105 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
106 Rewrite to call __memmove_ppc instead of include default
107 implementation.
108
3001e54c
AZ
109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
110 Remove wide chars objects.
111 [wcsmbs]: New rule for wide char objects.
112
59b61c82
AS
1132015-02-09 Andreas Schwab <schwab@suse.de>
114
115 [BZ #17912]
116 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
117 in terms of __O_DIRECTORY.
118
ebd7aede
ST
1192015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
120
121 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
122 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
123 call PTR_MANGLE.
124 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
125 PTR_DEMANGLE.
ebd7aede 126
3999d26e
PE
1272015-02-07 Paul Eggert <eggert@cs.ucla.edu>
128
129 Add ersatz _Static_assert on older C hosts
130 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
131 pre-C11 C platform that is not known to support _Static_assert.
132
e9a5bc1c
ST
1332015-02-07 Richard Braun <rbraun@sceen.net>
134
135 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
136 sigstate.
e86c5b64 137 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 138
e2049d17
ST
1392015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
140
141 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
142 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
143 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
144 instead of int.
145 * misc/fchflags.c (fchflags): Likewise.
146 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
147 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
148 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
149 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
150 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
151 Declare macros.
152 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
153 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
154 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
155 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
156 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
157 45.
a9a002fb
ST
158 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
159 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
160 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
161 MACH_RCV_TIMED_OUT.
f96ec27a
ST
162 * hurd/hurd/signal.h (_hurd_self_sigstate,
163 _hurd_critical_section_lock, _hurd_critical_section_unlock):
164 Explicit casts from void *.
4fc81a77 165 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 166 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 167
f05826f0
ST
168 [BZ #4719]
169 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
170 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
171 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
172 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
173 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
174 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
175
a5eb23de
ST
176 [BZ #17944]
177 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
178 duplicates ADDR->sun_path with sockaddr LEN limitation.
179 * sysdeps/mach/hurd/connect.c: Include <string.h>
180 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
181 * sysdeps/mach/hurd/sendmsg.c: Likewise.
182 * sysdeps/mach/hurd/sendto.c: Likewise.
183 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
184 implementing it by hand.
185
ac9e0e5e
RM
1862015-02-06 Roland McGrath <roland@hack.frob.com>
187
f8d1bb4c
RM
188 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
189 Use sfi_breg on ldr.
190 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
191 Likewise.
192
022f4812
RM
193 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
194 it's defined.
195 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
196 Test SIGSETXID only if it's defined.
197
1ac074e6
RM
198 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
199
f50ad78b
RM
200 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
201 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
202
9e7265f4
RM
203 * nptl/tst-align2.c: Moved ...
204 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
205 * nptl/Makefile (tests): Remove tst-align2.
206 * sysdeps/unix/sysv/linux/Makefile
207 [$(subdir) = nptl] (tests): Add tst-align-clone.
208 * nptl/tst-getpid1.c: Moved ...
209 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
210 * nptl/tst-getpid2.c: Moved ...
211 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
212 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
213 * sysdeps/unix/sysv/linux/Makefile
214 [$(subdir) = nptl] (tests): ... here.
215 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
216 * sysdeps/unix/sysv/linux/Makefile
217 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
218
62ad2abc
RM
219 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
220 Drop trailing \n from perror argument. Use return rather than exit.
221
cfa69b0b
RM
222 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
223 on [SA_SIGINFO].
224 * nptl/tst-cancel21.c (do_test): Likewise.
225 * debug/tst-backtrace6.c: Include <signal.h> first thing.
226 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
227 [!SA_SIGINFO]: Make it a stub test.
228
82727806
RM
229 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
230 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
231
da3a1594
RM
232 * posix/tst-getlogin.c: Move to ...
233 * login/tst-getlogin.c: ... here.
234 * posix/Makefile (tests): Move tst-getlogin to ...
235 * login/Makefile (tests): ... here.
236
b65c0ff9
RM
237 * libio/tst-atime.c (do_test): Move local variables SV and E
238 inside [ST_NOATIME] conditional.
239
56606ab3
RM
240 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
241
ebf7d6ee
RM
242 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
243
ca0e0675
RM
244 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
245 (wait_code): New function replaces macro.
246 Call nanosleep rather than syscall.
247
8c28bbc6
RM
248 * nptl/pt-system.c: Rewritten. Put everything under
249 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
250 Use IFUNC to redirect when possible.
251
ec2a88b3
RM
252 * nptl/pt-longjmp.c: Rewritten. Put everything under
253 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
254 Use IFUNC to redirect when possible.
255
beff1d13
RM
256 * nptl/pt-fork.c: Rewritten. Put everything under
257 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
258 Use IFUNC to redirect when possible.
259 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
260
ea02c6b8
RM
261 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
262 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
263 unconditionally nowadays. This included the only reference to
264 __vdso_clock_gettime that appears outside libc proper.
265 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
266 Remove version set (containing only __vdso_clock_gettime).
267 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
268 Add attribute_hidden.
269 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
270 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
271 libc_hidden_data_def.
272 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
273 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
274
a1309c2b
RM
275 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
276 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
277 setrpcent, and getrpcport to ...
278 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
279 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
280 getrpcbynumber_r, and getrpcent_r to ...
281 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
282 * inet/getrpcbyname.c: Moved ...
283 * sunrpc/getrpcbyname.c: ... here.
284 * inet/getrpcbyname_r.c: Moved ...
285 * sunrpc/getrpcbyname_r.c: ... here.
286 * inet/getrpcbynumber.c: Moved ...
287 * sunrpc/getrpcbynumber.c: ... here.
288 * inet/getrpcbynumber_r.c: Moved ...
289 * sunrpc/getrpcbynumber_r.c: ... here.
290 * inet/getrpcent.c: Moved ...
291 * sunrpc/getrpcent.c: ... here.
292 * inet/getrpcent_r.c: Moved ...
293 * sunrpc/getrpcent_r.c: ... here.
294 * inet/Makefile (routines): Move those to ...
295 * sunrpc/Makefile (routines): ... here.
296 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
297 the $(subdirs) list.
298 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
299 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
300 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
301 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
302
ac9e0e5e
RM
303 * elf/Makefile (routines): Include $(all-dl-routines), not just
304 $(dl-routines).
305 (rtld-routines): Likewise. Use = rather than :=.
306 * sysdeps/aarch64/Makefile [$(subdir) = elf]
307 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
308 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
309 * sysdeps/arm/Makefile: Likewise.
310 * sysdeps/i386/Makefile: Likewise.
311 * sysdeps/x86_64/Makefile: Likewise.
312 * sysdeps/hppa/Makefile [$(subdir) = elf]
313 (sysdep_routines, sysdep-rtld-routines): Don't add
314 $(sysdep-dl-routines) to these.
315 * sysdeps/ia64/Makefile: Likewise.
316 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
317 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
318 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
319 Don't add dl-static to these; sysdep-dl-routines alone is enough.
320 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
321 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
322 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
323 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
324 * sysdeps/powerpc/Makefile [$(subdir) = elf]
325 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
326 these; sysdep-dl-routines alone is enough.
327
639e42eb
JM
3282015-02-06 Joseph Myers <joseph@codesourcery.com>
329
1c7a4a51
JM
330 [BZ #17932]
331 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
332 where multiplication results in zero and third argument is finite
333 and nonzero.
334 * math/auto-libm-test-in: Add more tests of fma.
335 * math/auto-libm-test-out: Regenerated.
336
61f006c1
JM
337 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
338 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
339 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
340 (_FP_CMP_EQ): Likewise.
341 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
342
639e42eb
JM
343 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
344 extra argument CHECK_NAN. Redefine as wrapper around
345 _FP_EXTEND_CNAN.
346
3c0c543b
CD
3472015-02-06 Carlos O'Donell <carlos@systemhalted.org>
348
4e42b5b8
CD
349 * version.h (RELEASE): Set to "stable".
350 (VERSION): Set to "2.21"
351 * include/features.h (__GLIBC_MINOR__): Set to 21.
352
3c0c543b
CD
353 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
354
5bd80bfe 3552015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 356 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
357
358 [BZ #16618]
359 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
360 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
361 size in bytes. Store needed elements in wpmax. Use needed size
362 in bytes for extend_alloca.
363
3f823f48
CD
3642015-02-05 Carlos O'Donell <carlos@systemhalted.org>
365
04cb913d
CD
366 * manual/install.texi: Latest tested versions are GCC 4.9.2,
367 binutls 2.25, and texinfo 5.2.
368 * INSTALL: Regenerate.
369 * sysdeps/nios2/configure: Regenerate.
370 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
371 * manual/contrib.texi: Update.
372 * po/be.po: Update.
373 * po/bg.po: Update.
374 * po/ca.po: Update.
375 * po/cs.po: Update.
376 * po/da.po: Update.
377 * po/de.po: Update.
378 * po/el.po: Update.
379 * po/eo.po: Update.
380 * po/es.po: Update.
381 * po/fi.po: Update.
382 * po/fr.po: Update.
383 * po/gl.po: Update.
384 * po/hr.po: Update.
385 * po/hu.po: Update.
386 * po/ia.po: Update.
387 * po/id.po: Update.
388 * po/it.po: Update.
389 * po/ja.po: Update.
390 * po/ko.po: Update.
391 * po/lt.po: Update.
392 * po/nb.po: Update.
393 * po/nl.po: Update.
394 * po/pl.po: Update.
395 * po/pt_BR.po: Update.
396 * po/ru.po: Update.
397 * po/rw.po: Update.
398 * po/sk.po: Update.
399 * po/sl.po: Update.
400 * po/sv.po: Update.
401 * po/tr.po: Update.
402 * po/uk.po: Update.
403 * po/vi.po: Update.
404 * po/zh_CN.po: Update.
405 * po/zh_TW.po: Update.
406
3f823f48
CD
407 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
408 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
409 * sysdeps/hppa/dl-irel.h: Remove #warning.
410 * sysdeps/hppa/entry.h: Provide prototype for
411 __canonicalize_funcptr_for_compare and cast argument.
412 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
413 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
414 * sysdeps/hppa/sotruss-lib.c: New file.
415 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
416 (atomic_compare_and_exchange_val_acq): Use __typeof__.
417 (atomic_compare_and_exchange_bool_acq): Likewise.
418 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
419 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
420
421 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
422 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
423 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
424
34c56048
CLT
4252015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
426
427 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
428 called function in non-PIC case.
429
d4abeca5
DM
4302015-01-31 David S. Miller <davem@davemloft.net>
431
edac0a60
DM
432 * sysdeps/sparc/sparc32/bits/atomic.h
433 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
434 unlock not after it.
435 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
436 volatile register usage warnings from the compiler.
437
d4abeca5
DM
438 * sysdeps/sparc/nptl/sem_init.c: Delete.
439 * sysdeps/sparc/nptl/sem_post.c: Delete.
440 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
441 * sysdeps/sparc/nptl/sem_wait.c: Delete.
442 * sysdeps/sparc/sparc32/sem_init.c: New file.
443 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
444 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
445 padding explicitly initialized.
446 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
447 padding for in-semaphore spinlock.
448 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
449 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
450 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
451 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
452 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
453 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
454 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
455 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
456 version.
457 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
458 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
459
5f3d0b78
L
4602015-01-30 H.J. Lu <hongjiu.lu@intel.com>
461
462 [BZ #17801]
463 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
464 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
465 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
466 New.
467 (index_AVX_Fast_Unaligned_Load): Likewise.
468 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
469 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
470 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
471 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
472 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
473 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
474 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
475 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
476 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
477
b658fdd8
AS
4782015-01-29 Andreas Schwab <schwab@suse.de>
479
480 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
481
3cb26316
SP
4822015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 [BZ #17892]
485 * nscd/nscd_stat.c (send_stats): Initialize DATA.
486
527de9e4
MS
4872015-01-28 Martin Sebor <msebor@redhat.com>
488
489 * math/README.libm-test: Clarify. Add "How to read the test output."
490
06991eb8
CM
4912015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
492
493 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
494 Define to 0.
495
df341342
JM
4962015-01-28 Joseph Myers <joseph@codesourcery.com>
497
498 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
499 (__HAVE_64B_ATOMICS): Define to 0.
500
08cee2a4
AZ
5012015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
502
d4d0ecb2
AZ
503 [BZ #17885]
504 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
505 value to set as new flag.
506
08cee2a4
AZ
507 [BZ #16576]
508 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
509 and use _ARCH_PPCSQ instead.
510 (__ieee754_sqrt): Likewise.
511 (__ieee754_sqrtf): Likewise.
512 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
513 _ARCH_PPCSQ is defined.
514 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
515 fsqrt instruction.
516 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
517 _ARCH_PPCSQ is defined.
518 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
519 fsqrts instruction.
520 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
521
5fe8e359
AK
5222015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
523
524 * iconv/loop.c: Suppress array out of bound warning caused by GCC
525 bug (GCC BZ #64739).
526
24bb7432
AS
5272015-01-25 Andreas Schwab <schwab@linux-m68k.org>
528
fa20da31
AS
529 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
530 Mark _retval as used.
531 (lll_futex_wake_unlock): Likewise.
532 (lll_futex_timed_wait_requeue_pi): Likewise.
533
45819cbc
AS
534 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
535 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
536 register variables.
537
403cc231
AS
538 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
539 libm_hidden_def.
540
24bb7432
AS
541 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
542 (__bswap_64): Mark as __always_inline.
543
9317ea65
B
5442015-01-25 Bram <bug_rh@spam.wizbit.be>
545
546 [BZ #15378]
547 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
548 when none of the search directories exist.
549
0e87343e
AZ
5502015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
551
bea58013
AZ
552 [BZ #17869]
553 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
554 power8 in .machine directive.
555
0e87343e
AZ
556 [BZ #17868]
557 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
558 set dependency from opd value.
559
ede0236c
L
5602015-01-23 H.J. Lu <hongjiu.lu@intel.com>
561
562 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
563 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
564 architecture.
ede0236c 565
22971c35
L
5662015-01-23 H.J. Lu <hongjiu.lu@intel.com>
567
568 [BZ #17870]
569 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
570 with uint64_t.
571 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
572 (uint64_t) 1.
e0da28a1 573 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
574 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
575 Replace 1UL with (uint64_t) 1.
576 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
577 int with uint64_t.
578
da5bf245
RM
5792015-01-23 Roland McGrath <roland@hack.frob.com>
580
2ec2d703
RM
581 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
582 (if_freenameindex): Likewise.
583
da5bf245
RM
584 * resource/getrlimit64.c: Add missing libc_hidden_def.
585
d7423856
JM
5862015-01-22 Joseph Myers <joseph@codesourcery.com>
587
588 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
589 __label__.
590 (_FP_FMA): Likewise.
591 (_FP_TO_INT_ROUND): Likewise.
592 (_FP_FROM_INT): Likewise.
593
6b2ba95b
AZ
5942015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
595
596 [BZ #16418]
597 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
598 Make code racy and cancel safe.
599
ccdb048d
CD
6002015-01-21 Carlos O'Donell <carlos@redhat.com>
601
191220b3
CD
602 * sysdeps/arm/unwind-resume.h: Fix copyright year.
603 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
604 attribution.
605
0897c551
CD
606 * pwd/tst-getpw.c: Rewrite.
607
ccdb048d
CD
608 [BZ #17702]
609 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
610 (modules-names): Add moddummy1 and moddummy2.
611 ($(objpfx)tst-rec-dlopen): Define.
612 * dlfcn/moddummy1.c: New file.
613 * dlfcn/moddummy2.c: New file.
614 * dlfcn/tst-rec-dlopen.c: New file.
615 * elf/dl-cache.c (_dl_load_cache_lookup):
616 Return char*. Copy result with alloca/strcpy/strdup.
617 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
618 returns char*. Free cached. If not saving realname
619 free cached.
620 * elf/dl-open.c (dl_open_worker): Do not assert that
621 _r_debug->r_state is RT_CONSISTENT.
622 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
623 returns char*.
624
042e1521
CD
6252015-01-21 Torvald Riegel <triegel@redhat.com>
626 Carlos O'Donell <carlos@redhat.com>
627
628 [BZ #12674]
629 * nptl/sem_waitcommon.c: New file.
630 * nptl/sem_wait.c: Include sem_waitcommon.c.
631 (__sem_wait_cleanup, do_futex_wait): Remove.
632 (__new_sem_wait): Adapt.
633 (__new_sem_trywait): New function.
634 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
635 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
636 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
637 (sem_timedwait): Adapt.
638 * nptl/sem_post.c (__new_sem_post): Adapt.
639 (futex_wake): New function.
640 (__old_sem_post): Add release MO fence.
641 * nptl/sem_open.c (sem_open): Adapt.
642 * nptl/sem_init.c (__new_sem_init): Adapt.
643 (futex_private_if_supported): New function.
644 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
645 (__old_sem_getvalue): Add using previous code.
646 * sysdeps/nptl/internaltypes.h: Adapt.
647 * nptl/tst-sem13.c (do_test): Adapt.
648 * nptl/tst-sem11.c (main): Adapt.
649 * nptl/sem_trywait.c: Remove.
650 * nptl/DESIGN-sem.txt: Remove.
651 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
652 (gen-as-const-headers): Remove structsem.sym.
653 * nptl/structsem.sym: Remove.
654 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
655 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
656 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
657 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
658 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
659 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
660 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
661 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
662 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
663 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
664 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
665 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
666 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
667 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
668 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
669 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
670 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
671 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
672 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
673 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
674 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
675 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
676
fe0e85af
CD
6772015-01-20 Carlos O'Donell <carlos@redhat.com>
678
a8db092e
CD
679 * INSTALL: Regenerated.
680
fe0e85af
CD
681 * po/libc.pot: Regenerated.
682
522e6ee3
CLT
6832015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
684 Sandra Loosemore <sandra@codesourcery.com>
685 Andrew Jenner <andrew@codesourcery.com>
686 Joseph Myers <joseph@codesourcery.com>
687 Nathan Sidwell <nathan@codesourcery.com>
688
689 * NEWS: Mention new Nios II port.
690 * sysdeps/nios2/Implies: New file.
691 * sysdeps/nios2/Makefile: New file.
692 * sysdeps/nios2/Subdirs: New file.
693 * sysdeps/nios2/Versions: New file.
694 * sysdeps/nios2/__longjmp.S: New file.
695 * sysdeps/nios2/abort-instr.h: New file.
696 * sysdeps/nios2/backtrace.c: New file.
697 * sysdeps/nios2/bits/endian.h: New file.
698 * sysdeps/nios2/bits/fenv.h: New file.
699 * sysdeps/nios2/bits/link.h: New file.
700 * sysdeps/nios2/bits/setjmp.h: New file.
701 * sysdeps/nios2/bsd-_setjmp.S: New file.
702 * sysdeps/nios2/bsd-setjmp.S: New file.
703 * sysdeps/nios2/configure: New generated file.
704 * sysdeps/nios2/configure.ac: New file.
705 * sysdeps/nios2/crti.S: New file.
706 * sysdeps/nios2/crtn.S: New file.
707 * sysdeps/nios2/dl-init.c: New file.
708 * sysdeps/nios2/dl-machine.h: New file.
709 * sysdeps/nios2/dl-sysdep.h: New file.
710 * sysdeps/nios2/dl-tls.h: New file.
711 * sysdeps/nios2/dl-trampoline.S: New file.
712 * sysdeps/nios2/gccframe.h: New file.
713 * sysdeps/nios2/gmp-mparam.h: New file.
714 * sysdeps/nios2/jmpbuf-offsets.h: New file.
715 * sysdeps/nios2/jmpbuf-unwind.h: New file.
716 * sysdeps/nios2/ldsodefs.h: New file.
717 * sysdeps/nios2/libc-tls.c: New file.
718 * sysdeps/nios2/libm-test-ulps: New file.
719 * sysdeps/nios2/machine-gmon.h: New file.
720 * sysdeps/nios2/math-tests.h: New file.
721 * sysdeps/nios2/math_private.h: New file.
722 * sysdeps/nios2/memusage.h: New file.
723 * sysdeps/nios2/nptl/Makefile: New file.
724 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
725 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
726 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
727 * sysdeps/nios2/nptl/pthreaddef.h: New file.
728 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
729 * sysdeps/nios2/nptl/tls.h: New file.
730 * sysdeps/nios2/preconfigure: New file.
731 * sysdeps/nios2/s_fma.c: New file.
732 * sysdeps/nios2/s_fmaf.c: New file.
733 * sysdeps/nios2/setjmp.S: New file.
734 * sysdeps/nios2/sfp-machine.h: New file.
735 * sysdeps/nios2/sotruss-lib.c: New file.
736 * sysdeps/nios2/stackguard-macros.h: New file.
737 * sysdeps/nios2/stackinfo.h: New file.
738 * sysdeps/nios2/start.S: New file.
739 * sysdeps/nios2/sysdep.h: New file.
740 * sysdeps/nios2/tls-macros.h: New file.
741 * sysdeps/nios2/tst-audit.h: New file.
742 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
743 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
744 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
745 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
746 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
747 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
748 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
749 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
750 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
751 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
752 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
753 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
754 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
755 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
756 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
757 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
758 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
759 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
760 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
761 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
762 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
763 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
764 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
765 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
766 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
767 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
768 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
769 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
770 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
771 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
772 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
773 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
774 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
775 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
776 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
777 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
778 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
779 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
780 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
781 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
782 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
783 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
784 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
785 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
786
026eb207
SL
7872015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
788
789 [BZ #17844]
790 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
791 (getutent): Use weak_alias in non SHARED case
792 and default_symbol_version in SHARED case.
793 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
794 (getutent_r, pututline): Likewise.
795 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
796 (getutid): Likewise.
797 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
798 (getutid_r): Likewise.
799 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
800 (getutline): Likewise.
801 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
802 (getutline_r): Likewise.
803 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
804 (updwtmp): Likewise.
805
1d532483
SL
8062015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
807
808 [BZ #17848]
809 * sysdeps/s390/s390-32/memcmp.S
810 (memcmp_g5): Rename to __memcmp_g5.
811 * sysdeps/s390/s390-32/memcpy.S
812 (memcpy_g5): Rename to __memcpy_g5.
813 Jump to __memcpy_mvcle instead of memcpy_mvcle.
814 (memcpy_mvcle) Rename to __memcpy_mvcle.
815 * sysdeps/s390/s390-32/memset.S
816 (memset_g5): Rename to __memset_g5.
817 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
818 (IFUNC_RESOLVE): Prefix ifunc-resolve function
819 and use prefixed functions.
820 * sysdeps/s390/s390-32/multiarch/memcmp.S
821 (memcmp_z196): Rename to __memcmp_z196.
822 (memcmp_z10): Rename to __memcmp_z10.
823 (memcmp): Set alias to __memcmp_g5.
824 (bcmp): Set alias to __memcmp_g5.
825 * sysdeps/s390/s390-32/multiarch/memcpy.S
826 (memcpy_z196): Rename to __memcpy_z196.
827 Jump to __memcpy_mvcle instead of memcpy_mvcle.
828 (memcpy_z10): Rename to __memcpy_z10.
829 Jump to __memcpy_mvcle instead of memcpy_mvcle.
830 (memcpy): Set alias to __memcpy_g5.
831 * sysdeps/s390/s390-32/multiarch/memset.S
832 (memset_z196): Rename to __memset_z196.
833 Jump to __memset_mvcle instead of memset_mvcle.
834 (memset_z10): Rename to __memset_z10.
835 Jump to __memset_mvcle instead of memset_mvcle.
836 (memset_mvcle) Rename to __memset_mvcle.
837 (memset): Set alias to __memset_g5.
838 * sysdeps/s390/s390-64/memcmp.S
839 (memcmp_z900): Rename to __memcmp_z900.
840 * sysdeps/s390/s390-64/memcpy.S
841 (memcpy_z900): Rename to __memcpy_z900.
842 Jump to __memcpy_mvcle instead of memcpy_mvcle.
843 (memcpy_mvcle) Rename to __memcpy_mvcle.
844 * sysdeps/s390/s390-64/memset.S
845 (memset_z900): Rename to __memset_z900.
846 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
847 (IFUNC_RESOLVE): Prefix ifunc-resolve function
848 and use prefixed functions.
849 * sysdeps/s390/s390-64/multiarch/memcmp.S
850 (memcmp_z196): Rename to __memcmp_z196.
851 (memcmp_z10): Rename to __memcmp_z10.
852 (memcmp): Set alias to __memcmp_z900.
853 (bcmp): Set alias to __memcmp_z900.
854 * sysdeps/s390/s390-64/multiarch/memcpy.S
855 (memcpy_z196): Rename to __memcpy_z196.
856 Jump to __memcpy_mvcle instead of memcpy_mvcle.
857 (memcpy_z10): Rename to __memcpy_z10.
858 Jump to __memcpy_mvcle instead of memcpy_mvcle.
859 (memcpy): Set alias to __memcpy_z900.
860 * sysdeps/s390/s390-64/multiarch/memset.S
861 (memset_z196): Rename to __memset_z196.
862 Jump to __memset_mvcle instead of memset_mvcle.
863 (memset_z10): Rename to __memset_z10.
864 Jump to __memset_mvcle instead of memset_mvcle.
865 (memset_mvcle) Rename to __memset_mvcle.
866 (memset): Set alias to __memset_z900.
867
53fbd169
JM
8682015-01-14 Joseph Myers <joseph@codesourcery.com>
869
870 [BZ #17748]
871 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
872 __fesetenv instead of fesetenv.
873
d639a363
SP
8742015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
875
876 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
877 macro.
878
d3b00f46
AZ
8792015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
ce6615c9
AZ
881 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
882 regression on LE.
883
d3b00f46
AZ
884 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
885 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
886 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
887 strncmp-power8 object.
888 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
889 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
890 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
891 * NEWS: Update.
892
72607db0
RS
8932015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
894 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
895
896 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
897 trailing byte check.
898
54dc5461
DM
8992015-01-13 David S. Miller <davem@davemloft.net>
900
901 * include/signal.h (__sigreturn): Guard with __USE_MISC.
902
1c6e6f23
RM
9032015-01-13 Roland McGrath <roland@hack.frob.com>
904
905 * login/logout.c (logout): Use memset rather than bzero.
906 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
907 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
908 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
909 (_gethtbyaddr): Likewise.
910 * locale/programs/simple-hash.c (bcopy): Macro removed.
911
96d6fd6c
AZ
9122015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
913
8bedcb5f
AZ
914 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
915 Add strcmp-power8 object.
916 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
917 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
918 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
919 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
920 __strcmp_power8 implementation.
921 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
922 * NEWS: Update.
923
f06a4faf
AZ
924 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
925 Add strncpy-power8 and stpncpy-power8 objects.
926 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
927 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
928 implementations.
929 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
930 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
931 __stpncpy_power8 implementation.
932 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
933 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
934 __strncpy_power8 implementation.
935 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
936 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
937 * NEWS: Update.
938
9f2f36e5
AZ
939 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
940 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
941 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
942
96d6fd6c 943 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
944 strncat-power8 object.
945 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
946 __strcat_power8 implementation.
947 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
948 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
949 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
950 optimized strcat for power8.
951
952 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
953 strcpy-power8 and stpcpy-power8 objects.
954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
955 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
956 implementations.
957 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
958 multiarch stpcpy implementation for POWER8.
959 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
960 multiarch strcpy implementation for POWER8.
961 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
962 __strcpy_power8 function.
963 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
964 stpcpy for POWER8.
965 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
966 strcpy for POWER8.
967 * NEWS: Update.
968
0f9e5854
LH
9692015-01-13 Leonhard Holz <leonhard.holz@web.de>
970
971 [BZ #16009]
972 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
973 weights and rules. Use do_xfrm_cached if data fits in cache,
974 do_xfrm otherwise. Moved former main loop to...
975 * (do_xfrm_cached): New function.
976 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
977 find_idx, find_position and stack_push.
978 * (find_idx): New function.
979 * (find_position): Likewise.
980 * localedata/sort-test.sh: Added test run for do_xfrm.
981 * localedata/xfrm-test.c (main): Added command line option
982 -nocache to run the test with strings that are too large for
983 the STRXFRM cache.
984
c60ec0e0
TR
9852015-01-13 Torvald Riegel <triegel@redhat.com>
986
987 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
988 variable to lll_futex_wake call, not the value itself.
989
34e93d6c
JM
9902015-01-12 Joseph Myers <joseph@codesourcery.com>
991
5a9e4c09
JM
992 [BZ #17803]
993 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
994 twom64. Adjust value to 0x1p-64L.
995 (__scalblnl): Only return standard underflowing result for K <=
996 -64 not K <= -63; adjust exponent for underflowing result by 64
997 not 63.
998 * math/libm-test.inc (scalbn_test_data): Add more tests.
999 (scalbln_test_data): Likewise.
1000
34e93d6c
JM
1001 [BZ #17834]
1002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1003 0x1p63L.
1004 (__scalblnl): Get new exponent of adjusted subnormal value from ES
1005 not HX.
1006 * math/libm-test.inc (scalbn_test_data): Add more tests.
1007 (scalbln_test_data): Likewise.
1008
ca677d3c
AZ
10092015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1010 Stefani Seibold <stefani@seibold.net>
1011
1012 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1013 (sysdep_routines): Add dl-vdso here, ...
1014 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1015 (sysdep_routines): ... not here.
1016 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1017 fallback when vDSO is not presented.
1018 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1019 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1020 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1021 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1022 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1023 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1024 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1025 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1026 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1027 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1028 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1029 fallback configurable symbol when vDSO is not available.
1030 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1031 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1032 be able to redefine fallback symbol when vDSO is not available.
1033 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1034 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1035
49a9f6ab 10362015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1037
56cf2763
AZ
1038 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1039 (TLS_INIT_TP): Add tm_capable initialization.
1040 (TLS_DEFINE_INIT_TP): Likewise.
1041 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1042 TCB.
1043 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1044 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1045 calculation.
1046 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1047 transactoion is lock elision is built and TCB tm_capable is set.
1048 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1050 (INTERNAL_SYSCALL_NCS): Likewise.
1051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1052 (INTERNAL_SYSCALL_NCS): Likewise.
1053 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1054
4b45943a
AZ
1055 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1056 for powerpc.
1057 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1058 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1059 and remove it for 32 bits case.
1060 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1061 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1062 initialization.
1063 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1064 Disable lock elision with rdlocks if elision is not available.
1065
8d2c0a59
AZ
1066 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1067 (sysdep_routines): Add lock elision objects.
1068 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1069 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1070 [pthread_mutex_t] (__elision): Add field.
1071 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1072 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1073 elision definitions for powerpc.
1074 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1075 implementation of lock elision for powerpc.
1076 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1077 implementation of timed lock elision for powerpc.
1078 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1079 implementation of trylock with lock elision for powerpc.
1080 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1081 implementaion of unlock for lock elision for powerpc.
1082 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1083 automatic enable lock elision for mutexes.
1084 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1085 transaction execution definitions for powerpc.
1086 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1087 definitions.
1088 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1089 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1090 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1091 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1092 * NEWS: Update.
1093
bc0ed9f7
RM
10942015-01-09 Roland McGrath <roland@hack.frob.com>
1095
1096 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1097 for #include of <shm-directory.h>.
1098
585d9c18
CLT
10992015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1100
1101 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1102 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1103
aee6626c
MF
11042015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1105
1106 [BZ #17791]
1107 * NEWS: Mention bug fix.
1108 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1109 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1110 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1111
9e560f48
TR
11122015-01-09 Torvald Riegel <triegel@redhat.com>
1113
1114 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1115
e1cfbd0c
TR
11162015-01-09 Torvald Riegel <triegel@redhat.com>
1117
1118 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1119
cf71e44f
DH
11202015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1121
1122 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1123 pointer and cast to uintptr_t.
1124
b360ee62
DH
11252015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1126
1127 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1128 removed.
1129 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1130
caff764e
DH
11312015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1132
1133 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1134 of 0.
1135
59ff172f
RM
11362015-01-08 Roland McGrath <roland@hack.frob.com>
1137
c97d27f1
RM
1138 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1139 <nptl/pthreadP.h> instead.
1140 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1141
08734ccd
RM
1142 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1143 already defined.
1144 [__SIGRTMIN] (init): Function removed.
1145 [__SIGRTMIN] (initialized): Variable removed.
1146 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1147 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1148 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1149 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1150 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1151 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1152 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1153 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1154 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1155 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1156 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1157 * sysdeps/nptl/allocrtsig.c: New file.
1158 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1159 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1160 * sysdeps/generic/testrtsig.h: File removed.
1161
7b052e33
RM
1162 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1163 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1164
cc40d25e
RM
1165 * nptl/nptl-init.c (pthread_functions): Conditionalize
1166 .ptr__nptl_setxid initialization on [SIGSETXID].
1167
9287adf0
RM
1168 * sysdeps/nptl/sys/procfs.h: New file.
1169 * nptl_db/Makefile (headers): Add it.
1170 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1171
59ff172f
RM
1172 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1173 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1174 * nptl/pthread_attr_setaffinity.c: Include it.
1175 * nptl/pthread_setattr_default_np.c: Likewise.
1176 * nptl/check-cpuset.h: New file.
1177
b9205857
RH
11782015-01-08 Richard Henderson <rth@redhat.com>
1179
1180 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1181 (CFLAGS-tst-execstack-prog.c): Likewise.
1182 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1183
1a0a8d15
CLT
11842015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1185 Sandra Loosemore <sandra@codesourcery.com>
1186 Andrew Jenner <andrew@codesourcery.com>
1187 Joseph Myers <joseph@codesourcery.com>
1188 Nathan Sidwell <nathan@codesourcery.com>
1189
1190 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1191 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1192 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1193 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1194 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1195 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1196 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1197 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1198 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1199 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1200 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1201 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1202 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1203 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1204 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1205 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1206 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1207
dd6e8af6
AZ
12082015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1209
1210 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1211 timespec struct member in syscall macro.
1212 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1213 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1214 first timeval struct member in syscall macro.
1215 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1216
8116321f
JM
12172015-01-07 Joseph Myers <joseph@codesourcery.com>
1218
1219 [BZ #17748]
1220 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1221 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1222 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1223 __feupdateenv and define as weak alias of __feupdateenv. Use
1224 libm_hidden_weak.
1225 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1226 libm_hidden_def.
1227 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1228 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1229 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1230 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1231 libm_hidden_def.
1232 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1233 __feupdateenv and define as weak alias of __feupdateenv. Use
1234 libm_hidden_weak.
1235 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1236 libm_hidden_def.
1237 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1238 __feupdateenv and define as weak alias of __feupdateenv. Use
1239 libm_hidden_weak.
1240 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1241 libm_hidden_def.
1242 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1243 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1244 (__feupdateenv): Likewise.
1245 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1246 __feupdateenv and define as weak alias of __feupdateenv. Use
1247 libm_hidden_weak.
1248 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1249 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1250 libm_hidden_def.
1251 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1252 function.
1253 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1254 libm_hidden_def.
1255 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1256 __feupdateenv instead of feupdateenv.
1257 (default_libc_feupdateenv_test): Likewise.
1258 (libc_feresetround_ctx): Likewise.
1259
882dfe18
AZ
12602015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1261
1262 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1263 prototype.
1264
39a12f8d
CM
12652015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1266
1267 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1268 COLL_SYM in a couple of places to avoid uninitialized variable
1269 wanings on tilegx gcc 4.8.2.
1270
dc400d7b
RE
12712015-01-07 Richard Earnshaw <rearnsha@arm.com>
1272
1273 * sysdeps/aarch64/strcpy.S: New file.
1274 * sysdeps/aarch64/stpcpy.S: New file.
1275 * NEWS: Updated.
1276
ec582ca0
RE
12772015-01-07 Richard Earnshaw <rearnsha@arm.com>
1278
1279 * sysdeps/aarch64/strrchr.S: New file.
1280 * NEWS: Updated.
1281
d5b1c5ed
EB
12822015-01-07 Eric Biggers <ebiggers3@gmail.com>
1283
1284 [BZ #17658]
1285 * stdlib/setenv.c: Fix memory leak when setting large,
1286 duplicate string.
1287
fb87ee96
VN
12882015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1289
60f046a8 1290 [BZ #17273]
fb87ee96
VN
1291 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1292 and tabs from buffer before parsing fstab entry.
1293 * misc/tst-mntent.c (main): Add test for mount entry with
1294 trailing spaces and tabs.
1295
cd42798a
JM
12962015-01-06 Joseph Myers <joseph@codesourcery.com>
1297
01238691
JM
1298 [BZ #17748]
1299 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1300 * math/fesetround.c (fesetround): Rename to __fesetround and
1301 define as weak alias of __fesetround. Use libm_hidden_weak.
1302 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1303 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1304 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1305 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1306 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1307 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1308 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1309 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1310 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1311 __fesetround_inline.
1312 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1313 __fesetround_inline instead of __fesetround.
1314 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1315 __fesetround and define as weak alias of __fesetround. Use
1316 libm_hidden_weak. Call __fesetround_inline instead of
1317 __fesetround.
1318 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1319 __fesetround and define as weak alias of __fesetround. Use
1320 libm_hidden_weak.
1321 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1322 Likewise.
1323 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1324 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1325 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1326 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1327 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1328 __fesetround and define as weak alias of __fesetround. Use
1329 libm_hidden_weak.
1330 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1331 __fesetround instead of fesetround.
1332 (default_libc_feholdexcept_setround): Likewise.
1333 (libc_feholdsetround_ctx): Likewise.
1334 (libc_feholdsetround_noex_ctx): Likewise.
1335
cd42798a
JM
1336 [BZ #17748]
1337 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1338 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1339 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1340 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1341 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1342 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1343 define as weak alias of __fesetenv. Use libm_hidden_weak.
1344 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1345 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1346 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1347 define as weak alias of __fesetenv. Use libm_hidden_weak.
1348 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1349 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1350 define as weak alias of __fesetenv. Use libm_hidden_weak.
1351 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1352 libm_hidden_def.
1353 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1354 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1355 Likewise.
1356 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1357 define as weak alias of __fesetenv. Use libm_hidden_weak.
1358 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1359 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1360 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1361 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1362 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1363 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1364 __fesetenv instead of fesetenv.
1365 (libc_feresetround_noex_ctx): Likewise.
1366 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1367 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1368 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1369 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1370 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1371 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1372 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1373 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1374 (__feupdateenv): Likewise.
1375 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1376 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1377 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1378 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1379
38949026
AJ
13802015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1381
1cf98e27 1382 [BZ #17806]
38949026
AJ
1383 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1384 addresses have been freed.
1385
5fe55e9c
AJ
13862015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1387
1388 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1389 and nservall.
1390
dc8ab018
OB
13912015-01-06 Ondřej Bílka <neleai@seznam.cz>
1392
1393 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1394 Clean up check_pf allocation pattern. addresses
1395
14bb4e57
AZ
13962015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1397
1398 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1399 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1400 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1401 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1402 * nptl/pthread_join.c (pthread_join): Likewise.
1403 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1404 * sysdeps/posix/waitid.c (__waitid): Likewise.
1405 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1406 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1407 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1408 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1409 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1412 (__libc_pread64): Likewise.
1413 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1414 (__libc_pwrite): Likewise.
1415 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1416 (__libc_pwrite64): Likewsie.
1417 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1418 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1419 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1420 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1421 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1422 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1423 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1425 Likewise.
1426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1427 (__libc_pread64): Likewise.
1428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1429 Likewise.
1430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1431 (__libc_pwrite64): Likewise.
1432 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1433 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1434 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1435 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1436 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1437 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1438 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1439 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1440 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1441 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1442 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1443 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1444 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1445 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1446 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1447 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1448 Likewise.
1449
10a5e112
AS
14502015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1451
1452 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1453 (CFLAGS-test-double.c): Likewise.
1454 (CFLAGS-test-ldouble.c): Likewise.
1455 (CPPFLAGS-test-ifloat.c): Likewise.
1456 (CPPFLAGS-test-idouble.c): Likewise.
1457 (CPPFLAGS-test-ildoubl.c): Likewise.
1458 (CFLAGS-test-test-fenv.c): Remove variable.
1459 (CFLAGS-test-misc.c): Likewise.
1460
57ada0e7
L
14612015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1462
1463 [BZ #17797]
1464 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1465 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1466 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1467 CLOCKS_PER_SEC == 1000000.
1468 * time/clocktest.c (main): Replace %ld with %jd and cast to
1469 intmax_t.
1470
46abb64d
RM
14712015-01-05 Roland McGrath <roland@hack.frob.com>
1472
1473 * sysdeps/generic/unwind-resume.h: New file.
1474 * sysdeps/gnu/unwind-resume.c: Include it.
1475 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1476 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1477 argument list.
1478 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1479 global rather than static.
1480 (_Unwind_Resume): Update user.
1481 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1482 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1483 rather than static. Add __attribute__ ((cold)).
1484 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1485 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1486 * sysdeps/arm/arm-unwind-resume.S: New file.
1487 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1488 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1489 * sysdeps/arm/Makefile [$(subdir) = csu]
1490 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1491 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1492 Add rt-arm-unwind-resume.
1493 [$(subdir) = nptl]
1494 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1495 Add pt-arm-unwind-resume.
1496 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1497 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1498
ef9faf13
JM
14992015-01-05 Joseph Myers <joseph@codesourcery.com>
1500
1501 [BZ #17748]
1502 * include/fenv.h (__feholdexcept): Declare. Use
1503 libm_hidden_proto.
1504 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1505 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1506 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1507 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1508 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1509 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1510 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1511 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1512 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1513 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1514 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1515 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1516 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1517 (feholdexcept): Likewise.
1518 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1519 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1520 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1521 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1522 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1523 __feholdexcept instead of feholdexcept.
1524 (default_libc_feholdexcept_setround): Likewise.
1525
295a453e
SE
15262015-01-05 Steve Ellcey <sellcey@imgtec.com>
1527
1528 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1529 to avoid using stl/str to align destination.
1530
882c4b9f
SE
15312015-01-05 Steve Ellcey <sellcey@imgtec.com>
1532
1533 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1534
ac4c11f5
JM
15352015-01-05 Joseph Myers <joseph@codesourcery.com>
1536
1537 [BZ #17796]
1538 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1539 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1540 Define as weak alias not strong alias.
1541
03403e30
SE
15422015-01-05 Steve Ellcey <sellcey@imgtec.com>
1543
1544 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1545 bltzal with addiupc.
1546 (RTLD_START): Ditto.
1547
1dca195e
CM
15482015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1549
00b8b9ba
SP
1550 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1551 for __vdso_* functions in declarations.
1552 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1553 definitions.
1554 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1555 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1556
1dca195e
CM
1557 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1558 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1559 function with cast from llround().
1560 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1561 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1562 Define.
1563
a287953a
JM
15642015-01-05 Joseph Myers <joseph@codesourcery.com>
1565
ab70da77
JM
1566 [BZ #17793]
1567 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1568 Define as weak alias not strong alias.
1569
b8986484
JM
1570 [BZ #17635]
1571 * ctype/ctype-c99.c: New file. isblank implementation moved from
1572 ...
1573 * ctype/ctype-extn.c: ... here.
1574 (__isblank_l): Move to ...
1575 * ctype/ctype-c99_l.c: ... here. New file.
1576 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1577 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1578 Remove variable.
1579 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1580 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1581 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1582 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1583 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1584
a287953a
JM
1585 [BZ #17777]
1586 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1587 (posix_fadvise64): Define as weak alias not strong alias.
1588 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1589 (posix_fallocate64): Likewise.
1590 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1591 Remove variable.
1592 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1593 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1594 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1595 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1596 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1597
b1efe3bb
MF
15982015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1599
1600 [BZ #16191]
1601 * NEWS: Mention bug fix.
1602 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1603 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1604 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1605 (HOST_STACK_END_ADDR): Likewise.
1606
9706dc5f
JM
16072015-01-02 Joseph Myers <joseph@codesourcery.com>
1608
b93c2205
JM
1609 [BZ #17748]
1610 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1611 * math/fegetround.c (fegetround): Rename to __fegetround and
1612 define as weak alias of __fegetround. Use libm_hidden_weak.
1613 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1614 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1615 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1616 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1617 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1618 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1619 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1620 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1621 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1622 Undefine after rather than before function definition; use
1623 parentheses around function name in definition.
1624 (__fegetround): Also undefine macro after function definition.
1625 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1626 __fegetround and define as weak alias of __fegetround. Use
1627 libm_hidden_weak. Do not undefine as macro.
1628 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1629 Likewise.
1630 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1631 __fegetround and define as weak alias of __fegetround. Use
1632 libm_hidden_weak.
1633 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1634 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1635 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1636 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1637 __fegetround and define as weak alias of __fegetround. Use
1638 libm_hidden_weak.
1639 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1640 __fegetround instead of fegetround.
1641
253a59cc
JM
1642 [BZ #17782]
1643 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1644 Condition macro definition on [__USE_MISC].
1645
27dae011
JM
1646 [BZ #17781]
1647 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1648 (struct sigaction): Change type of sa_flags field to int.
1649
172019c0
JM
1650 [BZ #17780]
1651 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1652 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1653 __glibc_reserved0.
1654
522ad1d6
JM
1655 * nptl/version.c (banner): Use single year in copyright notice.
1656
9706dc5f
JM
1657 * NEWS: Update copyright dates.
1658 * catgets/gencat.c (print_version): Likewise.
1659 * csu/version.c (banner): Likewise.
1660 * debug/catchsegv.sh: Likewise.
1661 * debug/pcprofiledump.c (print_version): Likewise.
1662 * debug/xtrace.sh (do_version): Likewise.
1663 * elf/ldconfig.c (print_version): Likewise.
1664 * elf/ldd.bash.in: Likewise.
1665 * elf/pldd.c (print_version): Likewise.
1666 * elf/sotruss.sh: Likewise.
1667 * elf/sprof.c (print_version): Likewise.
1668 * iconv/iconv_prog.c (print_version): Likewise.
1669 * iconv/iconvconfig.c (print_version): Likewise.
1670 * locale/programs/locale.c (print_version): Likewise.
1671 * locale/programs/localedef.c (print_version): Likewise.
1672 * login/programs/pt_chown.c (print_version): Likewise.
1673 * malloc/memusage.sh (do_version): Likewise.
1674 * malloc/memusagestat.c (print_version): Likewise.
1675 * malloc/mtrace.pl: Likewise.
1676 * manual/libc.texinfo: Likewise.
1677 * nptl/version.c (banner): Likewise.
1678 * nscd/nscd.c (print_version): Likewise.
1679 * nss/getent.c (print_version): Likewise.
1680 * nss/makedb.c (print_version): Likewise.
1681 * posix/getconf.c (main): Likewise.
1682 * scripts/test-installation.pl: Likewise.
1683 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1684
b8607aac
WN
16852015-01-02 Will Newton <will.newton@linaro.org>
1686
1687 * sysdeps/arm/armv7/configure: Removed.
1688 * sysdeps/arm/armv7/configure.ac: Likewise.
1689
b168057a
JM
16902015-01-02 Joseph Myers <joseph@codesourcery.com>
1691
1692 * All files with FSF copyright notices: Update copyright dates
1693 using scripts/update-copyrights.
1694 * intl/plural.c: Regenerated.
1695 * locale/programs/charmap-kw.h: Likewise.
1696 * locale/programs/locfile-kw.h: Likewise.
1697
b217c15f
SP
16982015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1699
1700 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1701
73a268c7
JM
17022014-12-31 Joseph Myers <joseph@codesourcery.com>
1703
1704 [BZ #17748]
1705 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1706 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1707 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1708 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1709 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1710 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1711 define as weak alias of __fegetenv. Use libm_hidden_weak.
1712 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1713 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1714 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1715 define as weak alias of __fegetenv. Use libm_hidden_weak.
1716 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1717 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1718 define as weak alias of __fegetenv. Use libm_hidden_weak.
1719 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1720 libm_hidden_def.
1721 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1722 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1723 Likewise.
1724 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1725 define as weak alias of __fegetenv. Use libm_hidden_weak.
1726 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1727 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1728 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1729 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1730 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1731 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1732 __fegetenv instead of fegetenv.
1733 (libc_feholdsetround_noex_ctx): Likewise.
1734
0bd95672
MF
17352014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1736
1737 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1738 (Elf_MIPS_ABIFlags_v0): New structure.
1739 (EF_MIPS_FP64): Define.
1740 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1741 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1742 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1743 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1744 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1745 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1746 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1747 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1748 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1749 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1750 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1751 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1752 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1753 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1754 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1755 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1756 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1757 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1758 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1759 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1760 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1761 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1762 field.
1763 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1764 EF_MIPS_FP64.
1765 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1766 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1767 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1768 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1769 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1770 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1771 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1772 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1773 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1774 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1775 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1776 record the current FP ABI extension.
1777 (mips-mode-switch): Define to show if kernel headers support mode
1778 switching.
1779 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1780 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1781 supported SYSV ABI version to 3.
1782 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1783 feature.
1784
f59ad976
RS
17852014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1786 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1787
1788 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1789 path.
1790 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1791
4a3d3999
JM
17922014-12-31 Joseph Myers <joseph@codesourcery.com>
1793
1794 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1795 __fegetround and redefine to call __fegetround. Remove condition
1796 on [!__NO_MATH_INLINES].
1797 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1798 function.
1799 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1800 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1801 Remove macro.
1802 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1803 instead of <fenv_libc.h>.
1804 (__llrintl): Call fegetround instead of __fegetround.
1805 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1806 instead of <fenv_libc.h>.
1807 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1808 (__lrintl): Call fegetround instead of __fegetround.
1809 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1810 instead of <fenv_libc.h>.
1811 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1812 (__rintl): Call fegetround instead of __fegetround.
1813
195f3afc
SP
18142014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1815
1816 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1817 arrays.
1818
7062bd42
L
18192014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1820
1821 [BZ #17775]
1822 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1823 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1824 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1825
07256e18
AS
18262014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1827
1828 * sysdeps/i386/tls-macros.h: Include <features.h>.
1829 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1830 (TLS_IE): Likewise.
1831 (TLS_LD): Likewise.
1832 (TLS_GD): Likewise.
1833 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1834 define for GCC >= 5.0.
1835
1ff950ad
CM
18362014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1837
1838 * math/test-fenv.c (test_single_exception, set_single_exc,
1839 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1840 feexcp_mask_test, feenable_test, fe_single_test): Add
1841 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1842 case where they are not used.
1843 * math/libm-test.inc: Likewise.
1844 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1845 unused in the absence of FP rounding/exception support.
1846 * stdio-common/tst-printf-round.c: Likewise.
1847 * stdlib/tst-strtod-round.c: Likewise.
1848 * stdlib/tst-strtod-underflow.c: Likewise.
1849
0747f818
JM
18502014-12-30 Joseph Myers <joseph@codesourcery.com>
1851
1852 [BZ #17723]
1853 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1854 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1855 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1856 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1857 libm_hidden_weak.
1858 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1859 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1860 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1861 libm_hidden_def.
1862 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1863 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1864 libm_hidden_weak.
1865 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1866 Likewise.
1867 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1868 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1869 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1870 libm_hidden_weak.
1871 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1872 libm_hidden_def.
1873 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1874 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1875 (__feraiseexcept): Likewise.
1876 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1877 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1878 libm_hidden_weak.
1879 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1880 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1881 libm_hidden_def.
1882 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1883 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1884 Use libm_hidden_def.
1885 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1886 libm_hidden_def.
1887 (feraiseexcept): Define as weak not strong alias. Use
1888 libm_hidden_weak.
1889 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1890 New inline function. Factored out of ...
1891 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1892 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1893 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1894 feraiseexcept.
1895 * math/w_acos.c (__acos): Likewise.
1896 * math/w_asin.c (__asin): Likewise.
1897 * math/w_ilogb.c (__ilogb): Likewise.
1898 * math/w_j0.c (y0): Likewise.
1899 * math/w_j1.c (y1): Likewise.
1900 * math/w_jn.c (yn): Likewise.
1901 * math/w_log.c (__log): Likewise.
1902 * math/w_log10.c (__log10): Likewise.
1903 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1904 * sysdeps/aarch64/fpu/math_private.h
1905 (libc_feupdateenv_test_aarch64): Likewise.
1906 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1907 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1908 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1909 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1910 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1911 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1912 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1914 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1915 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1916
8d2b2763
L
19172014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1918
1919 [BZ #17732]
1920 * io/test-utime.c (main): Replace %ld with %jd and cast to
1921 intmax_t.
41fad830 1922 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1923 * nptl/tst-mutex5.c: Include <stdint.h>.
1924 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1925 * posix/tst-regex.c (run_test): Likewise.
1926 (run_test_backwards): Likewise.
5d619de4
L
1927 * rt/tst-clock.c: Include <stdint.h>.
1928 (clock_test): Replace %ld with %jd and cast to intmax_t.
1929 * rt/tst-cpuclock1.c: Include <stdint.h>.
1930 (do_test): Replace %lu with %ju and cast to uintmax_t.
1931 * rt/tst-cpuclock2.c: Include <stdint.h>.
1932 (do_test): Replace %lu with %ju and cast to uintmax_t.
1933 * rt/tst-mqueue1.c: Include <stdint.h>.
1934 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1935 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1936 intmax_t.
1937 * rt/tst-mqueue4.c (do_test): Likewise.
1938 * rt/tst-timer4.c: Include <stdint.h>.
1939 (check_ts): Replace %ld with %jd and cast to intmax_t.
1940 (do_test): Likewise.
ad86fbc3
L
1941 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1942 and cast to intmax_t.
37f46900 1943 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1944 * time/clocktest.c (main): Likewise.
1945 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1946 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1947
8b4416d8
AS
19482014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1949 H.J. Lu <hongjiu.lu@intel.com>
1950
1951 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1952 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1953 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1954 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1955 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1956 version if bit_Fast_Unaligned_Load is set.
1957 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1958 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1959 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1960 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1961 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1962 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1963 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1964 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1965 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1966 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1967 to 4.
1968 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1969 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1970 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1971 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1972
e47b8d3b
CM
19732014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1974
6d6d7fde
CM
1975 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1976 instead of #if to avoid a Wundef warning.
1977 * stdlib/tst-limits.c (do_test): Likewise.
1978
cd2c37c9
CM
1979 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1980 parallel other exception macros.
1981 (fegetenv): Convert from macro to extern inline so that it applies
1982 retroactively to inline functions already seen by the compiler.
1983 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1984
e47b8d3b
CM
1985 * posix/Makefile (before-compile): Use $(objpfx) for
1986 posix-conf-vars-def.h.
1987
4a6aca7b
SP
19882014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1989
7910c2ae
SP
1990 * posix/getconf.c (main): Use size_t for type of I.
1991 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1992 NSPEC.
1993
50cbbaa9
SP
1994 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1995 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1996 * posix/posix-envs.def: Likewise.
1997 * sysdeps/posix/sysconf.c: Likewise.
1998 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1999 (specs): Remove array.
2000 * scripts/gen-posix-conf-vars.awk: Support generation of specs
2001 array.
2002
3b566046
SP
2003 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2004 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2005 (__sysconf): Use CONF_IS_* macros.
2006
4a6aca7b
SP
2007 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2008 ($(objpfx)posix-conf-vars-def.h): New target.
2009 * posix/posix-conf-vars.list: New file.
2010 * posix/posix-conf-vars.h: New file.
2011 * posix/confstr.c: Include posix-conf-vars.h.
2012 (confstr): Use CONF_IS_* macros.
2013 * posix/posix-envs.def: Include posix-conf-vars.h. Use
2014 CONF_IS_* macros.
2015 * scripts/gen-posix-conf-vars.awk: New file.
2016
7c1395a7
CM
20172014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2018
0025b4cc
CM
2019 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2020 fegetround): Add no-op macros to avoid linknamespace issues.
2021
d8aaf74b
CM
2022 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2023 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2024
5d24aa60
CM
2025 * sysdeps/unix/sysv/linux/tile/sysdep.h
2026 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2027 assembly-specific section to avoid a redefinition warning.
2028
7c1395a7
CM
2029 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2030 long before casting to pointer to avoid a cast warning.
2031
3c87c616
CM
20322014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2033
2034 * sysdeps/tile/tilegx/Implies: New file.
2035
f559d8cf
RE
20362014-12-23 Richard Earnshaw <rearnsha@arm.com>
2037
2038 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2039
7d81e8d6
FW
20402014-12-23 Florian Weimer <fweimer@redhat.com>
2041
2042 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2043
90aa3d09
JM
20442014-12-22 Joseph Myers <joseph@codesourcery.com>
2045
2046 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2047 not define.
2048 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2049 <kernel-features.h>.
2050 (__utimes) [__NR_utimes]: Make code unconditional.
2051 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2052 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2053 (__ASSUME_UTIMES): Do not undefine.
2054 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2055 (__ASSUME_UTIMES): Likewise.
2056 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2057 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2058 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2059 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2060
4c0c0e2a
SE
20612014-12-22 Steve Ellcey <sellcey@imgtec.com>
2062
2063 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2064
0dacd7a3
CM
20652014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2066
b638f96a
CM
2067 [BZ #17747]
2068 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2069 alias to weak alias for j0l, y0l.
2070 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2071 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2072
0dacd7a3
CM
2073 [BZ #17746]
2074 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2075 conversion.
2076
528479c4
SE
20772014-12-22 Steve Ellcey <sellcey@imgtec.com>
2078
2079 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2080 to zero if not already defined.
2081
f56f9124
JM
20822014-12-22 Joseph Myers <joseph@codesourcery.com>
2083
2084 [BZ #17724]
2085 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2086 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2087 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2088 (char *) casts added.
2089 * sysdeps/ieee754/k_standardf.c: New file.
2090 * sysdeps/ieee754/k_standardl.c: Likewise.
2091 * math/Makefile (libm-support): Remove k_standard.
2092 (libm-calls): Add k_standard.
2093
8622d556
WD
20942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2095
2096 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2097 Optimize to avoid an unnecessary FPCR read.
2098
f3806bdb
WD
20992014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2100
2101 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2102 Optimize to reduce FPCR/FPSR accesses.
2103
9b47df58
WD
21042014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2105
2106 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2107 Call libc_fetestexcept_aarch64.
2108
97be3cac
WD
21092014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2110
2111 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2112 Call libc_fesetround_aarch64.
2113
935ab817
JM
21142014-12-22 Joseph Myers <joseph@codesourcery.com>
2115
2116 [BZ #17733]
2117 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2118 (__bind): Do not define as weak alias.
2119 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2120 define.
2121 (__getsockname): Do not define as weak alias.
2122
cc8623f1
WN
21232014-12-22 Will Newton <will.newton@linaro.org>
2124
2125 * manual/install.texi: Document that we require bison 2.7
2126 or above.
2127 * INSTALL: Regenerate.
2128 * configure.ac: Use AC_CHECK_PROG_VER instead of
2129 AC_PATH_PROG when checking for bison and check for
2130 version 2.7 or above.
2131 * configure: Regenerate.
2132
a19ca65a
CM
21332014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2134
92901170 2135 [BZ #17745]
e969965a
CM
2136 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2137 * sysdeps/tile/ffsll.c (ffsll): To here.
2138
a19ca65a
CM
2139 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2140
050f7298
L
21412014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2142
2143 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2144 if not defined.
2145 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2146 definition.
2147 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2148 hidden ___tls_get_addr.
2149 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2150 hidden __tls_get_addr.
2151 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2152 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2153 Likewise.
2154
6df5547e
AS
21552014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2156
2157 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2158 _dl_init call.
2159
7432d613
L
21602014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2161
2162 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2163 from "call _dl_init@PLT".
2164 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2165
98fe149e
AK
21662014-12-21 Anders Kaseorg <andersk@mit.edu>
2167
2168 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2169 guarantees.
2170
d12455f5
CM
21712014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2172
2173 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2174
95dee05f
CM
21752014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2176
92901170 2177 [BZ #17744]
95dee05f
CM
2178 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2179 strnlen.
2180
2ef4b74a
SE
21812014-12-19 Steve Ellcey <sellcey@imgtec.com>
2182
2183 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2184 of multu on MIPSr6.
2185 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2186 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2187 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2188 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2189 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2190
21912014-12-19 Steve Ellcey <sellcey@imgtec.com>
2192
2193 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2194 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2195 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2196 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2197 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2198 mips32r6/mips64r6.
2199 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2200
3eb38795
OB
22012014-12-19 Ondřej Bílka <neleai@seznam.cz>
2202
2203 * string/strncat.c (STRNCAT): Simplify implementation.
2204
6d4188dd
DM
22052014-12-19 David S. Miller <davem@davemloft.net>
2206
0d4ba8be
DM
2207 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2208 access the quad as both a long double and as a series of 4 words.
2209
6d4188dd
DM
2210 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2211 link_map->l_info array access.
2212
4ef91cdc
CM
22132014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2214
804c54f7
CM
2215 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2216
4ef91cdc
CM
2217 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2218 * math/atest-exp2.c (TIMEOUT): Likewise.
2219 * math/atest-sincos.c (TIMEOUT): Likewise.
2220
afd176d6
L
22212014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2222
2223 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2224 -Wno-error with -fno-builtin-lround.
2225
a4a43a90
TR
22262014-12-19 Torvald Riegel <triegel@redhat.com>
2227
2228 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2229 Contains futex constants and functions moved over from ...
2230 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2231 <lowlevellock-futex.h>.
2232 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2233 (lll_timedwait_tid): Add comments and parentheses around macro
2234 arguments.
2235
76f71081
TR
22362014-12-19 Torvald Riegel <triegel@redhat.com>
2237
2238 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2239 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2240 (__lll_private_flag): Remove.
2241 (lll_futex_wait): Likewise.
2242 (lll_futex_timed_wait): Likewise.
2243 (lll_futex_wake): Likewise.
2244 (lll_futex_requeue): Likewise.
2245 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2246 (__lll_timedwait_tid): Spell out argument names.
2247 (lll_timedwait_tid): Add comments and parentheses around macro
2248 arguments.
2249 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2250 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2251
6b814909
TR
22522014-12-19 Torvald Riegel <triegel@redhat.com>
2253
2254 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2255 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2256 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2257 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2258 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2259 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2260 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2261 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2262 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2263 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2264 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2265 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2266 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2267 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2268 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2269 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2270 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2271 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2272 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2273
9cd4d4ab
L
22742014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2275
2276 * sysdeps/x86_64/x32/Makefile: New file.
2277
c9c1a2d0
L
22782014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2279
2280 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2281 1L with (mp_limb_t) 1.
2282
af102d95
RM
22832014-12-17 Roland McGrath <roland@hack.frob.com>
2284
dd690454
RM
2285 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2286 * nptl/libc_pthread_init.c: ... here.
2287 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2288 * nptl/register-atfork.c: ... here.
2289
74eb826c
RM
2290 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2291 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2292 Use assert_perror to check its return value.
2293 (__gai_create_helper_thread): Likewise.
2294
c9ce306b
RM
2295 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2296
af102d95
RM
2297 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2298
8ac5a76a
JM
22992014-12-17 Joseph Myers <joseph@codesourcery.com>
2300
ea41469b
JM
2301 [BZ #17725]
2302 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2303 __profil_counter.
2304 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2305 Likewise.
2306 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2307 Likewise.
2308 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2309 Likewise.
2310 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2311 (profil_counter): Likewise.
2312 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2313 (profil_counter): Likewise.
2314 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2315 Likewise.
2316 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2317 Likewise.
2318 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2319 (profil_counter): Likewise.
2320 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2321 Likewise.
2322 [!__profil_counter] (profil_counter): Define as weak alias of
2323 __profil_counter.
2324 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2325 (profil_counter): Rename to __profil_counter.
2326 [!__profil_counter] (profil_counter): Define as weak alias of
2327 __profil_counter.
2328 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2329 (profil_counter): Rename to __profil_counter.
2330 [!__profil_counter] (profil_counter): Define as weak alias of
2331 __profil_counter.
2332 * sysdeps/posix/profil.c: Update comment referring to
2333 profil_counter.
2334 (__profil): Use __profil_counter instead of profil_counter.
2335 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2336 __profil_counter. Use __profil_counter_ushort and
2337 __profil_counter_uint in definitions.
2338 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2339 instead of profil_counter_uint and profil_counter_ushort.
2340
8ac5a76a
JM
2341 [BZ #17722]
2342 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2343 define as weak alias of __inet_makeaddr.
2344 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2345 as weak alias of __inet_addr.
2346 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2347 as weak alias of __inet_pton. Use libc_hidden_weak.
2348 * include/arpa/inet.h (__inet_pton): Declare. Use
2349 libc_hidden_proto.
2350 (inet_makeaddr): Don't use libc_hidden_proto.
2351 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2352 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2353 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2354 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2355 Remove variable.
2356 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2357 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2358
66ce3cb1
SE
23592014-12-17 Steve Ellcey <sellcey@imgtec.com>
2360
2361 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2362
d22ce01b
SL
23632014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2364
2365 * stdio-common/bug-vfprintf-nargs.c (do_test):
2366 Cast value to intptr_t to avoid format warning
2367 for usage with PRIdPTR printing macro.
2368
eca2772b
SL
23692014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2370
2371 * libio/tst-widetext.c (do_test):
2372 Use format type %td instead of %Zd for ptrdiff_t
2373 in order to avoid format warning.
2374
bdf079da
AS
23752014-12-17 Andreas Schwab <schwab@suse.de>
2376
2377 * nscd/mem.c (gc): Add size_t cast to match printf format.
2378
3eb5d2fc
RM
23792014-12-16 Roland McGrath <roland@hack.frob.com>
2380
2381 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2382 (init): Apply PTR_MANGLE to pointers before storing them.
2383 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2384 before using them.
2385
d003ada2
JM
23862014-12-16 Joseph Myers <joseph@codesourcery.com>
2387
380292ba
JM
2388 [BZ #17719]
2389 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2390 define as weak alias of __memrchr.
2391 (__memrchr): Do not define as strong alias of memrchr.
2392 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2393 Remove variable.
2394 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2395 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2396 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2397
9a44d530
JM
2398 [BZ #17717]
2399 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2400 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2401 (if_indextoname): Rename to __if_indextoname and define as weak
2402 alias of __if_indextoname. Use libc_hidden_weak.
2403 (if_freenameindex): Rename to __if_freenameindex and define as
2404 weak alias of __if_freenameindex.
2405 (if_nameindex): Rename to __if_nameindex and define as weak alias
2406 of __if_nameindex.
2407 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2408 __if_nametoindex and define as weak alias of __if_nametoindex.
2409 Use libc_hidden_weak.
2410 (if_freenameindex): Rename to __if_freenameindex and define as
2411 weak alias of __if_freenameindex.
2412 (if_nameindex): Rename to __if_nameindex and define as weak alias
2413 of __if_nameindex.
2414 (if_indextoname): Rename to __if_indextoname and define as weak
2415 alias of __if_indextoname. Use libc_hidden_weak.
2416 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2417 __if_nametoindex and define as weak alias of __if_nametoindex.
2418 Use libc_hidden_weak.
2419 (if_freenameindex): Rename to __if_freenameindex and define as
2420 weak alias of __if_freenameindex. Use libc_hidden_weak.
2421 (if_nameindex_netlink): Use __if_freenameindex instead of
2422 if_freenameindex.
2423 (if_nameindex): Rename to __if_nameindex and define as weak alias
2424 of __if_nameindex. Use libc_hidden_weak.
2425 (if_indextoname): Rename to __if_indextoname and define as weak
2426 alias of __if_indextoname. Use libc_hidden_weak.
2427 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2428 libc_hidden_proto.
2429 [!_ISOMAC] (__if_freenameindex): Likewise.
2430 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2431 if_nametoindex.
2432 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2433 variable.
2434 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2435 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2436 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2437 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2438 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2439 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2440 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2441
d003ada2
JM
2442 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2443 Remove variable.
2444 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2445 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2446
a0d424ef
SP
24472014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2448
0cd85520
SP
2449 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2450 subscript above bounds'
2451
a0d424ef
SP
2452 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2453 bounds.
2454
0e426475
AS
24552014-12-16 Arjun Shankar <arjun.is@lostca.se>
2456
8b460906
AS
2457 * libio/tst-fopenloc.c: Use test-skeleton.c.
2458
fa13e15b
AS
2459 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2460 (entry): Rename to ITEM.
2461 (do_test, comp): Adjust.
2462
0e426475
AS
2463 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2464
4f646bce
TR
24652014-12-16 Torvald Riegel <triegel@redhat.com>
2466
2467 * string/tester.c: Include <libc-internal.h>.
2468 (test_memset): Ignore -Wmemset-transposed-args.
2469
a07c4427
TR
24702014-12-16 Torvald Riegel <triegel@redhat.com>
2471
2472 * misc/tst-mntent2.c (do_test): Fix warning.
2473
1469f466
TR
24742014-12-16 Torvald Riegel <triegel@redhat.com>
2475
2476 * elf/tst-unique4lib.cc(a): Mark as used.
2477
11e3417a
FW
24782014-12-16 Florian Weimer <fweimer@redhat.com>
2479
2480 [BZ #17630]
2481 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2482 names.
2483
ae61fc7b
AM
24842014-12-16 Allan McRae <allan@archlinux.org>
2485
2486 * stdio-common/Makefile (tests): Re-add bug26.
2487
363a9899
OB
24882014-12-15 Ondřej Bílka <neleai@seznam.cz>
2489
2490 [BZ #17657]
2491 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2492 static array.
2493
d52c62df
TR
24942014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2495
2496 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2497 (__lll_lock_wait): Likewise.
2498 (__lll_timedlock_wait): Likewise.
2499 (__lll_timedwait_tid): Likewise.
2500 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2501 (__lll_robust_timedlock_wait): Likewise.
2502 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2503 (lll_cond_trylock): Likewise.
2504 (__lll_lock): Likewise.
2505 (__lll_robust_lock): Likewise.
2506 (__lll_cond_lock): Likewise.
2507 (lll_robust_cond_lock): Likewise.
2508 (__lll_timedlock): Likewise.
2509 (__lll_robust_timedlock): Likewise.
2510 (__lll_unlock): Likewise.
2511 (__lll_robust_unlock): Likewise.
2512 (lll_wait_tid): Likewise.
2513 (lll_timedwait_tid): Likewise.
2514
045a6bcd
TR
25152014-12-15 Torvald Riegel <triegel@redhat.com>
2516
2517 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2518
7f786dc1
TR
25192014-12-15 Torvald Riegel <triegel@redhat.com>
2520
2521 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2522
e7e21cba
AZ
25232014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2524
2525 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2526 * stdio-common/tst-sprintf.c: Likewise.
2527
bc89c0fc
TR
25282014-12-15 Torvald Riegel <triegel@redhat.com>
2529
2530 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2531
a5357b7c
JL
25322014-12-15 Jeff Law <law@redhat.com>
2533
2534 [BZ #16617]
2535 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2536 on the heap. (CVE-2012-3406)
2537 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2538 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2539 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2540
3a12c70f
WN
25412014-12-15 Will Newton <will.newton@linaro.org>
2542
2543 * manual/install.texi: Bump required version of texinfo
2544 to 4.7 from 4.5.
2545 * INSTALL: Regenerated.
2546 * configure.ac: Check for makeinfo version 4.7 and above.
2547 * configure: Regenerated.
2548
e4f639e4
RM
25492014-12-12 Roland McGrath <roland@hack.frob.com>
2550
2551 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2552 PREFIX, string constant to insert between directory and name.
2553 * sysdeps/posix/shm_open.c: Update caller.
2554 * sysdeps/posix/shm_unlink.c: Likewise.
2555 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2556 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2557 (SEM_SHM_PREFIX): New macro.
2558 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2559 [$(have-thread-library) = no].
2560 * nptl/Makefile (libpthread-routines): Add shm-directory.
2561 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2562 * sysdeps/nptl/shm-directory.h: New file.
2563 * sysdeps/posix/shm-directory.c
2564 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2565 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2566 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2567 INTERNAL_SYSCALL.
2568 (__where_is_shmfs): Function removed.
2569 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2570 Variables removed.
2571 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2572 Use SHM_GET_NAME.
2573 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2574
2575 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2576 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2577 unconditional for use inside libpthread.
2578 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2579
439c43f6
RM
25802014-12-12 Roland McGrath <roland@hack.frob.com>
2581
c76d1ff5
RM
2582 * nptl/pthread_getaffinity.c: New file.
2583 * nptl/pthread_setaffinity.c: New file.
2584 * nptl/pthread_getname.c: New file.
2585 * nptl/pthread_setname.c: New file.
2586
439c43f6
RM
2587 * nptl/pthread_create.c (START_THREAD_DEFN)
2588 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2589
48e435cd
SL
25902014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2591 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2592
2593 * resolv/res_send.c (send_vc): Disable warning resplen may
2594 be used uninitialized.
2595
9d9c0019
SL
25962014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2597
2598 * nptl/tst-mutex6.c
2599 (ATTR_NULL): New define checks ATTR against NULL.
2600 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2601 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2602
9173840b
JL
26032014-12-11 James Lemke <jwlemke@codesourcery.com>
2604
2605 [BZ #17581]
2606 * malloc/hooks.c
2607 (mem2mem_check): Revert my previous change.
2608 (malloc_check_get_size): Revert my previous change.
2609 (mem2chunk_check): Revert my previous change.
2610
78e21c5d
RM
26112014-12-11 Roland McGrath <roland@hack.frob.com>
2612
2613 * sysdeps/posix/shm-directory.c: New file.
2614 * sysdeps/posix/shm-directory.h: New file.
2615 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2616 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2617 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2618 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2619 Transmute EPERM to EACCES.
2620 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2621 from ...
2622 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2623 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2624
f82c43af
KK
26252014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2626
2627 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2628 pointer and cast to uintptr_t.
2629 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2630 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2631 Add cast to avoid warning.
2632 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2633
fc00cf7b
JM
26342014-12-11 Joseph Myers <joseph@codesourcery.com>
2635
2636 * nptl/semaphore.h: Move to ...
2637 * sysdeps/pthread/semaphore.h: ... here.
2638 * Makefile (installed-headers): Change nptl/semaphore.h to
2639 sysdeps/pthread/semaphore.h.
2640
1c4053db
RM
26412014-12-11 Roland McGrath <roland@hack.frob.com>
2642
73b0c1a1
RM
2643 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2644 generated error format strings.
2645
1c4053db
RM
2646 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2647 -Wformat-extra-args warnings for scanf formats.
2648 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2649 test of zero-length format (duh).
2650 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2651 corner-case scanf format test.
2652 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2653 generated fprintf format string.
2654 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2655 corner-case sprintf format tests.
2656 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2657 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2658 -Wformat-extra-args warnings throughout.
2659 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2660 (CFLAGS-scanf4.c): Likewise.
2661 (CFLAGS-scanf7.c): Likewise.
2662 (CFLAGS-tst-sprintf.c): Likewise.
2663 (CFLAGS-tst-printf.c): Likewise.
2664 (CFLAGS-tst-printfsz.c): Likewise.
2665
47d51f4f
JM
26662014-12-11 Joseph Myers <joseph@codesourcery.com>
2667
a1edbf3c
JM
2668 * include/cpio.h: New file.
2669 * include/fmtmsg.h: Likewise.
2670
47d51f4f
JM
2671 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2672 corresponding format argument to size_t.
2673 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2674 arguments.
2675 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2676 corresponding format argument to size_t.
2677 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2678 arguments.
2679 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2680 corresponding format argument to size_t.
2681 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2682 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2683 (CFLAGS-tst-mbswcs2.c): Likewise.
2684 (CFLAGS-tst-mbswcs3.c): Likewise.
2685 (CFLAGS-tst-mbswcs4.c): Likewise.
2686 (CFLAGS-tst-mbswcs5.c): Likewise.
2687 (CFLAGS-tst-trans.c): Likewise
2688
e9813cfb
RM
26892014-12-11 Roland McGrath <roland@hack.frob.com>
2690
2691 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2692 rather than assuming they won't contain any '%'s.
2693
f627ca82
CM
26942014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2695
2696 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2697 inhibit_loop_to_libcall to avoid recursive calls.
2698 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2699 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2700
7f296942
AZ
27012014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2702
2703 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2704 prototype.
2705
d0276e18
SE
27062014-12-11 Steve Ellcey <sellcey@imgtec.com>
2707
2708 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2709 integer value instead of boolean.
2710
fc56e970
SE
27112014-12-11 Steve Ellcey <sellcey@imgtec.com>
2712
2713 * malloc/malloc.c: Fix powerof2 check.
2714
40e53917
SL
27152014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2716
2717 * locale/programs/locfile.h (maybe_swap_uint32):
2718 Remove inline and add unused attribute.
2719
1ea166df
SL
27202014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2721
9d9c0019 2722 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2723 Truncating assembler expression to a .long expression.
2724
acf869f4
AS
27252014-12-11 Andreas Schwab <schwab@suse.de>
2726
2727 * elf/rtld.c (struct map_args): Constify str member.
2728 (do_preload): Constify fname argument.
2729
9d969099
AZ
27302014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2731
2732 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2733 constants definition.
2734
da5bcaa4
AS
27352014-12-11 Andreas Schwab <schwab@suse.de>
2736
b0a3c164
AS
2737 [BZ #16657]
2738 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2739 FORCE_ELISION instead of DO_ELISION.
2740 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2741 Remove.
2742 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2743 Likewise.
2744
da5bcaa4
AS
2745 * iconvdata/gconv-modules: Remove duplicate entry.
2746
6d248857
WN
27472014-12-11 Will Newton <will.newton@linaro.org>
2748
2749 Merge gettext 0.19.3 into intl/.
2750
2751 This involves a number of cosmetic changes to comments
2752 and ANSI function definitions and prototypes throughout
2753 all the files. The gettext copyright header is used but
2754 with the date ranges taken from the glibc copy.
2755
2756 * NEWS: Add gettext merge to 2.21.
2757 * intl/bindtextdom.c: Switch to gettext copyright.
2758 Use ANSI definitions and prototypes.
2759 Use gl_* locking primitives rather than __libc_* ones.
2760 Use __builtin_expect rather than __glibc_likely/unlikely.
2761 * intl/dcgettext.c: Switch to gettext copyright.
2762 Use ANSI definitions and prototypes.
2763 * intl/dcigettext.c: Switch to gettext copyright.
2764 Use ANSI definitions and prototypes.
2765 (INTDIV0_RAISES_SIGFPE): New define.
2766 Use gl_* locking primitives rather than __libc_* ones.
2767 Include eval-plural.h instead of plural-eval.c.
2768 Use __builtin_expect rather than __glibc_likely/unlikely.
2769 * intl/dcngettext.c: Switch to gettext copyright.
2770 Use ANSI definitions and prototypes.
2771 * intl/dgettext.c: Likewise.
2772 * intl/dngettext.c: Likewise.
2773 * intl/plural-eval.c: Renamed to...
2774 * intl/eval-plural.h: ...this.
2775 * intl/explodename.c: Switch to gettext copyright.
2776 Use ANSI definitions and prototypes.
2777 (_nl_explode_name): Use strchr instead of __rawmemchr.
2778 * intl/finddomain.c: Switch to gettext copyright.
2779 Use ANSI definitions and prototypes.
2780 Use gl_* locking primitives rather than __libc_* ones.
2781 (_nl_find_domain): Use malloc rather than alloca for
2782 allocation of temporary locale name.
2783 * intl/gettext.c: Switch to gettext copyright.
2784 Use ANSI definitions and prototypes.
2785 * intl/gettextP.h: Switch to gettext copyright.
2786 Use ANSI definitions and prototypes.
2787 Use gl_* locking primitives rather than __libc_* ones.
2788 * intl/gmo.h: Switch to gettext copyright.
2789 (struct sysdep_string): Move struct segment_pair outside of
2790 struct definition.
2791 * intl/hash-string.c: Use ANSI definitions and prototypes.
2792 * intl/hash-string.h: Switch to gettext copyright.
2793 Use ANSI definitions and prototypes.
2794 * intl/l10nflist.c: Switch to gettext copyright.
2795 Use ANSI definitions and prototypes.
2796 (_nl_normalize_codeset): Avoid integer overflow.
2797 * intl/loadinfo.h: Switch to gettext copyright.
2798 Use ANSI definitions and prototypes.
2799 (LIBINTL_DLL_EXPORTED): New define.
2800 (PATH_SEPARATOR): New define.
2801 * intl/loadmsgcat.c: Switch to gettext copyright.
2802 * intl/localealias.c: Switch to gettext copyright.
2803 Use ANSI definitions and prototypes.
2804 (_nl_expand_alias): Use PATH_SEPARATOR.
2805 * intl/ngettext.c: Switch to gettext copyright.
2806 Use ANSI definitions and prototypes.
2807 * intl/plural-exp.c: Likewise.
2808 * intl/plural-exp.h: Switch to gettext copyright.
2809 Use ANSI definitions and prototypes.
2810 (struct expression): Move definition of enum operator outside
2811 of struct definition.
2812 * intl/plural.c: Regenerate.
2813 * intl/plural.y: Switch to gettext copyright.
2814 Use ANSI definitions and prototypes.
2815 Port to bison 3.0.
2816 * intl/textdomain.c: Switch to gettext copyright.
2817 Use ANSI definitions and prototypes.
2818 Use gl_* locking primitives rather than __libc_* ones.
2819
48c43298
SE
28202014-12-10 Steve Ellcey <sellcey@imgtec.com>
2821
2822 * debug/warning-nop.c: Add used atrribute.
2823
2b89bce9
JM
28242014-12-10 Joseph Myers <joseph@codesourcery.com>
2825
c153ac9f
JM
2826 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2827
2b89bce9
JM
2828 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2829 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2830 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2831
2cfbdb9a
JM
28322014-12-10 Joseph Myers <joseph@codesourcery.com>
2833 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2834
2835 [BZ #17634]
2836 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2837 Undefine after defining function. Define as weak alias of
2838 __wcschr. Use libc_hidden_weak.
2839 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2840 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2841 (libc_hidden_def): Also define __GI___wcschr alias.
2842 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2843 __wcschr and define as weak alias of __wcschr.
2844 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2845 __wcschr.
2846 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2847 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2848 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2849 libc_hidden_weak. Do not use libc_hidden_def.
2850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2851 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2852 __GI___wcschr alias.
2853 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2854 [IS_IN (libc)] (wcschr): Define as macro expanding to
2855 __redirect_wcschr.
2856 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2857 [IS_IN (libc)] (__wcschr_power6): Likewise.
2858 [IS_IN (libc)] (__wcschr_power7): Likewise.
2859 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2860 instead of wcschr.
2861 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2862 __libc_wcschr.
2863 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2864 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2865 __wcschr and define as weak alias of __wcschr. Use
2866 libc_hidden_builtin_def.
2867 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2868 as weak alias of __wcschr. Use libc_hidden_weak.
2869 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2870 wcschr.
2871 * time/era.c (_nl_init_era_entries): Likewise.
2872 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2873 variable.
2874 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2875 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2876
1b8bf351
JM
28772014-12-10 Joseph Myers <joseph@codesourcery.com>
2878
2879 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2880 format for long int variable.
2881
f5f46d51
AK
28822014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2883
2884 [BZ #10672]
07008f7d 2885 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2886 qsort stable.
2887
217a74a8
AS
28882014-12-10 Andreas Schwab <schwab@suse.de>
2889
2890 [BZ #12847]
2891 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2892 user-controlled locks.
2893
aa76a5c7
RE
28942014-12-10 Richard Earnshaw <rearnsha@arm.com>
2895
2896 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2897 register.
2898
2084e7ca
JM
28992014-12-10 Joseph Myers <joseph@codesourcery.com>
2900
a4ecc9eb
JM
2901 * configure.ac (--disable-werror): New configure option.
2902 (enable_werror): New AC_SUBST.
2903 * configure: Regenerated.
2904 * config.make.in (enable-werror): New variable.
2905 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2906 -Wno-error=undef.
2907 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2908 * manual/install.texi (Configuring and compiling): Document
2909 --disable-werror.
2910 * INSTALL: Regenerated.
2911 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2912 (CFLAGS-tst-chk2.c): Likewise.
2913 (CFLAGS-tst-chk3.c): Likewise.
2914 (CFLAGS-tst-chk4.cc): Likewise.
2915 (CFLAGS-tst-chk5.cc): Likewise.
2916 (CFLAGS-tst-chk6.cc): Likewise.
2917 (CFLAGS-tst-lfschk1.c): Likewise.
2918 (CFLAGS-tst-lfschk2.c): Likewise.
2919 (CFLAGS-tst-lfschk3.c): Likewise.
2920 (CFLAGS-tst-lfschk4.cc): Likewise.
2921 (CFLAGS-tst-lfschk5.cc): Likewise.
2922 (CFLAGS-tst-lfschk6.cc): Likewise.
2923
0f88636c
JM
2924 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2925 (main): Disable -Wdeprecated-declarations around calls to
2926 register_printf_function.
2927
c81e9deb
JM
2928 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2929 (do_test): Disable -Wdiv-by-zero around some calls to
2930 fwrite_unlocked and fread_unlocked.
2931
2084e7ca
JM
2932 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2933 (DIAG_POP_NEEDS_COMMENT): Likewise.
2934 (_DIAG_STR1): Likewise.
2935 (_DIAG_STR): Likewise.
2936 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2937 * stdio-common/bug21.c: Include <libc-internal.h>.
2938 (do_test): Disable -Wformat around call to sscanf.
2939 * stdio-common/scanf14.c: Include <libc-internal.h>.
2940 (main): Disable -Wformat around some calls to scanf functions.
2941
df7ecc6b
TR
29422014-12-09 Torvald Riegel <triegel@redhat.com>
2943
2944 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2945
2aa3862e
AZ
29462014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2947
2948 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2949 stack variable alignment.
2950
c5c2b7c3
JM
29512014-12-06 Joseph Myers <joseph@codesourcery.com>
2952
2953 [BZ #17682]
2954 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2955 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2956 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2957 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2958 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2959 __getrlimit instead of getrlimit.
2960 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2961 __gettimeofday instead of gettimeofday.
2962 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2963 Likewise.
2964 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2965 Likewise.
2966 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2967 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2968 Remove variable.
2969 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2970 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2971
9752c3cd
AZ
29722014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2973
2974 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2975 for wide-character tests.
2976
4bee4cd9
RM
29772014-12-04 Roland McGrath <roland@hack.frob.com>
2978
2979 * io/openat64.c: #include <libc-internal.h>
2980 (__openat64): Prototypify. Use ignore_value on MODE.
2981 * io/openat.c: Likewise.
2982 * misc/reboot.c: #include <libc-internal.h>
2983 (reboot): Prototypify. Use ignore_value on HOWTO.
2984 * misc/ptrace.c: #include <libc-internal.h>
2985 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2986
84dbedb6
JM
29872014-12-04 Joseph Myers <joseph@codesourcery.com>
2988
2989 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2990 XPG4, UNIX98 and XOPEN2K.
2991 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2992 Remove variable.
2993 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2994
b7a3e1c4 29952014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2996
af50dfc1 2997 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2998 * libio/iofopen.c: Likewise.
2999 * libio/wfileops.c: Likewise.
3000
fe8b4d98
SP
3001 [BZ #17653]
3002 * libio/fileops.c (_IO_new_file_underflow): Unset cached
3003 offset on EOF.
3004 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3005 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3006 (fgets_func): Function pointer to fgets and fgetws.
3007 (do_ftell_test): Add test to verify ftell value after read
3008 EOF.
3009 (do_test): Set fgets_func.
3010
61b4f792
SP
3011 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3012 O_TRUNC flag for w and w+ modes.
3013 (do_rewind_test): Likewise.
3014 (do_ftell_test): Likewise.
3015 (do_write_test): Likewise.
3016
be349d70
SP
3017 [BZ #17647]
3018 * libio/fileops.c (do_ftell): Seek only when there are
3019 unflushed writes.
3020 * libio/wfileops.c (do_ftell_wide): Likewise.
3021 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3022 test case.
3023 (do_one_test): Call it.
3024
e3d6dba5
JM
30252014-12-03 Joseph Myers <joseph@codesourcery.com>
3026
3027 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3028 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3029 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3030 Remove variable.
3031 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3032 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3033 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3034
7f994279
JM
30352014-12-02 Joseph Myers <joseph@codesourcery.com>
3036
28a91e8f
JM
3037 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3038 Remove variable.
3039 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3040
7f994279
JM
3041 [BZ #17668]
3042 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3043 as weak alias of __getifaddrs. Use libc_hidden_weak.
3044 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3045 __freeifaddrs. Use libc_hidden_weak.
3046 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3047 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3048 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3049 __freeifaddrs. Use libc_hidden_weak.
3050 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3051 __getifaddrs and define as weak alias of __getifaddrs. Use
3052 libc_hidden_weak.
3053 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3054 __freeifaddrs. Use libc_hidden_weak.
3055 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3056 Remove variable.
3057 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3058 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3059
bbe4c142
PJ
30602014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3061
3062 [BZ #17601]
3063 * sysdeps/mips/start.S (__start): Use indirect jump to call
3064 __libc_start_main.
3065
66cadc05
JM
30662014-12-02 Joseph Myers <joseph@codesourcery.com>
3067
909e16d9
JM
3068 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3069
4e0b9016
JM
3070 * nptl/tst-mutex1.c: Include <stdbool.h>.
3071 [!ATTR] (ATTR_NULL): New macro.
3072 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3073 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3074 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3075
b1aff6a4
JM
3076 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3077 to char *.
3078
266865c0
JM
3079 [BZ #17665]
3080 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3081 Change conditional to [__USE_MISC].
3082
84e5e756
JM
3083 [BZ #17664]
3084 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3085 fgets_unlocked.
3086 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3087 __fgets_unlocked.
3088 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3089 fgets_unlocked.
3090 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3091 Remove variable.
3092 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3093 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3094 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3095 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3096 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3097 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3098 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3099 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3100 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3101
66cadc05
JM
3102 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3103
2e8a2de2 31042014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3105
3106 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3107 Remove strpbrk objects.
3108 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3109 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3110 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3111 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3112 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3113 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3114
bb2542e0
AZ
3115 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3116 Remove strcspn objects.
3117 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3118 (__libc_ifunc_impl_list): Remove strcspn implementation.
3119 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3120 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3121 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3122 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3123
3124 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3125 Remove strspn objetcs.
3126 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3127 (__libc_ifunc_impl_list): Remove strspn implementation.
3128 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3129 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3130 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3131 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3132
08f1e1d2
JL
31332014-12-01 James Lemke <jwlemke@codesourcery.com>
3134
3135 [BZ #17581]
3136 * malloc/hooks.c
3137 (mem2mem_check): Add a terminator to the chain of checking blocks.
3138 (malloc_check_get_size): Use it here.
3139 (mem2chunk_check): Ditto.
3140
a8a7d7d2
RS
31412014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3142
3143 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3144 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3145
97114a38
CD
31462014-11-29 Carlos O'Donell <carlos@redhat.com>
3147
c8dc1727
CD
3148 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3149
6d03458e
CD
3150 * nptl/nptl-init.c: Include libc-internal.h.
3151 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3152
97114a38
CD
3153 * elf/ldconfig.c (search_dir): Expand comment.
3154
0e7e69ba
JM
31552014-11-29 Joseph Myers <joseph@codesourcery.com>
3156
3157 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3158 variable.
3159 (linknamespace-symlist-stdlibs-tests): Likewise.
3160 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3161 instead of $(objpfx)symlist-stdlibs.
3162 (linknamespace-libs-isoc): New variable.
3163 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3164 (linknamespace-libs-ISO): New variable.
3165 (linknamespace-libs-ISO99): Likewise.
3166 (linknamespace-libs-ISO11): Likewise.
3167 (linknamespace-libs-XPG3): Likewise.
3168 (linknamespace-libs-XPG4): Likewise.
3169 (linknamespace-libs-POSIX): Likewise.
3170 (linknamespace-libs-UNIX98): Likewise.
3171 (linknamespace-libs-XOPEN2K): Likewise.
3172 (linknamespace-libs-POSIX2008): Likewise.
3173 (linknamespace-libs-XOPEN2K8): Likewise.
3174 ($(objpfx)symlist-stdlibs): Replace by
3175 $(linknamespace-symlist-stdlibs-tests). Use
3176 $(linknamespace-libs-$*) as set of libraries.
3177 ($(linknamespace-header-tests)): Update dependencies. Use
3178 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3179 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3180 * conform/linknamespace.pl: Remove comment about considering
3181 definitions of symbols from irrelevant libraries.
3182
d8dd0080
L
31832014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3184
3185 [BZ #13862]
3186 * elf/dl-tls.c: Include <atomic.h>.
3187 (oom): Remove #ifdef SHARED/#endif.
3188 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3189 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3190 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3191 big enough.
3192 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3193 * nptl/Makefile (tests): Add tst-stack4.
3194 (modules-names): Add tst-stack4mod.
3195 ($(objpfx)tst-stack4): New.
3196 (tst-stack4mod.sos): Likewise.
3197 ($(objpfx)tst-stack4.out): Likewise.
3198 ($(tst-stack4mod.sos)): Likewise.
3199 (clean): Likewise.
3200 * nptl/tst-stack4.c: New file.
3201 * nptl/tst-stack4mod.c: Likewise.
3202
167da422
B
32032014-11-27 J. Brown <jb999@gmx.de>
3204
3205 * sysdeps/x86/bits/string.h: Add recent CPUs.
3206
9114625b
JM
32072014-11-27 Joseph Myers <joseph@codesourcery.com>
3208
6b5189eb
JM
3209 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3210 sigblock.
3211
49051f8e
JM
3212 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3213 feof.
3214
9114625b
JM
3215 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3216 variable.
3217
e7300fef
SL
32182014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3219
3220 * nscd/connections.c: Include libc-internal.h because of macro
3221 usage ignore_value.
3222
1721f0a4
SP
32232014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3224
3225 * string/bits/string3.h (__warn_memset_zero_len): Don't
3226 declare for gcc newer than 5.0.
3227 (memset): Don't test for zero-length __LEN for gcc newer than
3228 5.0.
3229
be970916
JM
32302014-11-27 Joseph Myers <joseph@codesourcery.com>
3231
d88548f4
JM
3232 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3233 size_t for %zu format.
3234
be970916
JM
3235 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3236 difference, not %ju.
3237
3b20fd5c
JM
32382014-11-26 Joseph Myers <joseph@codesourcery.com>
3239
8915eace
JM
3240 * include/libc-internal.h (ignore_value): New macro.
3241 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3242 with ignore_value.
3243
f1a5a0e3
JM
3244 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3245 definition.
3246
59ef1715
JM
3247 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3248 pthread_cleanup_push to void *.
3249
a6f3079b
JM
3250 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3251 Undefine.
3252
706688aa
JM
3253 [BZ #16619]
3254 [BZ #16740]
3255 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3256 instead of 1L << 52.
3257
12da14a5
JM
3258 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3259 * libio/bug-rewind2.c (do_test): Likewise.
3260
bd5dadac
JM
3261 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3262 * debug/test-strcpy_chk-ifunc.c: Likewise.
3263 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3264 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3265 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3266 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3267 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3268 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3269 * Rules [$(multi-arch) = no] (tests): Do not filter out
3270 $(tests-ifunc).
3271 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3272 * debug/Makefile (tests-ifunc): Remove variable.
3273 (tests): Do not add $(tests-ifunc).
3274 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3275 (tests): Do not add $(tests-ifunc).
3276 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3277 [TEST_IFUNC]: Remove conditionals.
3278 * string/test-string.h (TEST_IFUNC): Remove macro.
3279 [TEST_IFUNC]: Remove conditionals.
3280
3b20fd5c
JM
3281 * string/test-strchr.c [!WIDE] (L): New macro.
3282 [WIDE] (L): Likewise.
3283 (check1): Use CHAR instead of char. Use L on string and character
3284 constants.
3285
704f7947
AZ
32862014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3287
3288 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3289 tests.
3290 * sysdeps/powerpc/bits/atomic.h
3291 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3292 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3293 (atomic_exchange_and_add_acq): Likewise.
3294 (atomic_exchange_and_add_rel): Likewise.
3295 * sysdeps/powerpc/powerpc32/bits/atomic.h
3296 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3297 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3298 * sysdeps/powerpc/powerpc64/bits/atomic.h
3299 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3300 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3301
cdcb42d7
TR
33022014-11-26 Torvald Riegel <triegel@redhat.com>
3303
3304 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3305 Change synchronization of __sched_fifo_min_prio and
3306 __sched_fifo_max_prio.
3307 * nptl/pthread_mutexattr_getprioceiling.c
3308 (pthread_mutexattr_getprioceiling): Likewise.
3309 * nptl/pthread_mutexattr_setprioceiling.c
3310 (pthread_mutexattr_setprioceiling): Likewise.
3311 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3312 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3313 Likewise.
3314
c82f5c0c
JM
33152014-11-26 Joseph Myers <joseph@codesourcery.com>
3316
3317 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3318 void.
3319
439e1ad6
JM
33202014-11-25 Joseph Myers <joseph@codesourcery.com>
3321
3322 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3323 third argument const.
3324
b1eda10e
PE
33252014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3326
3327 fnmatch: work around GCC compiler warning bug with uninit var
3328 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3329 This works around a bug with x86-64 GCC 4.9.2 and earlier
3330 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3331 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3332 used uninitialized in this function [-Wmaybe-uninitialized]".
3333
bde2667a
JM
33342014-11-25 Joseph Myers <joseph@codesourcery.com>
3335
3336 * posix/bug-regex31.c (main): Return RES not 0.
3337
5fbb5691
AB
33382014-11-25 Anton Blanchard <anton@samba.org>
3339
3340 * sysdeps/powerpc/bits/atomic.h
3341 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3342
467fec0b
BM
33432014-11-24 Sterling Augustine <saugustine@google.com>
3344
3345 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3346
e9ff8efb
RC
33472014-11-24 Ryan Cumming <etaoins@gmail.com>
3348
3349 [BZ #17608]
3350 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3351
9744496f
JM
33522014-11-24 Joseph Myers <joseph@codesourcery.com>
3353
3354 [BZ #17633]
3355 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3356 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3357 variable.
3358 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3359 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3360
6423d475
WD
33612014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3362
3363 * string/strncpy.c (strncpy): Improve performance by using memset.
3364
33652014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3366
3367 * string/strcpy.c (strcpy):
3368 Improve performance by using strlen and memcpy.
3369
5d178c37
LH
33702014-11-24 Leonhard Holz <leonhard.holz@web.de>
3371
3372 * string/strcoll_l.c (get_next_seq): __always_inline.
3373 * string/strcoll_l.c (do_compare): __always_inline.
3374
279bc5b3
SP
33752014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3376
7a9ebfa1
SP
3377 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3378 defined.
3379 * include/mqueue.h: Likewise.
3380 * include/stdlib.h: Likewise.
3381
4f41c682
SP
3382 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3383 (get_null_defines): Adjust.
3384 * sunrpc/Makefile: Adjust comment.
3385 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3386 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3387 (CFLAGS-interp.c): Likewise.
3388 (CFLAGS-ldconfig.c): Likewise.
3389 (CPPFLAGS-.os): Likewise.
3390 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3391 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3392 * extra-modules.mk (extra-modules.mk): Likewise.
3393 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3394 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3395 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3396 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3397 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3398 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3399 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3400 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3401 * iconvdata/Makefile (CPPFLAGS): Likewise.
3402 (cpp-srcs-left): Add libof for all iconvdata routines.
3403 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3404 * include/assert.h: Likewise.
3405 * include/ctype.h: Likewise.
3406 * include/errno.h: Likewise.
3407 * include/libc-symbols.h: Likewise.
3408 * include/math.h: Likewise.
3409 * include/netdb.h: Likewise.
3410 * include/resolv.h: Likewise.
3411 * include/stdio.h: Likewise.
3412 * include/stdlib.h: Likewise.
3413 * include/string.h: Likewise.
3414 * include/sys/stat.h: Likewise.
3415 * include/wctype.h: Likewise.
3416 * intl/l10nflist.c: Likewise.
3417 * libidn/idn-stub.c: Likewise.
3418 * libio/libioP.h: Likewise.
3419 * nptl/libc_multiple_threads.c: Likewise.
3420 * nptl/pthreadP.h: Likewise.
3421 * posix/regex_internal.h: Likewise.
3422 * resolv/res_hconf.c: Likewise.
3423 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3424 * sysdeps/arm/memmove.S: Likewise.
3425 * sysdeps/arm/sysdep.h: Likewise.
3426 * sysdeps/generic/_itoa.h: Likewise.
3427 * sysdeps/generic/symbol-hacks.h: Likewise.
3428 * sysdeps/gnu/errlist.awk: Likewise.
3429 * sysdeps/gnu/errlist.c: Likewise.
3430 * sysdeps/i386/i586/memcpy.S: Likewise.
3431 * sysdeps/i386/i586/memset.S: Likewise.
3432 * sysdeps/i386/i686/memcpy.S: Likewise.
3433 * sysdeps/i386/i686/memmove.S: Likewise.
3434 * sysdeps/i386/i686/mempcpy.S: Likewise.
3435 * sysdeps/i386/i686/memset.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3438 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3453 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3468 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3473 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3476 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3479 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3482 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3483 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3484 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3485 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3486 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3487 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3488 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3489 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3490 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3491 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3492 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3493 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3494 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3495 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3496 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3497 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3498 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3499 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3500 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3501 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3502 * sysdeps/posix/closedir.c: Likewise.
3503 * sysdeps/posix/opendir.c: Likewise.
3504 * sysdeps/posix/readdir.c: Likewise.
3505 * sysdeps/posix/rewinddir.c: Likewise.
3506 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3507 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3508 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3509 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3510 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3511 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3519 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3521 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3523 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3525 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3526 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3527 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3528 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3529 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3530 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3531 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3532 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3533 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3534 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3535 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3536 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3537 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3538 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3539 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3540 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3541 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3542 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3543 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3544 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3545 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3546 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3547 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3548 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3549 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3550 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3551 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3552 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3554 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3555 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3556 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3557 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3558 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3559 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3560 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3561 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3562 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3563 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3564 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3569 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3570 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3572 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3573 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3574 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3575 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3576 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3577 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3578 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3579 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3580 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3581 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3582 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3583 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3584 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3585 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3586 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3587 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3588 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3589 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3590 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3591 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3592 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3593 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3594 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3595 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3596 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3597 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3598 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3599 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3600 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3601 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3602 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3603 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3604 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3605 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3606 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3607 * sysdeps/unix/alpha/sysdep.S: Likewise.
3608 * sysdeps/unix/alpha/sysdep.h: Likewise.
3609 * sysdeps/unix/make-syscalls.sh: Likewise.
3610 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3612 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3613 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3614 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3615 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3616 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3617 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3618 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3619 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3620 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3621 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3622 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3623 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3624 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3625 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3626 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3627 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3628 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3629 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3630 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3631 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3632 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3633 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3634 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3635 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3636 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3639 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3640 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3641 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3642 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3643 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3644 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3645 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3646 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3647 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3648 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3649 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3650 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3651 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3652 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3653 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3654 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3656 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3657 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3658 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3659 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3660 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3661 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3662 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3663 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3664 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3665 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3666 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3667 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3668 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3669 * sysdeps/x86_64/memcpy.S: Likewise.
3670 * sysdeps/x86_64/memmove.c: Likewise.
3671 * sysdeps/x86_64/memset.S: Likewise.
3672 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3673 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3674 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3675 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3676 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3677 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3678 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3679 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3680 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3681 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3682 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3683 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3684 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3685 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3686 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3687 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3688 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3689 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3690 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3691 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3692 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3693 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3694 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3695 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3696 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3697 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3698 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3699 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3700 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3701 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3702 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3703 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3704 * sysdeps/x86_64/strcmp.S: Likewise.
3705
76ca86a5
SP
3706 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3707
a3848485
SP
3708 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3709 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3710 * elf/rtld-Rules: Likewise.
3711 * elf/setup-vdso.h: Likewise.
3712 * include/assert.h: Likewise.
3713 * include/bits/stdlib-float.h: Likewise.
3714 * include/errno.h: Likewise.
3715 * include/sys/stat.h: Likewise.
3716 * include/unistd.h: Likewise.
3717 * sysdeps/aarch64/setjmp.S: Likewise.
3718 * sysdeps/alpha/setjmp.S: Likewise.
3719 * sysdeps/arm/__longjmp.S: Likewise.
3720 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3721 * sysdeps/arm/setjmp.S: Likewise.
3722 * sysdeps/arm/sysdep.h: Likewise.
3723 * sysdeps/generic/_itoa.h: Likewise.
3724 * sysdeps/generic/dl-sysdep.h: Likewise.
3725 * sysdeps/generic/ldsodefs.h: Likewise.
3726 * sysdeps/i386/dl-tls.h: Likewise.
3727 * sysdeps/i386/setjmp.S: Likewise.
3728 * sysdeps/m68k/setjmp.c: Likewise.
3729 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3730 * sysdeps/mach/hurd/opendir.c: Likewise.
3731 * sysdeps/posix/getcwd.c: Likewise.
3732 * sysdeps/posix/opendir.c: Likewise.
3733 * sysdeps/posix/profil.c: Likewise.
3734 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3735 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3736 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3737 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3738 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3739 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3740 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3741 * sysdeps/s390/dl-tls.h: Likewise.
3742 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3743 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3744 * sysdeps/sh/sh3/setjmp.S: Likewise.
3745 * sysdeps/sh/sh4/setjmp.S: Likewise.
3746 * sysdeps/unix/alpha/sysdep.h: Likewise.
3747 * sysdeps/unix/arm/sysdep.S: Likewise.
3748 * sysdeps/unix/i386/sysdep.S: Likewise.
3749 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3750 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3751 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3752 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3753 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3754 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3755 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3756 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3757 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3758 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3759 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3760 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3761 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3764 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3766 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3767 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3768 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3769 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3772 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3773 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3774 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3775 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3776 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3777 * sysdeps/x86_64/setjmp.S: Likewise.
3778
a109996e
SP
3779 * include/math.h: Use IS_IN instead of IS_IN_libm.
3780 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3781 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3783 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3784 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3785 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3786 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3787 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3790 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3792 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3793 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3794 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3795 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3796 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3797 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3798 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3799 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3800 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3801 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3802 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3803 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3804 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3805 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3806 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3807 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3808 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3809 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3810 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3811 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3812 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3814 Likewise.
3815 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3816 Likewise.
3817 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3818 Likewise.
3819 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3820 Likewise.
3821 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3822 Likewise.
3823 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3824 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3825 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3826 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3827 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3828 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3833 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3834 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3835 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3836 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3837 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3838 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3839 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3840 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3841 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3842 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3843 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3844 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3846 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3847 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3849 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3850
ce9f10f7
SP
3851 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3852 * nptl/pthreadP.h: Likewise.
3853 * nptl_db/structs.def: Likewise.
3854 * sysdeps/arm/sysdep.h: Likewise.
3855 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3856 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3857 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3858 * sysdeps/unix/alpha/sysdep.h: Likewise.
3859 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3860 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3861 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3862 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3863 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3864 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3865 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3866 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3867 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3868 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3869 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3870 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3871 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3872 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3874 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3875 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3876 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3877 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3878 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3879 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3880 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3881 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3882 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3883 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3884 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3885
016afc75
SP
3886 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3887 * nptl/pthreadP.h: Likewise.
3888 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3889 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3890 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3891 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3892 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3893 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3894 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3895 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3896 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3897 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3898 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3899 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3901 Likewise.
3902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3903 Likewise.
3904 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3905 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3906 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3907 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3909 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3910 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3911 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3912
9b42a0b3
SP
3913 * dlfcn/dladdr.c: Use IS_IN.
3914 * dlfcn/dladdr1.c: Likewise.
3915 * dlfcn/dlclose.c: Likewise.
3916 * dlfcn/dlerror.c: Likewise.
3917 * dlfcn/dlinfo.c: Likewise.
3918 * dlfcn/dlmopen.c: Likewise.
3919 * dlfcn/dlopen.c: Likewise.
3920 * dlfcn/dlsym.c: Likewise.
3921 * dlfcn/dlvsym.c: Likewise.
3922
85f36372
SP
3923 * include/ifaddrs.h: Use IS_IN.
3924 * inet/check_pf.c: Likewise.
3925 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3926 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3927
fb6784e3
SP
3928 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3929 IS_IN_ldconfig.
3930 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3931 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3932
2886d2d1
SP
3933 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3934 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3935 IS_IN (libc).
3936
9a484857
SP
3937 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3938
a10178bd
SP
3939 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3940 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3941 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3942 * include/libc-symbols.h (IS_IN_LIB): New macro.
3943 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3944 * include/netdb.h: Likewise.
3945 * include/stap-probe.h: Remove all uses of IN_LIB.
3946
279bc5b3
SP
3947 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3948 instead of IN_MODULE.
3949 * include/libc-symbols.h (IN_MODULE): Define using
3950 MODULE_NAME.
3951 (PASTE_NAME, PASTE_NAME1): New macros.
3952 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3953 of IN_LIB.
3954 (STAP_PROBE_ASM): Likewise.
3955
e0cfa510
ST
39562014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3957
3958 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3959 __mach_init in dlopened libc.
3960
34d97d87
MF
39612014-11-22 Mike Frysinger <vapier@gentoo.org>
3962
3963 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3964 * sysdeps/arm/preconfigure: Regenerate.
3965
33cd1f74
RM
39662014-11-21 Roland McGrath <roland@hack.frob.com>
3967
3968 * nptl/pthread_create.c (__pthread_create_2_1): Set
3969 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3970 when copying values from IATTR into PD.
3971
8c230039
WN
39722014-11-21 Will Newton <will.newton@linaro.org>
3973 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3974
6d3db89b
AP
3975 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3976 Refactor inline-asm. Also add comment.
3977
01194ba1
WN
3978 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3979 ElfW macro instead of hardcoded Elf64 types.
3980 (la_aarch64_gnu_pltenter): Likewise.
3981 * sysdeps/aarch64/dl-machine.h
3982 (elf_machine_runtime_setup): Use ElfW(Addr).
3983
8c230039
WN
3984 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3985 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3986 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3987 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3988 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3989 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3990 (R_AARCH64_TLS_DTPMOD): This.
3991 (R_AARCH64_TLS_DTPREL64): Rename to ...
3992 (R_AARCH64_TLS_DTPREL): This.
3993 (R_AARCH64_TLS_TPREL64): Rename to ...
3994 (R_AARCH64_TLS_TPREL): This.
3995 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3996 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3997 R_AARCH64_TLS_TPREL64.
3998 (elf_machine_rela): Likewise.
3999
0d79fa53
TR
40002014-11-21 Torvald Riegel <triegel@redhat.com>
4001
4002 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4003 by setting it to 0. 64b atomics are not supported currently.
4004
b59d114b
AO
40052014-11-21 Alexandre Oliva <aoliva@redhat.com>
4006
4007 [BZ #16469]
4008 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4009 search domain names.
4010
f3d945d5
AO
40112014-11-21 Alexandre Oliva <aoliva@redhat.com>
4012
4013 [BZ #16469]
4014 * NEWS: Update.
4015 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4016 trailing dot.
4017 * posix/tst-getaddrinfo5.c: New.
4018 * posix/Makefile (tests): Add it.
4019
49698902
AO
40202014-11-21 Alexandre Oliva <aoliva@redhat.com>
4021
4022 [BZ #14498]
4023 * NEWS: Fixed.
4024 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4025 after parsing line but before break_if_match.
4026 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4027 if there is a protocol mismatch.
4028
81959214
MS
40292014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4030
4031 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4032 because the potential race is on the user-supplied stream.
4033
7729e0e9
AO
40342014-11-21 Alexandre Oliva <aoliva@redhat.com>
4035
4036 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4037 string literal if not passed a buffer.
4038 * manual/job.texi (ctermid): Update reasoning, note deviation
4039 from posix, suggest mtasurace when not passed a buffer, for
4040 future non-preliminary safety notes.
4041
a4ea5e28
AO
40422014-11-21 Alexandre Oliva <aoliva@redhat.com>
4043
4044 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4045 of not passing it a buffer.
4046 Reported by Peng Haitao.
4047
a2b581cb
AO
40482014-11-21 Alexandre Oliva <aoliva@redhat.com>
4049
4050 * manual/Makefile ($(objpfx)stamp-summary): Require
4051 check-safety.sh to pass.
4052 * manual/check-safety.sh: Wish for verification that every
4053 @deftypefn and @deftypefun is followed by a @safety remark.
4054
f214ff74
RM
40552014-11-20 Roland McGrath <roland@hack.frob.com>
4056
7f0dfae0
RM
4057 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4058
2f531bbb
RM
4059 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4060 PTHREAD_CANCEL_ASYNCHRONOUS.
4061 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4062 send SIGCANCEL.
4063
f214ff74
RM
4064 * nptl/default-sched.h: New file.
4065 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4066 * nptl/pthread_create.c: Include it.
4067 (__pthread_create_2_1): Use collect_default_sched instead of making
4068 Linux syscalls here directly.
4069
e37c91d4
TR
40702014-11-20 Torvald Riegel <triegel@redhat.com>
4071
4072 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4073 __pthread_once): Use C11 atomics.
4074
1eccfecd
TR
40752014-11-20 Torvald Riegel <triegel@redhat.com>
4076
4077 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4078
ff871426
TR
40792014-11-20 Torvald Riegel <triegel@redhat.com>
4080
4081 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4082 atomic_thread_fence_acquire, atomic_thread_fence_release,
4083 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4084 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4085 atomic_compare_exchange_weak_relaxed,
4086 atomic_compare_exchange_weak_acquire,
4087 atomic_compare_exchange_weak_release,
4088 atomic_exchange_acquire, atomic_exchange_release,
4089 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4090 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4091 atomic_fetch_and_acquire,
4092 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4093
1ea339b6
TR
40942014-11-20 Torvald Riegel <triegel@redhat.com>
4095
4096 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4097 USE_ATOMIC_COMPILER_BUILTINS): Define.
4098 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4099 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4100 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4101 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4102 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4103 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4104 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4105 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4106 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4107 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4108 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4109 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4110 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4111 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4112 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4113 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4114 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4115 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4116 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4117 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4118 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4119 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4120 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4121 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4122 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4123 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4124 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4125 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4126 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4127 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4128 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4129 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4130 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4131 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4132 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4133 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4134 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4135 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4136 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4137 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4138
cbd463e2
RM
41392014-11-19 Roland McGrath <roland@hack.frob.com>
4140
d960211f
RM
4141 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4142 the sched_priority value here. It was already checked when the user
4143 called pthread_attr_setschedparam.
4144
cbd463e2
RM
4145 * nptl/tst-bad-schedattr.c: New file.
4146 * nptl/Makefile (tests): Add it.
4147
a39208bd
CD
41482014-11-19 Carlos O'Donell <carlos@redhat.com>
4149 Florian Weimer <fweimer@redhat.com>
4150 Joseph Myers <joseph@codesourcery.com>
4151 Adam Conrad <adconrad@0c3.net>
4152 Andreas Schwab <schwab@suse.de>
4153 Brooks <bmoses@google.com>
4154
4155 [BZ #17625]
4156 * wordexp-test.c (__dso_handle): Add prototype.
4157 (__register_atfork): Likewise.
4158 (__app_register_atfork): New function.
4159 (registered_forks): New global.
4160 (register_fork): New function.
4161 (test_case): Add 3 new tests for WRDE_CMDSUB.
4162 (main): Call __app_register_atfork.
4163 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4164 fork count is non-zero fail the test.
4165 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4166 is set.
4167 (parse_dollars): Remove check for WRDE_NOCMD.
4168 (parse_dquote): Likewise.
4169
9cd47470
SP
41702014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4171
130ac68c
SP
4172 * Makeconfig (built-modules): List non-library modules to be
4173 built.
4174 (module-cppflags): Include libc-modules.h for
4175 everything except shlib-versions.v.i.
4176 (CPPFLAGS): Use it.
4177 (before-compile): Add libc-modules.h.
4178 ($(common-objpfx)libc-modules.h,
4179 $(common-objpfx)libc-modules.stmp): New targets.
4180 (common-generated): Add libc-modules.h and libc-modules.stmp.
4181 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4182 * include/libc-symbols.h: Don't include libc-modules.h.
4183 * include/libc-modules.h: Remove file.
4184 * scripts/gen-libc-modules.awk: New script to generate
4185 libc-modules.h.
4186 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4187 Depend on libc-modules.stmp.
4188
286663c3
SP
4189 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4190
9cd47470
SP
4191 * Makeconfig (in-module): Get value of libof set for the
4192 translation unit.
4193 (CPPFLAGS): Use $(in-module).
4194 * Makerules: Don't suffix routine names for nonlib.
4195 * include/libc-modules.h: New file.
4196 * include/libc-symbols.h: Include libc-modules.h
4197 (IS_IN): New macro to replace IS_IN_* macros.
4198 * elf/Makefile: Set libof-* for each routine.
4199 * elf/rtld-Rules: Likewise.
4200 * extra-modules.mk: Likewise.
4201 * iconv/Makefile: Likewise.
4202 * iconvdata/Makefile: Likewise.
4203 * locale/Makefile: Likewise.
4204 * malloc/Makefile: Likewise.
4205 * nss/Makefile: Likewise.
4206 * sysdeps/gnu/Makefile: Likewise.
4207 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4208 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4209 * sysdeps/s390/s390-64/Makefile: Likewise.
4210 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4211 CPPFLAGS for nscd instead of nonlib.
4212
32fed10f
RM
42132014-11-18 Roland McGrath <roland@hack.frob.com>
4214
d71035bd
RM
4215 * nptl/createthread.c: New file.
4216
6540b991
RM
4217 * nptl/createthread.c: Moved ...
4218 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4219
32fed10f
RM
4220 * nptl/createthread.c: Add proper top-line comment.
4221 (do_clone): Folded into ...
4222 (create_thread): ... here. Take new arguments STOPPED_START and
4223 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4224 increment __nptl_threads, do event-reporting logic, do
4225 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4226 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4227 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4228 just send SIGCANCEL.
4229 * nptl/pthread_create.c: Forward-declare create_thread before
4230 including createthread.c.
4231 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4232 declaration, and new macro START_THREAD_SELF to replace argument.
4233 Remove return statement.
4234 (report_thread_creation): New function.
4235 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4236 synchronization logic, and __nptl_nthreads increment here, around
4237 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4238 PD->parent_cancelhandling here, before create_thread. When
4239 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4240 __deallocate_stack, and ENOMEM translation here.
4241
107a5bf0
JM
42422014-11-18 Joseph Myers <joseph@codesourcery.com>
4243
4244 [BZ #17616]
4245 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4246 (mptwo): Rename to __mptwo.
4247 (__inv): Use __mptwo instead of mptwo.
4248 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4249 (mptwo): Rename to __mptwo.
4250 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4251 of mpone and __mptwo instead of mptwo.
4252 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4253 instead of mpone.
4254 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4255 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4256 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4257 of mpone and __mptwo instead of mptwo.
4258 (__mpranred): Use __mpone instead of mpone.
4259 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4260 variable.
4261 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4262 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4263 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4264 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4265 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4266 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4267 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4268 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4269 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4270 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4271 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4272 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4273 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4274 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4275 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4276 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4277 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4278 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4279 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4280
3b679ab3
TV
42812014-11-18 Tom de Vries <tom@codesoucery.com>
4282
4283 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4284 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4285
42862014-11-17 Richard Henderson <rth@redhat.com>
4287
4288 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4289 (_FP_PACK_RAW_2): Remove.
4290 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4291 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4292 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4293 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4294 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4295 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4296 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4297 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4298 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4299 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4300 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4301 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4302 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4303 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4304 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4305 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4306
0781a777
RM
43072014-11-14 Roland McGrath <roland@hack.frob.com>
4308
4309 * signal/signal.h [__USE_MISC]
4310 (struct sigvec): Remove type.
4311 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4312 (sigvec): Remove declaration.
4313 * sysdeps/posix/sigvec.c: Moved ...
4314 * signal/sigvec.c: ... here, replacing old file.
4315 (struct sigvec): New type, copied from old signal.h definition.
4316 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4317 (__sigvec): Convert definition to prototype.
4318 (sigvec): Replace weak_alias with compat_symbol.
4319 * signal/Versions (libc: GLIBC_2.21): New version set.
4320 * include/signal.h: Remove __sigvec declaration.
4321 * sysdeps/unix/bsd/sigvec.c: Remove file.
4322 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4323 * manual/signal.texi (BSD Handler): Remove subsection.
4324 Move siginterrupt up to ...
4325 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4326 (Blocking in BSD): Fold subsection into its parent.
4327 * NEWS: Mention sigvec removal.
4328
a4733812
JM
43292014-11-14 Joseph Myers <joseph@codesourcery.com>
4330
5ae4fe60
JM
4331 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4332 (DLA_FMS): Make definition conditional only on [__FMA4__].
4333 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4334 definition.
4335
6a0dd472
JM
4336 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4337 Make definition conditional only on [PROF].
4338 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4339 definition.
4340 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4341 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4342
a4733812
JM
4343 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4344 !__GNUC__].
4345 * include/signal.h (__sigpause): Move declaration above call to
4346 libc_hidden_proto.
4347 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4348 variable.
4349 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4350 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4351
cf7246dd
DM
43522014-11-14 David S. Miller <davem@davemloft.net>
4353
4354 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4355 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4356
c1b0aadc
JM
43572014-11-14 Joseph Myers <joseph@codesourcery.com>
4358
4863355a
JM
4359 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4360 * configure: Regenerated.
4361 * manual/install.texi (Tools for Compilation): Document a
4362 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4363 compiler verified to work.
4364 * INSTALL: Regenerated.
4365
c1b0aadc
JM
4366 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4367 redeclare with asm name.
4368 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4369 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4370 including <string.h>.
4371 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4372 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4373 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4374 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4375 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4376 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4377 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4378
2a1cfd94
JM
43792014-11-13 Joseph Myers <joseph@codesourcery.com>
4380
bf438382
JM
4381 * stdlib/strtol.c (__strtol): Use prototype definition.
4382
2a1cfd94
JM
4383 [BZ #17594]
4384 * stdlib/strtol.c (SYM__): New macro.
4385 (SYM__1): Likewise.
4386 (__strtol): Likewise.
4387 (strtol): Rename to __strtol and define as weak alias of
4388 __strtol. Use libc_hidden_weak.
4389
20ed0d26
SL
43902014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4391
4392 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4393 Use numbered labels in inline assembly.
4394
53244a4e
SL
43952014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4396
4397 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4398 Add setjmp LIBC_PROBE.
4399 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4400 Likewise.
4401 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4402 Add longjmp, longjmp_target LIBC_PROBE.
4403 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4404 Likewise.
4405
47df8251
SL
44062014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4407
4408 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4409 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4410 to get rid of unused variable warning.
4411
618cebef
SL
44122014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4413
4414 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4415 Check for unwind_backtrace == NULL only in SHARED case.
4416 (__backchain_backtrace): Compile only in SHARED case.
4417 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4418 Likewise.
4419 (__backchain_backtrace): Declare as static.
4420
c6aab2cb
RM
44212014-11-12 Roland McGrath <roland@hack.frob.com>
4422
4423 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4424 (__libc_multiple_threads_ptr): Variable moved ...
4425 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4426
5a6fa4d7
JM
44272014-11-12 Joseph Myers <joseph@codesourcery.com>
4428
24f4f825
JM
4429 * conform/GlibcConform.pm: New file.
4430 * conform/conformtest.pl: Use GlibcConform module.
4431 * conform/linknamespace.pl: New file.
4432 * conform/list-header-symbols.pl: Likewise.
4433 * conform/Makefile (linknamespace-symlists-base): New variable.
4434 (linknamespace-symlists-tests): Likewise.
4435 (linknamespace-header-base): Likewise.
4436 (linknamespace-header-tests): Likewise.
4437 (tests-special): Add new tests.
4438 ($(linknamespace-symlists-tests)): New rule.
4439 (linknamespace-libs): New variable.
4440 ($(objpfx)symlist-stdlibs): New rule.
4441 ($(linknamespace-header-tests)): Likewise.
4442 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4443 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4444 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4445 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4446 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4447 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4448 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4449 (test-xfail-ISO/math.h/linknamespace): Likewise.
4450 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4451 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4452 (test-xfail-ISO/time.h/linknamespace): Likewise.
4453 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4454 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4455 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4456 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4457 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4458 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4459 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4460 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4461 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4462 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4463 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4464 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4465 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4466 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4467 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4468 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4469 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4470 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4471 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4472 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4473 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4474 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4475 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4476 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4477 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4478 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4479 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4480 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4481 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4482 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4483 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4484 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4485 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4486 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4487 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4488 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4489 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4490 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4491 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4492 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4493 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4494 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4495 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4496 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4497 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4498 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4499 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4500 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4501 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4502 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4503 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4504 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4505 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4506 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4507 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4508 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4509 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4510 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4511 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4512 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4513 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4514 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4515 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4516 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4517 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4518 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4519 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4520 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4521 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4522 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4523 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4524 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4525 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4526 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4527 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4528 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4529 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4530 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4531 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4532 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4533 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4534 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4535 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4536 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4537 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4538 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4539 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4540 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4541 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4542 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4543 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4544 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4545 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4546 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4547 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4548 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4549 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4550 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4551 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4552 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4553 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4554 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4555 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4556 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4557 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4558 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4559 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4560 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4561 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4562 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4563 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4564 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4565 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4566 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4567 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4568 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4569 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4570 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4571 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4572 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4573 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4574 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4575 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4576 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4577 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4578 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4579 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4580 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4581 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4582 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4583 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4586 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4587 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4588 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4589 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4590 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4591 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4592 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4593 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4594 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4595 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4596 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4597 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4598 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4599 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4600 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4601 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4602 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4603
cc67478e
JM
4604 [BZ #17589]
4605 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4606 of fgets_unlocked.
4607
9975e3d3
JM
4608 [BZ #17585]
4609 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4610 (memmem): Rename to __memmem and define as weak alias of
4611 __memmem. Use libc_hidden_weak.
4612 (__memmem): Use libc_hidden_def.
4613 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4614 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4615 memmem.
4616
c4eae752
JM
4617 [BZ #17582]
4618 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4619 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4620 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4621 and define as weak alias of __fgets_unlocked. Use
4622 libc_hidden_weak.
4623 (__fgets_unlocked): Use libc_hidden_def.
4624 * include/stdio.h (__fgets_unlocked): Declare. Use
4625 libc_hidden_proto.
4626 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4627 __fgets_unlocked instead of fgets_unlocked.
4628 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4629 (GET_NPROCS_CONF_PARSER): Likewise.
4630 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4631 (GET_NPROCS_CONF_PARSER): Likewise.
4632
01cad84e
JM
4633 [BZ #17574]
4634 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4635 weak alias of __wmemset. Use libc_hidden_weak.
4636 (__wmemset): Use libc_hidden_def.
4637 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4638 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4639 of wmemset.
4640
939da411
JM
4641 [BZ #17573]
4642 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4643 with asm name __mempcpy.
4644 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4645
293d9a41
JM
4646 [BZ #17572]
4647 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4648 and define as weak alias of __rawmemchr.
4649 (__rawmemchr): Do not define as strong alias of rawmemchr.
4650
bef8fd60
JM
4651 [BZ #17571]
4652 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4653 alias of __qsort_r.
4654 (qsort): Call __qsort_r instead of qsort_r.
4655 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4656 (__qsort_r): Declare. Call libc_hidden_proto.
4657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4658 instead of qsort_r.
4659 * nscd/gai.c (__qsort_r): Define to qsort_r.
4660 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4661 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4662 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4663
c52ff39e
JM
4664 [BZ #17570]
4665 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4666 define as weak alias of __malloc_info.
4667
2f5c1b00
JM
4668 [BZ #17584]
4669 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4670 as weak alias of __rewinddir. Don't use libc_hidden_def.
4671 (__rewinddir): Use libc_hidden_def.
4672 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4673 as weak alias of __rewinddir. Don't use libc_hidden_def.
4674 (__rewinddir): Use libc_hidden_def.
4675 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4676 weak alias of __rewinddir. Don't use libc_hidden_def.
4677 (__rewinddir): Use libc_hidden_def.
4678 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4679 (__rewinddir): Use libc_hidden_proto.
4680 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4681 rewinddir.
4682 (__getcwd): Use __rewinddir instead of rewinddir.
4683
5a6fa4d7
JM
4684 [BZ #17583]
4685 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4686 alias of __fileno. Use libc_hidden_weak.
4687 (__fileno): Use libc_hidden_def.
4688 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4689 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4690 alias of __ftello.
4691 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4692 __ftello.
4693 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4694 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4695 libc_hidden_def.
4696 (fread_unlocked): Don't use libc_hidden_ver.
4697 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4698 and define as weak alias of __fread_unlocked. Don't use
4699 libc_hidden_def.
4700 (__fread_unlocked): Use libc_hidden_def.
4701 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4702 (ftello): Don't use libc_hidden_proto.
4703 (__ftello): Declare. Use libc_hidden_proto.
4704 (fread_unlocked): Don't use libc_hidden_proto.
4705 (__fread_unlocked): Declare. Use libc_hidden_proto.
4706 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4707 and __ftello instead of fileno, fread_unlocked and ftello.
4708
2581b98e
SP
47092012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4710
4711 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4712 GOT12.
4713 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4714 Likewise.
4715 (_dl_start_user): Likewise.
4716 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4717
533bb7c2
SP
47182014-11-12 Carlos O'Donell <carlos@redhat.com>
4719 Siddhesh Poyarekar <siddhesh@redhat.com>
4720
4721 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4722 Move argv and envp down instead of moving argc up.
4723 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4724
fffa1cf8
LH
47252014-11-12 Leonhard Holz <leonhard.holz@web.de>
4726
4727 [BZ #17506]
4728 * test-skeleton.c (main): Return successful if one of
4729 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4730 * string/tst-strcoll-overflow.c: Define expected status.
4731
fb89b46d
TU
47322014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4733
4734 [BZ #17475]
4735 * locale/iso-639.def: Define Bhili and Tulu language codes.
4736
5c40c3ba
AH
47372014-11-11 Alan Hayward <alan.hayward@arm.com>
4738
4739 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4740
b17fe01b 47412014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4742
4743 [BZ #17555]
4744 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4745
bd805071
AS
47462014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4747
4748 * configure.ac: Updated check of minimal required version to
4749 2.22.
4750 * manual/install.texi (Tools for Compilation): Updated version
4751 number.
4752 * configure: Regenerated.
4753 * INSTALL: Likewise.
4754
1400983e
AS
47552014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4756
4757 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4758 __tls_get_addr.
4759
2c46a66a
JM
47602014-11-07 Joseph Myers <joseph@codesourcery.com>
4761
4762 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4763 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4764 (__waitpid): Don't define as alias. Use libc_hidden_def not
4765 libc_hidden_weak.
4766 (waitpid): Define as alias of __waitpid.
4767 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4768 __waitpid.
4769 (__waitpid): Don't define as alias. Use libc_hidden_def not
4770 libc_hidden_weak.
4771 (waitpid): Define as alias of __waitpid.
4772 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4773 __libc_waitpid alias.
4774 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4775 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4776 Likewise.
4777 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4778 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4779 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4780 alias.
4781 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4782 __waitpid.
4783 (__waitpid): Don't define as alias. Use libc_hidden_def not
4784 libc_hidden_weak.
4785 (waitpid): Define as alias of __waitpid.
4786
da53d6db
CD
47872014-11-06 Carlos O'Donell <carlos@redhat.com>
4788
a2887bdb
CD
4789 * manual/llio.texi: Add comment that write safety has been
4790 fixed in Linux.
4791
da53d6db
CD
4792 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4793 (localplt-build-dso): Add elf/ld.so.
4794 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4795 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4796 and free for ld.so.
4797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4798 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4800 Likewise.
4801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4802 Likewise.
4803 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4804 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4805 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4806 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4807 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4808 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4809 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4810 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4811 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4812 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4813 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4814
9cf27b8d
JM
48152014-11-05 Joseph Myers <joseph@codesourcery.com>
4816
4817 [BZ #14132]
4818 * include/libc-symbols.h (INTUSE): Remove macro.
4819 (INTDEF): Likewise.
4820 (INTVARDEF): Likewise.
4821 (_INTVARDEF): Likewise.
4822 (INTDEF2): Likewise.
4823 (INTVARDEF2): Likewise.
4824 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4825 rtld_hidden_def instead of INTVARDEF.
4826 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4827 (_dl_starting_up_internal): Remove declaration.
4828 (_dl_starting_up): Use rtld_hidden_proto.
4829 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4830 declaration.
4831 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4832 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4833 _dl_starting_up.
4834 * elf/dl-writev.h (_dl_writev): Likewise.
4835 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4836 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4837 _dl_starting_up_internal.
4838
af83568d
AZ
48392014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840
4841 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4842 test-skeleton.c.
4843
b01ee67c
WN
48442014-11-05 Will Newton <will.newton@linaro.org>
4845
4846 * benchtests/Makefile: (bench-malloc): Add malloc thread
4847 scalability benchmark.
4848 * benchtests/bench-malloc-threads.c: New file.
4849
be9d4ccc
RE
48502014-11-05 Richard Earnshaw <rearnsha@arm.com>
4851
4852 * sysdeps/aarch64/strchrnul.S: New file.
4853
7110166d
AZ
48542014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855
4856 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4857 definition.
4858 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4859 Likwise.
4860 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4861 Likewise.
4862 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4863 Likewise.
4864 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4865 Likewise.
4866 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4867 Likewise.
4868
48692014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4870
4871 * catgets/test-gencat.c: Use test-skeleton.c.
4872 * catgets/tst-catgets.c: Likewise.
4873 * csu/tst-empty.c: Likewise.
4874 * elf/tst-audit2.c: Likewise.
4875 * elf/tst-global1.c: Likewise.
4876 * elf/tst-pathopt.c: Likewise.
4877 * elf/tst-piemod1.c: Likewise.
4878 * elf/tst-tls10.c: Likewise.
4879 * elf/tst-tls11.c: Likewise.
4880 * elf/tst-tls12.c: Likewise.
4881 * gnulib/tst-gcc.c: Likewise.
4882 * iconvdata/tst-e2big.c: Likewise.
4883 * iconvdata/tst-loading.c: Likewise.
4884 * iconv/tst-iconv1.c: Likewise.
4885 * iconv/tst-iconv2.c: Likewise.
4886 * inet/test-inet6_opt.c: Likewise.
4887 * inet/tst-gethnm.c: Likewise.
4888 * inet/tst-network.c: Likewise.
4889 * inet/tst-ntoa.c: Likewise.
4890 * intl/tst-codeset.c: Likewise.
4891 * intl/tst-gettext2.c: Likewise.
4892 * intl/tst-gettext3.c: Likewise.
4893 * intl/tst-ngettext.c: Likewise.
4894 * intl/tst-translit.c: Likewise.
4895 * io/test-stat.c: Likewise.
4896 * libio/test-fmemopen.c: Likewise.
4897 * libio/tst-freopen.c: Likewise.
4898 * libio/tst-sscanf.c: Likewise.
4899 * libio/tst-ungetwc1.c: Likewise.
4900 * libio/tst-ungetwc2.c: Likewise.
4901 * libio/tst-widetext.c: Likewise.
4902 * localedata/tst-ctype.c: Likewise.
4903 * localedata/tst-digits.c: Likewise.
4904 * localedata/tst-leaks.c: Likewise.
4905 * localedata/tst-mbswcs1.c: Likewise.
4906 * localedata/tst-mbswcs2.c: Likewise.
4907 * localedata/tst-mbswcs3.c: Likewise.
4908 * localedata/tst-mbswcs4.c: Likewise.
4909 * localedata/tst-mbswcs5.c: Likewise.
4910 * localedata/tst-setlocale.c: Likewise.
4911 * localedata/tst-trans.c: Likewise.
4912 * localedata/tst-wctype.c: Likewise.
4913 * localedata/tst-xlocale1.c: Likewise.
4914 * login/tst-grantpt.c: Likewise.
4915 * malloc/tst-calloc.c: Likewise.
4916 * malloc/tst-malloc.c: Likewise.
4917 * malloc/tst-mallocstate.c: Likewise.
4918 * malloc/tst-mcheck.c: Likewise.
4919 * malloc/tst-mtrace.c: Likewise.
4920 * malloc/tst-obstack.c: Likewise.
4921 * math/atest-exp2.c: Likewise.
4922 * math/atest-exp.c: Likewise.
4923 * math/atest-sincos.c: Likewise.
4924 * math/test-matherr.c: Likewise.
4925 * math/test-misc.c: Likewise.
4926 * math/test-powl.c: Likewise.
4927 * math/tst-definitions.c: Likewise.
4928 * misc/tst-dirname.c: Likewise.
4929 * misc/tst-efgcvt.c: Likewise.
4930 * misc/tst-fdset.c: Likewise.
4931 * misc/tst-hsearch.c: Likewise.
4932 * misc/tst-mntent2.c: Likewise.
4933 * nptl/tst-sem7.c: Likewise.
4934 * nptl/tst-sem8.c: Likewise.
4935 * nptl/tst-sem9.c: Likewise.
4936 * nss/test-netdb.c: Likewise.
4937 * posix/tst-fnmatch.c: Likewise.
4938 * posix/tst-getlogin.c: Likewise.
4939 * posix/tst-gnuglob.c: Likewise.
4940 * posix/tst-mmap.c: Likewise.
4941 * pwd/tst-getpw.c: Likewise.
4942 * resolv/tst-inet_ntop.c: Likewise.
4943 * rt/tst-timer.c: Likewise.
4944 * stdio-common/test-fseek.c: Likewise.
4945 * stdio-common/test-popen.c: Likewise.
4946 * stdio-common/test-vfprintf.c: Likewise.
4947 * stdio-common/tst-cookie.c: Likewise.
4948 * stdio-common/tst-fileno.c: Likewise.
4949 * stdio-common/tst-gets.c: Likewise.
4950 * stdio-common/tst-obprintf.c: Likewise.
4951 * stdio-common/tst-perror.c: Likewise.
4952 * stdio-common/tst-sprintf2.c: Likewise.
4953 * stdio-common/tst-sprintf3.c: Likewise.
4954 * stdio-common/tst-sprintf.c: Likewise.
4955 * stdio-common/tst-swprintf.c: Likewise.
4956 * stdio-common/tst-tmpnam.c: Likewise.
4957 * stdio-common/tst-unbputc.c: Likewise.
4958 * stdio-common/tst-wc-printf.c: Likewise.
4959 * stdlib/tst-environ.c: Likewise.
4960 * stdlib/tst-fmtmsg.c: Likewise.
4961 * stdlib/tst-limits.c: Likewise.
4962 * stdlib/tst-rand48-2.c: Likewise.
4963 * stdlib/tst-rand48.c: Likewise.
4964 * stdlib/tst-random2.c: Likewise.
4965 * stdlib/tst-random.c: Likewise.
4966 * stdlib/tst-strtol.c: Likewise.
4967 * stdlib/tst-strtoll.c: Likewise.
4968 * stdlib/tst-tls-atexit.c: Likewise.
4969 * stdlib/tst-xpg-basename.c: Likewise.
4970 * string/test-ffs.c: Likewise.
4971 * string/tst-bswap.c: Likewise.
4972 * string/tst-inlcall.c: Likewise.
4973 * string/tst-strtok.c: Likewise.
4974 * string/tst-strxfrm.c: Likewise.
4975 * sysdeps/x86_64/tst-audit10.c: Likewise.
4976 * sysdeps/x86_64/tst-audit3.c: Likewise.
4977 * sysdeps/x86_64/tst-audit4.c: Likewise.
4978 * sysdeps/x86_64/tst-audit5.c: Likewise.
4979 * time/tst-ftime_l.c: Likewise.
4980 * time/tst-getdate.c: Likewise.
4981 * time/tst-mktime3.c: Likewise.
4982 * time/tst-mktime.c: Likewise.
4983 * time/tst-posixtz.c: Likewise.
4984 * time/tst-strptime2.c: Likewise.
4985 * time/tst-strptime3.c: Likewise.
4986 * wcsmbs/tst-btowc.c: Likewise.
4987 * wcsmbs/tst-mbrtowc.c: Likewise.
4988 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4989 * wcsmbs/tst-wchar-h.c: Likewise.
4990 * wcsmbs/tst-wcpncpy.c: Likewise.
4991 * wcsmbs/tst-wcrtomb.c: Likewise.
4992 * wcsmbs/tst-wcsnlen.c: Likewise.
4993 * wcsmbs/tst-wcstof.c: Likewise.
4994
2004e7fb
JM
49952014-11-04 Joseph Myers <joseph@codesourcery.com>
4996
ab97ee8f
JM
4997 [BZ #14132]
4998 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4999 INTDEF.
5000 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5001 declaration.
5002 (_dl_mcount): Use rtld_hidden_proto.
5003 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5004 _dl_mcount.
5005 * elf/rtld.c (_rtld_global_ro): Likewise.
5006
c5684fdb
JM
5007 [BZ #14132]
5008 * elf/dl-init.c (_dl_init): Don't use INTDEF.
5009 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5010 of _dl_init_internal.
5011 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5012 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5013 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5014 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5015 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5016 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5017 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5018 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5019 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5020 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5021 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5022 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5023 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5024 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5025 * sysdeps/tile/dl-start.S (_start): Likewise.
5026 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5027 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5028
4243cbea
JM
5029 [BZ #14132]
5030 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5031 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5032 (rtld_progname): Make macro definition unconditional.
5033 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5034 INTDEF.
5035 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5036 (dl_main): Likewise.
5037 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5038 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5039 instead of _dl_argv_internal.
5040 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5041 __GI__dl_argv instead of INTUSE(_dl_argv).
5042 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5043 __GI__dl_argv instead of _dl_argv_internal.
5044
2004e7fb
JM
5045 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5046 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5047 macro.
5048 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5049 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5050 New macro.
5051 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5052 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5053 macro.
5054 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5055 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5056
97827bfc
AS
50572014-11-04 Andreas Schwab <schwab@suse.de>
5058
5059 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5060
5e4df284
AZ
50612014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5062
5063 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5064 mtvsrd instruction in binary form.
5065
04b76b5a
AS
50662014-11-03 Andreas Schwab <schwab@suse.de>
5067
5068 [BZ #17522]
5069 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5070 for less than MB_LEN_MAX use a local buffer of that size.
5071 * libio/tst-fputws.c: New file.
5072 * libio/Makefile (tests): Add tst-fputws.
5073
4c6da7da
JM
50742014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5075
5076 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5077 the size of the fpu_fr.fpu_dregs[] array.
5078
1679ba8e
JM
50792014-11-01 Joseph Myers <joseph@codesourcery.com>
5080
5081 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5082 (__nanosleep): Do not define as alias.
5083 (nanosleep): Define as alias of __nanosleep.
5084 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5085 __libc_nanosleep name.
5086
2626c183
JM
50872014-10-31 Joseph Myers <joseph@codesourcery.com>
5088
5089 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5090 install.texi in comment.
5091
7f981fc2
TR
50922014-10-31 Torvald Riegel <triegel@redhat.com>
5093
5094 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5095 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5096 ... add here and use lwsync or sync ...
5097 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5098 ... and add here using lwsync.
5099
d6f373d2
MF
51002014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5101
5102 * elf/dl-machine-reject-phdr.h: New file.
5103 * elf/dl-load.c: #include that.
5104 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5105 if that returned true.
5106
67c37987
RM
51072014-10-31 Roland McGrath <roland@hack.frob.com>
5108
5109 [BZ #17496]
5110 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5111 gen-as-const-headers chunk. Add a big scare comment after the last
5112 safe place to touch before-compile.
5113
94a42455 51142014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5115
f3f5d895
JM
5116 * manual/install.texi (Tools for Compilation): Update autoconf
5117 version requirements.
5118 * INSTALL: Regenerated.
5119
f62ff286
JM
5120 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5121 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5122 (__libc_pselect): Likewise.
94a42455
JM
5123
5124 [BZ #14138]
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5129
ff9dbdc0
TR
51302014-10-31 Torvald Riegel <triegel@redhat.com>
5131
5132 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5133 correct barrier instruction.
5134 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5135 Likewise.
5136 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5137 Likewise.
5138
b4f66884
RM
51392014-10-30 Roland McGrath <roland@hack.frob.com>
5140
5141 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5142 after defining inlines. Instead, just use parens to defeat macro
5143 expansion of __isctype in its declaration.
5144
e19c95fd
JM
51452014-10-30 Joseph Myers <joseph@codesourcery.com>
5146
5147 * include/sys/uio.h (__libc_readv): Remove declaration.
5148 (__libc_writev): Likewise.
5149 * misc/readv.c (__libc_readv): Rename to __readv.
5150 (__readv): Do not define as alias.
5151 (readv): Define as alias of __readv.
5152 * misc/writev.c (__libc_writev): Rename to __writev.
5153 (__writev): Do not define as alias.
5154 (writev): Define as alias of __writev.
5155 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5156 (__readv): Do not define as alias.
5157 (readv): Define unconditionally as alias of __readv.
5158 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5159 (__writev): Do not define as alias.
5160 (writev): Define unconditionally as alias of __writev.
5161 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5162 name.
5163 (writev): Do not define __libc_writev name.
5164
65b00b6c
RM
51652014-10-30 Roland McGrath <roland@hack.frob.com>
5166
5167 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5168 (convert_charseq): New function, broken out of ...
5169 (use_from_charmap): ... here. Call it.
5170 (use_to_charmap): Use convert_charseq and free instead of duplicating
5171 its code with a variable-length stack struct.
5172
d4e157aa
JM
51732014-10-30 Joseph Myers <joseph@codesourcery.com>
5174
5175 * include/fcntl.h (__libc_creat): Remove declaration.
5176 * io/creat.c (__libc_creat): Rename to creat.
5177 (creat): Do not define as alias.
5178 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5179 of creat instead of __libc_creat.
5180 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5181 to creat.
5182 (creat): Do not define as alias.
5183 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5184 __libc_creat.
5185 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5186 __libc_creat name.
5187 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5188 Likewise.
5189
0c6891a0
CD
51902014-10-29 Carlos O'Donell <carlos@redhat.com>
5191
5192 * manual/llio.texi: Add comments discussing why write() may be
5193 considered MT-unsafe on Linux.
5194
cc00cece
CD
51952014-10-28 Carlos O'Donell <carlos@redhat.com>
5196
5197 * dl-load.c (local_strdup): Remove.
5198 (expand_dynamic_string_token): Use __strdup.
5199 (decompose_rpath): Likewise.
5200 (_dl_map_object): Likewise.
5201
51e623f2
JM
52022014-10-28 Joseph Myers <joseph@codesourcery.com>
5203
5204 [BZ #14132]
5205 * sysdeps/generic/unwind-dw2-fde.c
5206 (__register_frame_info_bases_internal): Do not declare.
5207 (__register_frame_info_table_bases_internal): Likewise.
5208 (__deregister_frame_info_bases_internal): Likewise.
5209 (__register_frame_info_bases): Declare and use hidden_proto before
5210 definition. Use hidden_def instead of INTDEF.
5211 (__register_frame_info_table_bases): Likewise.
5212 (__deregister_frame_info_bases): Likewise.
5213 (__register_frame_info): Do not use INTUSE.
5214 (__register_frame): Likewise.
5215 (__register_frame_info_table): Likewise.
5216 (__register_frame_table): Likewise.
5217 (__deregister_frame_info): Likewise.
5218 (__deregister_frame): Likewise.
5219
03d41216
GC
52202014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5221
5222 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5223 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5224 not undefine.
5225 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5226 Likewise.
5227 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5228 Likewise.
5229
a4b3624d
JM
52302014-10-27 Joseph Myers <joseph@codesourcery.com>
5231
5232 [BZ #14138]
5233 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5234 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5235 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5236 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5237 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5238 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5239 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5240 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5241 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5242 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5243 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5244 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5245 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5246 syscall.
5247 (setfsuid): Likewise.
5248 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5249 (setfsuid): Likewise.
5250 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5251 (setfsuid): Likewise.
5252 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5253 Likewise.
5254 (setfsuid): Likewise.
5255 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5256 (setfsuid): Likewise.
5257 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5258 Likewise.
5259 (setfsuid): Likewise.
5260
3574f2fd
AS
52612014-10-27 Andreas Schwab <schwab@suse.de>
5262
5263 [BZ #17501]
5264 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5265 check for Slow_SSE4_2 feature bit.
5266 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5267 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5268 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5269 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5270
70996a37
RM
52712014-10-24 Roland McGrath <roland@hack.frob.com>
5272
461a7b1e
RM
5273 * configure.ac: Validate compiler version with a empirical test of
5274 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5275 $CC -v output.
5276 * configure: Regenerated.
5277
70996a37
RM
5278 * inet/htons.c (htons): Prototypify.
5279 * inet/htonl.c (htonl): Likewise.
5280
e80514b5
WD
52812014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5282
5283 * string/strncat.c (strncat): Improve performance by using strlen.
5284
6e46de42
WD
52852014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5286
5287 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5288
6a9ad2fa
WD
52892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5290
5291 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5292 Call libc_fetestexcept_aarch64.
5293
1c8810ed
WD
52942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5295
5296 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5297 Call libc_feholdexcept_aarch64.
5298
8b1af712
WD
52992014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5300
5301 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5302 Call get_rounding_mode.
5303
a7b00c11
WD
53042014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5305
5306 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5307 Simplify logic.
5308
3a84f1a6
WD
53092014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5310
5311 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5312 Simplify logic.
5313
48eb7a94
JM
53142014-10-24 Joseph Myers <joseph@codesourcery.com>
5315
c8bc4038
JM
5316 [BZ #14138]
5317 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5318 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5320 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5321 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5326 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5327 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5328 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5329 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5334 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5335 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5336 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5341 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5342 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5343 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5344 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5345 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5346 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5347 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5348 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5349 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5350 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5351 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5352 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5353 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5354 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5355 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5356 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5357 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5358 syscall.
5359 (geteuid): Likewise.
5360 (getgid): Likewise.
5361 (getuid): Likewise.
5362 (getresgid): Likewise.
5363 (getresuid): Likewise.
5364 (getgroups): Likewise.
5365 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5366 (geteuid): Likewise.
5367 (getgid): Likewise.
5368 (getuid): Likewise.
5369 (getresgid): Likewise.
5370 (getresuid): Likewise.
5371 (getgroups): Likewise.
5372 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5373 (geteuid): Likewise.
5374 (getgid): Likewise.
5375 (getuid): Likewise.
5376 (getresgid): Likewise.
5377 (getresuid): Likewise.
5378 (getgroups): Likewise.
5379 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5380 Likewise.
5381 (geteuid): Likewise.
5382 (getgid): Likewise.
5383 (getuid): Likewise.
5384 (getresgid): Likewise.
5385 (getresuid): Likewise.
5386 (getgroups): Likewise.
5387 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5388 (geteuid): Likewise.
5389 (getgid): Likewise.
5390 (getuid): Likewise.
5391 (getresgid): Likewise.
5392 (getresuid): Likewise.
5393 (getgroups): Likewise.
5394 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5395 Likewise.
5396 (geteuid): Likewise.
5397 (getgid): Likewise.
5398 (getuid): Likewise.
5399 (getgroups): Likewise.
5400
48eb7a94
JM
5401 [BZ #14138]
5402 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5403 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5404 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5405 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5406 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5407 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5408 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5409 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5410 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5411 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5412 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5413 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5414 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5415 __chown.
5416 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5417 (lchown): Likewise.
5418 (fchown): Likewise.
5419 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5420 Likewise.
5421 (lchown): Likewise.
5422 (fchown): Likewise.
5423 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5424 (lchown): Likewise.
5425 (fchown): Likewise.
5426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5427 Likewise.
5428 (lchown): Likewise.
5429 (fchown): Likewise.
5430
ea9a7c8b
WD
54312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5432
5433 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5434 Simplify logic.
5435
e226de33
WD
54362014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5437
5438 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5439 Cleanup logic.
5440
6e3d8ed3
WD
54412014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5442
5443 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5444 Remove unused include.
5445
eb04247d
WD
54462014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5447
5448 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5449 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5450 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5451 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5452
13d84554
CD
54532014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5454 Helge Deller <deller@gmx.de>
5455
5456 [BZ #17508]
5457 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5458 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5459 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5460
15f9c5df
JM
54612014-10-23 Joseph Myers <joseph@codesourcery.com>
5462
5463 [BZ #14132]
5464 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5465 Remove macro definition.
5466 (__ashrdi3_v_glibc20): Likewise.
5467 (__lshrdi3_v_glibc20): Likewise.
5468 (__cmpdi2_v_glibc20): Likewise.
5469 (__ucmpdi2_v_glibc20): Likewise.
5470 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5471 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5472 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5473 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5474 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5475 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5476
c6dfed24
RM
54772014-10-22 Roland McGrath <roland@hack.frob.com>
5478
5479 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5480 old GNU extension [0] syntax.
5481 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5482 alloca rather than an array member with variable length.
5483 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5484 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5485 (parse_opt): ... here. Likewise use alloca there.
5486 Validate the -i argument before checking for rootness.
5487 (send_shutdown): New function, broken out of ...
5488 (parse_opt): ... here.
5489
8c2b1ed8
RM
54902014-10-22 Roland McGrath <roland@hack.frob.com>
5491
5492 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5493 macro to get at the _rt_local_ro field.
5494 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5495 ([PIC] case) or _dl_hwcap ([!PIC] case).
5496 * sysdeps/arm/setjmp.S: Likewise.
5497
5498 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5499 * sysdeps/arm/configure.ac: New check to define it.
5500 * sysdeps/arm/configure: Regenerated.
5501 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5502 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5503 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5504 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5505 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5506 Use move/movt pair instead of a load.
5507 (LDST_GLOBAL): Macro removed.
5508 (LDR_GLOBAL): New macro replaces it.
5509 (LDR_HIDDEN): New macro.
5510 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5511 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5512
5513 * setjmp/tst-setjmp-static.c: New file.
5514 * setjmp/Makefile (tests): Add it.
5515 (tests-static): New variable.
5516
b5af9297
MR
55172014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5518
5519 [BZ #17485]
5520 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5521
a13d0d74
JM
55222014-10-21 Joseph Myers <joseph@codesourcery.com>
5523
5524 [BZ #14132]
5525 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5526
f05e73f6
RM
55272014-10-21 Roland McGrath <roland@hack.frob.com>
5528
5529 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5530
6ab1d1ea
RM
55312014-10-20 Roland McGrath <roland@hack.frob.com>
5532
5533 * io/fts.c (dirent_not_directory): New function.
5534 (fts_build): Call it.
5535
ab49e763
RM
55362014-10-20 Roland McGrath <roland@hack.frob.com>
5537
e436eb79
RM
5538 * nptl/version.c (__nptl_main): Use normal __write rather than
5539 INTERNAL_SYSCALL.
5540 (banner): Update copyright years.
5541
6af246cf
RM
5542 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5543 gettimeofday.
5544 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5545 * nptl/pthread_cond_timedwait.c: Likewise.
5546 * nptl/pthread_mutex_timedlock.c: Likewise.
5547 * nptl/sem_timedwait.c: Likewise.
5548
ab49e763
RM
5549 * sysdeps/nptl/bits/libc-lock.h
5550 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5551 (__libc_lock_init_recursive): Return void, not 0.
5552 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5553 (__libc_rwlock_init): Likewise.
5554 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5555
f50277c1
TR
55562014-10-20 Torvald Riegel <triegel@redhat.com>
5557
5558 [BZ #15215]
5559 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5560 (__pthread_once_slow): ... here.
5561 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5562 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5563
63668b70
TR
55642014-10-20 Torvald Riegel <triegel@redhat.com>
5565
5566 [BZ #15215]
5567 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5568 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5569 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5570 * nptl/pthread_once.c (__pthread_once): Likewise.
5571 Update comments.
5572
42b7f5d4
JM
55732014-10-20 Joseph Myers <joseph@codesourcery.com>
5574
5575 [BZ #14138]
5576 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5577 name.
5578 (writev): Use __libc_writev as strong name.
5579 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5580 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5581
b0643088
RM
55822014-10-17 Roland McGrath <roland@hack.frob.com>
5583
114c4e09
RM
5584 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5585
674b8978
RM
5586 * sysdeps/i386/nptl/tls.h
5587 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5588 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5589 New macros.
5590 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5591 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5592 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5593 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5594 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5595 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5596
184ee940
RM
5597 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5598 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5599 on [__NR_futex].
5600 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5601 broken out of ...
5602 (__pthread_mutex_init): ... here. Call it.
5603 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5604 Conditionalize PI cases on [__NR_futex].
5605 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5606 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5607 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5608
327ae257
RM
5609 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5610 conditional on [SIGSETXID].
5611 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5612 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5613 is defined. Likewise for SIGSETXID.
5614 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5615 Conditionalize definitions on [SIGSETXID].
5616 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5617 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5618 unblocking on [SIGCANCEL].
5619
b0643088
RM
5620 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5621 [__NR_set_robust_list].
5622
33cc770b
SP
56232014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5624
5625 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5626 (do_compare): Likewise.
5627
0742aef6
LH
56282014-10-17 Leonhard Holz <leonhard.holz@web.de>
5629
5630 [BZ #15884]
5631 * string/strcoll_l.c: Don't include stdio.h.
5632 (coll_seq): Remove members idxarr and rulearr.
5633 (get_next_seq_cached): Remove function.
5634 (get_next_seq): Likewise.
5635 (get_next_seq_nocache): Rename to get_next_seq.
5636 (do_compare): Remove function.
5637 (do_compare_nocache): Rename to do_compare.
5638 (STRCOLL): Remove weight and rules cache.
5639
ee54ce44
RM
56402014-10-16 Roland McGrath <roland@hack.frob.com>
5641
5642 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5643 * sysdeps/arm/sfp-machine.h: ... to here.
5644 * sysdeps/arm/Implies: Remove arm/soft-fp.
5645
a75d3b02
JM
56462014-10-14 Joseph Myers <joseph@codesourcery.com>
5647
5648 * conform/data/sys/utsname.h-data (*_t): Allow.
5649 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5650 [POSIX] (WEXITED): Do not expect constant.
5651 [POSIX] (WSTOPPED): Likewise.
5652 [POSIX] (WNOHANG): Likewise.
5653 [POSIX] (WNOWAIT): Likewise.
5654 [POSIX] (siginfo_t): Do not expect type or elements.
5655 [POSIX] (pid_t): Do not expect type.
5656 [POSIX] (signal.h): Do not allow header.
5657 [POSIX] (sys/resource.h): Likewise.
5658 [POSIX] (si_*): Do not allow pattern.
5659 [POSIX] (W*): Likewise.
5660 [POSIX] (P_*): Likewise.
5661 [POSIX] (BUS_*): Likewise.
5662 [POSIX] (CLD_*): Likewise.
5663 [POSIX] (FPE_*): Likewise.
5664 [POSIX] (ILL_*): Likewise.
5665 [POSIX] (POLL_*): Likewise.
5666 [POSIX] (SEGV_*): Likewise.
5667 [POSIX] (SI_*): Likewise.
5668 [POSIX] (TRAP_*): Likewise.
5669 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5670 variable.
5671
fda389c8
SP
56722014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5673
5674 [BZ #12926]
5675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5676 infinite loop when __recvmsg returns 0.
5677
6bc6bd3b
JM
56782014-10-10 Joseph Myers <joseph@codesourcery.com>
5679
fcb32af1
JM
5680 * CANCEL-FCT-WAIVE: Remove file.
5681 * CANCEL-FILE-WAIVE: Likewise.
5682
6bc6bd3b
JM
5683 [BZ #14132]
5684 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5685 instead of INTVARDEF.
5686 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5687 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5688 rtld_hidden_data_def instead of INTVARDEF.
5689 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5690 * elf/dl-deps.c (expand_dst): Likewise.
5691 * elf/dl-load.c (_dl_dst_count): Likewise.
5692 (_dl_dst_substitute): Likewise.
5693 (decompose_rpath): Likewise.
5694 (_dl_init_paths): Likewise.
5695 (open_path): Likewise.
5696 (_dl_map_object): Likewise.
5697 * elf/rtld.c (dl_main): Likewise.
5698 (process_dl_audit): Likewise.
5699 (process_envvars): Likewise.
5700 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5701 Remove declaration.
5702 (__libc_enable_secure): Use rtld_hidden_proto.
5703
b8c80a7e
KS
57042014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5705
5706 * elf/dl-load.c
5707 (add_path): New function broken out of _dl_rtld_di_serinfo.
5708 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5709
ff12c11f
JM
57102014-10-09 Joseph Myers <joseph@codesourcery.com>
5711
5c0508a3
JM
5712 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5713 parentheses around macro arguments.
5714 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5715 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5716 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5717 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5718 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5719 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5720 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5721 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5722 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5723 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5724 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5725 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5726 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5727 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5728 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5729 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5730 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5731 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5732 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5733 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5734 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5735 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5736 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5737 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5738 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5739 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5740 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5741 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5742 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5743 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5744 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5745 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5746 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5747 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5748 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5749 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5750 Likewise.
5751 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5752 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5753 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5754 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5755 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5756 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5757 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5758 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5759 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5760 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5761 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5762 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5763 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5764 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5765 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5766 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5767 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5768 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5769 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5770 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5771 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5772 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5773 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5774 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5775 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5776 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5777 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5778 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5779 (_FP_FRAC_SRS_1): Likewise.
5780 (_FP_FRAC_CLZ_1): Likewise.
5781 (_FP_MUL_MEAT_1_imm): Likewise.
5782 (_FP_MUL_MEAT_1_wide): Likewise.
5783 (_FP_MUL_MEAT_1_hard): Likewise.
5784 (_FP_SQRT_MEAT_1): Likewise.
5785 (_FP_FRAC_ASSEMBLE_1): Likewise.
5786 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5787 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5788 (__FP_CLZ_2): Likewise.
5789 (_FP_MUL_MEAT_2_wide): Likewise.
5790 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5791 (_FP_MUL_MEAT_2_gmp): Likewise.
5792 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5793 (_FP_SQRT_MEAT_2): Likewise.
5794 (_FP_FRAC_ASSEMBLE_2): Likewise.
5795 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5796 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5797 (_FP_FRAC_CLZ_4): Likewise.
5798 (_FP_MUL_MEAT_4_wide): Likewise.
5799 (_FP_MUL_MEAT_4_gmp): Likewise.
5800 (_FP_SQRT_MEAT_4): Likewise.
5801 (_FP_FRAC_ASSEMBLE_4): Likewise.
5802 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5803 * soft-fp/op-common.h (_FP_CMP): Likewise.
5804 (_FP_CMP_EQ): Likewise.
5805 (_FP_CMP_UNORD): Likewise.
5806 (_FP_TO_INT): Likewise.
5807 (_FP_FROM_INT): Likewise.
5808 [!__FP_CLZ] (__FP_CLZ): Likewise.
5809 (_FP_DIV_HELP_imm): Likewise.
5810 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5811 Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5814 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5815 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5816 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5817 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5818 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5819 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5820 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5821 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5822 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5823 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5824 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5825 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5826 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5827 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5828 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5832 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5833 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5834 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5835 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5836 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5837 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5838 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5839 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5840 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5841 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5842 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5843 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5844 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5845 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5846 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5847 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5848 (FP_UNPACK_RAW_SP): Likewise.
5849 (FP_PACK_RAW_S): Likewise.
5850 (FP_PACK_RAW_SP): Likewise.
5851 (FP_UNPACK_S): Likewise.
5852 (FP_UNPACK_SP): Likewise.
5853 (FP_UNPACK_SEMIRAW_S): Likewise.
5854 (FP_UNPACK_SEMIRAW_SP): Likewise.
5855 (FP_PACK_S): Likewise.
5856 (FP_PACK_SP): Likewise.
5857 (FP_PACK_SEMIRAW_S): Likewise.
5858 (FP_PACK_SEMIRAW_SP): Likewise.
5859 (_FP_SQRT_MEAT_S): Likewise.
5860 (FP_CMP_S): Likewise.
5861 (FP_CMP_EQ_S): Likewise.
5862 (FP_CMP_UNORD_S): Likewise.
5863 (FP_TO_INT_S): Likewise.
5864 (FP_FROM_INT_S): Likewise.
5865
a736ec37
JM
5866 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5867
ff12c11f
JM
5868 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5869 (FP_EX_INVALID_IMZ): Likewise.
5870 (FP_EX_INVALID_IMZ_FMA): Likewise.
5871 (FP_EX_INVALID_ISI): Likewise.
5872 (FP_EX_INVALID_ZDZ): Likewise.
5873 (FP_EX_INVALID_IDI): Likewise.
5874 (FP_EX_INVALID_SQRT): Likewise.
5875 (FP_EX_INVALID_CVI): Likewise.
5876 (FP_EX_INVALID_VC): Likewise.
5877 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5878 "invalid" exceptions.
5879 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5880 (_FP_ADD_INTERNAL): Likewise.
5881 (_FP_MUL): Likewise.
5882 (_FP_FMA): Likewise.
5883 (_FP_DIV): Likewise.
5884 (_FP_CMP_CHECK_NAN): Likewise.
5885 (_FP_SQRT): Likewise.
5886 (_FP_TO_INT): Likewise.
5887 (FP_EXTEND): Likewise.
5888
b6dcfe8c
AM
58892014-10-09 Allan McRae <allan@archlinux.org>
5890
5891 * po/fr.po: Update French translation from translation project.
5892
2d6a47ba
JM
58932014-10-09 Joseph Myers <joseph@codesourcery.com>
5894
cb831245
JM
5895 [BZ #14132]
5896 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5897 of INTDEF.
5898 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5899 (__cxa_atexit): Use libc_hidden_proto.
5900 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5901
5deeb190
JM
5902 [BZ #14132]
5903 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5904 declaration.
5905 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5906 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5907 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5908 [!_ISOMAC] (__iswctype_internal): Likewise.
5909 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5910 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5911 alias.
5912 (fcntl): Remove __fcntl_internal alias.
5913 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5914 __connect_internal alias.
5915 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5916 Likewise.
5917
454ac701
JM
5918 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5919 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5920 FP_DENORM_ZERO.
5921 (_FP_CHECK_FLUSH_ZERO): New macro.
5922 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5923 (_FP_CMP): Likewise.
5924 (_FP_CMP_EQ): Likewise.
5925 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5926 FP_DENORM_ZERO.
5927 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5928 (FP_TRUNC): Likewise.
5929
0022e688
JM
5930 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5931 treated as invalid conversion, not as normal exponent.
5932
73e28d9c
JM
5933 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5934 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5935 (_FP_CMP_EQ): Likewise.
5936 (_FP_CMP_UNORD): Likewise.
5937 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5938 (FP_CMP_EQ_D): Likewise.
5939 (FP_CMP_UNORD_D): Likewise.
5940 * soft-fp/extended.h (FP_CMP_E): Likewise.
5941 (FP_CMP_EQ_E): Likewise.
5942 (FP_CMP_UNORD_E): Likewise.
5943 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5944 (FP_CMP_EQ_Q): Likewise.
5945 (FP_CMP_UNORD_Q): Likewise.
5946 * soft-fp/single.h (FP_CMP_S): Likewise.
5947 (FP_CMP_EQ_S): Likewise.
5948 (FP_CMP_UNORD_S): Likewise.
5949 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5950 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5951 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5952 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5953 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5954 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5955 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5956 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5957 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5958 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5959 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5960 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5961 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5962 to FP_CMP_Q.
5963 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5964 FP_CMP_Q.
5965 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5966 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5967 FP_CMP_EQ_Q.
5968 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5969 FP_CMP_Q.
5970 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5971 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5972 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5973 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5974 FP_CMP_EQ_Q.
5975 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5976 FP_CMP_Q.
5977 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5978 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5979 FP_CMP_EQ_Q.
5980 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5981 FP_CMP_Q.
5982 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5983 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5984 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5985 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5986 FP_CMP_EQ_Q.
5987
43059f42
JM
5988 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5989 a subnormal result, set the underflow exception if trapping on
5990 underflow is enabled.
5991 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5992 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5993 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5994 redefine to 0.
5995 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5996 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5997 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5998 * soft-fp/extendxftf2.c (__extendxftf2): Use
5999 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6000
2d6a47ba
JM
6001 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6002 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6003 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6004 FP_HANDLE_EXCEPTIONS.
6005 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6006 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6007 FP_HANDLE_EXCEPTIONS.
6008 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6009 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6010 FP_HANDLE_EXCEPTIONS.
6011 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6012 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6013 FP_HANDLE_EXCEPTIONS.
6014
620f462e
JM
60152014-10-08 Joseph Myers <joseph@codesourcery.com>
6016
6017 [BZ #14132]
6018 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6019 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6020 use INTUSE.
6021 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6022 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6023 Remove alias.
6024 (__adjtimex): Define using libc_hidden_ver.
6025 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6026 Remove declaration.
6027 (ntp_gettime): Call __adjtimex directly.
6028 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6029 Remove declaration.
6030 (ntp_gettimex): Call __adjtimex directly.
6031 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6032 __adjtimex_internal alias.
6033
c763c5d2
RM
60342014-10-08 Roland McGrath <roland@hack.frob.com>
6035
6036 [BZ #17460]
6037 * nscd/nscd.c (more_help): Rewrite list of tables collection
6038 using xstrdup and asprintf.
6039
6040 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6041
7b8fb2b8
RM
60422014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6043 Roland McGrath <roland@hack.frob.com>
6044
6045 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6046 (do_lookup_unique): ... local function 'enter' here; update callers.
6047
abb280f7
JM
60482014-10-06 Joseph Myers <joseph@codesourcery.com>
6049
f7b42517
JM
6050 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6051 compat_symbol calls on [SHARED].
6052 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6053 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6054 Remove.
6055 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6056 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6057 (oldsetrlimit): Remove.
6058 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6060 (lchown): New syscall entry.
6061 (oldsetrlimit): Remove.
6062 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6063 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6064 (oldsetrlimit): Remove.
6065 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6066
abb280f7
JM
6067 [BZ #14138]
6068 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6069 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6070 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6071 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6072 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6073 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6074 (fchown): Likewise.
6075 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6076 (fchown): Likewise.
6077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6078 Likewise.
6079
47d46237
AZ
60802014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6081
6082 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6083 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6084 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6085 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6086 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6087 Likewise.
6088 (__old_sem_post): Likewise.
6089
60902014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6091
845a7343
CM
6092 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6093 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6094 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6095 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6096 Use INLINE_VSYSCALL macro.
6097 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6098 __vdso_clock_gettime.
6099 * sysdeps/unix/sysv/linux/tile/init-first.c
6100 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6101 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6102 __vdso_clock_gettime.
6103
83d641ef
CM
6104 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6105 to set up frame more cleanly.
6106
d9cd52e6
CM
6107 * sysdeps/tile/memcmp.c: New file.
6108
4b68ea11
CM
6109 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6110
c86f7b80
CM
6111 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6112 * sysdeps/tile/tilegx/strcasestr.c: New file.
6113 * sysdeps/tile/tilegx/strnlen.c: New file.
6114 * sysdeps/tile/tilegx/strstr.c: New file.
6115
1c4c1a6f
CM
6116 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6117
99d86ea3
AS
61182014-10-06 Arjun Shankar <arjun.is@lostca.se>
6119
6120 * nptl/tst-setuid3.c: Write errors to stdout.
6121
06210a44
KS
61222014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6123
6124 * elf/dl-deps.c
6125 (preload): New functions broken out of _dl_map_object_deps.
6126 (_dl_map_object_deps): Remove a nested function. Update call sites.
6127
6268f532
JM
61282014-10-01 Joseph Myers <joseph@codesourcery.com>
6129
6130 [BZ #14138]
6131 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6132 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6133
b925285f
SE
61342014-10-01 Steve Ellcey <sellcey@mips.com>
6135
6136 * sysdeps/mips/strcmp.S: New.
6137
754a15c6
JM
61382014-09-30 Joseph Myers <joseph@codesourcery.com>
6139
6140 [BZ #14138]
6141 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6142 (linkat): Likewise.
6143 (mkdirat): Likewise.
6144 (readlinkat): Likewise.
6145 (renameat): Likewise.
6146 (symlinkat): Likewise.
6147 (unlinkat): Likewise.
6148 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6149 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6150 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6151 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6152 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6153 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6154 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6155
85bb81c9
WN
61562014-09-30 Will Newton <will.newton@linaro.org>
6157
dc6fe23b
WN
6158 * math/math.h: Define long double math functions if
6159 _LIBC_TEST is defined.
6160 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6161
85bb81c9
WN
6162 * localedata/Makefile: Move assignment to tests-special
6163 into an ifdef testing run-built-tests.
6164 * timezone/Makefile: Likewise.
6165
b7e02da4
JM
61662014-09-29 Joseph Myers <joseph@codesourcery.com>
6167
6168 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6169 with $(BASH) not $(SHELL).
6170
62058ce6
CD
61712014-09-29 Carlos O'Donell <carlos@redhat.com>
6172 Matthew LeGendre <legendre1@llnl.gov>
6173
6174 [BZ #17411]
6175 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6176 l_reloc_result.
6177
8e257a29
KS
61782014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6179
6180 * stdio-common/printf_fp.c
6181 (hack_digit): New function, broken out of ...
6182 (__printf_fp): ... local function here. Update call sites.
6183 hack_digit now takes an additional parameter that is a pointer
6184 to a struct of the referenced locals. Those locals moved inside
6185 the struct and references updated.
6186
f4a58f0d
L
61872014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6188
6189 * aclocal.m4: Require autoconf 2.69.
6190 * configure: Regenerated.
6191 * sysdeps/aarch64/configure: Likewise.
6192 * sysdeps/alpha/configure: Likewise.
6193 * sysdeps/arm/armv7/configure: Likewise.
6194 * sysdeps/arm/configure: Likewise.
6195 * sysdeps/ia64/configure: Likewise.
6196 * sysdeps/mach/configure: Likewise.
6197 * sysdeps/mips/configure: Likewise.
6198 * sysdeps/s390/configure: Likewise.
6199 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6201
6202 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6203 file.
6204 * sysdeps/ia64/configure.ac: Likewise.
6205
93ae1eba
JM
62062014-09-26 Joseph Myers <joseph@codesourcery.com>
6207
1810d3ab
JM
6208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6209 specify symbol version for ld.so. Do not include entry for
6210 libpthread.
6211 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6212 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6213 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6214
93ae1eba
JM
6215 [BZ #14171]
6216 * Makeconfig [$(build-shared) = yes]
6217 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6218 makefiles.
6219 [$(build-shared) = yes && $(soversions.mk-done) = t]
6220 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6221 [$(build-shared) = yes && $(soversions.mk-done) = t]
6222 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6223 to Makerules.
6224 [$(build-shared) = yes && $(soversions.mk-done) = t]
6225 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6226 here.
6227 [$(build-shared) = yes && $(soversions.mk-done) = t]
6228 (common-generated): Don't append gnu/lib-names.h and
6229 gnu/lib-names.stmp here.
6230 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6231 (lib-names-h-abi): New variable.
6232 [$(build-shared) = yes && $(soversions.mk-done) = t]
6233 (lib-names-stmp-abi): Likewise.
6234 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6235 abi-variants] (before-compile): Append
6236 $(common-objpfx)$(lib-names-h-abi).
6237 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6238 abi-variants] (common-generated): Append gnu/lib-names.h.
6239 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6240 abi-variants] (install-others-nosubdir): Depend on
6241 $(inst_includedir)/$(lib-names-h-abi).
6242 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6243 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6244 [$(build-shared) = yes && $(soversions.mk-done) = t]
6245 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6246 [$(build-shared) = yes && $(soversions.mk-done) = t]
6247 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6248 [$(build-shared) = yes && $(soversions.mk-done) = t]
6249 (common-generated): Append $(lib-names-h-abi) and
6250 $(lib-names-stmp-abi).
6251 * scripts/lib-names.awk: Do not handle multi being set.
6252 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6253 Remove variable.
6254 (abi-lp64_be-ld-soname): Likewise.
6255 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6256 Likewise.
6257 (abi-hard-ld-soname): Likewise.
6258 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6259 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6260 Remove variable.
6261 (abi-o32_hard-ld-soname): Likewise.
6262 (abi-o32_soft_2008-ld-soname): Likewise.
6263 (abi-o32_hard_2008-ld-soname): Likewise.
6264 (abi-n32_soft-ld-soname): Likewise.
6265 (abi-n32_hard-ld-soname): Likewise.
6266 (abi-n32_soft_2008-ld-soname): Likewise.
6267 (abi-n32_hard_2008-ld-soname): Likewise.
6268 (abi-n64_soft-ld-soname): Likewise.
6269 (abi-n64_hard-ld-soname): Likewise.
6270 (abi-n64_soft_2008-ld-soname): Likewise.
6271 (abi-n64_hard_2008-ld-soname): Likewise.
6272 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6273 Likewise.
6274 (abi-64-v2-ld-soname): Likewise.
6275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6276 ld.so entries.
6277 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6278 variable.
6279 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6280 entry.
6281 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6282 variable.
6283 (abi-64-ld-soname): Likewise.
6284 (abi-x32-ld-soname): Likewise.
6285 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6286 entry.
6287 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6288
68870f12
JM
62892014-09-23 Joseph Myers <joseph@codesourcery.com>
6290
6291 [BZ #14138]
6292 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6293 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6294 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6295 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6296 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6297 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6298 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6299 syscall entry for GLIBC_2.2 symbol version.
6300 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6301 Likewise.
6302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6303 (setrlimit): Likewise.
6304 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6305 Likewise.
6306
ea58f202
WN
63072014-09-23 Will Newton <will.newton@linaro.org>
6308
6309 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6310 _LINUX_ARM_SYSDEP_H include guard too.
6311 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6312 define.
6313
69eb9a18
RV
63142014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6315
6316 * sysdeps/unix/sysv/linux/eventfd.c:
6317 Make first argument unsigned.
6318 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6319 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6320
20e5a5f7
OB
63212014-09-20 Ondřej Bílka <neleai@seznam.cz>
6322
6323 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6324 * socket/sys/socket.h: Likewise
6325 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6326
d3c827e7
AK
63272014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6328
6329 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6330
fe1cc35a
AS
63312014-09-17 Arjun Shankar <arjun.is@lostca.se>
6332
6333 * time/tst-ftime.c: New test.
6334 * time/Makefile (tests): Add tst-ftime.
6335
4e8afe69
JM
63362014-09-17 Joseph Myers <joseph@codesourcery.com>
6337
c4fe3ea7
JM
6338 * soft-fp/extended.h: Fix comment formatting.
6339 * soft-fp/op-1.h: Likewise.
6340 * soft-fp/op-2.h: Likewise.
6341 * soft-fp/op-4.h: Likewise.
6342 * soft-fp/op-8.h: Likewise.
6343 * soft-fp/op-common.h: Likewise.
6344 * soft-fp/soft-fp.h: Likewise.
6345
4e8afe69
JM
6346 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6347
af296fcd
JM
63482014-09-16 Joseph Myers <joseph@codesourcery.com>
6349
6350 [BZ #6652]
6351 * Makeconfig (soversions-default-setname): Remove variable.
6352 ($(common-objpfx)soversions.i): Don't pass default_setname to
6353 soversions.awk.
6354 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6355 oldest_abi to abi-versions.awk.
6356 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6357 * config.make.in (oldest-abi): Remove variable.
6358 * configure.ac (--enable-oldest-abi): Remove configure option.
6359 * configure: Regenerated.
6360 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6361 text.
6362 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6363 * scripts/soversions.awk: Do not handle default_setname variable.
6364 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6365 variable.
6366 * sysdeps/mach/hurd/configure: Regenerated.
6367 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6368 variable.
6369 * sysdeps/unix/sysv/linux/configure: Regenerated.
6370
545583d6
SP
63712014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6372
d330b980
SP
6373 * elf/Makefile (CFLAGS-interp.c): Remove.
6374 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6375 path string.
6376 * elf/interp.c: Include generated runtime-linker.h
6377
02657da2
SP
6378 * Makerules (lib%.so): Don't include $(+interp) in
6379 prerequisites.
6380 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6381 * dlfcn/eval.c: Remove file.
6382
653b1080
SP
6383 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6384 macros.
6385
602f80ec
SP
6386 [BZ #17266]
6387 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6388 4.2 and newer.
6389
545583d6
SP
6390 [BZ #17370]
6391 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6392
884ddc50
SP
63932014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6394 Jakub Jelinek <jakub@redhat.com>
6395
6396 [BZ #17266]
6397 * libio/stdio.h: Check definition of __fortify_function
6398 instead of __extern_always_inline to include bits/stdio2.h.
6399 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6400 check if __extern_always_inline is defined.
6401 [__USE_MISC || __USE_XOPEN]: Likewise.
6402 [__USE_ISOC99] Likewise.
6403 * misc/sys/cdefs.h (__fortify_function): Define only if
6404 __extern_always_inline is defined.
6405 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6406 __extern_always_inline and __extern_inline only for g++-4.3
6407 and newer or a compatible gcc.
6408
a7b87268
AS
64092014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6410
6411 [BZ #17371]
6412 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6413 last change to handle zero prefix length.
6414
3f41521d
SP
64152014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6416
61fe374a
SP
6417 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6418 _SC_REGEX_VERSION.
6419
3f41521d
SP
6420 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6421 _POSIX_RAW_SOCKETS.
6422
d8f879ee
AM
64232014-09-13 Allan McRae <allan@archlinux.org>
6424
6425 * po/ru.po: Update Russian translation from translation project.
6426
c079afb7
RM
64272014-09-12 Roland McGrath <roland@hack.frob.com>
6428
a62b3c15
RM
6429 * locale/programs/locale.c (show_locale_vars): Inline local function
6430 into its sole call site. Clean up some style nits.
6431 (print_item): New function, broken out of ...
6432 (show_info): ... local function here. Clean up style nits.
6433
d7e49b19
RM
6434 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6435 out of ...
6436 (set_class_defaults): ... local function set_default here.
6437 Define set_default as a macro locally to pass constant parameters.
6438 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6439 rather than a shared local.
6440
c079afb7
RM
6441 * stdlib/rpmatch.c (try): New function, broken out of ...
6442 (rpmatch): ... local function here. Also, prototypify definition.
6443
0bd72468
JM
64442014-09-12 Joseph Myers <joseph@codesourcery.com>
6445
ba90e050
JM
6446 * scripts/soversions.awk: Do not handle configuration names.
6447 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6448 vendor and os variables to soversions.awk.
6449 * configure.ac: Do not modify gnu-* host_os.
6450 * configure: Regenerated
6451 * shlib-versions: Remove first column with configuration names.
6452 * nptl/shlib-versions: Likewise.
6453 * nptl_db/shlib-versions: Likewise.
6454 * sysdeps/hppa/shlib-versions: Likewise.
6455 * sysdeps/m68k/shlib-versions: Likewise.
6456 * sysdeps/mach/hurd/shlib-versions: Likewise.
6457 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6458 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6459 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6460 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6461 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6462 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6463 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6464 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6466 Likewise.
6467 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6468 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6469 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6470 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6471 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6472 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6473 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6474 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6475
73a39112
JM
6476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6477 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6479 Regenerated.
6480 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6482 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6483
c729e7c1
JM
6484 * shlib-versions: Remove OS-specific entries. Moved to files in
6485 sysdeps.
6486 * sysdeps/mach/hurd/shlib-versions: New file.
6487 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6488
dc932a24
JM
6489 * nptl/shlib-versions: Remove architecture-specific entries.
6490 Moved to files in sysdeps.
6491 * shlib-versions: Likewise.
6492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6493 file.
6494 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6495 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6496 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6497 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6498
0bd72468
JM
6499 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6500 (UDP_NO_CHECK6_RX): Likewise.
6501
920238e0
SP
65022014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6503
6504 * sysdeps/posix/sysconf.c (__sysconf): Spell
6505 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6506
ba7b4d29
FW
65072014-08-12 Florian Weimer <fweimer@redhat.com>
6508
6509 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6510 loading.
6511 * iconv/Versions (__gconv_transliterate): Export for use from
6512 gconv modules.
6513 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6514 (struct __gconv_trans_data, __gconv_trans_fct,
6515 __gconv_trans_context_fct, __gconv_trans_query_fct,
6516 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6517 definitions.
6518 (struct __gconv_step_data): Remove __trans member.
6519 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6520 longer hidden. Remove unused trans_data argument.
6521 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6522 (__gconv_translit_find): Remove declaration.
6523 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6524 prototype.
6525 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6526 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6527 trans_data argument. Add hidden definition.
6528 (__gconv_translit_find): Remove.
6529 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6530 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6531 * iconv/skeleton.c: Remove transliteration initialization.
6532 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6533 __gconv_step_data initialization.
6534 * libio/iofwide.c (__libio_translit_): Remove.
6535 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6536 * wcsmbs/btowc.c (__btowc): Likewise.
6537 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6538 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6539 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6540 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6541 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6542 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6543 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6544 * wcsmbs/wctob.c (wctob): Likewise.
6545
5379aebd
SP
65462014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6547
6548 [BZ #16194]
6549 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6550 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6551 register usage.
6552 * sysdeps/x86/Makefile: Adjust.
6553
8c0ab919
RM
65542014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6555 Roland McGrath <roland@hack.frob.com>
6556
6557 * locale/weight.h: Add include guard.
6558 (findidx): Make static rather than auto; take new parameters
6559 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6560 * locale/weightwc.h: Likewise.
6561 * posix/fnmatch_loop.c
6562 (FCT): Change type of EXTRA from int32_t to wint_t.
6563 Don't include either header inside the function.
6564 Call FINDIDX rather than findidx, and pass new arguments.
6565 #undef FINDIDX at the end of the file.
6566 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6567 FINDIDX before including fnmatch_loop.c for the non-wide version.
6568 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6569 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6570 for the wide version.
6571 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6572 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6573 Pass new arguments to findidx.
6574 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6575 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6576 Don't #include it inside the function. Pass new arguments to findidx.
6577 * posix/regex_internal.h
6578 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6579 (re_string_elem_size_at): Don't #include it inside the function.
6580 Pass new arguments to findidx.
6581 * string/strcoll_l.c: #include WEIGHT_H at top level.
6582 (get_next_seq): Don't #include it inside the function.
6583 Pass new arguments to findidx.
6584 (get_next_seq_nocache): Likewise.
6585 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6586 (STRXFRM): Don't #include it inside the function.
6587 Pass new arguments to findidx.
6588
52ffbdf2
FW
65892014-09-11 Florian Weimer <fweimer@redhat.com>
6590
6591 [BZ #17344]
6592 * malloc/malloc.c (unlink): Turn asserts into a call to
6593 malloc_printerr.
6594
984c0ea9
TL
65952014-09-11 Tim Lammens <tim.lammens@gmail.com>
6596
6597 [BZ #17370]
6598 * libio/wfileops (do_ftell_wide): Free OUT.
6599
3daee107
CM
66002014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6601
6602 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6603
58b930ae
SP
66042014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6605
6606 [BZ #17363]
6607 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6608 group if the current group is empty.
6609
3b473fec
AZ
66102014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6611
71ae8647
AZ
6612 * benchtests/bench-memset.c (test_main): Add more test from size
6613 from 32 to 512 bytes.
6614 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6615 Add POWER8 memset object.
6616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6617 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6618 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6619 implementation.
6620 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6621 Likewise.
6622 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6623 multiarch POWER8 memset optimization.
6624 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6625 POWER8 memset optimization.
6626
3b473fec
AZ
6627 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6628 Remove bzero multiarch objects.
6629 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6630 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6631 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6632 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6633 Remove define.
6634 [__bzero]: Redefine to specific name.
6635 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6636 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6637 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6638 define.
6639 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6640 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6641
e6fb9587
FW
66422014-09-10 Florian Weimer <fweimer@redhat.com>
6643
6644 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6645 warnings into errors.
6646
6647 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6648 __cxa_thread_atexit_impl prototype.
6649
9d3a350b
SE
66502014-09-09 Steve Ellcey <sellcey@mips.com>
6651
6652 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6653 Fix capitalization of error message.
6654
0febba23
SE
66552014-09-09 Steve Ellcey <sellcey@mips.com>
6656
6657 * sysdeps/mips/preconfigure: Modify ABI tests.
6658
645a0e9c
CD
66592014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6660
6661 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6662
d83f0734
CD
66632014-09-07 Roland McGrath <roland@hack.frob.com>
6664 Carlos O'Donell <carlos@systemhalted.org>
6665
6666 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6667 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6668 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6669 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6670 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6671 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6672 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6673 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6674 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6675 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6676 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6677 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6678 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6679 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6680 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6681 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6682 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6683 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6684 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6685 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6686 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6687 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6688 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6689 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6690 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6691 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6692 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6693 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6694 Deconditionalize the code that was previously under [RESET_PID].
6695 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6696 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6697 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6698 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6699 include sysdep.h.
6700
21c83793
AM
67012014-09-08 Allan McRae <allan@archlinux.org>
6702
6703 * version.h (RELEASE): Set to "development".
6704 (VERSION): Set to "2.20.90"
6705
1cd9b65c
AM
67062014-09-07 Allan McRae <allan@archlinux.org
6707
b8079dd0
AM
6708 * version.h (RELEASE): Set to "stable".
6709 (VERSION): Set to "2.20"
6710 * include/features.h (__GLIBC_MINOR__): Set to 20.
6711
c46303ef
AM
6712 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6713 Liebler.
6714
1cd9b65c
AM
6715 * po/ko.po: Update Korean translation from translation project.
6716
8622092d
CM
67172014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6718
6719 [BZ #17354]
6720 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6721 macro for handling signed relocations.
6722
41488498
FW
67232014-09-03 Florian Weimer <fweimer@redhat.com>
6724
6725 [BZ #17325]
6726 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6727 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6728 assert.
6729 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6730 * iconvdata/ibm935.c (BODY): Likewise.
6731 * iconvdata/ibm937.c (BODY): Likewise.
6732 * iconvdata/ibm939.c (BODY): Likewise.
6733 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6734 assert.
6735 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6736 script.
6737 * iconvdata/run-iconv-test.sh: New test loop for checking for
6738 decoder crashers.
6739
a78b712d
KR
67402014-09-02 Khem Raj <raj.khem@gmail.com>
6741
6742 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6743 libm_hidden_ver.
6744
cb08abc6
AM
67452014-09-01 Allan McRae <allan@archlinux.org>
6746
2c31e102
AM
6747 * po/eo.po: Update Esperanto translation from translation project.
6748
cb08abc6
AM
6749 * po/ca.po: Update Catalan translation from translation project.
6750
17a62de1
ST
67512014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6752
6753 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6754 __proc_dostop call.
6755
9570bc53
MW
67562014-08-27 Mark Wielaard <mjw@redhat.com>
6757
6758 [BZ #17319]
6759 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6760 to call set_thread_area instead of hand written asm.
6761 (__NR_set_thread_area): Removed define.
6762 (TLS_FLAG_WRITABLE): Likewise.
6763 (__ASSUME_SET_THREAD_AREA): Remove check.
6764 (TLS_EBX_ARG): Remove define.
6765 (TLS_LOAD_EBX): Likewise.
6766
b0f955c9
ST
67672014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6768
6769 Simplify atomicity of socket creation in bind.
6770
6771 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6772 looking up the name after linking the file.
6773
529bf515
AM
67742014-08-27 Allan McRae <allan@archlinux.org>
6775
6776 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6777
a1a6a401
FW
67782014-08-26 Florian Weimer <fweimer@redhat.com>
6779
6780 [BZ #17187]
6781 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6782 trans_compare, open_translit, __gconv_translit_find):
6783 Remove module loading code.
6784
686ab290
AM
67852014-08-26 Allan McRae <allan@archlinux.org>
6786
e4e7cfd2
AM
6787 * po/vi.po: Update Vietnamese translation from translation project.
6788
6aa09f71
AM
6789 * po/uk.po: Update Ukrainian translation from translation project.
6790
edc0660e
AM
6791 * po/fr.po: Update French translation from translation project.
6792
7eea72ac
AM
6793 * po/ru.po: Update Russian translation from translation project.
6794
93c49eff
AM
6795 * po/pl.po: Update Polish translation from translation project.
6796
46acaf63
AM
6797 * po/cs.po: Update Czech translation from translation project.
6798
a9f5ce98
AM
6799 * po/de.po: Update German translation from translation project.
6800
373f2b78
AM
6801 * po/bg.po: Update Bulgarian translation from translation project.
6802
e7548bd8
AM
6803 * po/sv.po: Update Sweedish translation from translation project.
6804
c526bf4d
AM
6805 * po/nl.po: Update Dutch translation from translation project.
6806
686ab290
AM
6807 * po/es.po: Update Spanish translation from translation project.
6808
eb72478a
SP
68092014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6810
dd763fdb
SP
6811 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6812
318c7a58
SP
6813 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6814 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6815 (CPPFLAGS-iconvconfig): Likewise.
6816 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6817
eb72478a
SP
6818 * include/libc-symbols.h: Remove unnecessary check for
6819 NOT_IN_libc.
6820 * nptl/pthreadP.h: Likewise.
6821 * sysdeps/aarch64/setjmp.S: Likewise.
6822 * sysdeps/alpha/setjmp.S: Likewise.
6823 * sysdeps/arm/sysdep.h: Likewise.
6824 * sysdeps/i386/setjmp.S: Likewise.
6825 * sysdeps/m68k/setjmp.c: Likewise.
6826 * sysdeps/posix/getcwd.c: Likewise.
6827 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6828 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6829 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6830 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6831 * sysdeps/sh/sh3/setjmp.S: Likewise.
6832 * sysdeps/sh/sh4/setjmp.S: Likewise.
6833 * sysdeps/unix/alpha/sysdep.h: Likewise.
6834 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6835 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6836 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6837 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6840 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6841 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6842 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6844 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6845 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6847 * sysdeps/x86_64/setjmp.S: Likewise.
6848
d44a052c
JM
68492014-08-13 Joseph Myers <joseph@codesourcery.com>
6850
6851 [BZ #17263]
6852 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6853 <stdint.h>.
6854 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6855 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6856
508ce3ac
SP
68572014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6858
e44c8b0e
SP
6859 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6860
508ce3ac
SP
6861 [BZ #17262]
6862 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6863 and __x86_64__ when disabling x87 inline functions.
6864
b4acef1f
L
68652014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6866
6867 [BZ #17259]
6868 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6869 asm statement with __cpuid_count.
6870
61b1ef6e
MF
68712014-08-12 Mike Frysinger <vapier@gentoo.org>
6872
6873 * configure.ac: Change __ehdr_start code to dereference the struct.
6874 Run readelf on the output to look for relocations.
6875 * configure: Regenerated.
6876
898c62f4
JM
68772014-08-12 Joseph Myers <joseph@codesourcery.com>
6878
6879 [BZ #17261]
6880 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6881 value to 0.
6882 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6883
9a8a5720
RM
68842014-08-12 Roland McGrath <roland@hack.frob.com>
6885
6886 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6887
4e75751c
BO
68882014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6889
6890 [BZ #16892]
6891 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6892 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6893
bb2ce416
SA
68942014-08-12 Sean Anderson <seanga2@gmail.com>
6895
6896 * malloc/malloc.c: Fix typo in comment.
6897
7950a4ee
AM
68982014-08-09 Allan McRae <allan@archlinux.org>
6899
6900 * Regenerate libc.po.
6901
f469c49f
MF
69022014-08-08 Mike Frysinger <vapier@gentoo.org>
6903
6904 * intl/tst-gettext2.sh: Check every lang file for creation.
6905
656b84c2
WD
69062014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6907
6908 * sysdeps/aarch64/fpu/math_private.h
6909 (libc_feholdsetround_noex_aarch64_ctx): New function.
6910
538e9e45
W
69112014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6912
6913 * sysdeps/arm/armv6/strcpy.S (strcpy):
6914 Fix performance issue in misaligned cases.
6915
d4795e4a
AZ
69162014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6917
6918 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6919 Move definition from termios.h.
6920 (struct termio): Likewise.
6921 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6922 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6923 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6924 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6925 Likewise.
6926 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6927 Move definition to ioctl-types.h
6928 (struct termio): Likewise.
6929 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6930 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6931 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6932 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6933 Likewise.
6934
64accb62
RH
69352014-08-05 Richard Henderson <rth@redhat.com>
6936
27bb6dc0
RH
6937 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6938 exceptions.
6939 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6940 Add fraiseexcpt.
6941 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6942 Use __feraiseexcept.
6943 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6944 Protect libm symbols with IS_IN_libm.
6945
64accb62
RH
6946 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6947
e5292691
BO
69482014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6949
6950 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6951
5b4bd2d4
WN
69522014-08-04 Will Newton <will.newton@linaro.org>
6953
6954 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6955 file.
6956
fcadaeef
MF
69572014-08-04 Mike Frysinger <vapier@gentoo.org>
6958
6959 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6960 variants for each function.
6961
43a94c64
RM
69622014-08-04 Roland McGrath <roland@hack.frob.com>
6963
6964 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6965 appended ...
6966 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6967 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6968 appended ...
6969 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6970 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6971 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6972 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6973 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6974 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6975 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6976 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6977 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6978 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6979 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6980 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6981 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6982 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6983 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6984 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6985 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6986 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6987 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6988 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6989 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6990 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6991 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6992 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6993 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6994 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6995 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6996 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6997 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6998 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6999 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7000 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7001 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7002 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7003 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7004 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7005 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7006 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7007 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7008 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7009 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7010 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7011 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7012 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7013 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7014 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7015 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7016 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7017 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7018 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7019 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7020 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7021 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7022 Update #include.
7023 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7024 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7025
8f3c1fa4
RM
70262014-08-04 Roland McGrath <roland@hack.frob.com>
7027
7028 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7029 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7030 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7031 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7032 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7033 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7034
ca08746f
RM
70352014-08-04 Roland McGrath <roland@hack.frob.com>
7036
7037 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7038 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7039 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7040 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7041
9c925ff9
RM
70422014-08-04 Roland McGrath <roland@hack.frob.com>
7043
7044 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7045 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7046 (__libc_vfork): Define function under this name.
7047 (__vfork): Define as an alias.
7048 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7049 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7050
e641054c
RM
70512014-08-04 Roland McGrath <roland@hack.frob.com>
7052
7053 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7054 that was previously under [RESET_PID].
7055 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7056
dacdc867
AS
70572014-08-04 Andreas Schwab <schwab@suse.de>
7058
7059 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7060
41f725ff
MF
70612014-08-03 Mike Frysinger <vapier@gentoo.org>
7062
7063 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7064 (main): Likewise.
7065
277cfb31
RM
70662014-08-01 Roland McGrath <roland@hack.frob.com>
7067
7068 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7069
4896f049
RH
70702014-08-01 Richard Henderon <rth@redhat.com>
7071
7072 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7073 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7074 typo in exact zero test.
7075 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7076 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7077 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7078
6f64e7d7
RM
70792014-08-01 Roland McGrath <roland@hack.frob.com>
7080
7081 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7082 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7083 * sysdeps/arm/sysdep.h: ... here.
7084 [!__ASSEMBLER__]: Include <stdint.h>.
7085
3f3dd810
SP
70862014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7087
a476ac4b
SP
7088 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7089 (HAVE_WCTYPE_H): Likewise.
7090 (HAVE_ISWCTYPE): Likewise.
7091 (ENABLE_NLS): Likewise.
7092 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7093 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7094
78dd658a
SP
7095 * posix/regex_internal.c: Check if DEBUG is defined and is
7096 set.
7097
3f3dd810
SP
7098 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7099 (HAVE_MBSRTOWCS): Likewise.
7100 * posix/fnmatch.c: Include string.h unconditionally.
7101
95ee7fb1
SL
71022014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7103
7104 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7105 reversal.
7106
23fe486b
RM
71072014-07-31 Roland McGrath <roland@hack.frob.com>
7108
f61a113f
RM
7109 * sysdeps/generic/safe-fatal.h: New file.
7110 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7111 * nptl/forward.c: Include it.
7112 (__pthread_unwind): Use __safe_fatal as default action, rather
7113 than a bogus use of INTERNAL_SYSCALL that could never work.
7114
9fe7e787
RM
7115 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7116 * configure.ac (libc_cv_builtin_trap): New test.
7117 * configure: Regenerated.
7118 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7119 (ABORT_INSTRUCTION): Define using __builtin_trap.
7120
23fe486b
RM
7121 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7122 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7123 * sysdeps/nptl/nptl-signals.h: New file.
7124 * nptl/pthreadP.h: Include <nptl-signals.h>.
7125
f349489e
SL
71262014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7127
7128 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7129 (ONE_DIRECTION): Define.
7130 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7131 (ONE_DIRECTION): Define.
7132 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7133 (ONE_DIRECTION): Define.
7134
2f438e20
SL
71352014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7136
7137 * sysdeps/s390/Makefile: Delete file.
7138 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7139 * sysdeps/s390/__longjmp.c: Delete file.
7140 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7141 Remove fields __flags and __reserved.
7142 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7143 and add versioning.
7144 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7145 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7146 * sysdeps/s390/rtld-setjmp.S: Likewise.
7147 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7148 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7149 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7150 * sysdeps/s390/s390-32/setjmp.S: ... here.
7151 Add versioning.
7152 (__sigsetjmp): Remove setting __flags field.
7153 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7154 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7155 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7156 * sysdeps/s390/s390-64/setjmp.S: ... here.
7157 Add versioning.
7158 (__sigsetjmp): Remove setting __flags field.
7159 * sysdeps/s390/setjmp.S: Delete file.
7160 * sysdeps/s390/sigjmp.c: Likewise.
7161 * sysdeps/s390/v1-longjmp.c: Likewise.
7162 * sysdeps/s390/v1-setjmp.h: Likewise.
7163 * sysdeps/s390/v1-sigjmp.c: Likewise.
7164 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7165 Remove v1-longjmp_chk.
7166 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7167 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7168 Include debug/longjmp_chk.c and add versioning.
7169 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7170 Include nptl/pt-longjmp.c and add versioning.
7171 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7172 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7173 Include __longjmp.c.
7174 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7175 Move to ...
7176 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7177 (__getcontext): Remove setting __flags field.
7178 Add versioning.
7179 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7180 Don't restore upper high grps.
7181 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7182 Likewise.
7183 (__swapcontext): Remove setting uc_flags field.
7184 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7185 Delete file.
7186 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7187 Include __longjmp.c.
7188 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7189 Move to ...
7190 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7191 (__getcontext): Remove setting __flags field.
7192 Add versioning.
7193 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7194 (__swapcontext): Remove setting uc_flags field.
7195 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7196 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7197 Remove fields uc_high_gprs and __reserved.
7198 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7199 New file with reverted content.
7200 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7201 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7202 Regenerated.
7203 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7204 Regenerated.
7205
6c9578a2
AS
72062014-07-31 Andreas Schwab <schwab@suse.de>
7207
7208 * config.h.in (HAVE_IFUNC): Define to 0.
7209 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7210 definedness.
7211
05f3633d
LM
72122014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7213
7214 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7215 memmove-avx-unaligned, memcpy-avx-unaligned and
7216 mempcpy-avx-unaligned.
7217 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7218 Add tests for AVX memcpy functions.
7219 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7220 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7221 memcpy_chk.
7222 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7223 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7224 memmove_chk.
7225 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7226 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7227 mempcpy_chk.
7228 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7229 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7230 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7231
a53fbd8e
AZ
72322013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7233
7234 [BZ #17213]
7235 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7236 powerpc64le.
7237
0961f7e1
JL
72382014-07-29 Jeff Layton <jlayton@poochiereds.net>
7239
7240 [BZ #16839]
7241 * manual/llio.texi: Add section about open file description locks.
7242 * manual/examples/ofdlocks.c: Example of open file description
7243 lock usage.
7244 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7245 F_OFD_SETLK, and F_OFD_SETLKW.
7246
cc5fb300
AM
72472014-07-23 Allan McRae <allan@archlinux.org>
7248
7249 * po/es.po: Update Spanish translation from translation project.
7250
23329dca
AS
72512014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7252
7253 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7254
9c82da17
MR
72552014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7256
7257 [BZ #17078]
7258 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7259 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7260 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7261
29c4f53e
JM
72622014-07-17 Joseph Myers <joseph@codesourcery.com>
7263
831b9896
JM
7264 [BZ #17088]
7265 * math/fesetenv.c (__fesetenv)
7266 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7267 * math/feupdateenv.c (__feupdateenv)
7268 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7269
b21c2d50
JM
7270 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7271 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7272 (__ASSUME_SOCKETCALL): Do not define.
7273
067764ef
JM
7274 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7275 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7276 (__ASSUME_SOCKETCALL): Do not define.
7277 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7278 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7279 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7280 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7281 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7282 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7283 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7284 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7285
642530c1
JM
7286 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7287 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7288 (__ASSUME_SOCKETCALL): Do not define.
7289 (__ASSUME_IPC64): Define unconditionally.
7290 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7291 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7292 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7293 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7294 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7295 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7296 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7297 Likewise.
7298
03f77315
JM
7299 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7300 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7301 (__ASSUME_SOCKETCALL): Do not define.
7302 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7303 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7304 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7305 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7306 (__ASSUME_REQUEUE_PI): Define unconditionally.
7307 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7308 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7309 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7310 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7311 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7312 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7313
083b1f7c
JM
7314 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7315 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7316 (__ASSUME_SOCKETCALL): Do not define.
7317 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7318 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7319 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7320 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7321 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7322 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7323
5be44ea6
JM
7324 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7325 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7326 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7327 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7328 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7329 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7330 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7331 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7332 (__ASSUME_GETCPU_SYSCALL): Likewise.
7333
d95ffd4c
JM
7334 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7335 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7336 cases for individual architectures.
7337 * sysdeps/gnu/configure: Regenerated.
7338 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7339 LIBC_SLIBDIR_RTLDDIR.
7340 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7341 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7342 LIBC_SLIBDIR_RTLDDIR.
7343 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7345 LIBC_SLIBDIR_RTLDDIR.
7346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7347 Regenerated.
7348 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7349 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7350 file.
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7352 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7353 file.
7354 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7355 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7356 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7357 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7358
29c4f53e
JM
7359 * sysdeps/aarch64/shlib-versions: Move to ...
7360 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7361 * sysdeps/alpha/shlib-versions: Move to ...
7362 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7363 * sysdeps/arm/shlib-versions: Move to ...
7364 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7365 * sysdeps/hppa/shlib-versions: Move all contents except for
7366 libgcc_s entry to ...
7367 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7368 entry from ...
7369 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7370 * sysdeps/ia64/shlib-versions: Move to ...
7371 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7372 entry from ...
7373 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7374 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7375 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7376 * sysdeps/microblaze/shlib-versions: Move to ...
7377 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7378 * sysdeps/mips/shlib-versions: Move to ...
7379 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7380 entry from ...
7381 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7382 * sysdeps/tile/shlib-versions: Move to ...
7383 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7384 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7385 from ...
7386 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7387 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7388 entry from ...
7389 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7390
32bead5b
WN
73912014-07-17 Will Newton <will.newton@linaro.org>
7392
57977c4b
WN
7393 * sysdeps/arm/bits/atomic.h
7394 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7395 (__arch_compare_and_exchange_bool_16_int): Likewise.
7396 (__arch_compare_and_exchange_bool_64_int): Likewise.
7397
32bead5b
WN
7398 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7399 into an #else block.
7400
37fccd41
RM
74012014-07-16 Roland McGrath <roland@hack.frob.com>
7402
7403 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7404 just Linux configurations. Test empirically that the compiler sets
7405 __ARM_EABI__, rather than using the tuple to decide.
7406 * sysdeps/arm/preconfigure: Regenerated.
7407 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7408 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7409 contents appended ...
7410 * sysdeps/arm/configure.ac: ... here.
7411 * sysdeps/arm/configure: Regenerated.
7412
b365f3ec
RM
74132014-07-15 Roland McGrath <roland@hack.frob.com>
7414
8badf496
RM
7415 * nptl/pthread_kill.c: New file.
7416 * nptl/pthread_sigmask.c: New file.
7417 * nptl/pthread_sigqueue.c: New file.
7418
3df6f22e
RM
7419 * sysdeps/nptl/lowlevellock.h: New file.
7420 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7421 * sysdeps/nptl/lowlevellock-futex.h: New file.
7422
b365f3ec
RM
7423 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7424 Remove dead declarations.
7425
f2fef657
L
74262014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7427
7428 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7429 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7430 config-cflags-avx2.
7431 * sysdeps/x86_64/configure.ac: Likewise.
7432 * sysdeps/i386/configure: Regenerated.
7433 * sysdeps/x86_64/configure: Likewise.
7434 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7435 memset-avx2 only if config-cflags-avx2 is yes.
7436 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7437 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7438 defined.
7439 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7440 only if HAVE_AVX2_SUPPORT is defined.
7441 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7442
f6c44d47
AM
74432014-07-14 Alan Modra <amodra@gmail.com>
7444
7445 [BZ #17153]
7446 * elf/elf.h (DT_PPC64_NUM): Correct value.
7447 * NEWS: Add to fixed bug list.
7448
7ee03f00
JM
74492014-07-13 Jim Meyering <meyering@fb.com>
7450
7451 [BZ 17150]
7452 regex: don't deref NULL upon heap allocation failure
7453 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7454 failure in one more place.
7455 To trigger the segfault, configure grep -with-included-regex,
7456 build it, and run these commands:
7457 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7458
9d39d517
AS
74592014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7460
7461 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7462
a75b89b7
RH
74632014-07-11 Richard Henderson <rth@redhat.com>
7464
7465 * sysdeps/aarch64/libm-test-ulps: Update.
7466
771eb141
FW
74672014-07-10 Florian Weimer <fweimer@redhat.com>
7468
7469 [BZ #17135]
7470 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7471 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7472 (__nptl_setxid): Initialize error member. Call
7473 __nptl_setxid_error.
7474 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7475 * nptl/descr.h (struct xid_command): Add error member.
7476 * nptl/tst-setuid3.c: New file.
7477 * nptl/Makefile (tests): Add it.
7478
bc1da176
AZ
74792014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7480
7481 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7482 New define.
7483 (__lll_trylock): Use __lll_base_trylock.
7484 (__lll_cond_trylock): Likewise.
7485
887865fc
RM
74862014-07-10 Roland McGrath <roland@hack.frob.com>
7487
c0c6bac9
RM
7488 * nptl/pthread_create.c (start_thread): Use atomic_or and
7489 lll_futex_wake directly rather than lll_robust_dead.
7490 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7491 (lll_robust_dead): Macro removed.
6a42be57 7492 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7493 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7494 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7495 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7496 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7497 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7498 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7499 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7500 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7501 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7502 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7503 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7504 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7505 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7506 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7507
887865fc
RM
7508 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7509 Use atomic_compare_and_exchange_val_acq directly rather than
7510 lll_robust_trylock.
7511 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7512 (__lll_robust_trylock, lll_robust_trylock): Removed.
7513 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7514 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7515 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7516 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7517 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7518 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7519 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7520 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7521 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7522 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7523 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7524 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7525 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7526 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7527
58536726
FW
75282014-07-02 Florian Weimer <fweimer@redhat.com>
7529
7530 * manual/locale.texi (Locale Names): New section documenting
7531 locale name syntax. Adjust menu and node chaining accordingly.
7532 (Choosing Locale): Reference Locale Names, Locale Categories.
7533 Mention setting LC_ALL=C. Reflect that name syntax is now
7534 documented.
7535 (Locale Categories): New section title. Reference Locale Names.
7536 LC_ALL is an environment variable, but not a category.
7537 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7538 description, now in Locale Name. Reference that section. Locale
7539 name syntax is now documented.
7540
4e8f95a0
FW
75412014-07-02 Florian Weimer <fweimer@redhat.com>
7542
7543 [BZ #17137]
7544 * locale/findlocale.c (name_present, valid_locale_name): New
7545 functions.
7546 (_nl_find_locale): Use the loc_name variable to store name
7547 candidates. Call name_present and valid_locale_name to check and
7548 validate locale names. Return an error if the locale is invalid.
7549
d1836456
FW
75502014-07-02 Florian Weimer <fweimer@redhat.com>
7551
7552 * locale/setlocale.c (setlocale): Use strdup for allocating
7553 composite name copy.
7554
d69b7f5a
SP
75552014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7556
888c679b
SP
7557 Sync up with gnulib.
7558 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7559 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7560 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7561 and _GL_ARG_NONNULL.
7562 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7563 [!_LIBC]: Include code for Windows and Cygwin.
7564 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7565 Include prototype for int strerror_r.
7566 [!_LIBC] (is_open): New function.
7567 (flush_stdout): New function.
7568 (print_errno_message): Use it.
7569 (error): Likewise.
7570 (error_at_line): Likewise.
7571 (error_tail) Add function attribute macros. Use
7572 __builtin_expect.
7573
180e0e4b
SP
7574 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7575
d22f1fe2
SP
7576 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7577
12f2254b
SP
7578 * io/ftw.c: Include sys/param.h unconditionally.
7579
c3c7c360
SP
7580 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7581
d62aa75a
SP
7582 [BZ #17125]
7583 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7584 libc_freeres_ptr.
7585 (freecache): New function to free CACHE on exit.
7586
d69b7f5a
SP
7587 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7588 initialization.
7589
5efe06a1
DM
75902014-07-09 David S. Miller <davem@davemloft.net>
7591
7592 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7593
7000d82e
DM
7594 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7595 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7596 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7597 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7598 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7599 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7600 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7601 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7602 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7603 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7604 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7605 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7606 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7607
c213442d
AS
76082014-07-09 Andreas Schwab <schwab@suse.de>
7609
4a2552c3
AS
7610 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7611 output.
7612 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7613 (do_test): Likewise.
7614
c213442d
AS
7615 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7616
82374e65
WN
76172014-07-09 Will Newton <will.newton@linaro.org>
7618
7619 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7620 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7621 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7622 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7623 * sysdeps/hppa/start.S (_start): Likewise.
7624
6680738a
SP
76252014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7626
6ee3eab4
SP
7627 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7628
6680738a
SP
7629 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7630 defined.
7631
80b5c505
SP
76322014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7633
e35c53e3
SP
7634 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7635 after checking that it is non-NULL.
7636
80b5c505
SP
7637 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7638
91f4b564
AZ
76392014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7640
27b75f56
AZ
7641 * sysdeps/powerpc/memmove.c: Remove file.
7642 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7643 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7644 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7645 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7646 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7647 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7648 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7649 string memmove instead of removed powerpc one.
7650
e7f95bb5
AZ
7651 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7652 [weak_alias]: Fix compiler warning due trailing data.
7653 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7654 [weak_alias]: Likewise.
7655 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7656 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7657
91f4b564
AZ
7658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7659 (__libc_ifunc_impl_list): Add memmove functions.
7660
7c33f1e5
SP
76612014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7662
7663 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7664 Remove code.
7665 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7666 Likewise
7667 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7668 Likewise
7669 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7670 Likewise
7671 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7672 Likewise
7673 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7674 Likewise
7675 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7676 Likewise
7677 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7678 Likewise
7679 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7680 Likewise
7681 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7682 Likewise
7683 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7684 Likewise
7685 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7686 Likewise
7687 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7688 Likewise
7689 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7690 Likewise
7691 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7692 Likewise
7693 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7694 Likewise
7695 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7696 Likewise
7697
3f17b03b
AZ
76982014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7699
87868c24
AZ
7700 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7701 to avoid alignment traps in non-cacheable memory.
7702 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7703
07aedd78
AZ
7704 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7705 multiarch objects.
7706 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7707 file: multiarch power7 memmove.
7708 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7709 multiarch default memmove.
7710 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7711 multiarch memove for powerpc32/power4.
7712
17762f66
AZ
7713 * string/bcopy.c: Use full path to include memmove.c.
7714 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7715 multiarch objects.
7716 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7717 bcopy for powerpc64.
7718 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7719 bcopy for powerpc64.
7720 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7721 and memmove implementations.
7722 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7723 optimized multiarch memmove for POWER7/powerpc64.
7724 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7725 default multiarch memmove for powerpc64.
7726 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7727 multiarch for powerpc64.
7728 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7729 for POWER7/powerpc64.
7730 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7731 memmove for POWER7/powerpc64.
7732
d6f68bbe
AZ
7733 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7734 glibc default one.
7735
3f17b03b
AZ
7736 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7737 __ELF_NATIVE_CLASS equal to 64.
7738
08192659
RM
77392014-07-07 Roland McGrath <roland@hack.frob.com>
7740
f4c4021b
RM
7741 * sysdeps/nptl/lowlevellock.h: File removed.
7742
f083450f
RM
7743 * NEWS: NPTL is no longer an add-on!
7744 * nptl/internaltypes.h: Moved ...
7745 * sysdeps/nptl/internaltypes.h: ... here.
7746 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7747 * sysdeps/nptl/fork.c: Likewise.
7748 * sysdeps/nptl/gai_misc.h: Likewise.
7749 * sysdeps/nptl/librt-cancellation.c: Likewise.
7750 * sysdeps/nptl/jmp-unwind.c: Likewise.
7751 * sysdeps/nptl/setxid.h: Likewise.
7752 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7753 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7754 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7755 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7756 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7757 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7758 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7759 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7760 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7761 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7762 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7763 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7764 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7765 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7766 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7767 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7768 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7769 * nptl/Makeconfig: Moved ...
7770 * sysdeps/nptl/Makeconfig: ... here.
7771 * nptl/configure: File removed.
7772 * nptl/ANNOUNCE: File removed.
7773 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7774 * sysdeps/unix/sysv/linux/configure: Regenerated.
7775
08192659
RM
7776 * nptl/Makefile (routines): Add libc_pthread_init,
7777 libc_multiple_threads, register-atfork and unregister-atfork.
7778 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7779 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7780 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7781 pthread-pi-defines.sym, structsem.sym.
7782 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7783 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7784 [$(subdir) = nptl] (tests): Add tst-setgetname.
7785 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7786 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7787 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7788 [!LIBC_SIGACTION]: Remove aliases.
7789 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7790 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7791 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7792 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7793 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7794 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7795 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7796 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7797 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7798 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7799 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7800 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7801 __libc_allocate_rtsig_private.
7802 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7803 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7804 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7805 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7806 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7807 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7808 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7809 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7810 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7811 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7812 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7813 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7814 * nptl/internaltypes.h: ... here.
7815 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7816 * sysdeps/nptl/jmp-unwind.c: ... here.
7817 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7818 * nptl/libc-lowlevellock.c: ... here.
7819 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7820 * nptl/libc_multiple_threads.c: ... here.
7821 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7822 * nptl/libc_pthread_init.c: ... here.
7823 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7824 * nptl/lowlevelbarrier.sym: ... here.
7825 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7826 * nptl/lowlevelcond.sym: ... here.
7827 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7828 * nptl/lowlevellock.c: ... here.
7829 * nptl/lowlevellock.h: Moved ...
7830 * sysdeps/nptl/lowlevellock.h: ... here.
7831 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7832 * nptl/lowlevelrobustlock.c: ... here.
7833 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7834 * nptl/lowlevelrobustlock.sym: ... here.
7835 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7836 * nptl/lowlevelrwlock.sym: ... here.
7837 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7838 * nptl/pt-fork.c: ... here.
7839 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7840 * nptl/pthread-pi-defines.sym: ... here.
7841 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7842 * nptl/pthread_attr_getaffinity.c: ... here.
7843 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7844 * nptl/pthread_attr_setaffinity.c: ... here.
7845 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7846 * nptl/pthread_mutex_cond_lock.c: ... here.
7847 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7848 Update #include.
7849 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7850 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7851 * nptl/pthread_once.c: ... here, replacing old file.
7852 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7853 * nptl/pthread_yield.c: ... here.
7854 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7855 * nptl/register-atfork.c: ... here.
7856 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7857 * nptl/sem_post.c: ... here.
7858 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7859 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7860 * nptl/sem_timedwait.c: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7862 * nptl/sem_trywait.c: ... here.
7863 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7864 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7865 * nptl/sem_wait.c: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7867 * nptl/structsem.sym: ... here.
7868 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7869 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7870 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7871 * nptl/unregister-atfork.c: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7873 * nptl/unwindbuf.sym: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7875 * sysdeps/nptl/fork.c: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7877 * sysdeps/nptl/fork.h: ... here.
7878 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7879 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7880 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7881 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7882 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7883 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7884 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7885 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7886 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7887 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7888 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7889 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7890 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7891 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7892 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7893 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7894 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7895 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7896 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7897 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7898 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7899 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7900 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7901 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7902 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7903 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7904 * sysdeps/unix/sysv/linux/raise.c: ... here.
7905 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7906 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7907 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7908 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7909 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7910 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7911 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7912 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7913 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7914 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7915 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7916 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7917 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7918 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7919 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7920
96baf6ff
SP
79212014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7922
7923 * sysdeps/generic/memcopy.h: Add comment for
7924 MEMCPY_OK_FOR_FWD_MEMMOVE.
7925
6b7b14b2
WN
79262014-07-04 Will Newton <will.newton@linaro.org>
7927
1570a72b
WN
7928 * string/memchr.c: Merge from gnulib.
7929 [_LIBC]: Remove conditionals.
7930 (__ptr_t): Remove define.
7931 (LONG_MAX_32_BITS): Likewise.
7932 (LONG_MAX): Likewise.
7933 (MEMCHR): Use ANSI prototype and optimize algorithm.
7934
6b7b14b2
WN
7935 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7936
38851324
SP
79372014-07-03 Roland McGrath <roland@hack.frob.com>
7938
3d9eb57c
RM
7939 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7940 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7941
78b984ae
RM
7942 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7943 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7944 in a bare environment with no <stdlib.h> installed.
7945 * sysdeps/nptl/configure: Regenerated.
7946
2d5976a5
RM
7947 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7948
c1f5acd4
RM
7949 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7950 AC_EGREP_CPP for kernel header checks, so they only succeed if
7951 including <linux/version.h> actually works right.
7952 * sysdeps/unix/sysv/linux/configure: Regenerated.
7953
4d614fe5
RM
7954 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7955 value so it's not diagnosed as unused.
7956
38851324
SP
7957 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7958 thing) with "ifeq ($(subdir),rt)".
7959
b3ec00e5
RH
79602014-07-03 Richard Henderson <rth@redhat.com>
7961
69862e25
RH
7962 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7963 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7964 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7965
d5e16ade
RH
7966 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7967 (math_force_eval): New.
7968
ca7b945c
RH
7969 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7970 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7971
cd1175a3
RH
7972 * sysdeps/alpha/fpu/s_round.c: Remove file.
7973 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7974
b3ec00e5
RH
7975 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7976 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7977 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7978 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7979 (_dl_start, print_statistics): Likewise.
7980 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7981 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7982
7983 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7984 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7985 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7986 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7987 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7988 (HP_SMALL_TIMING_AVAIL): Define.
7989 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7991 (HP_SMALL_TIMING_AVAIL): Define.
7992 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7993 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7994
7995 * sysdeps/aarch64/hp-timing.h: New file.
7996
7997 * sysdeps/generic/hp-timing.h: Remove dead comment.
7998 * sysdeps/generic/hp-timing-common.h: New file.
7999 * sysdeps/alpha/hp-timing.h: Include it.
8000 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8001 * sysdeps/i386/i686/hp-timing.h: Likewise.
8002 * sysdeps/ia64/hp-timing.h: Likewise.
8003 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8004 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8005 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8006 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8007 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8008 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8009 (hp_timing_t): New.
8010
8011 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8012 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8013 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8014 * elf/rtld.c (_dl_start_final): Likewise.
8015 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8016 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8017 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8018 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8019 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8020 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8021 (HP_TIMING_DIFF_INIT): Remove.
8022 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8023 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8024 (HP_TIMING_DIFF_INIT): Remove.
8025 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8026 * sysdeps/i386/i686/hp-timing.c: Remove file.
8027 * sysdeps/x86_64/hp-timing.c: Remove file.
8028 * sysdeps/ia64/hp-timing.c: Remove file.
8029 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8030 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8031 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8032 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8033
8034 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8035 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8036 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8037 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8038 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8039 (HP_TIMING_ACCUM): Remove.
8040 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8041 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8042 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8043
8044 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8045 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8046 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8047 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8048 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8049 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8050 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8051 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8052
8053 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8054
225f410f
MR
80552014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8056
8057 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8058
3247f285
SP
80592014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8060
8061 Sync up with gettext.
8062 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8063 [_MSC_VER]: Include malloc.h
8064 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8065 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8066 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8067 TEMP_FAILURE_RETRY. Cast return of alloca.
8068 [!_LIBC] Call gl_rwlock_init.
8069 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8070
d12704c7
SP
80712014-07-02 Roland McGrath <roland@hack.frob.com>
8072
8073 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8074 before checking its value.
8075
99f8dc92
SP
80762014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8077
05fdac77
SP
8078 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8079
99f8dc92
SP
8080 * debug/memcpy_chk.c: Don't include pagecopy.h.
8081 * debug/mempcpy_chk.c: Likewise.
8082 * string/memcpy.c: Likewise.
8083 * string/memmove.c: Likewise.
8084 * sysdeps/powerpc/memmove.c: Likewise.
8085 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8086 definition of PAGE_COPY_FWD_MAYBE here...
8087 * sysdeps/generic/pagecopy.h: ... from here.
8088 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8089
bc8ea385
VR
80902014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8091 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8092
8093 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8094 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8095 optimizations.
8096 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8097 (__libc_ifunc_impl_list): Likewise.
8098 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8099 multiarch strcat for PPC64.
8100 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8101 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8102
fe5f34e4
RM
81032014-07-02 Roland McGrath <roland@hack.frob.com>
8104
8105 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8106
256aa665
SP
81072014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8108
d4eb8195
SP
8109 * intl/loadmsgcat.c: Remove declaration of
8110 get_sysdep_segment_value.
8111 (get_sysdep_segment_value): Use ISO C style.
8112 (_nl_load_domain): Use ISO C style. Get rid of redundant
8113 semicolon. Fix typo and formatting in comment.
8114 (_nl_unload_domain): Use ISO C style.
8115
256aa665
SP
8116 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8117
b100f9aa
WN
81182014-07-02 Will Newton <will.newton@linaro.org>
8119
8120 * malloc/obstack.c: Merge from gnulib master.
8121 [HAVE_CONFIG_H]: Remove conditional code.
8122 [!_LIBC]: Include config.h.
8123 [!ELIDE_CODE]: Don't include inttypes.h, include
8124 stdint.h unconditionally.
8125 (print_and_abort): Mark as _Noreturn.
8126 (_obstack_allocated_p): Mark as __attribute_pure__.
8127 (obstack_free): Rename to __obstack_free.
8128 [!__attribute__]: Remove conditional code.
8129 * malloc/obstack.h: Merge from gnulib master.
8130 [__cplusplus]: Move conditional down.
8131 [!__attribute_pure__]: Define __attribute_pure__ here
8132 if it is not already defined.
8133 (_obstack_memory_used): Mark as __attribute_pure__.
8134 [!__obstack_free]: Define as obstack_free.
8135 [__GNUC__]: Remove check for ancient NeXT gcc.
8136
c4c41244
PE
81372014-07-02 Will Newton <will.newton@linaro.org>
8138 Paul Eggert <eggert@cs.ucla.edu>
8139
8140 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8141
e1e041c4
SP
81422014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8143
8144 * resolv/gethnamaddr.c: Add comment warning that the file is
8145 not maintained.
8146
ccf431ff
CD
81472014-07-01 Carlos O'Donell <carlos@redhat.com>
8148
d34570a6
CD
8149 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8150 entries.
8151
ccf431ff
CD
8152 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8153 entry for aio_cancel and aio_cancel64.
8154 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8155 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8156 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8157 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8158 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8159 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8160 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8161 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8162 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8163 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8164 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8165 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8166 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8167
ca06321d
RM
81682014-07-01 Roland McGrath <roland@hack.frob.com>
8169
8170 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8171 * nptl/pthread_mutex_lock.c: Likewise.
8172 * nptl/pthread_mutex_timedlock.c: Likewise.
8173 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8174
a1ac3184
RH
81752014-07-01 Richard henderson <rth@redhat.com>
8176
631021e0
RH
8177 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8178 (__isnan, __isnanl): Remove.
8179 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8180
a1ac3184
RH
8181 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8182
0c1d731f
SL
81832014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8184
8185 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8186
76985d3e
SP
81872014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8188
8189 * resolv/nss_dns/dns-host.c (getanswer_r)
8190 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8191
b0cb3096
JM
81922014-07-01 Joseph Myers <joseph@codesourcery.com>
8193
8194 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8195 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8196 undefine.
8197 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8198 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8199
4d76cb39
RM
82002014-07-01 Roland McGrath <roland@hack.frob.com>
8201
8202 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8203 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8204
8205 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8206 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8207
8208 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8209 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8210 ... here.
8211 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8212 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8213
8214 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8215 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8216 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8217 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8218
8219 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8220 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8221 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8222 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8223 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8224 Moved ...
8225 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8226 ... here.
8227 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8228 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8229 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8230 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8231 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8232 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8233 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8234 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8235 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8236 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8237 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8238 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8239 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8240 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8241 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8242 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8243 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8244 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8245 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8246 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8247 ... here.
8248 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8249 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8250 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8251 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8252 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8253 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8254 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8255 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8256
0cdcad17
DH
82572014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8258
8259 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8260 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8261 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8262 Add sysdep.
8263
9b71d0e3
AZ
82642014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8265
8266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8267
665390c2
JM
82682014-06-30 Joseph Myers <joseph@codesourcery.com>
8269
ae05a9d7
JM
8270 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8271 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8272
a7672a2f
JM
8273 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8274
665390c2
JM
8275 * sysdeps/arm/libm-test-ulps: Regenerated.
8276
d7a05d07
MR
82772014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8278 Roland McGrath <roland@hack.frob.com>
8279
8280 * test-skeleton.c (signal_handler): Kill the whole process group
8281 before killing the child individually.
8282 (main): Report any failure on `setpgid'.
8283
46f1d8a6
RM
82842014-06-30 Roland McGrath <roland@hack.frob.com>
8285
8286 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8287 from _TLS_H to _ARM_NPTL_TLS_H.
8288 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8289 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8290
9c37ec0b
JM
82912014-06-30 Joseph Myers <joseph@codesourcery.com>
8292
ce9c5b3e
JM
8293 [BZ #16539]
8294 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8295 (__expm1l): Return argument unchanged when small but not
8296 subnormal.
8297
3a6e9887
JM
8298 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8299 include macro name.
8300 (_FP_UNPACK_RAW_1_P): Likewise.
8301 (_FP_PACK_RAW_1): Likewise.
8302 (_FP_PACK_RAW_1_P): Likewise.
8303 (_FP_MUL_MEAT_1_wide): Likewise.
8304 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8305 (_FP_MUL_MEAT_1_hard): Likewise.
8306 (_FP_DIV_MEAT_1_imm): Likewise.
8307 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8308 (_FP_DIV_MEAT_1_udiv): Likewise.
8309 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8310 (_FP_UNPACK_RAW_2): Likewise.
8311 (_FP_UNPACK_RAW_2_P): Likewise.
8312 (_FP_PACK_RAW_2): Likewise.
8313 (_FP_PACK_RAW_2_P): Likewise.
8314 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8315 (_FP_MUL_MEAT_2_wide): Likewise.
8316 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8317 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8318 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8319 (_FP_MUL_MEAT_2_gmp): Likewise.
8320 (_FP_DIV_MEAT_2_udiv): Likewise.
8321 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8322 (_FP_FRAC_SRL_4): Likewise.
8323 (_FP_FRAC_SRST_4): Likewise.
8324 (_FP_FRAC_SRS_4): Likewise.
8325 (_FP_UNPACK_RAW_4): Likewise.
8326 (_FP_UNPACK_RAW_4_P): Likewise.
8327 (_FP_PACK_RAW_4): Likewise.
8328 (_FP_PACK_RAW_4_P): Likewise.
8329 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8330 (_FP_MUL_MEAT_4_wide): Likewise.
8331 (_FP_MUL_MEAT_4_gmp): Likewise.
8332 (umul_ppppmnnn): Likewise.
8333 (_FP_DIV_MEAT_4_udiv): Likewise.
8334 (__FP_FRAC_ADD_4): Likewise.
8335 (__FP_FRAC_SUB_3): Likewise.
8336 (__FP_FRAC_SUB_4): Likewise.
8337 (__FP_FRAC_DEC_3): Likewise.
8338 (__FP_FRAC_DEC_4): Likewise.
8339 (__FP_FRAC_ADDI_4): Likewise.
8340 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8341 (_FP_FRAC_SRL_8): Likewise.
8342 (_FP_FRAC_SRS_8): Likewise.
8343
9c37ec0b
JM
8344 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8345 include macro name.
8346 (FP_UNPACK_RAW_EP): Likewise.
8347 (FP_PACK_RAW_E): Likewise.
8348 (FP_PACK_RAW_EP): Likewise.
8349 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8350 (_FP_ISSIGNAN): Likewise.
8351 (_FP_ADD_INTERNAL): Likewise.
8352 (_FP_FMA): Likewise.
8353 (_FP_CMP): Likewise.
8354 (_FP_SQRT): Likewise.
8355 (_FP_TO_INT): Likewise.
8356 (_FP_FROM_INT): Likewise.
8357 (FP_EXTEND): Likewise.
8358 (_FP_DIV_MEAT_N_loop): Likewise.
8359
2125f674
MR
83602014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8361
8362 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8363 throughout.
8364
edea4028
JM
83652014-06-29 Joseph Myers <joseph@codesourcery.com>
8366
8367 [BZ #17097]
8368 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8369 result with correct sign in case of exponents that produce
8370 overflow except for X very close to 1.
8371
dd0ba018
PE
83722014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8373
8374 mktime: merge #if/#ifdef usage from glibc
8375 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8376 as that works with both Glibc's and Gnulib's style.
8377 See thread starting at Siddhesh Poyarekar's bug report at:
8378 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8379
64df73c2
SP
83802014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8381
8382 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8383 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8384 * sysdeps/tile/tilegx/memmove.c: Remove file.
8385
f1eafb41
JM
83862014-06-27 Joseph Myers <joseph@codesourcery.com>
8387
8388 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8389 abi-name definition.
8390 * scripts/soversions.awk: Do not handle or generate ABI lines.
8391 * shlib-versions: Remove ABI entries.
8392 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8393 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8394
58eb0862
RM
83952014-06-27 Roland McGrath <roland@hack.frob.com>
8396
37caf178
RM
8397 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8398 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8399 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8400 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8401 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8402 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8403 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8404 Moved ...
8405 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8406 ... here.
8407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8412 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8413 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8414 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8415 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8416 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8423 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8425 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8427 Moved ...
8428 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8429 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8430 Moved ...
8431 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8432 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8433 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8434 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8435 Moved ...
8436 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8437 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8438 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8439 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8442 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8443 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8444 Moved ...
8445 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8446 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8447 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8448 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8449 Moved ...
8450 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8451 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8452 Moved ...
8453 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8454 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8455 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8456 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8457 Moved ...
8458 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8459 ... here.
8460 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8461 Identical file removed.
8462 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8463 Moved ...
8464 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8466 Identical file removed.
8467 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8470 Moved ...
8471 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8472 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8473 Identical file removed.
8474 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8475 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8477 Identical file removed.
8478 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8479 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8480 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8481 Identical file removed.
8482 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8483 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8484 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8485 Identical file removed.
8486 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8487 Moved ...
8488 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8489 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8490 Identical file removed.
8491 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8492 Moved ...
8493 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8494 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8495 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8496 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8497 Identical file removed.
8498 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8499 Moved ...
8500 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8501 ... here.
8502 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8503 Identical file removed.
8504 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8505 Moved ...
8506 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8507 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8508 Identical file removed.
8509 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8510 Moved ...
8511 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8512 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8513 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8514 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8515 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8516 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8517 Moved ...
8518 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8519 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8520 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8521
58eb0862
RM
8522 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8523 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8524 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8525 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8526 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8527
6f12d062
AS
85282014-06-27 Arjun Shankar <arjun.is@lostca.se>
8529
8530 [BZ #17092]
8531 * nscd/nscd.c (monitor_child): Return exit status of child
8532 instead of return value from wait syscall.
8533
be254932
JM
85342014-06-27 Joseph Myers <joseph@codesourcery.com>
8535
cb403c34
JM
8536 * configure.ac (libc_commonpagesize): Remove variable.
8537 (libc_relro_required): Likewise.
8538 (libc_cv_z_relro): Remove configure test.
8539 * configure: Regenerated.
8540 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8541 variable.
8542 (libc_relro_required): Likewise.
8543 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8544 (libc_relro_required): Likewise.
8545 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8546 (libc_relro_required): Likewise.
8547 * sysdeps/arm/preconfigure: Regenerated.
8548 * sysdeps/ia64/preconfigure: Remove file.
8549 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8550 variable.
8551 (libc_relro_required): Likewise.
8552
be254932
JM
8553 [BZ #16561]
8554 [BZ #16562]
8555 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8556 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8557 recompute overflowing results in original rounding mode.
8558 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8559 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8560 recompute overflowing results in original rounding mode.
8561 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8562 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8563 recompute overflowing results in original rounding mode.
8564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8565 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8566 recompute overflowing results in original rounding mode.
8567 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8568 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8569 recompute overflowing results in original rounding mode.
8570 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8571 (libc_feholdsetround_ctx): New macro.
8572 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8573 * sysdeps/i386/fpu/libm-test-ulps: Update.
8574 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8575
b351d85a
JM
85762014-06-26 Joseph Myers <joseph@codesourcery.com>
8577
8578 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8579 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8580 corresponding .cpsetup call.
8581
3cb4de47
RM
85822014-06-26 Roland McGrath <roland@hack.frob.com>
8583
8584 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8585 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8586 * sysdeps/arm/Makefile [$(subdir) = csu]
8587 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8588 (static-only-routines): Add aeabi_read_tp here.
8589 (shared-only-routines): Add libc-aeabi_read_tp here.
8590 (CFLAGS-libc-start.c): Add -fexceptions here.
8591 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8592 (sysdep_routines, static-only-routines, shared-only-routines):
8593 Don't add to these here.
8594 (CFLAGS-libc-start.c): Likewise.
8595
8596 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8597 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8598 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8599 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8600 * sysdeps/arm/Makefile [$(subdir) = rt]
8601 (librt-sysdep_routines, librt-shared-only-routines):
8602 Append rt-aeabi_unwind_cpp_pr1 here.
8603 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8604 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8605 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8606 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8607 Append nptl-aeabi_unwind_cpp_pr1 here.
8608 (tests): Filter out tst-cleanupx4 here.
8609 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8610 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8611 Don't do those here.
8612
354426bb
JM
86132014-06-26 Joseph Myers <joseph@codesourcery.com>
8614
8615 * scripts/list-sources.sh: Do not handle ports specially.
8616
28b0a8c9
RM
86172014-06-26 Roland McGrath <roland@hack.frob.com>
8618
a3dd035d
RM
8619 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8620 * sysdeps/arm/feupdateenv.c: Likewise.
8621
28b0a8c9
RM
8622 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8623
e66a8203
JM
86242014-06-26 Joseph Myers <joseph@codesourcery.com>
8625
8626 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8627 trailing whitespace removed.
8628 * scripts/config.guess: Update to version 2014-03-23.
8629 * scripts/config.sub: Update to version 2014-05-01
8630 * scripts/install-sh: Update to version 2013-12-25.23.
8631 * scripts/move-if-change: Update from gnulib.
8632
74171115
SP
86332014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8634
b97c9ce5
SP
8635 * debug/memmove_chk.c: Remove pagecopy.h include.
8636
4000f892
SP
86372014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8638
74171115
SP
8639 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8640 identical to gnulib mktime.
8641
a8779c28
JM
86422014-06-26 Joseph Myers <joseph@codesourcery.com>
8643
e64708de
JM
8644 * configure.ac: Do not test for machine being rs6000. Do not test
8645 for powerpc*-*soft.
8646 * configure: Regenerated.
8647
a8779c28
JM
8648 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8649 test.
8650 * configure: Regenerated.
8651 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8652 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8653 Remove configure test.
8654 * sysdeps/arm/configure: Regenerated.
8655 * sysdeps/nptl/configure.ac: Do not check
8656 libc_cv_asm_cfi_directives.
8657 * sysdeps/nptl/configure: Regenerated.
8658 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8659 * sysdeps/x86_64/nptl/configure: Remove generated file.
8660 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8661 unconditional.
8662 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8663
2aac0a86
SP
86642014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8665
059bf913
SP
8666 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8667 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8668 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8669 it is defined.
8670
4cf5b6d0
SP
8671 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8672 instead of whether it is defined.
8673 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8674 * sysdeps/hppa/dl-machine.h: Likewise.
8675 * sysdeps/ia64/dl-machine.h: Likewise.
8676 * sysdeps/m68k/dl-machine.h: Likewise.
8677 * sysdeps/microblaze/dl-machine.h: Likewise.
8678 * sysdeps/mips/dl-machine.: Likewise.
8679 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8680 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8681 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8682 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8683 * sysdeps/sh/dl-machine.h: Likewise.
8684 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8685 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8686 * sysdeps/tile/dl-machine.h: Likewise.
8687 * sysdeps/x86_64/dl-machine.h: Likewise.
8688
2aac0a86
SP
8689 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8690 code.
8691 (verify_persistent_db): Likewise.
8692
6ad2df0b
RM
86932014-06-26 Roland McGrath <roland@hack.frob.com>
8694
d8a483f3
RM
8695 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8696 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8698 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8699 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8700 Moved ...
8701 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8702 ... here.
8703 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8704 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8706 Identical file removed.
8707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8710 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8712 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8713 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8714 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8716 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8718 Moved ...
8719 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8723 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8725 Moved ...
8726 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8727 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8728 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8729 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8730 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8731 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8732 Identical file removed.
8733 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8734 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8735 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8736 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8738 Moved ...
8739 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8740 ... here.
8741 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8742 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8744 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8745 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8746 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8749 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8750 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8751 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8752 Moved ...
8753 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8754 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8755 Moved ...
8756 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8757 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8758 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8760 Moved ...
8761 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8762 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8763 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8764
52ae23b4
RM
8765 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8766 folded into ...
8767 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8768 * sysdeps/unix/sysv/linux/s390/Versions
8769 (libpthread: GLIBC_2.19): New version set.
8770 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8771 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8772 (librt: GLIBC_2.3.3): New version set.
8773 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8774 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8775 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8776 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8777 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8778 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8779 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8780 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8781 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8782 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8783 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8784 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8785 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8786 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8787 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8788 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8789 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8790 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8791 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8792 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8793 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8794 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8795 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8796 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8797 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8798 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8799 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8800 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8801 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8802 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8803 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8804 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8805 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8806 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8807 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8808 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8809 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8810 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8811 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8812 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8813 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8814 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8815 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8817 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8818
39507e4a
RM
8819 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8820 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8821 (__libc_vfork): Define the function under this name.
8822 [!NOT_IN_libc] (__vfork): Make this an alias.
8823 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8825 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8826 (__libc_vfork): Define the function under this name.
8827 [!NOT_IN_libc] (__vfork): Make this an alias.
8828 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8829 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8830 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8831 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8832 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8833 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8834
e549ee56
RM
8835 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8836 code that was previously under [RESET_PID].
8837 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8838 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8839 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8840
6ad2df0b
RM
8841 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8842 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8843 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8844 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8845 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8846 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8847 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8848 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8849 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8850 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8851 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8852 Moved ...
8853 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8854 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8855 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8856 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8857 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8858 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8859 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8860 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8861 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8862 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8863 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8864 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8865 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8866 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8867 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8868 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8869 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8870 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8871 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8872 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8873 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8874 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8875 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8876 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8877 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8878 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8879 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8880 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8881 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8882
7c1c1d8e
RM
88832014-06-25 Roland McGrath <roland@hack.frob.com>
8884
8885 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8886 that was previously under [RESET_PID].
8887 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8888
3e239be6
JM
88892014-06-25 Joseph Myers <joseph@codesourcery.com>
8890
74385da5
JM
8891 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8892 not undefine and redefine.
8893 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8894 [O_CLOEXEC]: Make code unconditional.
8895 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8896 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8897 <kernel-features.h>.
8898 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8899 conditional variable definition.
8900 (shm_open) [O_CLOEXEC]: Make code unconditional.
8901 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8902 code.
8903
c2570a0b
JM
8904 * configure.ac (USE_REGPARMS): Don't define here.
8905 * configure: Regenerated.
8906 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8907 * sysdeps/i386/configure: Regenerated.
8908
11b076bb
JM
8909 * nptl/createthread.c: Don't include kernel-features.h.
8910 * nptl/pthread_cancel.c: Likewise.
8911 * nptl/pthread_condattr_setclock.c: Likewise.
8912 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8913 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8914 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8915 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8916 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8917 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8918 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8919 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8920 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8921 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8922 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8923 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8924 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8925 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8926 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8927 * nscd/gai.c: Likewise.
8928 * nss/nss_db/db-open.c: Likewise.
8929 * sysdeps/generic/ldsodefs.h: Likewise.
8930 * sysdeps/sh/nptl/tls.h: Likewise.
8931 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8932 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8933 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8934 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8935 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8936 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8937 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8938 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8940 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8941 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8942 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8943 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8944 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8945 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8946 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8947 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8948 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8949 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8950 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8951 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8952 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8953 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8954 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8955 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8956 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8957 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8958 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8959 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8960 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8961 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8962 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8963 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8964 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8965 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8966 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8967 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8968 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8969 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8970 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8971 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8972 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8973 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8974 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8975 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8976 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8977 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8978 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8979 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8980 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8981 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8982 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8983 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8984 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8985 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8986 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9011 * sysdeps/unix/sysv/linux/pread.c: Likewise.
9012 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9013 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9014 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9015 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9016 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9017 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9018 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9019 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9020 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9021 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9022 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9023 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9024 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9025 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9026 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9027 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9028 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9029 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9030 * sysdeps/unix/sysv/linux/system.c: Likewise.
9031 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9032 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9033 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9034 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9035 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9036 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9037 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9038
92072d57
JM
9039 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9040 * configure: Regenerated.
9041 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9042
3e239be6
JM
9043 * configure.ac (base_machine): Do not set specially for particular
9044 machines here.
9045 * configure: Regenerated.
9046 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9047 settings from configure.ac.
9048 * sysdeps/i386/preconfigure: New file.
9049 * sysdeps/s390/preconfigure: Likewise.
9050 * sysdeps/sh/preconfigure: Likewise.
9051 * sysdeps/sparc/preconfigure: Likewise.
9052
06d50baa
RM
90532014-06-25 Roland McGrath <roland@hack.frob.com>
9054
74836003
RM
9055 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9056 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9057 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9058 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9059 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9060 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9061 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9062 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9063 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9064 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9065 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9066 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9067 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9068 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9069 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9070 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9071 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9072 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9073 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9074
9075 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9076 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9077 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9078 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9079 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9080 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9081 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9082 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9083 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9084 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9085 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9086 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9087 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9088 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9089 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9090 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9091 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9092 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9093 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9094 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9095 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9096 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9097 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9098 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9099 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9100 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9101 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9102 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9103 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9104 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9105 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9106 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9107 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9108 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9109 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9110 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9111 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9112 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9113
06d50baa
RM
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9115 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9119 Moved ...
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9121 ... here.
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9127 Moved ...
9128 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9129 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9134 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9136 Moved ...
9137 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9138 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9139 Moved ...
9140 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9142 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9144 Moved ...
9145 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9149 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9155 Moved ...
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9157 ... here.
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9161 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9163 Moved ...
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9170 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9171 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9172 Moved ...
9173 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9175 Moved ...
9176 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9177 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9178 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9179 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9180 Moved ...
9181 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9183 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9185 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9186
a4ccbc9b
JM
91872014-06-25 Joseph Myers <joseph@codesourcery.com>
9188
0828edbf
JM
9189 * timezone/checktab.awk: Update from tzcode 2014e.
9190 * timezone/private.h: Likewise.
9191 * timezone/tzfile.h: Likewise.
9192 * timezone/zdump.c: Likewise.
9193 * timezone/zic.c: Likewise.
9194
a4ccbc9b
JM
9195 * sysdeps/unix/sysv/linux/kernel-features.h
9196 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9197 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9198 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9199 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9200 Remove conditional code.
9201
9aea0cb8
WN
92022014-06-25 Will Newton <will.newton@linaro.org>
9203
9204 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9205 (_dl_arm_cap_flags): Add HWCAP2 values.
9206 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9207 (_DL_HWCAP_COUNT): Increase to 37.
9208 (_DL_HWCAP_LAST): New define.
9209 (_DL_HWCAP2_LAST): New define.
9210 (_dl_procinfo): Add support for printing
9211 AT_HWCAP2 entries.
9212 (_dl_string_hwcap): Use _dl_hwcap_string.
9213
6eaa65ce
AZ
92142014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9215
9216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9217
0f5b7185
JM
92182014-06-25 Joseph Myers <joseph@codesourcery.com>
9219
cfd2ea50
JM
9220 * README: Do not mention ports directory.
9221
cecf2ed4
JM
9222 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9223 Remove macro.
9224 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9225 <kernel-features.h>.
9226 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9227 conditional variable definition.
9228 (__futimes): Update comment.
9229 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9230 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9231
a638de82
JM
9232 [BZ #16560]
9233 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9234 arguments close to 0.
9235 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9236 Likewise.
9237 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9238 Likewise.
9239 * math/auto-libm-test-in: Add more tests of exp10.
9240 * math/auto-libm-test-out: Regenerated.
9241 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9242
0f5b7185
JM
9243 * sysdeps/unix/sysv/linux/kernel-features.h
9244 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9245 * sysdeps/unix/sysv/linux/readv.c: Do not include
9246 <kernel-features.h>.
9247 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9248 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9249 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9250 unconditional.
9251 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9252 conditional code.
9253 * sysdeps/unix/sysv/linux/writev.c: Do not include
9254 <kernel-features.h>.
9255 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9256 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9257 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9258 unconditional.
9259 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9260 conditional code.
9261
c7aec4be
WN
92622014-06-25 Will Newton <will.newton@linaro.org>
9263
9264 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9265 comment changes throughout the file. Remove checks
9266 for HAVE_*_H definitions that are not required.
9267 (__gen_tempname): Call abort if an unknown kind value is
9268 passed.
9269
c5241f95
AS
92702014-06-25 Andreas Schwab <schwab@suse.de>
9271
9272 [BZ #17086]
9273 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9274 scalbln, scalblnf, scalblnl in libc.
9275
911422da
SP
92762014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9277
9278 [BZ #17086]
9279 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9280 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9281 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9282
0d749bbe
RM
92832014-06-24 Roland McGrath <roland@hack.frob.com>
9284
9285 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9286 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9287 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9288 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9289 Update #include.
9290 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9291 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9292 Update #include.
9293 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9294 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9295 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9296 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9297 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9298 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9299 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9300 * sysdeps/x86/bits/semaphore.h: ... here.
9301 * sysdeps/x86/nptl/elide.h: Moved ...
9302 * sysdeps/x86/elide.h: ... here.
9303 * sysdeps/x86_64/nptl/Implies: File removed.
9304 * sysdeps/i386/nptl/Implies: File removed.
9305
0ea5d373
JM
93062014-06-24 Joseph Myers <joseph@codesourcery.com>
9307
4060283d
JM
9308 [BZ #16539]
9309 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9310 return the argument for normal arguments with exponent below -64.
9311 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9312 Likewise.
9313 * math/auto-libm-test-in: Add another test of expm1.
9314 * math/auto-libm-test-out: Regenerated.
9315
e7dd3c8c
JM
9316 [BZ #16287]
9317 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9318 calling __erfcl for arguments at least 16.
9319 * math/auto-libm-test-in: Add more tests of erf.
9320 * math/auto-libm-test-out: Regenerated.
9321
0ea5d373
JM
9322 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9323 individual architectures.
9324 * sysdeps/unix/sysv/linux/configure: Regenerated.
9325 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9326 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9327 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9328 (ldd_rewrite_script): Define variable.
9329 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9331 file.
9332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9333 generated file.
9334 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9335 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9336 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9337 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9338 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9339 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9340 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9341 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9342
2307e126
SP
93432014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9344
9345 [BZ #17084]
9346 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9347 Rename member __data.d to __data.__elision_data.
9348
c0a4ed77
W
93492014-06-24 Wilco <wdijkstr@arm.com>
9350
9351 * NEWS: Add 16918 to fixed bug list.
9352
b8c00573
W
93532014-06-24 Wilco <wdijkstr@arm.com>
9354
9355 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9356
b5570d92
W
93572014-06-24 Wilco <wdijkstr@arm.com>
9358
9359 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9360 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9361 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9362 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9363 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9364 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9365 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9366 Use _FPU_MASK_RM.
9367
947bdca2
W
93682014-06-24 Wilco <wdijkstr@arm.com>
9369
9370 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9371
00f669ed
W
93722014-06-24 Wilco <wdijkstr@arm.com>
9373
9374 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9375 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9376 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9377 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9378
db59bad3
W
93792014-06-24 Wilco <wdijkstr@arm.com>
9380
9381 [BZ #16918]
9382 * sysdeps/arm/feupdateenv.c (feupdateenv):
9383 Rewrite to reduce FPSCR accesses and fix return value.
9384
001f7b77
W
93852014-06-24 Wilco <wdijkstr@arm.com>
9386
9387 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9388 Optimize to avoid unnecessary FPSCR writes.
9389 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9390 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9391 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9392 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9393
4841e6a6
W
93942014-06-24 Wilco <wdijkstr@arm.com>
9395
9396 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9397 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9398 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9399 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9400 Call libc_fetestexcept_vfp.
9401 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9402 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9403 __SOFTFP__ ifdef so that they can be built for softfp.
9404
0813022c
SP
94052014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9406
08e5862f
SP
9407 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9408 argument type signed char.
9409
0813022c
SP
9410 * Makerules (check-abi): Dump diff of symlist if the test
9411 fails.
9412
3fc7236a
RM
94132014-06-23 Roland McGrath <roland@hack.frob.com>
9414
aba8ef95
RM
9415 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9416 using abort.
9417
3fc7236a
RM
9418 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9419 Remove unused variable ST.
9420
4da6db51
JM
94212014-06-23 Joseph Myers <joseph@codesourcery.com>
9422
4648909d
JM
9423 [BZ #16354]
9424 [BZ #17061]
9425 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9426 small arguments before calling __expm1.
9427 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9428 small arguments before calling __expm1f.
9429 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9430 small arguments before calling __expm1l.
9431 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9432 Likewise.
9433 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9434 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9435 spurious underflow for some cosh tests.
9436 * math/auto-libm-test-out: Regenerated.
9437 * sysdeps/i386/fpu/libm-test-ulps: Update.
9438
46a3d3c7
JM
9439 [BZ #17050]
9440 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9441 (__ieee754_y1): Set errno if return value overflows.
9442 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9443 (__ieee754_y1f): Set errno if return value overflows.
9444 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9445 (__ieee754_y1l): Set errno if return value overflows.
9446 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9447 (__ieee754_y1l): Set errno if return value overflows.
9448 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9449 * math/auto-libm-test-out: Regenerated.
9450
863893ec
JM
9451 * math/gen-auto-libm-tests.c: Document use of
9452 ignore-zero-inf-sign.
9453 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9454 (input_flags): Add ignore-zero-inf-sign.
9455 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9456 * math/gen-libm-test.pl (generate_testfile): Handle
9457 ignore-zero-inf-sign.
9458 * math/auto-libm-test-in: Mark some cpow tests with
9459 ignore-zero-inf-sign and some with xfail-rounding.
9460 * math/auto-libm-test-out: Regenerated.
9461 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9462 * sysdeps/i386/fpu/libm-test-ulps: Update.
9463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9464
4da6db51
JM
9465 [BZ #16315]
9466 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9467 overflowing or underflowing operations take place with sign of
9468 result.
9469 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9470 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9471 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9472 (__ieee754_pow): Recompute overflowing and underflowing results in
9473 original rounding mode.
9474 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9475 (__powl_helper): Allow negative argument X and scale negated value
9476 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9477 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9478 overflowing or underflowing operations take place with sign of
9479 result.
9480 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9481 Include <math.h>.
9482 * math/auto-libm-test-in: Add more tests of pow.
9483 * math/auto-libm-test-out: Regenerated.
9484 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9485 (pow_tonearest_test_data): Remove.
9486 (pow_test_tonearest): Likewise.
9487 (pow_towardzero_test_data): Likewise.
9488 (pow_test_towardzero): Likewise.
9489 (pow_downward_test_data): Likewise.
9490 (pow_test_downward): Likewise.
9491 (pow_upward_test_data): Likewise.
9492 (pow_test_upward): Likewise.
9493 (main): Don't call removed functions.
9494 * sysdeps/i386/fpu/libm-test-ulps: Update.
9495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9496
5686b236
RM
94972014-06-23 Roland McGrath <roland@hack.frob.com>
9498
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9500 Moved ...
9501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9503 Moved ...
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9505 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9506 Moved ...
9507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9509 Moved ...
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9512 File removed.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9514 File removed.
9515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9516 File removed.
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9518 File removed.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9520 File removed.
9521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9522 File removed.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9524 File removed.
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9526 File removed.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9528 File removed.
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9530 File removed.
9531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9532 File removed.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9534 File removed.
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9536 Moved ...
9537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9539 Moved ...
9540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9541 ... here.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9543 Moved ...
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9546 Moved ...
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9549 Moved ...
9550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9552 Moved ...
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9555 Moved ...
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9558 Moved ...
9559 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9561 Moved ...
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9565 ... here.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9567 Moved ...
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9570 Moved ...
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9572 ... here.
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9574 Moved ...
9575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9576 ... here.
9577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9578 Moved ...
9579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9580 ... here.
9581 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9582 Moved ...
9583 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9585 Moved ...
9586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9590 Moved ...
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9592 ... here.
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9594 Moved ...
9595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9596 ... here.
9597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9598 Moved ...
9599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9601 Moved ...
9602 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9604 Moved ...
9605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9607 Moved ...
9608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9610 Moved ...
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9612 ... here.
9613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9614 Moved ...
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9617 Moved ...
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9619 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9620 Moved ...
9621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9623 Moved ...
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9628 Moved ...
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9636 ... here.
9637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9638 Moved ...
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9640 ... here.
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9642 Moved ...
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9644 ... here.
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9646 Moved ...
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9649 Moved ...
9650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9652 Moved ...
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9655 Moved ...
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9657 ... here.
9658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9659 Moved ...
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9661 ... here.
9662 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9663 Moved ...
9664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9665 ... here.
9666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9667 Moved ...
9668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9670 Moved ...
9671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9672
e6d90d67
WD
96732014-06-23 Will Newton <will.newton@linaro.org>
9674 Wilco <wdijkstr@arm.com>
9675
9676 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9677 implementation. Include get-rounding-mode.h.
9678 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9679 [!libc_feholdsetround_noex_ctx]: Define
9680 libc_feholdsetround_noex_ctx.
9681 [!libc_feholdsetround_noexf_ctx]: Define
9682 libc_feholdsetround_noexf_ctx.
9683 [!libc_feholdsetround_noexl_ctx]: Define
9684 libc_feholdsetround_noexl_ctx.
9685 (libc_feholdsetround_ctx): New function.
9686 (libc_feresetround_ctx): New function.
9687 (libc_feholdsetround_noex_ctx): New function.
9688 (libc_feresetround_noex_ctx): New function.
9689
d42df555
RM
96902014-06-23 Roland McGrath <roland@hack.frob.com>
9691
88a46474
RM
9692 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9693 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9694 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9695 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9696 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9697 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9698
15bed472
RM
9699 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9700 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9701 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9702 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9703 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9704 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9706 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9708 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9710 Moved ...
9711 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9712 ... here.
9713 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9714 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9715 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9716 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9718 Moved ...
9719 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9720 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9721 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9725 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9726 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9727 Moved ...
9728 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9729 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9730 Moved ...
9731 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9732 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9733 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9734 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9735 Moved ...
9736 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9737 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9738 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9739 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9740 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9741 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9742 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9743 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9744 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9745 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9746 Moved ...
9747 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9748 ... here.
9749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9754 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9755 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9756 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9757 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9758 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9759 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9760 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9761 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9762 Moved ...
9763 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9764 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9765 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9766 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9767 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9768 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9769 Moved ...
9770 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9774 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9775
d42df555
RM
9776 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9777 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9778 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9779 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9780 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9781 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9782 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9783 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9784 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9785 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9786 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9787 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9788 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9789 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9790 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9791 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9792 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9793 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9794 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9795 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9796 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9797 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9798 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9799 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9800 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9801 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9802 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9803 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9804
76e5216e
JM
98052014-06-23 Joseph Myers <joseph@codesourcery.com>
9806
9807 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9808 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9809 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9810 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9811 (IPV6_PMTUDISC_INTERFACE): Likewise.
9812 (IPV6_PMTUDISC_OMIT): Likewise.
9813
7a81cbcc
AS
98142014-06-23 Andreas Schwab <schwab@suse.de>
9815
9816 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9817 Remove unused errout label.
9818
db224009
AZ
98192014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9820
9821 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9822 macro: hardware supports Vector Crypto instructions.
9823
f393b4aa
WN
98242014-06-23 Will Newton <will.newton@linaro.org>
9825
cc7d0447
WN
9826 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9827 rather than __builtin_expect.
9828
d6d06225
WN
9829 * elf/dl-lookup.c (undefined_msg): Remove variable.
9830 (_dl_lookup_symbol_x): Replace undefined_msg with string
9831 literal.
9832
f393b4aa
WN
9833 * elf/dl-lookup.c (do_lookup_unique): New function.
9834 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9835 to a separate function.
9836
ac60763e
AS
98372014-06-23 Andreas Schwab <schwab@suse.de>
9838
9839 [BZ #17079]
9840 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9841 before reading the next line.
9842
c5c13355
WN
98432014-06-23 Will Newton <will.newton@linaro.org>
9844
9845 * test-skeleton.c (signal_handler): Use printf and %m
9846 rather than perror. Use printf rather than fprintf to
9847 stderr. Use puts rather than fputs to stderr.
9848 (main): Likewise.
9849
bd3675f9
LC
98502014-06-22 Ludovic Courtès <ludo@gnu.org>
9851
9852 * nscd/nscd.c (thread_info_t): Remove typedef.
9853 (thread_info): Remove variable.
9854
d03efb2f
AM
98552014-06-21 Allan McRae <allan@archlinux.org>
9856
9857 * NEWS: Mention CVE-2014-4043.
9858
bc4a86fa
RM
98592014-06-20 Roland McGrath <roland@hack.frob.com>
9860
dc9a54f8
RM
9861 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9862 * nptl/smp.h: ... here.
9863
bd7022c4
RM
9864 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9865
26ffd5e6
RM
9866 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9867 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9868 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9869 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9870
93a6d082
RM
9871 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9872 * nptl/stack-aliasing.h: New file.
9873 * sysdeps/i386/i686/stack-aliasing.h: New file.
9874 * sysdeps/i386/i686/nptl/Makefile: File removed.
9875 * sysdeps/x86_64/stack-aliasing.h: New file.
9876 * sysdeps/x86_64/nptl/Makefile
9877 (CFLAGS-pthread_create.c): Variable removed.
9878
bc4a86fa
RM
9879 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9880 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9881 old file.
9882 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9883 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9884 old file.
9885
2272ffc1
JM
98862014-06-21 Joseph Myers <joseph@codesourcery.com>
9887
9888 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9889 (__ASSUME_SIGFRAME_V2): Remove macro.
9890 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9891 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9892 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9893 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9894 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9895 Declare as function. Remove conditional macro definitions.
9896 (__default_rt_sa_restorer): Likewise.
9897 (__default_sa_restorer_v1): Remove declaration.
9898 (__default_sa_restorer_v2): Likewise.
9899 (__default_rt_sa_restorer_v1): Likewise.
9900 (__default_rt_sa_restorer_v2): Likewise.
9901 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9902 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9903 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9904
4b88139b
RM
99052014-06-20 Roland McGrath <roland@hack.frob.com>
9906
9907 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9908 (libpthread-routines): Add sysdep.
9909 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9910 * sysdeps/unix/sysv/linux/sparc/Versions
9911 (libpthread: GLIBC_2.3.3): New version set.
9912 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9913 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9914 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9916 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9917 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9918 Moved ...
9919 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9920 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9921 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9923 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9924 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9925 * sysdeps/sparc/nptl/sem_init.c: ... here.
9926 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9927 * sysdeps/sparc/nptl/sem_post.c: ... here.
9928 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9929 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9930 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9931 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9933 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9934 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9935 (libpthread-routines): Add cpu_relax.
9936 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9937 File removed.
9938 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9939 (librt: GLIBC_2.3.3): New version set.
9940 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9941 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9942 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9943 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9944 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9945 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9946 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9948 Moved ...
9949 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9950 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9951 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9952 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9953 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9954 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9955 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9957 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9958 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9959 Moved ...
9960 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9961 Update #include.
9962 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9963 Moved ...
9964 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9965 Update #include.
9966 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9967 Moved ...
9968 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9969 Update #include.
9970 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9971 Moved ...
9972 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9973 Update #include.
9974 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9975 Moved ...
9976 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9977 Update #include.
9978 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9979 Moved ...
9980 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9981 Update #include.
9982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9983 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9984 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9985 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9986 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9987 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9988 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9989 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9990 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9991 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9992 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9993 Moved ...
9994 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9995 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9996 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9997 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9998 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9999
d7109027
JM
100002014-06-20 Joseph Myers <joseph@codesourcery.com>
10001
9bc6103d
JM
10002 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10003 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10004 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10005 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10006 * nscd/nscd.c: Likewise.
10007 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10008 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10009 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10010 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10011
d7109027
JM
10012 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10013 <kernel-features.h>.
10014 (init_mq_netlink): Remove conditional have_sock_cloexec
10015 definitions. Remove code conditional on have_sock_cloexec < 0.
10016 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10017 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10018 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10019 <kernel-features.h>.
10020 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10021 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10022
d92d8f8a
L
100232014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10024
10025 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10026 Add tests for memset_chk and memset.
10027
10028 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10029 with AVX2_Usable.
10030
4e6d2347
MR
100312014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10032
257ce712
MR
10033 [BZ #16046]
10034 * elf/tst-dl-iter-static.c: New file.
10035 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10036
4e6d2347
MR
10037 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10038 error.
10039
a2a76afe
JM
100402014-06-20 Joseph Myers <joseph@codesourcery.com>
10041
7fd00f99
JM
10042 * sysdeps/unix/sysv/linux/kernel-features.h
10043 (__ASSUME_F_GETOWN_EX): Remove macro.
10044 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10045 <kernel-features.h>.
10046 (miss_F_GETOWN_EX): Remove variable or macro.
10047 (do_fcntl): Do not check miss_F_GETOWN_EX.
10048 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10049
4a103975
JM
10050 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10051 Remove macro.
10052 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10053 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10054 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10055
a2a76afe
JM
10056 * sysdeps/unix/sysv/linux/kernel-features.h
10057 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10058 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10059 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10060 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10061
90e5dd48
MR
100622014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10063
10064 [BZ #17075]
10065 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10066 Fix calculation of the symbol's value.
10067 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10068 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10069 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10070 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10071 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10072 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10073 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10074 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10075 (modules-names): Add `tst-armtlsdescmod',
10076 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10077 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10078 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10079 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10080 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10081 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10082 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10083 ($(objpfx)tst-armtlsdescloc): New dependency.
10084 ($(objpfx)tst-armtlsdescextnow): Likewise.
10085 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10086 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10087 TLS scheme support.
10088 * sysdeps/arm/configure: Regenerate.
10089
809fdf0d
JM
100902014-06-20 Joseph Myers <joseph@codesourcery.com>
10091
10092 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10093 (__atfct_seterrno_2): Likewise.
10094 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10095 <kernel-features.h>.
10096 (__ASSUME_ATFCTS): Do not undefine and redefine.
10097 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10098 (__have_atfcts): Remove conditional definition.
10099 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10100 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10101 unreachable if [__ASSUME_ATFCTS].
10102 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10103 not undefine and redefine.
10104 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10105 <kernel-features.h>.
10106 (faccessat) [__NR_faccessat]: Make code unconditional.
10107 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10108 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10109 <kernel-features.h>.
10110 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10111 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10112 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10113 <kernel-features.h>.
10114 (fchownat) [__NR_fchownat]: Make code unconditional.
10115 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10116 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10117 <kernel-features.h>.
10118 (futimesat) [__NR_futimesat]: Make code unconditional.
10119 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10120 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10121 <kernel-features.h>.
10122 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10123 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10124 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10125 <kernel-features.h>.
10126 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10127 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10128 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10129 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10130 <kernel-features.h>.
10131 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10132 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10133 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10134 <kernel-features.h>.
10135 (linkat) [__NR_linkat]: Make code unconditional.
10136 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10137 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10138 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10139 <kernel-features.h>.
10140 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10141 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10142 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10143 <kernel-features.h>.
10144 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10145 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10146 * sysdeps/unix/sysv/linux/openat.c: Do not include
10147 <kernel-features.h>.
10148 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10149 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10150 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10151 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10152 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10153 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10154 <kernel-features.h>.
10155 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10156 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10157 result of INLINE_SYSCALL directly, not via int variable.
10158 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10159 <kernel-features.h>.
10160 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10161 (renameat) [__NR_renameat]: Make code unconditional.
10162 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10163 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10164 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10165 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10166 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10167 (__ASSUME_ATFCTS): Do not undefine and redefine.
10168 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10169 <kernel-features.h>.
10170 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10171 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10172 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10173 <kernel-features.h>.
10174 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10175 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10176 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10177 (__ASSUME_ATFCTS): Do not undefine and redefine.
10178 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10179 <kernel-features.h>.
10180 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10181 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10182 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10183 <kernel-features.h>.
10184 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10185 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10186
224c6c51
L
101872014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10188
10189 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10190
aa6ec754
AS
101912014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10192
10193 [BZ #17069]
10194 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10195 constructed tree before returning error.
10196 * posix/bug-regexp36.c: Expand test case.
10197
d8c2869d
SL
101982014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10199
3ef6b850
SL
10200 [BZ #6803]
10201 * math/libm-test.inc (scalbln_test_date):
10202 Add errno expectations.
10203 * math/w_scalblnf.c: New File.
10204 Add wrapper which checks for setting errno to ERANGE.
10205 Add weak_alias for corresponding scalbln function.
10206 * math/w_scalbln.c: Likewise.
10207 * math/w_scalblnl.c: Likewise.
10208 * math/Makefile (libm-calls): Add w_scalbln.
10209 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10210 Remove weak_alias for corresponding scalbln function.
10211 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10212 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10213 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10214 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10215 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10216 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10217 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10218 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10219 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10220 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10221 Remove long_double_symbol for scalblnl function in libm, libc.
10222 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10223 Add wrapper which checks for setting errno to ERANGE.
10224 Add long_double_symbol for scalblnl function in libm, libc.
10225 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10226 Remove long_double_symbol for scalblnl in libm.
10227 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10228 Add wrapper which checks for setting errno to ERANGE.
10229 Add long_double_symbol for scalblnl function in libm.
10230 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10231 Do not use wrapper because of own implementation.
10232
c8daec5c
L
102332014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10234
10235 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10236 3 bytes for __pad1 for x32.
10237 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10238
5c74e47c
LM
102392014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10240 H.J. Lu <hongjiu.lu@intel.com>
10241
10242 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10243 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10244 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10245 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10246 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10247
4d43ef1e
AS
102482014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10249
10250 [BZ #17069]
10251 * posix/regcomp.c (parse_expression): Deallocate partially
10252 constructed tree before returning error.
10253 * posix/Makefile.c (tests): Add bug-regex36.
10254 (generated): Add bug-regex36.mtrace.
10255 (tests-special): Add $(objpfx)bug-regex36-mem.out
10256 (bug-regex36-ENV): New variable.
10257 ($(objpfx)bug-regex36-mem.out): New rule.
10258 * posix/bug-regex36.c: New file.
10259
51a7380b
WN
102602014-06-19 Will Newton <will.newton@linaro.org>
10261
10262 * malloc/malloc.c (systrim): If extra is zero then return
10263 early.
10264
91b84fe5
SP
102652014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10266
10267 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10268
f940b965
RE
102692014-06-19 Richard Earnshaw <rearnsha@arm.com>
10270
10271 * sysdeps/aarch64/strchr.S: New file.
10272
4ba7a00f
JM
102732014-06-18 Joseph Myers <joseph@codesourcery.com>
10274
10275 [BZ #17022]
10276 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10277 from arguments -2 or below.
10278 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10279 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10280
b3a9f56b
AS
102812014-06-18 Andreas Schwab <schwab@suse.de>
10282
10283 [BZ #17062]
10284 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10285 of a bracket expr not to run off the end of the string.
10286 * posix/Makefile (tests): Add tst-fnmatch3.
10287 * posix/tst-fnmatch3.c: New file.
10288
85d89278
JM
102892014-06-18 Joseph Myers <joseph@codesourcery.com>
10290
10291 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10292 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10293 [$(cross-compiling) = no]: Likewise.
10294 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10295 [$(cross-compiling) = no]: Likewise.
10296
754c5a08
RS
102972014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10298
10299 [BZ #17031]
10300 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10301 double, adjusted for any remainder from the high double.
10302 * math/libm-test.inc (nearbyint): Add tests.
10303 (rint): Likewise.
10304
556f529d
AZ
103052014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10306
10307 * nptl/sysdeps/powerpc/Makefile: Moved ...
10308 * sysdeps/powerpc/nptl/Makefile: ... here.
10309 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10310 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10311 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10312 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10313 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10314 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10315 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10316 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10317 * nptl/sysdeps/powerpc/tls.h: Moved ...
10318 * sysdeps/powerpc/nptl/tls.h: ... here.
10319
91c03c53
JM
103202014-06-16 Joseph Myers <joseph@codesourcery.com>
10321
10322 [BZ #16681]
10323 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10324 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10325 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10326 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10327 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10328 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10329 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10330 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10331 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10332
a76e63c5
AS
103332014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10334
10335 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10336
f2f6d82f
AS
103372014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10338
ea8a15f6
AS
10339 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10340 defined operator.
10341
f2f6d82f
AS
10342 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10343 $TIMEOUTFACTOR.
10344
a7291117
FW
103452014-06-16 Florian Weimer <fweimer@redhat.com>
10346
10347 [BZ #17058]
10348 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10349 non-executed part of the test.
10350
3d7c00e3
AS
103512014-06-16 Andreas Schwab <schwab@suse.de>
10352
10353 * string/bits/string2.h (strdup, strndup): Update feature guard.
10354
6957fb31
DM
103552014-06-14 David S. Miller <davem@davemloft.net>
10356
10357 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10358
11b9e55b
AS
103592014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10360
1d2a0492
AS
10361 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10362 that was previously under [RESET_PID].
10363 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10364
11b9e55b
AS
10365 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10366 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10367 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10368 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10369 (__libc_vfork): New strong alias.
10370 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10371
0f6901d0
AK
103722014-06-14 Andi Kleen <ak@linux.intel.com>
10373
10374 * sysdeps/generic/elide.h: New file.
10375
38bbbb9f
SL
103762014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10377
10378 * Makefile (installed-headers): Adjust path of pthread.h header.
10379
45193bb8
RM
103802014-06-13 Roland McGrath <roland@hack.frob.com>
10381
9a25fd1e
RM
10382 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10383 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10384 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10385 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10386
4004f7e4
RM
10387 * nptl/sysdeps/s390/Makefile: Moved ...
10388 * sysdeps/s390/nptl/Makefile: ... here.
10389 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10390 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10391 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10392 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10393 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10394 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10395 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10396 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10397 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10398 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10399 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10400 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10401 * nptl/sysdeps/s390/tls.h: Moved ...
10402 * sysdeps/s390/nptl/tls.h: ... here.
10403
45193bb8
RM
10404 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10405 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10406
f6fdf533
DM
104072014-06-13 David S. Miller <davem@davemloft.net>
10408
10409 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10410 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10411 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10412 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10413 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10414 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10415 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10416 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10417 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10418 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10419 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10420 Remove RESET_PID cpp guards.
10421 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10422 Remove RESET_PID cpp guards.
10423 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10424
f5d71e14
AS
104252014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10426
10427 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10428 __sp to uintptr_t.
10429
b7aa8caa
AK
104302014-06-13 Andi Kleen <ak@linux.intel.com>
10431
4b266200
AZ
10432 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10433 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10434 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10435 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10436 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10437 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10438 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10439 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10441 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10442 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10443 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10444 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10445 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10446 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10447 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10448 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10449 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10451 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10452
10453 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10454 (pthread_rwlock_rdlock): Add elision.
10455 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10456 (pthread_rwlock_wrlock): Add elision.
10457 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10458 (pthread_rwlock_trywrlock): Add elision.
10459 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10460 (pthread_rwlock_tryrdlock): Add elision.
10461 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10462 (pthread_rwlock_tryrdlock): Add elision unlock.
10463 * nptl/sysdeps/pthread/pthread.h:
10464 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10465 (PTHREAD_RWLOCK_INITIALIZER,
10466 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10467 Handle new elision field.
10468 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10469 * sysdeps/arm/nptl/bits/pthreadtypes.h
10470 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10471 * sysdeps/sh/nptl/bits/pthreadtypes.h
10472 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10473 * sysdeps/tile/nptl/bits/pthreadtypes.h
10474 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10475 * sysdeps/a/nptl/bits/pthreadtypes.h
10476 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10477 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10478 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10479 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10480 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10481 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10483 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10484 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10485 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10486 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10487 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10488 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10489 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10490 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10491 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10492 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10493 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10494 (elision_init): Set try_xbegin to zero when no RTM.
10495 * sysdeps/x86/nptl/bits/pthreadtypes.h
10496 (pthread_rwlock_t): Change __pad1 to __rwelision.
10497 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10498
a832bdd3
AK
104992014-06-13 Andi Kleen <ak@linux.intel.com>
10500
10501 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10502 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10503 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10504 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10505
995a46bb
MI
105062014-06-13 Meador Inge <meadori@codesourcery.com>
10507
10508 [BZ #16996]
03ed7738 10509 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10510 that the cached result has been set before returning it.
10511
45262aee
RM
105122014-06-12 Roland McGrath <roland@hack.frob.com>
10513
febf6cc5
RM
10514 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10515 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10516 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10517 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10518 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10519 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10520
e2682246
RM
10521 * nptl/sysdeps/sparc/Makefile: Moved ...
10522 * sysdeps/sparc/nptl/Makefile: ... here.
10523 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10524 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10525 * nptl/sysdeps/sparc/tls.h: Moved ...
10526 * sysdeps/sparc/nptl/tls.h: ... here.
10527 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10528 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10529 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10530 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10531 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10532 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10533 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10534 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10535 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10536 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10537 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10538 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10539 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10540 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10541 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10542 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10543 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10544 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10545 Update #include.
10546 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10547 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10548 Update #include.
10549 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10550 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10551 Update #include.
10552 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10553 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10554 Update #include.
10555
b0725f43
RM
10556 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10557
b14368b8
RM
10558 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10559 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10560
c5620eb3
RM
10561 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10562 (struct list_links): Type removed.
10563 (struct thread_node, struct timer_node): Replace struct list_links
10564 with struct list_head.
10565 (list_unlink_ip): Likewise.
10566 * sysdeps/pthread/timer_routines.c
10567 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10568 (list_append, list_insbefore): Likewise.
10569 (list_init): Function removed.
10570 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10571 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10572 * sysdeps/pthread/Makefile: ... here, new file.
10573
10574 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10575 * sysdeps/nptl/Implies: ... here.
10576 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10577 * nptl/sysdeps/pthread/list.h: Moved ...
10578 * include/list.h: ... here.
10579 * nptl/sysdeps/pthread/createthread.c: Moved ...
10580 * nptl/createthread.c: ... here.
10581 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10582 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10583 * nptl/pt-longjmp.c: ... here.
10584 * nptl/sysdeps/pthread/Makefile: Moved ...
10585 * sysdeps/nptl/Makefile: ... here.
10586 * nptl/sysdeps/pthread/Subdirs: Moved ...
10587 * sysdeps/nptl/Subdirs: ... here.
10588 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10589 * sysdeps/nptl/aio_misc.h: ... here.
10590 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10591 * sysdeps/nptl/bits/libc-lock.h: ... here.
10592 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10593 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10594 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10595 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10596 * nptl/sysdeps/pthread/configure: Moved ...
10597 * sysdeps/nptl/configure: ... here.
10598 * nptl/sysdeps/pthread/configure.ac: Moved ...
10599 * sysdeps/nptl/configure.ac: ... here.
10600 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10601 * sysdeps/nptl/gai_misc.h: ... here.
10602 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10603 * sysdeps/nptl/librt-cancellation.c: ... here.
10604 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10605 * sysdeps/nptl/malloc-machine.h: ... here.
10606 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10607 * sysdeps/nptl/pthread-functions.h: ... here.
10608 * nptl/sysdeps/pthread/pthread.h: Moved ...
10609 * sysdeps/nptl/pthread.h: ... here.
10610 * nptl/sysdeps/pthread/setxid.h: Moved ...
10611 * sysdeps/nptl/setxid.h: ... here.
10612 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10613 * sysdeps/nptl/sigfillset.c: ... here.
10614 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10615 * sysdeps/nptl/tcb-offsets.h: ... here.
10616 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10617 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10618 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10619 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10620 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10621 * sysdeps/pthread/allocalim.h: ... here.
10622 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10623 * sysdeps/pthread/bits/sigthread.h: ... here.
10624 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10625 * sysdeps/pthread/flockfile.c: ... here.
10626 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10627 * sysdeps/pthread/ftrylockfile.c: ... here.
10628 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10629 * sysdeps/pthread/funlockfile.c: ... here.
10630 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10631 * sysdeps/pthread/posix-timer.h: ... here.
10632 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10633 * sysdeps/pthread/timer_create.c: ... here.
10634 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10635 * sysdeps/pthread/timer_delete.c: ... here.
10636 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10637 * sysdeps/pthread/timer_getoverr.c: ... here.
10638 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10639 * sysdeps/pthread/timer_gettime.c: ... here.
10640 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10641 * sysdeps/pthread/timer_routines.c: ... here.
10642 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10643 * sysdeps/pthread/timer_settime.c: ... here.
10644 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10645 * sysdeps/pthread/tst-timer.c: ... here.
10646 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10647 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10648
e876b090
RM
10649 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10650 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10651
f6b07b3d
RM
10652 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10653 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10654 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10655 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10656 Update #include target.
10657 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10658 * sysdeps/i386/i686/nptl/Makefile: ... here.
10659 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10660 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10661 Update #include target.
10662 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10663 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10664 * nptl/sysdeps/i386/Makefile: Moved ...
10665 * sysdeps/i386/nptl/Makefile: ... here.
10666 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10667 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10668 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10669 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10670 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10671 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10672 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10673 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10674 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10675 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10676 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10677 * nptl/sysdeps/i386/tls.h: Moved ...
10678 * sysdeps/i386/nptl/tls.h: ... here.
10679
45262aee
RM
10680 * sysdeps/sh/Makefile [$(subdir) = csu]
10681 (gen-as-const-headers): Add tcb-offsets.sym.
10682 * nptl/sysdeps/sh/Makefile: File removed.
10683 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10684 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10685 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10686 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10687 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10688 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10689 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10690 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10691 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10692 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10693 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10694 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10695 * nptl/sysdeps/sh/tls.h: Moved ...
10696 * sysdeps/sh/nptl/tls.h: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10698 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10699 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10700 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10701 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10702 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10703 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10704 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10705 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10706 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10707 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10708 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10710 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10711 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10712 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10713 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10714 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10715 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10716 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10718 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10719 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10720 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10721 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10722 Moved ...
10723 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10725 Moved ...
10726 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10727 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10728 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10729 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10730 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10731 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10732 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10733 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10734 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10735 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10736 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10737 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10738 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10739 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10740 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10741 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10742 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10743 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10744 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10745
35a5e3e3
SL
107462014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10747
10748 * posix/spawn_faction_addopen.c: Include string.h.
10749
14642b85
RM
107502014-06-11 Roland McGrath <roland@hack.frob.com>
10751
10752 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10753 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10754 * nptl/sysdeps/x86_64/Makefile: Moved ...
10755 * sysdeps/x86_64/nptl/Makefile: ... here.
10756 * nptl/sysdeps/x86_64/configure: Moved ...
10757 * sysdeps/x86_64/nptl/configure: ... here.
10758 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10759 * sysdeps/x86_64/nptl/configure.ac: ... here.
10760 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10761 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10762 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10763 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10764 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10765 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10766 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10767 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10768 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10769 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10770 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10771 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10772 * nptl/sysdeps/x86_64/tls.h: Moved ...
10773 * sysdeps/x86_64/nptl/tls.h: ... here.
10774 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10775 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10776 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10777 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10778
10779 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10780
31c44fea
AZ
107812014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10782
10783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10784
e81a4f9a
JM
107852014-06-11 Joseph Myers <joseph@codesourcery.com>
10786
10787 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10788 type.
10789 [POSIX] (off_t): Likewise.
10790 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10791 [POSIX] (S_ISBLK): Require macro.
10792 [POSIX] (S_ISCHR): Likewise.
10793 [POSIX] (S_ISDIR): Likewise.
10794 [POSIX] (S_ISFIFO): Likewise.
10795 [POSIX] (S_ISREG): Likewise.
10796 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10797 optional-macro.
10798 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10799 type.
10800 [POSIX] (time_t): Likewise.
10801 [POSIX] (timer_t): Likewise.
10802
89e435f3
FW
108032014-06-11 Florian Weimer <fweimer@redhat.com>
10804
10805 [BZ #17048]
10806 * posix/spawn_int.h (struct __spawn_action): Make the path string
10807 non-const to support deallocation.
10808 * posix/spawn_faction_addopen.c
10809 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10810 * posix/spawn_faction_destroy.c
10811 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10812 path in all spawn_do_open actions.
10813 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10814 posix_spawn_file_actions_addopen.
10815
c3a2ebe1
CM
108162014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10817
10818 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10819 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10820 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10821 conditional code always true.
10822 (__libc_vfork): New alias.
10823
9503784a
RM
108242014-06-11 Roland McGrath <roland@hack.frob.com>
10825
c9cab3d2
RM
10826 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10827 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10828
d3996c79
RM
10829 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10830
ba5ec611
RM
10831 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10832 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10833
f12b4814
RM
10834 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10835 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10836
9503784a
RM
10837 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10838 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10839
e23d3d26
VR
108402014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10841
10842 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10843 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10844 multiarch strcmp for PPC64.
10845 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10846 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10847 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10848 multiarch optimizations.
10849 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10850 (__libc_ifunc_impl_list): Likewise.
10851
42b1161e
SP
108522014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10853
10854 * benchtests/scripts/validate_benchout.py: New script.
10855 * benchtests/Makefile (bench-func): Call it.
10856 * benchtests/scripts/benchout.schema.json: New file.
10857
2d0fc4dc
CM
108582014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10859
4a594c34
AZ
10860 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10861 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10862 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10863 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10864 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10865 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10866 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10867 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10868 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10869 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10870 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10871 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10872 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10873 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10874 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10875 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10877 Moved ...
4a594c34 10878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10879 ... here.
4a594c34 10880 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10881 Moved ...
4a594c34
AZ
10882 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10884 Moved ...
4a594c34 10885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10886 ... here.
4a594c34 10887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10888 Moved ...
4a594c34 10889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10890 ... here.
4a594c34 10891 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10892 Moved ...
4a594c34
AZ
10893 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10895 Moved ...
4a594c34 10896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10897 ... here.
4a594c34 10898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10899 Moved ...
4a594c34 10900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10901 ... here.
4a594c34 10902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10903 Moved ...
4a594c34
AZ
10904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10906 Moved ...
4a594c34 10907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10908 ... here.
4a594c34 10909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10910 Moved ...
4a594c34 10911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10912 ... here.
4a594c34 10913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10914 Moved ...
4a594c34 10915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10916 ... here.
4a594c34 10917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10918 Moved ...
4a594c34
AZ
10919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10921 Moved ...
4a594c34 10922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10923 ... here.
4a594c34 10924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10925 Moved ...
4a594c34 10926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10927 ... here.
4a594c34 10928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10929 Moved ...
4a594c34 10930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10931 ... here.
4a594c34 10932 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10933 Moved ...
4a594c34
AZ
10934 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10936 Moved ...
4a594c34 10937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10938 ... here.
4a594c34 10939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10940 Moved ...
4a594c34 10941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10942 ... here.
4a594c34 10943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10944 Moved ...
4a594c34
AZ
10945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10947 Moved ...
4a594c34 10948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10949 ... here.
4a594c34 10950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10951 Moved ...
4a594c34
AZ
10952 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10954 Moved ...
4a594c34
AZ
10955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10957 Moved ...
4a594c34 10958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10959 ... here.
4a594c34 10960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10961 Moved ...
4a594c34 10962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10963 ... here.
4a594c34 10964 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10965 Moved ...
4a594c34 10966 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10967 ... here.
4a594c34 10968 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10969 Moved ...
4a594c34
AZ
10970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10971 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10972 Moved ...
4a594c34 10973 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10974 ... here.
4a594c34 10975 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10976 Moved ...
4a594c34 10977 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10978 ... here.
4a594c34
AZ
10979 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10980 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10981 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10984 Moved ...
4a594c34 10985 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10986 ... here.
4a594c34
AZ
10987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 11000 Moved ...
4a594c34
AZ
11001 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11002 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 11003 Moved ...
4a594c34
AZ
11004 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11005 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11006 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11007 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 11008 Moved ...
4a594c34
AZ
11009 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11010 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11011 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11012 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11013 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11014 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11015 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11016
0570cfed
W
110172014-06-10 Wilco <wdijkstr@arm.com>
11018
11019 * math/test-fenv-return.c: New file.
11020 * math/Makefile: Add new test test-fenv-return.
11021
f8ba1b56
JM
110222014-06-10 Joseph Myers <joseph@codesourcery.com>
11023
11024 [BZ #17042]
11025 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11026 when x - 1 is zero.
11027 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11028 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11029 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11030 0.0L for an argument of 1.0L.
11031 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11032 Likewise.
11033 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11034 value when x - 1 is zero.
11035 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11036 * sysdeps/i386/fpu/libm-test-ulps: Update.
11037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11038
2c3520d9
BO
110392014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11040
11041 [BZ #15119]
11042 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11043
acaa4d24
RM
110442014-06-09 Roland McGrath <roland@hack.frob.com>
11045
11046 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11047 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11048
962b744d
RM
110492014-06-09 Roland McGrath <roland@hack.frob.com>
11050
d752f0cc
RM
11051 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11052 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11053
34eda6d1
RM
11054 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11055 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11056
50f0a637
RM
11057 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11058 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11059
08f41f04
RM
11060 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11061 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11062
962b744d
RM
11063 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11064 if not already defined.
11065 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11066 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11067 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11068 (TLS_INIT_TP): Use it.
11069 (TLS_DEFINE_INIT_TP): New macro.
11070 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11071
09f19b05
JM
110722014-06-09 Joseph Myers <joseph@codesourcery.com>
11073
11074 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11075 constant.
11076 [POSIX] (IXANY): Likewise.
11077 [POSIX] (OLCUC): Likewise.
11078 [POSIX || POSIX2008] (CBAUD): Do not allow.
11079 [POSIX || POSIX2008] (DEFECHO): Likewise.
11080 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11081 [POSIX || POSIX2008] (ECHOKE): Likewise.
11082 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11083 [POSIX || POSIX2008] (EXTA): Likewise.
11084 [POSIX || POSIX2008] (EXTB): Likewise.
11085 [POSIX || POSIX2008] (FLUSHO): Likewise.
11086 [POSIX || POSIX2008] (LOBLK): Likewise.
11087 [POSIX || POSIX2008] (PENDIN): Likewise.
11088 [POSIX || POSIX2008] (SWTCH): Likewise.
11089 [POSIX || POSIX2008] (VDISCARD): Likewise.
11090 [POSIX || POSIX2008] (VDSUSP): Likewise.
11091 [POSIX || POSIX2008] (VLNEXT): Likewise.
11092 [POSIX || POSIX2008] (VREPRINT): Likewise.
11093 [POSIX || POSIX2008] (VSTATUS): Likewise.
11094 [POSIX || POSIX2008] (VWERASE): Likewise.
11095 (B*): Change to B[0123456789]*.
11096 * conform/data/time.h-data [POSIX || UNIX98]
11097 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11098 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11099 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11100 [POSIX] (tm_*): Do not allow.
11101
686554bf
JM
111022014-06-07 Joseph Myers <joseph@codesourcery.com>
11103
11104 * Makefile (install): Don't set LANGUAGE.
11105 * Makefile.in (install): Likewise.
11106 * assert/Makefile (test-assert-ENV): Remove variable.
11107 (test-assert-perr-ENV): Likewise.
11108 * elf/Makefile (neededtest4-ENV): Likewise.
11109 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11110 [$(cross-compiling) = no]: Don't set LANGUAGE.
11111 * io/ftwtest-sh (LANG): Remove variable.
11112 * libio/Makefile (tst-widetext-ENV): Likewise.
11113 * manual/install.texi (Running make install): Don't refer to
11114 environment settings for make install.
11115 * INSTALL: Regenerated.
11116 * nptl/tst-tls6.sh: Don't set LANG.
11117 * posix/globtest.sh (LANG): Remove variable.
11118 * string/Makefile (tester-ENV): Likewise.
11119 (inl-tester-ENV): Likewise.
11120 (noinl-tester-ENV): Likewise.
11121 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11122 [$(cross-compiling) = no]: Don't set LANGUAGE.
11123 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11124 without explicit environment settings.
11125
68e6b6b1
RM
111262014-06-06 Roland McGrath <roland@hack.frob.com>
11127
11128 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11129 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11130 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11131 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11132
4d3ae034
CM
111332014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11134
11135 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11136 other files in the crypt directory.
11137 * crypt/crypt.c: Remove duplicate includes.
11138 * crypt/crypt-entry.c: Likewise.
11139 * crypt/crypt_util.c: Likewise.
11140
8540f6d2
JM
111412014-06-06 Joseph Myers <joseph@codesourcery.com>
11142
11143 * Makeconfig (run-program-env): New variable.
11144 (run-program-prefix-before-env): Likewise.
11145 (run-program-prefix-after-env): Likewise.
11146 (run-program-prefix): Define in terms of new variables.
11147 (built-program-cmd-before-env): New variable.
11148 (built-program-cmd-after-env): Likewise.
11149 (built-program-cmd): Define in terms of new variables.
11150 (test-program-prefix-before-env): New variable.
11151 (test-program-prefix-after-env): Likewise.
11152 (test-program-prefix): Define in terms of new variables.
11153 (test-program-cmd-before-env): New variable.
11154 (test-program-cmd-after-env): Likewise.
11155 (test-program-cmd): Define in terms of new variables.
11156 * Rules (make-test-out): Use $(run-program-env).
11157 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11158 (help): Do not mention environment variables. Mention
11159 --timeoutfactor option.
11160 (timeoutfactor): New variable.
11161 (blacklist_exports): Remove function.
11162 (exports): Remove variable.
11163 (command): Do not include ${exports}.
11164 * manual/install.texi (Configuring and compiling): Do not mention
11165 test wrappers preserving environment variables. Mention that last
11166 assignment to a variable must take precedence.
11167 * INSTALL: Regenerated.
11168 * benchtests/Makefile (run-bench): Use $(run-program-env).
11169 * catgets/Makefile ($(objpfx)test1.cat): Use
11170 $(built-program-cmd-before-env), $(run-program-env) and
11171 $(built-program-cmd-after-env).
11172 ($(objpfx)test2.cat): Do not specify environment variables
11173 explicitly.
11174 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11175 $(run-program-env) and $(built-program-cmd-after-env).
11176 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11177 $(run-program-env) and $(test-program-cmd-after-env).
11178 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11179 explicitly.
11180 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11181 run_program_env and test_program_cmd_after_env arguments.
11182 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11183 * elf/tst-pathopt.sh: Use run_program_env argument.
11184 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11185 $(test-wrapper-env) and $(run-program-env).
11186 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11187 run_program_env arguments.
11188 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11189 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11190 $(test-program-prefix-before-env), $(run-program-env) and
11191 $(test-program-prefix-after-env).
11192 ($(objpfx)tst-gettext2.out): Likewise.
11193 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11194 run_program_env and test_program_prefix_after_env arguments.
11195 * intl/tst-gettext2.sh: Likewise.
11196 * intl/tst-gettext4.sh: Do not set environment variables
11197 explicitly.
11198 * intl/tst-gettext6.sh: Likewise.
11199 * intl/tst-translit.sh: Likewise.
11200 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11201 $(test-program-prefix-before-env), $(run-program-env) and
11202 $(test-program-prefix-after-env).
11203 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11204 run_program_env and test_program_prefix_after_env arguments.
11205 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11206 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11207 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11208 explicitly with each use of ${test_wrapper_env}.
11209 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11210 $(test-program-prefix-before-env), $(run-program-env) and
11211 $(test-program-prefix-after-env).
11212 * posix/tst-getconf.sh: Do not set environment variables
11213 explicitly.
11214 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11215 run_program_env and test_program_prefix_after_env arguments.
11216 * stdio-common/tst-printf.sh: Do not set environment variables
11217 explicitly.
11218 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11219 $(test-program-prefix-before-env), $(run-program-env) and
11220 $(test-program-prefix-after-env).
11221 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11222 run_program_env and test_program_prefix_after_env arguments.
11223 Split $test calls into $test_pre and $test.
11224 * timezone/Makefile (build-testdata): Use
11225 $(built-program-cmd-before-env), $(run-program-env) and
11226 $(built-program-cmd-after-env).
11227
ed36bfa1
AZ
112282014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11229
11230 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11231 strlen for non SHARED builds.
11232
fc75bf46
SP
112332014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11234
11235 * nptl/allocatestack.c (check_list): Inlined function...
11236 (__reclaim_stacks): ... here.
11237
d89b3d80
OB
112382014-06-05 Ondřej Bílka <neleai@seznam.cz>
11239
11240 [BZ #15698]
11241 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11242 memory overrun.
11243
2bf18041
JM
112442014-06-05 Joseph Myers <joseph@codesourcery.com>
11245
11246 * Rules (make-test-out): Include
11247 LOCPATH=$(common-objpfx)localedata in default environment.
11248 * debug/Makefile (tst-chk1-ENV): Remove variable.
11249 (tst-chk2-ENV): Likewise.
11250 (tst-chk3-ENV): Likewise.
11251 (tst-chk4-ENV): Likewise.
11252 (tst-chk5-ENV): Likewise.
11253 (tst-chk6-ENV): Likewise.
11254 (tst-lfschk1-ENV): Likewise.
11255 (tst-lfschk2-ENV): Likewise.
11256 (tst-lfschk3-ENV): Likewise.
11257 (tst-lfschk4-ENV): Likewise.
11258 (tst-lfschk5-ENV): Likewise.
11259 (tst-lfschk6-ENV): Likewise.
11260 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11261 (tst-iconv7-ENV): Likewise.
11262 * intl/Makefile (LOCPATH-ENV): Likewise.
11263 (tst-codeset-ENV): Likewise.
11264 (tst-gettext3-ENV): Likewise.
11265 (tst-gettext5-ENV): Likewise.
11266 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11267 (tst-fopenloc-ENV): Likewise.
11268 (tst-fgetws-ENV): Remove variable.
11269 (tst-ungetwc1-ENV): Likewise.
11270 (tst-ungetwc2-ENV): Likewise.
11271 (bug-ungetwc2-ENV): Likewise.
11272 (tst-swscanf-ENV): Likewise.
11273 (bug-ftell-ENV): Likewise.
11274 (tst-fgetwc-ENV): Likewise.
11275 (tst-fseek-ENV): Likewise.
11276 (tst-ftell-partial-wide-ENV): Likewise.
11277 (tst-ftell-active-handler-ENV): Likewise.
11278 (tst-ftell-append-ENV): Likewise.
11279 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11280 (tst-regexloc-ENV): Likewise.
11281 (bug-regex1-ENV): Likewise.
11282 (tst-regex-ENV): Likewise.
11283 (tst-regex2-ENV): Likewise.
11284 (bug-regex5-ENV): Likewise.
11285 (bug-regex6-ENV): Likewise.
11286 (bug-regex17-ENV): Likewise.
11287 (bug-regex18-ENV): Likewise.
11288 (bug-regex19-ENV): Likewise.
11289 (bug-regex20-ENV): Likewise.
11290 (bug-regex22-ENV): Likewise.
11291 (bug-regex23-ENV): Likewise.
11292 (bug-regex25-ENV): Likewise.
11293 (bug-regex26-ENV): Likewise.
11294 (bug-regex30-ENV): Likewise.
11295 (bug-regex32-ENV): Likewise.
11296 (bug-regex33-ENV): Likewise.
11297 (bug-regex34-ENV): Likewise.
11298 (bug-regex35-ENV): Likewise.
11299 (tst-rxspencer-ENV): Likewise.
11300 (tst-rxspencer-no-utf8-ENV): Likewise.
11301 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11302 (tst-sscanf-ENV): Likewise.
11303 (tst-swprintf-ENV): Likewise.
11304 (tst-swscanf-ENV): Likewise.
11305 (test-vfprintf-ENV): Likewise.
11306 (scanf13-ENV): Likewise.
11307 (bug14-ENV): Likewise.
11308 (tst-grouping-ENV): Likewise.
11309 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11310 (tst-strtod3-ENV): Likewise.
11311 (tst-strtod4-ENV): Likewise.
11312 (tst-strtod5-ENV): Likewise.
11313 (testmb2-ENV): Likewise./
11314 * string/Makefile (tst-strxfrm-ENV): Likewise.
11315 (tst-strxfrm2-ENV): Likewise.
11316 (bug-strcoll1-ENV): Likewise.
11317 (test-strcasecmp-ENV): Likewise.
11318 (test-strncasecmp-ENV): Likewise.
11319 * time/Makefile (tst-strptime-ENV): Likewise.
11320 (tst-ftime_l-ENV): Likewise.
11321 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11322 (tst-mbrtowc-ENV): Likewise.
11323 (tst-wcrtomb-ENV): Likewise.
11324 (tst-mbrtowc2-ENV): Likewise.
11325 (tst-c16c32-1-ENV): Likewise.
11326 (tst-mbsnrtowcs-ENV): Likewise.
11327
cd1fb604
OB
113282014-06-05 Ondřej Bílka <neleai@seznam.cz>
11329
11330 * manual/resource.texi (How to get information about the memory
11331 subsystem?): Fix typo.
11332 Reported by Peon de la Parra Ivan <peon@keba.com>
11333
b42eca7d
GY
113342014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11335
11336 [BZ #16882]
11337 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11338 (pthread_spin_lock): Branch out of spin loop to proper location.
11339 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11340 (pthread_spin_lock): Likewise.
11341
902b71f9
DM
11342 * nptl/tst-spin4.c: New test.
11343 * nptl/Makefile (tests): Add tst-spin4.
11344
f9d2d032
AS
113452014-06-03 Andreas Schwab <schwab@suse.de>
11346
11347 [BZ #15946]
11348 * resolv/res_send.c (send_dg): Reload file descriptor after
11349 calling reopen.
11350
cf7bfd28
SL
113512014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11352
11353 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11354
111cc714
RH
113552014-06-03 Richard Henderson <rth@redhat.com>
11356
89b4bd6b
RH
11357 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11358 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11359 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11360 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11361 in the SAVE_PID block.
11362 (__libc_vfork): New alias.
71840409 11363 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11364
111cc714
RH
11365 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11366 child in registers, not on the stack. Remove RESET_PID conditionals.
11367 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11368
ccc39911
MS
113692014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11370
11371 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11372
693096cc
W
113732014-06-03 Wilco <wdijkstr@arm.com>
11374
11375 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11376 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11377 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11378 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11379 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11380 Likewise.
11381
0b4366bc
W
113822014-06-03 Wilco <wdijkstr@arm.com>
11383
11384 * sysdeps/aarch64/fpu/math_private.h
11385 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11386 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11387 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11388 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11389 Fix declarations.
11390
8747cd03
KS
113912014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11392
11393 * crypt/crypt-private.h: Include ufc-crypt.h.
11394 (__b64_from_24bit): Declare extern.
11395 * crypt/crypt_util.c(__b64_from_24bit): New function.
11396 (b64t): New static const variable.
11397 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11398 (b64t): Remove variable.
11399 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11400 * crypt/sha256-crypt.c: Include crypt-private.h.
11401 (b64t): Remove variable.
11402 (__sha256_crypt_r): Remove b64_from_24bit and replace
11403 with __b64_from_24bit.
11404 * crypt/sha512-crypt.c: Likewise.
11405
d936d379
RM
114062014-06-02 Roland McGrath <roland@hack.frob.com>
11407
11408 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11409 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11410 Label the code __libc_vfork rather than __vfork.
11411 [!NOT_IN_libc] (vfork): Define as weak alias.
11412 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11413 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11414 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11415
9fa76613
SP
114162014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11417
11418 * malloc/malloc.c (malloc_info): Fix format specifier for
11419 n_mmaps.
11420
a88dadbe
W
114212014-06-02 Wilco <wdijkstr@arm.com>
11422
11423 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11424 FPCR write.
11425
c95b3011
W
114262014-06-02 Wilco <wdijkstr@arm.com>
11427
11428 [BZ #17009]
11429 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11430 Rewrite to reduce FPCR/FPSR accesses.
11431
6b4d7a90
DM
114322014-06-01 David S. Miller <davem@davemloft.net>
11433
11434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11435
30f3d07c
DM
114362014-05-31 David S. Miller <davem@davemloft.net>
11437
11438 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11439 to occur in round to nearest mode when |x| >= 2.0
11440
74f31c18
RH
114412014-05-30 Richard Henderson <rth@twiddle.net>
11442
f0712b54
RH
11443 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11444 (PSEUDO_RET_NOERRNO): Remove.
11445 (ret): Don't redefine.
11446 (ret_NOERRNO): Define in terms of ret.
11447 (ret_ERRVAL): Likewise.
11448
74f31c18
RH
11449 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11450 use of PSEUDO_RET; perform the error check directly.
11451
30477995
MM
114522014-05-30 Marko Myllynen <myllynen@redhat.com>
11453
11454 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11455 with __int128_t.
11456
62a58816
SP
114572014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11458
11459 * malloc/malloc (malloc_info): Fix formatting.
11460
4d653a59
SP
114612014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11462 Roland McGrath <roland@hack.frob.com>
11463
11464 * malloc/malloc (malloc_info): Also print mmapped statistics.
11465
5190c17f
RM
114662014-05-30 Roland McGrath <roland@hack.frob.com>
11467
11468 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11469 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11470
987c0269
OB
114712014-05-30 Ondřej Bílka <neleai@seznam.cz>
11472
11473 * malloc/malloc.c (malloc_info): Inline mi_arena.
11474
af4e8ef9
RH
114752014-05-29 Richard Henderson <rth@twiddle.net>
11476
1670e207
RH
11477 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11478 Remove comma before expanding ASM_ARGS_##nr.
11479 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11480 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11481 of ASM_ARGS_##nr.
11482 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11483 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11484 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11485 (ASM_ARGS_1): Add leading comma.
11486
11a28aee
RH
11487 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11488 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11489 to __errno_location.
11490 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11491 Remove the expected plt for __errno_location.
11492
a17e5ffb 11493 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11494 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11495 call to __read_tp.
11496
b5be4597
RH
11497 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11498 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11499 it and break it down.
11500 (DOCARGS_0, DOCARGS_1): Do nothing.
11501 (DOCARGS_2): Update to store into the new stack frame.
11502 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11503 (UNDOCARGS_1): Update to restore from the new stack frame.
11504 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11505 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11506
645d44ab
RH
11507 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11508 (SINGLE_THREAD_P): New parameter for result regno.
11509 (PSEUDO): Update to match; use cbz instead of beq.
11510
a8b4f04a
RH
11511 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11512 Use ENTRY to define the _nocancel entry point. Share the syscall
11513 and syscall error check paths with the cancel path.
11514 (PSEUDO_END): New.
11515
af4e8ef9
RH
11516 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11517 whitespace; tabs before and after asm mnemonics.
11518
26b0d2e1
EW
115192014-05-29 Eric Wong <normalperson@yhbt.net>
11520
11521 [BZ #15132]
11522 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11523 Call fstat64 or stat64 internally, depending on arguments passed.
11524 Replace stat buffer argument with file descriptor argument.
11525 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11526 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11527 Pass fd to __internal_statvfs instead of calling fstat64.
11528 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11529 Pass fd to __internal_statvfs64 instead of calling fstat64.
11530 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11531 Pass -1 to __internal_statvfs instead of calling stat64.
11532 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11533 Pass -1 to __internal_statvfs64 instead of calling stat64.
11534
1efe2bd9
RM
115352014-05-28 Roland McGrath <roland@hack.frob.com>
11536
0d3b7a19
RM
11537 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11538 that was previously under [RESET_PID].
11539 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11540
1efe2bd9
RM
11541 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11542 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11543
a6bea3ca
RM
115442014-05-27 Roland McGrath <roland@hack.frob.com>
11545
30b6629e
RM
11546 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11547
a6bea3ca
RM
11548 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11549 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11550
3dfb9a5c
OB
115512014-05-27 Ondřej Bílka <neleai@seznam.cz>
11552
11553 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11554
774f9285
AS
115552014-05-27 Andreas Schwab <schwab@suse.de>
11556
11557 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11558 TLS_INIT_TP macro.
11559 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11560 * elf/rtld.c (init_tls, dl_main): Likewise.
11561 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11562 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11563 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11564 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11565 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11566 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11567 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11568 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11569 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11570 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11571 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11572 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11573 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11574 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11575 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11576 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11577 * sysdeps/generic/tls.h: Update description.
11578
36ffe739
WN
115792014-05-27 Will Newton <will.newton@linaro.org>
11580
11581 [BZ #16990]
11582 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11583 and restore r2 rather than just restoring.
11584
2482ae43
SP
115852014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11586
11587 [BZ #16724]
11588 * libio/tst-ftell-append.c: New test case.
11589 * libio/Makefile (tests): Add test case.
11590 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11591 append mode.
11592 * libio/wfileops.c (do_ftell_wide): Likewise.
11593
3d1024e8
AZ
115942014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11595
bab90016
AZ
11596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11597
c7a8d667
AZ
11598 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11599 ...
11600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11602 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11603 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11604 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11605 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11607 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11608 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11609 Moved ...
11610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11611 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11612 Moved ...
11613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11614 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11615 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11616 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11617 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11618 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11619 ...
11620 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11621 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11622 Moved ...
11623 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11624 here.
11625 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11626 ...
11627 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11628 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11629 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11630
daee7851
AZ
11631 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11632 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11633 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11634 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11635
50a40819
AZ
11636 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11637 merge into ...
11638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11639 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11640 ...
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11642 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11643 ...
11644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11645 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11646 Moved ...
11647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11648 here.
11649 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11650 Moved ...
11651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11652 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11653 Moved ...
11654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11655
8464c2a1
AZ
11656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11657 conditional [RESET_PID].
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11659 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11660 removed.
11661 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11662 removed.
11663
3d1024e8
AZ
11664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11665 <tcb-offsets.h>.
11666 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11667 (__libc_vfork): New strong alias.
11668 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11669 removed.
11670 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11671 Removed.
11672
11673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11674 <tcb-offsets.h>.
11675 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11676 (__libc_vfork): New strong alias.
11677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11678 removed.
11679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11680 removed.
11681
fdfd175d
CD
116822014-05-26 Carlos O'Donell <carlos@redhat.com>
11683
11684 * malloc/malloc.c (mi_arena): New function.
11685 (malloc_info): Remove nested function mi_arena. Call non-nosted
11686 function mi_arena.
11687
d298c416
AZ
116882014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11689
11690 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11691 by insrwi.
11692 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11693 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11694 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11695 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11696 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11697 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11698 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11699
b60ea6ff
AS
117002014-05-26 Andreas Schwab <schwab@suse.de>
11701
11702 [BZ #16984]
11703 * locale/programs/repertoire.c (repertoire_read): Add slash
11704 between I18NPATH element and file name.
11705 * locale/programs/locfile.c (locfile_read): Likewise.
11706
67365926
SL
117072014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11708
11709 * nptl/pthread_mutexattr_settype.c
11710 (__pthread_mutexattr_settype):
11711 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11712
f8bdf1f0
SL
117132014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11714
11715 * nptl/tst-mutex5 (do_test):
11716 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11717
15eaf6ff
SP
117182014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11719
11720 * benchtests/README: Document 'init' directive.
11721 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11722 BENCH_INIT.
11723 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11724 (parse_file): Recognize 'init' directive.
11725
75f11331
KM
117262014-05-26 Kyle McMartin <kyle@redhat.com>
11727
11728 [BZ #16796]
11729 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11730 alignment of struct pthread.
11731
c3ec475c
SP
117322014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11733
11734 [BZ #16878]
11735 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11736 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11737 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11738 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11739
82aab97c
RH
117402014-05-25 Richard Henderson <rth@twiddle.net>
11741
aa2f176d
RH
11742 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11743 (SINGLE_THREAD_P_PIC): Remove.
11744 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11745 (SINGLE_THREAD_P_PIC): Remove.
11746
ca3cfa40
RH
11747 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11748 branch to syscall error ...
11749 (PSEUDO): ... here.
11750 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11751 from __local_syscall_error to .Lsyscall_error.
11752 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11753 (SYSCALL_ERROR): Update label name.
11754
6e6c2d01
RH
11755 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11756 Do not use DOARGS/UNDOARGS.
11757 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11758 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11759 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11760 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11761 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11762
c69abcee
RH
11763 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11764 block comment.
11765
82aab97c
RH
11766 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11767 define if !NOT_IN_libc.
11768 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11769 define with non-default symbol versions.
11770
8820e3ac
RH
117712014-05-23 Richard Henderson <rth@twiddle.net>
11772
900e445f
RH
11773 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11774 (vfork, __vfork): Define via compat_symbol.
11775
8820e3ac
RH
11776 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11777 [!HAVE_IFUNC] (vfork_compat): Remove.
11778 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11779
e59252a5
JM
117802014-05-23 Joseph Myers <joseph@codesourcery.com>
11781
11782 [BZ #16978]
11783 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11784 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11785 variable.
11786
132c7f5f
RH
117872014-05-23 Richard Henderson <rth@twiddle.net>
11788
bc89e962
RH
11789 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11790 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11791 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11792 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11793
11794 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11795 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11796 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11797 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11798 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11799 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11800 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11801 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11802 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11803 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11804 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11805 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11806 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11807 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11808 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11809 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11810 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11811 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11812 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11813 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11814 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11815 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11816 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11817 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11818 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11819 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11820 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11821 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11822 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11823 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11824 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11825 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11826 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11827 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11828 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11829 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11830 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11831 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11832 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11833 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11834 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11835 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11836 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11837 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11838 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11839 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11840 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11841 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11842 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11843 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11844 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11845 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11846 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11847 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11848 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11849 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11850
e2fa4bc2
RH
11851 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11852 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11853 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11854 before exiting on error.
11855 (__libc_vfork): New strong alias.
11856 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11857 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11858
279b24e2
RH
11859 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11860 that was previously under [RESET_PID].
11861 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11862
132c7f5f
RH
11863 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11864
b72592e7
JM
118652014-05-23 Joseph Myers <joseph@codesourcery.com>
11866
11867 [BZ #16977]
11868 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11869 value when x - 1 is zero.
11870 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11871 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11872 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11873 0.0L for an argument of 1.0L.
11874 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11875 Likewise.
11876 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11877 value when x - 1 is zero.
11878 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11879 * sysdeps/i386/fpu/libm-test-ulps: Update.
11880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11881
2302d679
RV
118822014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11883
11884 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11885 alphasort and versionsort.
11886
32999d63
AZ
118872014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11888
11889 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11890 macro.
11891 [copysignf]: Likewise.
11892
019324d0
SP
118932014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
11895 * crypt/md5-crypt.c: Fix formatting.
11896
34fff5c2
KS
118972014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11898
11899 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11900 (b64_from_24bit): New function.
11901
3d2badac
AZ
119022014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11903
11904 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11905 libc_hidden_builtin_def to ifunc.
11906 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11907 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11908
f7bb179f 119092014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11910
11911 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11912 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11913
4134b50d
JM
119142014-05-21 Joseph Myers <joseph@codesourcery.com>
11915
bb7d0337
JM
11916 * nscd/Depend (linuxthreads): Remove.
11917 (nptl): Add.
11918 * resolv/Depend (linuxthreads): Remove.
11919 * rt/Depend (linuxthreads): Remove.
11920
4134b50d
JM
11921 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11922 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11923 $(common-objpfx)elf/.
11924 (link-libc-before-gnulib): Likewise.
11925 (elfobjdir): Remove variable.
11926 * Makefile (install): Use $(elf-objpfx) instead of
11927 $(common-objpfx)elf/.
11928 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11929 $(elfobjdir)/.
11930 (link-libc-deps): Likewise.
11931 ($(common-objpfx)libc.so): Likewise.
11932 ($(common-objpfx)linkobj/libc.so): Likewise.
11933 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11934 instead of $(common-objpfx)elf/.
11935 (symbolic-link-list): Likewise.
11936 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11937 [$(cross-compiling) = no]: Likewise.
11938 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11939 $(elfobjdir)/.
11940 (static-gnulib-arch): Likewise.
11941 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11942 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11943 $(common-objpfx)elf/.
11944
3612eb8f
RH
119452014-05-21 Richard Henderson <rth@redhat.com>
11946
a6b3657b
RH
11947 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11948 (SINGLE_THREAD_P): Use the correct width load. Fold
11949 into the ldr offset.
11950
3612eb8f
RH
11951 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11952 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11953
175cef41
JM
119542014-05-20 Joseph Myers <joseph@codesourcery.com>
11955
11956 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11957 (libgcc_s_resume): Use __attribute_used__.
11958 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11959 Likewise.
11960
e13bccd3
AZ
119612014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11962
11963 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11964 optimization when used with float constants.
11965
7c112a38
AZ
11966 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11967
ae75a883
AJ
119682014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11969
11970 [BZ #16915]
11971 * locale/nl_langinfo_l.c: Make direct reference to every
11972 _nl_current_CATEGORY symbol.
11973 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11974 (tests-static): Add tst-langinfo-static.
11975 (tests-special): Add tst-langinfo-static.out.
11976 ($(objpfx)tst-langinfo.out): Redirect output.
11977 ($(objpfx)tst-langinfo-static.out): New.
11978 * localedata/tst-langinfo.sh: Send output to stdout.
11979 * localedata/tst-langinfo-static.c: New file.
11980
4406c41c
AJ
11981 [BZ #16965]
11982 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11983 when the shift amount is modulo the limb size.
11984
4c0a1e63
RH
119852014-05-20 Richard Henderson <rth@redhat.com>
11986
de9d8f20
RH
11987 [BZ #16967]
11988 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11989 Change type of sa_flags from unsigned int to int.
11990
4c0a1e63
RH
11991 [BZ #16966]
11992 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11993
11994 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11995
a60339aa
WN
119962014-05-20 Will Newton <will.newton@linaro.org>
11997
11998 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11999 Test the return value of the system call in the nocancel case.
12000
7d05a816
YR
120012014-05-20 Will Newton <will.newton@linaro.org>
12002 Yvan Roux <yvan.roux@linaro.org>
12003
12004 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12005 #include of asm/ptrace.h.
12006 (PTRACE_GET_THREAD_AREA): Remove #undef.
12007 (PTRACE_GETHBPREGS): Likewise.
12008 (PTRACE_SETHBPREGS): Likewise.
12009 (struct user_regs_struct): New structure.
12010 (struct user_fpsimd_struct): New structure.
12011 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12012 #include of asm/ptrace.h and second #include of sys/user.h.
12013 (PTRACE_GET_THREAD_AREA): Remove #undef.
12014 (PTRACE_GETHBPREGS): Likewise.
12015 (PTRACE_SETHBPREGS): Likewise.
12016 (ELF_NGREG): Use new struct user_regs_struct.
12017 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12018
af121e37
AZ
120192014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12020
12021 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12022 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12023
834caf06
JM
120242014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12025
12026 [BZ #16958]
12027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12028 membar to avoid block loads/stores to overlap previous stores.
12029
e184a918
RH
120302014-05-17 Richard Henderson <rth@redhat.com>
12031
12032 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12033 Create the __##syscall_name##_nocancel entry point.
12034 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12035 Remove; let the sysdep-cancel.h code create it.
12036
f56c7a6a
DM
120372014-05-17 David S. Miller <davem@davemloft.net>
12038
12039 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12040 Protect with __USE_GNU.
12041 (TIOCSET_TEMPT): Likewise.
12042 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12043 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12044 these are already provided in bits/ioctl-types.h
12045
f75616b2
RM
120462014-05-16 Roland McGrath <roland@hack.frob.com>
12047
3edeca86
RM
12048 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12049 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12050
f75616b2
RM
12051 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12052 Use wait4 regardless of [__NR_waitpid].
12053
deb0f7f6
MR
120542014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12055
12056 PR libgcc/60166
12057 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12058 (_FP_NANSIGN_Q): Set the quiet bit.
12059
79520f4b
JM
120602014-05-16 Joseph Myers <joseph@codesourcery.com>
12061
12062 * benchtests/Makefile
12063 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12064 not $(common-objpfx)math/libm.so.
12065 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12066 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12067 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12068 $(common-objpfx)dlfcn/libdl.so.
12069 ($(objpfx)tst-audit8): Depend on $(libm), not
12070 $(common-objpfx)math/libm.so.
12071 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12072 not $(common-objpfx)dlfcn/libdl.so.
12073 * math/Makefile
12074 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12075 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12076 [$(build-shared) = yes].
12077 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12078 $(common-objpfx)nptl/libpthread.so.
12079 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12080 $(common-objpfx)math/libm.so$(libm.so-version) or
12081 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12082 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12083 $(common-objpfx)dlfcn/libdl.so.
12084 * setjmp/Makefile (link-libm): Remove variable.
12085 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12086 * stdio-common/Makefile (link-libm): Remove variable.
12087 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12088 * stdlib/Makefile (link-libm): Remove variable.
12089 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12090 ($(objpfx)tst-strtod-round): Likewise.
12091 ($(objpfx)tst-tininess): Likewise.
12092 ($(objpfx)tst-strtod-underflow): Likewise.
12093 ($(objpfx)tst-strtod6): Likewise.
12094 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12095 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12096 $(common-objpfx)dlfcn/libdl.so.
12097
026b0fe4
AZ
120982014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12099
12100 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12101 BSD terminal modes definitions.
12102
def4bcb2
RM
121032014-05-16 Roland McGrath <roland@hack.frob.com>
12104
fe39b021
RM
12105 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12106 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12107
1d1fc46e 12108 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12109 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12110 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12111 Don't do #include_next.
12112 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12113 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12114 Don't do #include_next.
12115 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12116 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12117 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12118 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12119
c72399fb
AM
121202014-05-16 Allan McRae <allan@archlinux.org>
12121
d51d659d
AM
12122 * po/sv.po: Update Swedish translation from translation project.
12123
c72399fb
AM
12124 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12125 in sed expression.
12126
d0583c40
AJ
121272014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12128
12129 [BZ #16917]
12130 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12131 errno if the TIOCGPTN ioctl fails with an error different than
12132 EINVAL.
12133 * login/tst-ptsname.c: New file.
12134 * login/Makefile (tests): Add tst-ptsname.
12135
d16e6ec7
AJ
12136 [BZ #16943]
12137 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12138 and prlimit64.
12139
cf26a0cb
SP
121402014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12141
12142 [BZ #16849]
12143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12144 herrno to return EAI_AGAIN.
12145
5675da1e
RM
121462014-05-14 Roland McGrath <roland@hack.frob.com>
12147
a5d87b3d
RM
12148 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12149 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12150 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12151 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12152 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12153 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12154 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12155 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12156 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12157 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12158 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12159 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12160 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12161 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12162 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12163 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12164 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12165 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12166 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12167 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12168 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12169 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12171 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12172 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12173 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12175 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12176 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12177 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12179 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12181 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12183 Moved ...
12184 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12185 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12186 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12188 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12190 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12192 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12194 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12195 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12196 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12198 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12208 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12210 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12212 Moved ...
12213 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12214 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12215 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12216 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12217 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12218 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12219 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12221 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12223 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12224 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12225 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12226 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12227 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12228 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12229 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12230 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12231 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12232 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12233 Moved ...
12234 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12235 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12236 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12237
039890a6
RM
12238 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12239 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12240 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12241 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12242 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12243 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12244 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12245 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12246 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12247 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12248 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12249 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12250 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12251 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12252 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12253 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12254 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12255 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12256 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12257 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12258 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12259 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12260 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12262 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12263 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12264 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12265 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12266 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12267 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12268 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12269
65c89320
RM
12270 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12271 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12272
348f8e8c
RM
12273 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12274 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12275 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12276 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12277 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12278 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12279 Moved ...
12280 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12281 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12282 Moved ...
12283 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12284 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12285 Moved ...
12286 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12287 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12288 Moved ...
12289 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12290 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12291 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12292 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12293 Moved ...
12294 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12295 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12296 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12298 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12299 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12300 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12301 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12302 Moved ...
12303 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12305 Moved ...
12306 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12307 ... here.
12308 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12309 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12310 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12311 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12312 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12313 Moved ...
12314 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12315 ... here.
12316 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12317 Moved ...
12318 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12319 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12320 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12321 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12322 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12323 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12324 Moved ...
12325 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12326 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12327 Moved ...
12328 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12330 Moved ...
12331 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12332 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12333 Moved ...
12334 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12335 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12336 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12337 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12338 Moved ...
12339 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12341 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12343 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12344 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12345 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12346 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12347 Moved ...
12348 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12350 Moved ...
12351 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12352 ... here.
12353 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12354 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12356 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12358 Moved ...
12359 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12360 ... here.
12361 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12362 Moved ...
12363 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12364 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12365 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12367 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12368 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12369 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12370 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12371 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12372 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12373 Moved ...
12374 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12375 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12376 Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12379 Moved ...
12380 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12381 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12382 Moved ...
12383 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12384 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12385 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12386 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12387 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12388 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12389 Moved ...
12390 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12392 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12394 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12395 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12396 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12397 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12398 Moved ...
12399 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12401 Moved ...
12402 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12403 ... here.
12404 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12405 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12407 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12409 Moved ...
12410 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12411 ... here.
12412 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12413 Moved ...
12414 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12415 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12416 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12417 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12418 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12419 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12420 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12421 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12422 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12423 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12424 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12425
5085af05
RM
12426 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12427 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12428
708f0813
RM
12429 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12430 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12431
c96067bc
RM
12432 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12433 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12434 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12435 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12436 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12438 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12440 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12441 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12443 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12444 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12445 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12446 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12447 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12448 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12449 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12450 Moved ...
12451 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12452 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12453 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12455 Moved ...
12456 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12457 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12458 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12459 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12460 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12461 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12462 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12463 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12464 Moved ...
12465 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12467 Moved ...
12468 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12469 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12470 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12471 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12472 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12473 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12474 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12475 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12476 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12477 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12478 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12480 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12481 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12482 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12483 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12484 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12485
ec136444
RM
12486 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12487 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12488 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12489 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12490 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12491
2fbdf533
RM
12492 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12493 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12494 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12495 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12496 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12497 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12498 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12499 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12500 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12501 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12502
4c68138b
RM
12503 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12504 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12505
4eaae765
RM
12506 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12507 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12508 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12509 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12510 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12511 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12512 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12513 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12514 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12515 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12516 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12517 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12518 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12519 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12520 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12521 Update #include.
12522 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12523 Likewise.
12524 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12525 Likewise.
12526 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12527 Likewise.
12528 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12529 Likewise.
12530 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12531 Likewise.
12532 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12533 Likewise.
12534 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12535 Likewise.
12536 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12537 Likewise.
12538 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12539 Likewise.
4ef6befa
RM
12540 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12541 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12542 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12543 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12544 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12545 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12546 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12547 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12548 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12549 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12550 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12551 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12552 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12553 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12554 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12555
941d7dfd
RM
12556 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12557 that was previously under [RESET_PID].
12558 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12559 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12560 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12561
1b731c35
RM
12562 * sysdeps/i386/nptl/Implies: New file.
12563 * sysdeps/x86_64/nptl/Implies: New file.
12564 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12565 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12566 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12567 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12568
e2787137
RM
12569 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12570 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12571 (__libc_vfork): New strong alias.
12572 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12573 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12574
12575 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12576 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12577 (__libc_vfork): New strong alias.
12578 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12579 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12580
5675da1e
RM
12581 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12582 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12583 (__libc_vfork): New strong alias.
12584 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12585 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12586 * nptl/pt-vfork.c: New file.
12587 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12588 (libpthread: GLIBC_2.20): New version set (empty).
12589
4f02e2b8
WN
125902014-05-14 Will Newton <will.newton@linaro.org>
12591
12592 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12593 rather than #if.
12594
0bf061d3
JM
125952014-05-14 Joseph Myers <joseph@codesourcery.com>
12596
1a84c3d6
JM
12597 [BZ #16564]
12598 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12599 arguments with exponent 65 or above.
12600 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12601 arguments 0x1p113L or above.
12602 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12603 to arguments 0x1p107L or above.
12604 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12605 positive arguments with exponent 65 or above.
12606 * math/auto-libm-test-in: Add more tests of log1p.
12607 * math/auto-libm-test-out: Regenerated.
12608
01dbacd2
JM
12609 [BZ #16928]
12610 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12611 non-finite arguments is +0.
12612 * math/s_cacosf.c (__cacosf): Likewise.
12613 * math/s_cacosl.c (__cacosl): Likewise.
12614 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12615 * sysdeps/i386/fpu/libm-test-ulps: Update.
12616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12617
913d03c8
JM
12618 [BZ #16927]
12619 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12620 value.
12621 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12622 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12623 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12624 for explicit high bit of mantissa when testing for argument equal
12625 to 1.
12626 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12627 * sysdeps/i386/fpu/libm-test-ulps: Update.
12628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12629
0bf061d3
JM
12630 [BZ #16516]
12631 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12632 (__erf): Scale by 16 instead of 8 in potentially underflowing
12633 case. Ensure exception if result actually underflows.
12634 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12635 (__erff): Scale by 16 instead of 8 in potentially underflowing
12636 case. Ensure exception if result actually underflows.
12637 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12638 (efx8): Remove variable.
12639 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12640 case. Ensure exception if result actually underflows.
12641 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12642 (efx8): Remove variable.
12643 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12644 case. Ensure exception if result actually underflows.
12645 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12646 (efx8): Remove variable.
12647 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12648 case. Ensure exception if result actually underflows.
12649 * math/auto-libm-test-in: Add more tests of erf.
12650 * math/auto-libm-test-out: Regenerated.
12651
73ba67cb
AS
126522014-05-14 Andreas Schwab <schwab@suse.de>
12653
3d8c8bff
AS
12654 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12655 Remove code conditionalized on USE___THREAD.
12656
73ba67cb
AS
12657 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12658 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12659 not definedness.
12660
5c521ecd
JM
126612014-05-14 Joseph Myers <joseph@codesourcery.com>
12662
5e7698c6
JM
12663 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12664 Define unconditionally.
12665 (__ASSUME_O_CLOEXEC): Likewise.
12666 (__ASSUME_SOCK_CLOEXEC): Likewise.
12667 (__ASSUME_IN_NONBLOCK): Likewise.
12668 (__ASSUME_PIPE2): Likewise.
12669 (__ASSUME_EVENTFD2): Likewise.
12670 (__ASSUME_SIGNALFD4): Likewise.
12671 (__ASSUME_DUP3): Likewise.
12672 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12673 (__ASSUME_DUP3): Do not define.
12674 (__ASSUME_EVENTFD2): Likewise.
12675 (__ASSUME_IN_NONBLOCK): Likewise.
12676 (__ASSUME_O_CLOEXEC): Likewise.
12677 (__ASSUME_PIPE2): Likewise.
12678 (__ASSUME_SIGNALFD4): Likewise.
12679 (__ASSUME_SOCK_CLOEXEC): Likewise.
12680 (__ASSUME_UTIMES): Undefine.
12681 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12682 (__ASSUME_UTIMES): Do not define.
12683 (__ASSUME_O_CLOEXEC): Likewise.
12684 (__ASSUME_SOCK_CLOEXEC): Likewise.
12685 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12686 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12687 0x020621].
12688 (__ASSUME_PIPE2): Likewise.
12689 (__ASSUME_EVENTFD2): Likewise.
12690 (__ASSUME_SIGNALFD4): Likewise.
12691 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12692 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12693 Do not define.
12694 (__ASSUME_EVENTFD2): Likewise.
12695 (__ASSUME_SIGNALFD4): Likewise.
12696 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12697 (__ASSUME_32BITUIDS): Likewise.
12698 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12699 (__ASSUME_IPC64): Likewise.
12700 (__ASSUME_ST_INO_64_BIT): Likewise.
12701 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12702 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12703 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12704 (__ASSUME_UTIMES): Do not define.
12705 (__ASSUME_PSELECT): Likewise.
12706 (__ASSUME_PPOLL): Likewise.
12707 (__ASSUME_O_CLOEXEC): Likewise.
12708 (__ASSUME_SOCK_CLOEXEC): Likewise.
12709 (__ASSUME_IN_NONBLOCK): Likewise.
12710 (__ASSUME_PIPE2): Likewise.
12711 (__ASSUME_EVENTFD2): Likewise.
12712 (__ASSUME_SIGNALFD4): Likewise.
12713 (__ASSUME_DUP3): Likewise.
12714 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12715 (__ASSUME_UTIMES): Likewise.
12716 (__ASSUME_O_CLOEXEC): Likewise.
12717 (__ASSUME_SOCK_CLOEXEC): Likewise.
12718 (__ASSUME_IN_NONBLOCK): Likewise.
12719 (__ASSUME_PIPE2): Likewise.
12720 (__ASSUME_EVENTFD2): Likewise.
12721 (__ASSUME_SIGNALFD4): Likewise.
12722 (__ASSUME_DUP3): Likewise.
12723 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12724 (__ASSUME_UTIMES): Likewise.
12725 (__ASSUME_O_CLOEXEC): Likewise.
12726 (__ASSUME_SOCK_CLOEXEC): Likewise.
12727 (__ASSUME_IN_NONBLOCK): Likewise.
12728 (__ASSUME_PIPE2): Likewise.
12729 (__ASSUME_EVENTFD2): Likewise.
12730 (__ASSUME_SIGNALFD4): Likewise.
12731 (__ASSUME_DUP3): Likewise.
12732 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12733 Likewise.
12734 (__ASSUME_UTIMES): Likewise.
12735 (__ASSUME_EVENTFD2): Likewise.
12736 (__ASSUME_SIGNALFD4): Likewise.
12737 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12738 (__ASSUME_O_CLOEXEC): Likewise.
12739 (__ASSUME_SOCK_CLOEXEC): Likewise.
12740 (__ASSUME_IN_NONBLOCK): Likewise.
12741 (__ASSUME_PIPE2): Likewise.
12742 (__ASSUME_EVENTFD2): Likewise.
12743 (__ASSUME_SIGNALFD4): Likewise.
12744 (__ASSUME_DUP3): Likewise.
12745 (__ASSUME_UTIMES): Undefine.
12746
5c521ecd
JM
12747 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12748 feclearexcept. Remove symbol versioning code.
12749 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12750 symbol versioning code.
12751 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12752 symbol versioning code.
12753 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12754 feupdateenv. Remove symbol versioning code.
12755 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12756 fegetexceptflag. Remove symbol versioning code.
12757 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12758 fesetexceptflag. Remove symbol versioning code.
12759 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12760 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12761 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12762 (__posix_fadvise64_l32): Remove prototype.
12763 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12764 code.
12765
5da9dfad
RM
127662014-05-13 Roland McGrath <roland@hack.frob.com>
12767
12768 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12769 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12770 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12771 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12772
893b4f37
SK
127732014-05-13 Sami Kerola <kerolasa@iki.fi>
12774
12775 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12776 current working directory
12777
e0db6517
RM
127782014-05-13 Roland McGrath <roland@hack.frob.com>
12779
58aa195d
RM
12780 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12781 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12782 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12783 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12784 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12785 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12786 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12787 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12788 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12789 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12790 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12791 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12792 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12793 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12794 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12795 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12796 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12797 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12798 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12799 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12800 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12801 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12802 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12803 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12804 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12805 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12806 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12807 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12808 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12809 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12810 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12811 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12812 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12813 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12814 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12815 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12816 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12817 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12818 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12819 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12820 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12821 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12822
8c6d01f0
RM
12823 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12824 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12825
12826 * sysdeps/unix/sysv/linux/arm/Makefile
12827 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12828 Add rt-aeabi_unwind_cpp_pr1.
12829 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12830 Add nptl-aeabi_unwind_cpp_pr1.
12831 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12832 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12833 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12834 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12835 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12836 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12837
12838 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12839 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12840 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12841 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12842
bba6da4e
RM
12843 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12844 Deconditionalize the code that was previously under [RESET_PID].
12845 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12846
e0db6517
RM
12847 * sysdeps/generic/exit-thread.h: New file.
12848 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12849 * include/unistd.h (__exit_thread): Remove declaration.
12850 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12851 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12852 * csu/libc-start.c: Include <exit-thread.h>.
12853 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12854 * nptl/pthread_create.c: Include <exit-thread.h>.
12855 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12856 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12857 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12858 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12859 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12860 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12861 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12862 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12863 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12864 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12865 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12866 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12867 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12868 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12869 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12870 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12871 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12872
01eb16fd
AS
128732014-05-13 Andreas Schwab <schwab@suse.de>
12874
12875 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12876
637461d9
JM
128772014-05-12 Joseph Myers <joseph@codesourcery.com>
12878
12879 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12880 (__ASSUME_UTIMES): Do not condition on kernel version.
12881 (__ASSUME_PSELECT): Define unconditionally.
12882 (__ASSUME_PPOLL): Likewise.
12883 (__ASSUME_ATFCTS): Likewise.
12884 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12885 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12886 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12887 (__ASSUME_UTIMENSAT): Define unconditionally.
12888 (__ASSUME_PRIVATE_FUTEX): Likewise.
12889 (__ASSUME_FALLOCATE): Likewise.
12890 (__ASSUME_O_CLOEXEC): Likewise.
12891 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12892 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12893 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12894 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12895 (__ASSUME_IN_NONBLOCK): Likewise.
12896 (__ASSUME_PIPE2): Likewise.
12897 (__ASSUME_EVENTFD2): Likewise.
12898 (__ASSUME_SIGNALFD4): Likewise.
12899 (__ASSUME_DUP3): Likewise.
12900 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12901 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12902 (__ASSUME_AT_RANDOM): Likewise.
12903 (__ASSUME_PREADV): Likewise.
12904 (__ASSUME_PWRITEV): Likewise.
12905 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12906 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12907 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12908 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12909 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12910 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12911 (__ASSUME_O_CLOEXEC): Define unconditionally.
12912 (__ASSUME_PSELECT): Do not undefine conditionally.
12913 (__ASSUME_PPOLL): Likewise.
12914 (__ASSUME_ATFCTS): Likewise.
12915 (__ASSUME_SET_ROBUST_LIST): Likewise.
12916 (__ASSUME_UTIMENSAT): Likewise.
12917 (__ASSUME_FDATASYNC): Define unconditionally.
12918 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12919 (__ASSUME_SIGFRAME_V2): Likewise.
12920 )__ASSUME_EVENTFD2): Likewise.
12921 (__ASSUME_SIGNALFD4): Likewise.
12922 (__ASSUME_PSELECT): Do not undefine conditionally.
12923 (__ASSUME_PPOLL): Likewise.
12924 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12925 (__ASSUME_PSELECT): Define unconditionally.
12926 (__ASSUME_PPOLL): Likewise.
12927 (__ASSUME_O_CLOEXEC): Likewise.
12928 (__ASSUME_SOCK_CLOEXEC): Likewise.
12929 (__ASSUME_IN_NONBLOCK): Likewise.
12930 (__ASSUME_PIPE2): Likewise.
12931 (__ASSUME_EVENTFD2): Likewise.
12932 (__ASSUME_SIGNALFD4): Likewise.
12933 (__ASSUME_DUP3): Likewise.
12934 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12935 (__ASSUME_O_CLOEXEC): Likewise.
12936 (__ASSUME_SOCK_CLOEXEC): Likewise.
12937 (__ASSUME_IN_NONBLOCK): Likewise.
12938 (__ASSUME_PIPE2): Likewise.
12939 (__ASSUME_EVENTFD2): Likewise.
12940 (__ASSUME_SIGNALFD4): Likewise.
12941 (__ASSUME_DUP3): Likewise.
12942 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12943 (__ASSUME_EVENTFD2): Likewise.
12944 (__ASSUME_SIGNALFD4): Likewise.
12945 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12946
315eb1d8
AS
129472014-05-12 Andreas Schwab <schwab@suse.de>
12948
12949 [BZ #16932]
12950 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12951 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12952 than maximum RPC packet size.
12953 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12954 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12955 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12956 (_nss_nis_getservbyport_r): Likewise.
12957
91df99f7
WN
129582014-05-12 Will Newton <will.newton@linaro.org>
12959
12960 * malloc/Makefile (tests): Add tst-mallopt.
12961 * malloc/tst-mallopt.c: New file.
12962
0a982a29
RM
129632014-05-09 Roland McGrath <roland@hack.frob.com>
12964
12965 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12966 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12967
0ded08a5
AZ
129682014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12969
12970 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12971 (tst-tlsmod6.so): Likewise.
12972
55d4d550
RM
129732014-05-09 Roland McGrath <roland@hack.frob.com>
12974
12975 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12976
77d08aca
JM
129772014-05-09 Joseph Myers <joseph@codesourcery.com>
12978
12979 [BZ #16064]
12980 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12981 and <dl-procinfo.h>.
12982 (__fegetenv): Save SSE state in envp->__eip if supported.
12983 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12984 envp->__eip if supported.
12985 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12986 and <dl-procinfo.h>.
12987 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12988 __data_offset and __data_selector in environment to 0. Set SSE
12989 state if supported.
12990 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12991 test-fenv-sse.
12992 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12993 -mfpmath=sse.
12994 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12995
28162f4d
WN
129962014-05-09 Will Newton <will.newton@linaro.org>
12997
12998 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12999 and libc_relro_required for ARM.
13000 * sysdeps/arm/preconfigure: Regenerate.
13001
5a414ff7
DV
130022014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
13003 Stefan Liebler <stli@linux.vnet.ibm.com>
13004
13005 * config.make.in (enable-lock-elision): New Makefile variable.
13006 * configure.ac: Likewise.
13007 * configure: Regenerate.
13008 * sysdeps/s390/configure.ac:
13009 Add check for gcc transactions support.
13010 * sysdeps/s390/configure: Regenerate.
13011 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13012 Build elision files if enabled.
13013 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13014 Add lock elision support for s390.
13015 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13016 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13017 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13018 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13019 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13020 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13021 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13022 Likewise.
13023 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13024 Likewise.
13025 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13026 Likewise.
13027 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13028 Likewise.
13029 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13030 (__lll_timedlock_elision, __lll_lock_elision)
13031 (__lll_unlock_elision, __lll_trylock_elision)
13032 (lll_timedlock_elision, lll_lock_elision)
13033 (lll_unlock_elision, lll_trylock_elision): Add.
13034 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13035 (pthread_mutex_t): Add lock elision support for s390.
13036
1a2f40e5
W
130372014-05-14 Wilco <wdijkstr@arm.com>
13038
13039 * sysdeps/arm/fclrexcpt.c: Cleanup.
13040 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13041 * sysdeps/arm/feenablxcpt.c: Cleanup.
13042 * sysdeps/arm/fegetenv.c: Cleanup.
13043 * sysdeps/arm/fegetexcept.c: Cleanup.
13044 * sysdeps/arm/fegetround.c: Cleanup.
13045 * sysdeps/arm/feholdexcpt.c: Cleanup.
13046 * sysdeps/arm/fesetenv.c: Cleanup.
13047 * sysdeps/arm/fesetround.c: Cleanup.
13048 * sysdeps/arm/feupdateenv.c: Cleanup.
13049 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13050 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13051 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13052 * sysdeps/arm/ftestexcept.c: Cleanup.
13053 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13054 * sysdeps/arm/setfpucw.c: Cleanup.
13055
f63c86fe
WN
130562014-05-09 Will Newton <will.newton@linaro.org>
13057
13058 * sysdeps/arm/armv7/strcmp.S: New file.
13059 * NEWS: Mention addition of ARMv7 optimized strcmp.
13060
7a1a51b5
RM
130612014-05-08 Roland McGrath <roland@hack.frob.com>
13062
95afbbe5
RM
13063 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13064 look for %.ac rather than %.in.
13065
13066 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13067 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13068 * sysdeps/mach/hurd/configure: Regenerated.
13069 * sysdeps/unix/sysv/linux/configure: Regenerated.
13070
7a1a51b5
RM
13071 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13072
5057ad3b
SE
130732014-05-07 Steve Ellcey <sellcey@mips.com>
13074
13075 [BZ# 16922]
13076 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13077 (LONG_SUB): Ditto.
13078 (PTR_SUB): Ditto.
13079
8dc97517
AS
130802014-05-07 Andreas Schwab <schwab@suse.de>
13081
13082 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13083 when skipping over non-matching result from nscd.
13084
ce0c5b8f
OB
130852014-05-07 Ondřej Bílka <neleai@seznam.cz>
13086
13087 [BZ #16876]
13088 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13089
a1189263
OB
13090 [BZ #16877]
13091 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13092 nscd security class.
ce0c5b8f 13093
0f58d252
RM
130942014-05-06 Roland McGrath <roland@hack.frob.com>
13095
13096 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13097 * sysdeps/arm/unwind.h: ... here.
13098
83df9ad0
AJ
130992014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13100
ce0c5b8f
OB
13101 [BZ# 16916]
13102 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13103 Define.
83df9ad0 13104
f360f94a
VR
131052014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13106
13107 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13108 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13109 multiarch strncpy for PPC64.
13110 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13111 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13112 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13113 multiarch optimizations.
13114 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13115 (__libc_ifunc_impl_list): Likewise.
13116 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13117 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13118 multiarch stpncpy for PPC64.
13119 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13120 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13121
978a41c3
AS
131222014-05-06 Andreas Schwab <schwab@suse.de>
13123
13124 [BZ #16912]
13125 * gmon/mcount.c (_MCOUNT_DECL): Use
13126 atomic_compare_and_exchange_bool_acq instead of
13127 catomic_compare_and_exchange_bool_acq.
13128
eb1ed03d
RM
131292014-05-05 Roland McGrath <roland@hack.frob.com>
13130
fe658845
RM
13131 * elf/Makefile (others, install-bin): Remove pldd.
13132 (pldd-modules): Variable removed.
13133 ($(objpfx)pldd): Target removed.
13134 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13135 (others, install-bin): Append pldd here.
13136 ($(objpfx)pldd): New target.
13137
eb1ed03d
RM
13138 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13139 to 0, so the first #if test emitted later doesn't see it undefined.
13140 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13141 * sysdeps/gnu/errlist.c: Regenerated.
13142
19c4bec0
AZ
131432014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13144
13145 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13146 [libc_hidden_builtin_def]: Define to empty value.
13147 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13148 [libc_hidden_builtin_def]: Likewise.
13149 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13150 [libc_hidden_builtin_def]: Likewise.
13151 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13152 [libc_hidden_builtin_def]: Likewise.
13153 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13154 __redirect_memcpy and define ifunc as default hidden symbol.
13155 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13156 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13157
7776e669
AC
131582014-05-04 Adam Conrad <adconrad@0c3.net>
13159
13160 * locale/iso-4217.def: Reintroduce XDR currency.
13161
d69aeb12
AM
131622014-05-04 Allan McRae <allan@archlinux.org>
13163
13164 * po/eo.po: Update Esperanto translation from translation project.
13165
8f1df5cf
CD
131662014-05-02 Carlos O'Donell <carlos@redhat.com>
13167
13168 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13169 and FEATURE_INDEX_MAX to 1.
13170 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13171
13e402e7
SE
131722014-05-01 Steve Ellcey <sellcey@mips.com>
13173
13174 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13175 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13176 * iconvdata/big5.c (ONE_DIRECTION): Define.
13177 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13178 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13179 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13180 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13181 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13182 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13183 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13184 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13185 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13186 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13187 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13188 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13189 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13190 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13191 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13192 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13193 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13194 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13195 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13196 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13197 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13198 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13199 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13200 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13201 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13202 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13203 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13204 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13205 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13206 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13207 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13208 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13209 * iconvdata/johab.c (ONE_DIRECTION): Define.
13210 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13211 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13212 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13213 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13214 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13215 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13216 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13217 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13218 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13219 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13220
c727f032
RM
132212014-05-01 Roland McGrath <roland@hack.frob.com>
13222
8f2f08d0
RM
13223 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13224 (_IO_JUMPS_OFFSET): Define to 0.
13225
c727f032
RM
13226 * nptl/sysdeps/pthread/bits/libc-lock.h
13227 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13228 (__libc_lock_define_initialized_recursive): Always define using
13229 initializer. Modern compilers treat uninitialized (implicit zero) and
13230 explicit zero initializers the same (i.e. put the datum in bss).
13231
a849e800
AS
132322014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13233
13234 * nscd/nscd-client.h: Include <string.h>.
13235
5331255b
DM
132362014-05-01 David S. Miller <davem@davemloft.net>
13237
13238 [BZ #16885]
13239 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13240 multiple zero bytes exist at the end of a string.
13241 Reported by Aurelien Jarno <aurelien@aurel32.net>
13242
13243 * string/test-strcmp.c (check): Add explicit test for situations where
13244 there are multiple zero bytes after the first.
13245
4fdfe821
AS
132462014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13247
13248 [BZ #16890]
13249 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13250 when compiling wprintf.
13251 * stdio-common/tstdiomisc.c (t3): New function.
13252 (main): Call it.
13253
0cdddc25
SE
132542014-05-01 Steve Ellcey <sellcey@mips.com>
13255
13256 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13257 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13258 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13259 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13260
6426d77e
SE
132612014-05-01 Steve Ellcey <sellcey@mips.com>
13262
13263 * stdlib/longlong.h: Updated from GCC.
13264
6d96f5e4
WN
132652014-05-01 Will Newton <will.newton@linaro.org>
13266 Bernard Ogden <bernie.ogden@linaro.org>
13267
7470db0c
WN
13268 * NEWS: Update fixed bug list.
13269
6d96f5e4
WN
13270 [BZ #15119]
13271 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13272
211d653c
DM
132732014-04-30 David S. Miller <davem@davemloft.net>
13274
4fa262fa
DM
13275 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13276 (libc_feholdexcept_setround_sparc_ctx): New function.
13277 (libc_fesetenv_sparc_ctx): Likewise.
13278 (libc_feupdateenv_sparc_ctx): Likewise.
13279 (libc_feholdsetround_sparc_ctx): Likewise.
13280 (libc_feholdexcept_setround_ctx): Define.
13281 (libc_feholdexcept_setroundf_ctx): Likewise.
13282 (libc_feholdexcept_setroundl_ctx): Likewise.
13283 (libc_fesetenv_ctx): Likewise.
13284 (libc_fesetenvf_ctx): Likewise.
13285 (libc_fesetenvl_ctx): Likewise.
13286 (libc_feupdateenv_ctx): Likewise.
13287 (libc_feupdateenvf_ctx): Likewise.
13288 (libc_feupdateenvl_ctx): Likewise.
13289 (libc_feresetround_ctx): Likewise.
13290 (libc_feresetroundf_ctx): Likewise.
13291 (libc_feresetroundl_ctx): Likewise.
13292 (libc_feholdsetround_ctx): Likewise.
13293 (libc_feholdsetroundf_ctx): Likewise.
13294 (libc_feholdsetroundl_ctx): Likewise.
13295
1d3d93ef
DM
13296 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13297 with __USE_GNU instead of XOPEN cpp guards.
13298
8aa583c3
DM
13299 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13300 0.
13301
211d653c
DM
13302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13303 with XOPEN cpp guards.
13304
60c8f1f6
JB
133052014-04-30 Julian Brown <julian@codesourcery.com>
13306
13307 [BZ #16888]
13308 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13309 handling.
13310
9a461d46
JM
133112014-04-30 Joseph Myers <joseph@codesourcery.com>
13312
d0f5b3f8
JM
13313 [BZ #9894]
13314 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13315 Change to 2.6.32.
13316 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13317 * sysdeps/unix/sysv/linux/configure: Regenerated.
13318 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13319 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13320 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13321 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13322 * README: Update reference to required Linux kernel version.
13323 * manual/install.texi (Linux): Update reference to required Linux
13324 kernel headers version.
13325 * INSTALL: Regenerated.
13326
9a461d46
JM
13327 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13328 header inclusion.
13329 [POSIX] (limits.h): Likewise.
13330 [POSIX] (math.h): Likewise.
13331 [POSIX] (sys/wait.h): Likewise.
13332 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13333 function.
13334 [POSIX] (stddef.h): Do not allow header inclusion.
13335
1775babf
AZ
133362014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13337
57f41c40 13338 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13339
8f630cca
YY
133402014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13341
13342 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13343 Return immediately after lll_futex_wake.
13344
1cdeb237
SP
133452014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13346
bc8f194c
SP
13347 [BZ #16791]
13348 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13349 structure.
13350 (datahead_init_pos): Call datahead_init_common early.
13351 (datahead_init_neg): Likewise.
13352
1cdeb237
SP
13353 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13354 datahead_init_neg): New functions.
13355 * nscd/aicache.c (addhstaiX): Use them.
13356 * nscd/grpcache.c (cache_addgr): Likewise.
13357 * nscd/hstcache.c (cache_addhst): Likewise.
13358 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13359 * nscd/netgroupcache.c (do_notfound): Likewise.
13360 (addgetnetgrentX): Likewise.
13361 (addinnetgrX): Likewise.
13362 * nscd/pwdcache.c (cache_addpw): Likewise.
13363 * nscd/servicescache.c (cache_addserv): Likewise.
13364
16b293a7
SP
133652014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13366 Atsushi Onoe <atsushi@onoe.org>
13367
13368 [BZ #14308]
13369 [BZ #12994]
13370 [BZ #13651]
13371 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13372 one response is valid.
13373 * resolv/res_send.c (send_dg): Check for validity of other
13374 response if the current response is a referral.
13375
a28a9b94
SE
133762014-04-29 Steve Ellcey <sellcey@mips.com>
13377
13378 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13379
2ca180e9
SL
133802014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13381
13382 [BZ #16823]
13383 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13384 Always divide by positive zero when computing -Inf result.
13385 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13386 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13387
18f2945a
AZ
133882014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13389
13390 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13391 FPSCR if value do not change.
13392 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13393 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13394 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13395 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13396 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13397 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13398 function.
13399
5abebba4
CD
134002014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13401
13402 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13403 * sysdeps/unix/sysv/linux/hppa: Move directory from
13404 ports/systeps/unix/sysv/linux/hppa.
13405 * README: Update listing for hppa-*-linux-gnu.
13406
f7ed60c2
OB
134072014-04-28 Ondřej Bílka <neleai@seznam.cz>
13408
fff763a5
OB
13409 [BZ #16754]
13410 * manual/stdio.texi (Hook functions): Fix types of stream hook
13411 functions.
f7ed60c2
OB
13412 [BZ #16854]
13413 * socket/sys/socket.h: Fix typo in comment.
13414
df639d73
WD
134152014-04-28 Wilco <wdijkstr@arm.com>
13416
f7ed60c2 13417 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13418 * sysdeps/arm/math_private.h: New file.
13419 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13420
48332d82
L
134212014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13422
13423 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13424 with __int128_t.
13425 (La_x86_64_retval): Likewise.
13426
e5e0d9a4
IB
134272014-04-24 Ian Bolton <ian.bolton@arm.com>
13428
13429 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13430 fpsr if value didn't change.
13431 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13432 to fpcr if value didn't change.
13433 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13434 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13435 fpsr or fpcr if value didn't change.
13436 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13437 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13438 fpcr if value didn't change.
13439 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13440 to fpsr if value didn't change.
13441
bacc75f7
SP
134422014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13443
13444 * nptl/tst-sem3.c: Use test-skeleton.c
13445 (main): Rename to do_test. Use return instead of
13446 exit.
13447 * nptl/tst-sem4.c: Use test-skeleton.c
13448 (main): Rename to do_test.
13449
a059d359
DM
134502014-04-22 David S. Miller <davem@davemloft.net>
13451
13452 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13453 (struct sigaction): New struct member __glibc_reserved0, change
13454 type of sa_flags to int.
13455
ea6c92f3
YZ
134562014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13457
13458 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13459 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13460
766c4a36
SP
134612014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13462
13463 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13464 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13465
140cc7ab
VK
134662014-04-22 Will Newton <will.newton@linaro.org>
13467 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13468
13469 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13470 (__longjmp): Add longjmp and longjmp_target SystemTap
13471 probes.
13472 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13473 (__sigsetjmp): Add setjmp SystemTap probe.
13474
c54e5cf7
CD
134752014-04-17 Carlos O'Donell <carlos@redhat.com>
13476
13477 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13478 match manual order.
13479
75ffb047
AZ
134802014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13481
13482 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13483
2cd925f7
AZ
13484 * sysdeps/powerpc/fpu/fenv_private.h
13485 (libc_feholdexcept_setroundl_ctx): Define to
13486 libc_feholdexcept_setround_ppc_ctx.
13487 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13488 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13489 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13490 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13491
39e6cd8d
IB
134922014-04-17 Ian Bolton <ian.bolton@arm.com>
13493
13494 * sysdeps/aarch64/math-tests.h: New file.
13495
f9281df9
SY
134962014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13497
13498 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13499 New.
13500 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13501 Check and set bit_AVX2_Usable.
13502 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13503 macro.
13504 (bit_AVX2): Likewise.
13505 (index_AVX2_Usable): Likewise.
13506 (CPUID_AVX2): Likewise.
13507 (HAS_AVX2): Likewise.
13508
37d35007
WN
135092014-04-17 Will Newton <will.newton@linaro.org>
13510
7c677662
WN
13511 * manual/setjmp.texi (System V contexts): Add note that
13512 calling setcontext on a context created by a call to a
13513 signal handler is undefined. Update text to note that
13514 setcontext from a signal handler is possible but not
13515 recommended.
13516
37d35007 13517 [BZ #16629]
e04a4e9d
WN
13518 * stdlib/tst-setcontext.c: Include signal.h.
13519 (main): Check that the signal stack before and
13520 after swapcontext is the same.
13521
37d35007
WN
13522 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13523 Re-implement to restore registers in user code and avoid
13524 rt_sigreturn system call.
13525
423a7160
W
135262014-04-17 Wilco <wdijkstr@arm.com>
13527
13528 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13529 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13530 * math/test-fenv.c: Skip exception trap tests on targets which only
13531 support non-stop mode.
13532
bc93ab29
IB
135332014-04-17 Ian Bolton <ian.bolton@arm.com>
13534 Wilco Dijkstra <wilco.dijkstra@arm.com>
13535
13536 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13537 (libc_feholdsetround_aarch64_ctx)
13538 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13539 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13540 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13541 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13542 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13543 (libc_feresetround_noexl_ctx): Define.
13544
95fc5fa3
RH
135452014-04-16 Richard Henderson <rth@redhat.com>
13546
ddb04724
RH
13547 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13548
d77c0899
RH
13549 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13550 unwind tables.
13551
a3df56fc
RH
13552 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13553 const from the non-libc, non-ldso copy.
13554
95fc5fa3
RH
13555 * sysdeps/alpha/libm-test-ulps: Regenerate.
13556
7e0b6763
IB
135572014-04-16 Ian Bolton <ian.bolton@arm.com>
13558 Wilco Dijkstra <wilco.dijkstra@arm.com>
13559
13560 * sysdeps/aarch64/fpu/math_private.h: New file.
13561
a9ea2e0c
MS
135622014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13563
13564 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13565
ea8ba7cd
IZ
135662014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13567
7e54fd04 13568 [BZ #16275]
ea8ba7cd
IZ
13569 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13570 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13571 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13572 Intel MPX bound registers before _dl_profile_fixup.
13573 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13574 registers after _dl_profile_fixup. Save and restore bound
13575 registers bnd0/bnd1 when calling _dl_call_pltexit.
13576 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13577 (LR_BND_OFFSET): Likewise.
13578 (LRV_BND0_OFFSET): Likewise.
13579 (LRV_BND1_OFFSET): Likewise.
13580
9f2a4fbc
ST
135812014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13582
13583 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13584 to...
13585 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13586 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13587 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13588 fields.
9f2a4fbc 13589
fd15a59b
ST
135902014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13591
13592 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13593
f19dfa0a
SL
135942014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13595
13596 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13597
4fa8bc3b
SL
135982014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13599
13600 [BZ #14770]
13601 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13602 * sysdeps/s390/configure: Regenerate.
13603
8ea587db
SL
13604 [BZ #16824]
13605 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13606 Set round-to-nearest internally to reduce error accumulation.
13607
aa5f0ff1
AM
136082014-04-16 Alan Modra <amodra@gmail.com>
13609
13610 [BZ #16740]
13611 [BZ #16619]
13612 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13613 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13614 * NEWS: Update fixed bug list.
aa5f0ff1 13615
bb9c256f
SP
136162014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13617
13618 * benchtests/Makefile: Depend on libraries in build directory.
13619 (bench-math): Separate out math tests.
13620 (bench-pthread): Separate out pthread tests.
13621 (bench): Include math and pthread tests.
13622
f737dfd0
CD
136232014-04-14 Carlos O'Donell <carlos@redhat.com>
13624
13625 [BZ #16831]
13626 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13627 _dl_debug_initialize.
13628
0699f766
CD
13629 * configure.ac: Remove SELinux header check.
13630 * configure: Regenerate.
13631 * nscd/selinux.c (perms): Array of const char* to permission names.
13632 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13633 default policy. Call string_to_security_class and string_to_av_perm to
13634 translate strings. Enforce default policy and call avs_has_perm with
13635 results of translated strings.
13636
809bd45f
DM
136372014-04-13 David S. Miller <davem@davemloft.net>
13638
13639 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13640
89e691f2
AM
136412014-04-12 Allan McRae <allan@archlinux.org>
13642
13643 [BZ #16838]
13644 * manual/string.texi (Collation Functions): Fix qsort argument
13645 order in example.
13646 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13647
9c9daaeb
CM
136482014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13649
13650 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13651 Make the test a no-op if there are no exceptions defined.
13652
95561fb9
PP
136532014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13654
fe8d072c 13655 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13656 enable-hardcoded-path-in-tests
13657
970c602a
WN
136582014-04-11 Will Newton <will.newton@linaro.org>
13659
13660 * benchtests/Makefile (extra-objs): Add json-lib.o.
13661 (bench-func): Tidy up JSON output.
13662 * benchtests/bench-skeleton.c: Include json-lib.h.
13663 (main): Use JSON library functions to do output of
13664 benchmark results.
13665 * benchtests/bench-timing-type.c (main): Output the
13666 timing type simply, leaving formatting to the user.
13667 * benchtests/json-lib.c: New file.
13668 * benchtests/json-lib.h: Likewise.
13669
36875b06
TR
136702014-04-11 Torvald Riegel <triegel@redhat.com>
13671
13672 [BZ #15215]
13673 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13674 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13675 memory barriers. Add comments.
13676 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13677 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13678 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13679 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13680 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13681 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13682
579db35a
SL
136832014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13684
13685 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13686 * sysdeps/s390/s390-64/configure.ac: ... this ...
13687 * sysdeps/s390/configure.ac: ... to here.
13688 * sysdeps/s390/s390-32/configure: Delete file.
13689 * sysdeps/s390/s390-64/configure: Delete file.
13690 * sysdeps/s390/configure: Regenerate.
13691
c12e9f37
JAPH
136922014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13693
13694 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13695
439bda32
WN
136962014-04-11 Will Newton <will.newton@linaro.org>
13697
13698 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13699 to zero if it is not defined elsewhere. (mtrim): Test
13700 the value of MALLOC_DEBUG with #if rather than #ifdef.
13701
6a5d6ea1
TR
137022014-04-10 Torvald Riegel <triegel@redhat.com>
13703
13704 * benchtests/pthread_once-inputs: New file.
13705 * benchtests/pthread_once-source.c: New file.
13706 * benchtests/README: Update documentation.
13707
a4c75cfd
IZ
137082014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13709 H.J. Lu <hongjiu.lu@intel.com>
13710
7e54fd04 13711 [BZ #16275]
a4c75cfd
IZ
13712 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13713 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13714 * sysdeps/x86_64/configure: Regenerated.
13715 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13716 macro.
13717 (REGISTER_SAVE_RAX): Likewise.
13718 (REGISTER_SAVE_RCX): Likewise.
13719 (REGISTER_SAVE_RDX): Likewise.
13720 (REGISTER_SAVE_RSI): Likewise.
13721 (REGISTER_SAVE_RDI): Likewise.
13722 (REGISTER_SAVE_R8): Likewise.
13723 (REGISTER_SAVE_R9): Likewise.
13724 (REGISTER_SAVE_BND0): Likewise.
13725 (REGISTER_SAVE_BND1): Likewise.
13726 (REGISTER_SAVE_BND2): Likewise.
13727 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13728 bound registers when calling _dl_fixup.
13729
27822ce6
AZ
137302014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13731
13732 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13733 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13734 of its definition.
27822ce6
AZ
13735 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13736 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13737 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13738 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13739 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13740 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13741 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13742
a88ddc90
PTB
137432014-04-09 Peter Brett <peter@peter-b.co.uk>
13744
13745 [BZ #15514]
13746 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13747 pathconf(_PC_NAME_MAX).
13748
01f8eac2
AZ
137492014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13750
13751 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13752 Remove macro usage.
13753 (__PTHREAD_SPINS): Move definition to ...
13754 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13755 (__PTHREAD_SPINS): ... here.
13756 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13757 (__PTHREAD_SPIN): Likewise.
13758 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13759 (__PTHREAD_SPIN): Likewise.
13760 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13761 (__PTHREAD_SPIN): Likewise.
13762 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13763 (__PTHREAD_SPIN): Likewise.
13764 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13765 (__PTHREAD_SPIN): Likewise.
13766 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13767 (__PTHREAD_SPIN): Likewise.
13768 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13769 (__PTHREAD_SPIN): Likewise.
13770 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13771 (__PTHREAD_SPIN): Likewise.
13772 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13773 (__PTHREAD_SPIN): Likewise.
13774 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13775 (__PTHREAD_SPIN): Likewise.
13776 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13777 (__PTHREAD_SPIN): Likewise.
13778 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13779 (__PTHREAD_SPIN): Likewise.
13780
de21c33c
AZ
13781 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13782 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13783 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13784 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13785 imply folder.
13786 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13787 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13788 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13789 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13790 correct imply path.
13791 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13792 strlen symbol for non multi-arch builds.
13793 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13794 missing hidden_def and weak_alias.
13795
862c472e
CD
137962014-04-08 Carlos O'Donell <carlos@redhat.com>
13797
13798 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13799
8667f90e
WN
138002014-04-07 Will Newton <will.newton@linaro.org>
13801
13802 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13803 and contents. [!_LIBC] Remove #ifndef and contents.
13804 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13805 * string/memccpy.c (__memccpy): Use ANSI prototype.
13806 * string/memfrob.c (memfrob): Likewise.
13807 * string/strcoll.c (STRCOLL): Likewise.
13808 * string/strlen.c (strlen): Likewise.
13809 * string/strtok.c (STRTOK): Likewise.
13810 * string/strcat.c: Remove unused #include of memcopy.h.
13811 (strcat): Use ANSI prototype.
13812 * string/strchr.c: Remove unused #include of memcopy.h.
13813 (strchr): Use ANSI prototype.
13814 * string/strcmp.c: Remove unused #include of memcopy.h.
13815 (strcmp): Use ANSI prototype.
13816 * string/strcpy.c: Remove unused #include of memcopy.h.
13817 (strcpy): Use ANSI prototype.
13818
7ffa9423
AZ
138192014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13820
13821 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13822 * config.make.in (config-extra-cppflags): Set it from
13823 libc_extra_cppflags.
13824 * configure.ac (libc_extra_cflags): Make it accumulate over
13825 configure fragments.
13826 (libc_extra_cppflags): New flag.
13827 * configure. Regenerate.
13828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13829 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13830 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13832
8bd70862
AZ
13833 [BZ #16815]
13834 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13835 result for FE_DOWNWARD rounding mode.
13836 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13837 Likewise.
13838 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13839
d42f3448
CM
138402014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13841
13842 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13843 in function argument name.
13844
1c21d115
DS
138452014-04-03 David Svoboda <svoboda@cert.org>
13846
13847 [BZ #5666]
13848 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13849 explicitly.
13850
fcccd512
RM
138512014-04-03 Roland McGrath <roland@hack.frob.com>
13852
13853 * elf/dl-unmap-segments.h: New file.
13854 * sysdeps/generic/ldsodefs.h
13855 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13856 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13857 * elf/dl-fptr.c: Likewise.
13858 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13859 * sysdeps/aarch64/tlsdesc.c: Likewise.
13860 * sysdeps/arm/tlsdesc.c: Likewise.
13861 * sysdeps/i386/tlsdesc.c: Likewise.
13862 * sysdeps/tile/dl-runtime.c: Likewise.
13863 * sysdeps/x86_64/tlsdesc.c: Likewise.
13864 * elf/dl-load.h: New file.
13865 * elf/dl-load.c: Include it.
13866 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13867 Macros moved to dl-load.h.
13868 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13869 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13870 Use _dl_unmap_segments in place of __munmap.
13871 Break out segment-mapping loop into ...
13872 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13873
f6488e2b
WN
138742014-04-03 Will Newton <will.newton@linaro.org>
13875
13876 * elf/dl-lookup.c (do_lookup_x): Remove comment
13877 referring to nested function and move variable
13878 declarations down to before first use.
13879
6f05bafe
JM
138802014-04-02 Joseph Myers <joseph@codesourcery.com>
13881
a84e78c8
JM
13882 [BZ #16799]
13883 [BZ #16800]
13884 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13885 with 0 numerator.
13886 * math/s_catanf.c (__catanf): Likewise.
13887 * math/s_catanh.c (__catanh): Likewise.
13888 * math/s_catanhf.c (__catanhf): Likewise.
13889 * math/s_catanhl.c (__catanhl): Likewise.
13890 * math/s_catanl.c (__catanl): Likewise.
13891 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13892 by positive zero when computing -Inf result.
13893 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13894 (catanh_test): Likewise.
13895 * sysdeps/i386/fpu/libm-test-ulps: Update.
13896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13897
6f05bafe
JM
13898 [BZ #16789]
13899 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13900 instead of using underflowing value in computing result.
13901 * math/s_clog10.c (__clog10): Likewise.
13902 * math/s_clog10f.c (__clog10f): Likewise.
13903 * math/s_clog10l.c (__clog10l): Likewise.
13904 * math/s_clogf.c (__clogf): Likewise.
13905 * math/s_clogl.c (__clogl): Likewise.
13906 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13907 (clog10_test): Likewise.
13908 * sysdeps/i386/fpu/libm-test-ulps: Update.
13909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13910
b0abbc21
AM
139112014-04-02 Alan Modra <amodra@gmail.com>
13912
13913 [BZ #16739]
13914 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13915 output when value is near a power of two. Use int64_t for lx and
13916 remove casts. Use decimal rather than hex exponent constants.
13917 Don't use long double multiplication when double will suffice.
13918 * math/libm-test.inc (nextafter_test_data): Add tests.
13919 * NEWS: Add 16739 and 16786 to bug list.
13920
af6b1797
AM
13921 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13922
483818d7
AM
13923 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13924
f6c55796
WN
139252014-04-01 Will Newton <will.newton@linaro.org>
13926
13927 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13928 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13929
13f7fe35
FW
139302014-04-01 Florian Weimer <fweimer@redhat.com>
13931
13932 [BZ #13347]
13933 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13934 * nptl/tst-setuid2.c: New file.
13935 * nptl/Makefile (xtests): Add tst-setuid2.
13936
c859b32e
AM
139372014-04-01 Alan Modra <amodra@gmail.com>
13938
13939 [BZ #16786]
13940 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13941
54fa2475
JM
139422014-03-31 Joseph Myers <joseph@codesourcery.com>
13943
8795b4a4
JM
13944 [BZ #6803]
13945 [BZ #6804]
13946 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13947 set errno as appropriate.
13948 * math/w_scalbf.c (__scalbf): Likewise.
13949 * math/w_scalbl.c (__scalbl): Likewise.
13950 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13951 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13952 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13953 Add more NaN tests.
13954
54fa2475
JM
13955 [BZ #16349]
13956 * math/w_atan2.c: Include <errno.h>.
13957 (__atan2): Set errno for result underflowing to zero.
13958 * math/w_atan2f.c: Include <errno.h>.
13959 (__atan2f): Set errno for result underflowing to zero.
13960 * math/w_atan2l.c: Include <errno.h>.
13961 (__atan2l): Set errno for result underflowing to zero.
13962 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13963 tests.
13964 * math/auto-libm-test-out: Regenerated.
13965
757d9dd5
AZ
139662014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13967
13968 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13969 Encode instruction correctly in little endian.
13970 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13971 Likewise.
13972 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13973 Likewise.
13974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13975 Likewise.
13976 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13977 Likewise.
13978
d7a68734
JM
139792014-03-31 Joseph Myers <joseph@codesourcery.com>
13980
47c5adeb
JM
13981 [BZ #9894]
13982 * sysdeps/unix/sysv/linux/kernel-features.h
13983 [__sparc__ && !__arch64__ && !__sparc_v9__]
13984 (__ASSUME_SET_ROBUST_LIST): Do not define.
13985 [__sparc__ && !__arch64__ && !__sparc_v9__]
13986 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13987 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13988 Likewise.
13989 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13990 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13991 (__ASSUME_REQUEUE_PI): Likewise.
13992 (__ASSUME_SET_ROBUST_LIST): Likewise.
13993 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13994 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13995 Undefine.
13996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13997 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13998 Likewise.
13999 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14000 Likewise.
14001 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14002 Likewise.
14003 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14004 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14005 Undefine.
14006 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14007 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14008 Likewise.
14009
d7a68734
JM
14010 [BZ #16648]
14011 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14012 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14013 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14014
c760f5c2
WN
140152014-03-31 Will Newton <will.newton@linaro.org>
14016
14017 * benchtests/Makefile (bench): Add ffs and ffsll to list
14018 of tests.
14019 * benchtests/ffs-inputs: New file.
14020 * benchtests/ffsll-inputs: Likewise.
14021
ea6029b1
JM
140222014-03-29 Joseph Myers <joseph@codesourcery.com>
14023
14024 [BZ #16770]
14025 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14026 too large before casting to int.
14027 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14028 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14029 * math/libm-test.inc (scalb_test_data): Add more tests.
14030
cf806aff
SP
140312014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14032
56737508
SP
14033 * benchtests/Makefile (DETAILED_OPT): New make option.
14034 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14035 set.
14036 * benchtests/bench-skeleton.c: Include stdbool.h.
14037 (main): Store and print timings per input.
14038 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14039 member to each argument value.
14040 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14041 (_print_arg_data): Initialize per-input timing to 0.
14042
cb5e4aad
SP
14043 * benchtests/Makefile (timing-type): New binary.
14044 (bench-clean): Also remove bench-timing-type.
14045 (bench): New target for timing-type.
14046 (bench-func): Print output in JSON format.
14047 * benchtests/bench-skeleton.c (main): Print output in JSON
14048 format.
14049 * benchtests/bench-timing-type.c: New file.
14050 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14051 (TIMING_PRINT_STATS): Remove.
14052 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14053 name separately.
14054
cf806aff
SP
14055 * benchtests/bench-modf.c: Remove.
14056 * benchtests/modf-inputs: New inputs file.
14057
289e0779
JM
140582014-03-28 Joseph Myers <joseph@codesourcery.com>
14059
14060 [BZ #16362]
14061 * math/s_clog10.c (M_PI_LOG10E): New macro.
14062 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14063 imaginary parts are 0.
14064 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14065 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14066 imaginary parts are 0.
14067 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14068 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14069 imaginary parts are 0.
14070 * math/libm-test.inc (clog10_test_data): Update expected results
14071 for when real and imaginary parts are 0.
14072
277ae3f1
PP
140732014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14074
14075 * elf/dl-load.c: Finish conversion of __builtin_expect into
14076 __glibc_{un}likely.
14077
03a7091f
JM
140782014-03-27 Joseph Myers <joseph@codesourcery.com>
14079
14080 [BZ #16348]
14081 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14082 1+x for argument with exponent below -67.
14083 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14084 Likewise.
14085 * math/auto-libm-test-in: Add more tests of exp.
14086 * math/auto-libm-test-out: Regenerated.
14087
ea7d8b95
SP
140882014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14089
dd3022d7
SP
14090 [BZ #16759]
14091 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14092 (nscd_getnetgrent): Use it.
14093
ea7d8b95
SP
14094 [BZ #16760]
14095 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14096 of stpcpy.
14097
df5b85da
AK
140982014-03-27 Andi Kleen <ak@linux.intel.com>
14099
57f41c40
AS
14100 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14101 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14102 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14103 (lll_robust_unlock): Remove out of line section. Use cfi
14104 intrinsics.
df5b85da 14105 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14106 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14107 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14108 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14109 (lll_robust_unlock): Remove out of line section. Use cfi
14110 intrinsics.
df5b85da
AK
14111 (LLL_STUB_UNWIND_INFO*): Remove.
14112
fbd6b5a4
SP
141132014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14114
14115 [BZ #16758]
14116 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14117 blank values.
14118
1b26b855
PP
141192014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14120
14121 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14122
9be36fb8
JM
141232014-03-26 Joseph Myers <joseph@codesourcery.com>
14124
14125 [BZ #16198]
14126 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14127 fnstenv.
14128 * math/test-fenv-preserve.c: New file.
14129 * math/Makefile (tests): Add test-fenv-preserve.
14130
60a2f3c1
WN
141312014-03-26 Will Newton <will.newton@linaro.org>
14132
14133 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14134
a5e5f1e2
RM
141352014-03-25 Roland McGrath <roland@hack.frob.com>
14136
14137 * scripts/versionlist.awk: Partition the version sets and emit all
14138 GLIBC_* (sorted) before all others (sorted).
14139
00f4012a
JM
141402014-03-25 Joseph Myers <joseph@codesourcery.com>
14141
14142 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14143 GLIBC_2.2.5 version.
14144
7bc5a741
AZ
141452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14146
14147 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14148 calls.
14149
7578473b
AZ
14150 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14151 previous change.
14152
f3f1dab3
AZ
14153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14154
6da36183
AS
141552014-03-25 Andreas Schwab <schwab@suse.de>
14156
14157 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14158 label to be used after in6ailist is initialized.
14159
f3f1dab3 141602014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14161
7578473b 14162 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14163 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14164
046651c1
JM
141652014-03-25 Joseph Myers <joseph@codesourcery.com>
14166
14167 [BZ #16357]
14168 [BZ #16599]
14169 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14170 min_plus_half.
14171 (fp_formats): Update initializers.
14172 (init_fp_formats): Initialize new field.
14173 (output_for_one_input_case): Allow underflow for results up to
14174 min_plus_half.
14175 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14176 * math/auto-libm-test-in: Don't mark some underflows from asin and
14177 atanh as spurious.
14178 * math/auto-libm-test-out: Regenerated.
14179 * sysdeps/i386/fpu/libm-test-ulps: Update.
14180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14181
003e49ed
AS
141822014-03-25 Andreas Schwab <schwab@suse.de>
14183
14184 * libio/Makefile (tst-ftell-partial-wide-ENV)
14185 (tst-ftell-active-handler-ENV): Define.
14186
de031874
SL
141872014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14188
14189 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14190
55a81e3b
PP
141912014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14192
14193 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14194
f3426898
JM
141952014-03-24 Joseph Myers <joseph@codesourcery.com>
14196
14197 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14198 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14199 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14200
a42faf59
PP
142012014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14202
14203 [BZ #16634]
a42faf59 14204 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14205 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14206 (open_path): Change from boolean 'secure' to complete flag 'mode'
14207 (_dl_map_object): Adjust.
a42faf59
PP
14208 * elf/Makefile (tests): Add tst-dlopen-aout.
14209 * elf/tst-dlopen-aout.c: New test.
14210
50936127
SL
142112014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14212
14213 [BZ #16714]
14214 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14215 (struct stat): Rename member pad0 to __glibc_reserved0.
14216
26011b5c
SL
14217 [BZ #16712]
14218 * sysdeps/s390/s390-32/bits/wordsize.h
14219 (__WORDSIZE32_SIZE_ULONG): New define.
14220 * sysdeps/s390/s390-64/bits/wordsize.h
14221 (__WORDSIZE32_SIZE_ULONG): Likewise.
14222 * sysdeps/generic/stdint.h (SIZE_MAX):
14223 Define as UL if __WORDSIZE32_SIZE_ULONG.
14224
a2d86bf1
SL
14225 [BZ #16713]
14226 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14227 (__glibc_reserved0): New variable.
14228 (sa_flags): Change type to int.
14229
78b6eebc
SL
14230 * posix/Makefile (before-compile): Use += before-compile instead
14231 of a :=.
14232
f1399b5a
SL
14233 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14234 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14235
a071766e
AS
142362014-03-20 Andreas Schwab <schwab@suse.de>
14237
14238 [BZ #16743]
14239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14240 non-matching result from nscd.
14241
27c673b8
SP
142422014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14243
14244 * scripts/bench.py: Moved to ...
14245 * benchtests/scripts/bench.py: ... here.
14246 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14247
44152e4b
AS
142482014-03-24 Andreas Schwab <schwab@suse.de>
14249
14250 [BZ #16002]
14251 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14252 alloca_account and account alloca use for struct in6ailist.
14253
b376a11a
JM
142542014-03-24 Joseph Myers <joseph@codesourcery.com>
14255
14256 [BZ #16284]
14257 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14258 rounding mode to recompute results that overflow to infinity or
14259 underflow to zero.
14260 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14261 bug 16284.
14262 * math/auto-libm-test-out: Regenerated.
14263 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14264 (ccosh_test): Likewise.
14265 (csin_test_data): Use plus_oflow.
14266 (csin_test): Use ALL_RM_TEST.
14267 (csinh_test_data): Use plus_oflow.
14268 (csinh_test): Use ALL_RM_TEST.
14269 * sysdeps/i386/fpu/libm-test-ulps: Update.
14270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14271
f7be7376
JM
142722014-03-21 Joseph Myers <joseph@codesourcery.com>
14273
1ca2d03e
JM
14274 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14275 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14276 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14277
f7be7376
JM
14278 [BZ #16731]
14279 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14280 when x - 1 is zero.
14281 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14282 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14283 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14284 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14285 argument is 1.
14286 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14287 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14288 zero.
14289 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14290 * sysdeps/i386/fpu/libm-test-ulps: Update.
14291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14292
fdf4534d
SP
142932014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14294
df26ea53
SP
14295 * scripts/bench.pl: Remove file.
14296 * scripts/bench.py: New benchmark script.
14297 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14298 * benchtests/README: Mention python dependency.
14299 * scripts/pylintrc: New file.
14300 * scripts/pylint: New file.
14301
fdf4534d
SP
14302 * bits/mathdef.h: Use #ifdef instead of #if.
14303 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14304 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14305 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14306 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14307 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14308 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14309
6f23d093
AZ
143102014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14311 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14312
14313 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14314 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14315 and strpbrk-ppc64 objects.
14316 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14317 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14318 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14319 multiarch strpbrk for POWER7.
14320 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14321 multiarch strpbrk for PPC64.
14322 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14323 ifunc selector.
14324 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14325 strpbrk for POWER7.
14326
8c92dfff
JM
143272014-03-20 Joseph Myers <joseph@codesourcery.com>
14328
14329 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14330 (atan_test): Likewise.
14331 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14332 (atanh_test): Use ALL_RM_TEST.
14333 (atan2_test_data): Likewise.
14334 (cabs_test): Likewise.
14335 (cacosh_test): Likewise.
14336 (carg_test): Likewise.
14337 (casin_test): Likewise.
14338 (casinh_test): Likewise.
14339 (cbrt_test): Likewise.
14340 (csqrt_test): Likewise.
14341 (erf_test): Likewise.
14342 (erfc_test): Likewise.
14343 (pow10_test): Likewise.
14344 (exp2_test): Likewise.
14345 (hypot_test): Likewise.
14346 (j0_test): Likewise.
14347 (j1_test): Likewise.
14348 (lgamma_test): Likewise.
14349 (gamma_test): Likewise.
14350 (sincos_test): Likewise.
14351 (tanh_test): Likewise.
14352 (y0_test): Likewise.
14353 (y1_test): Likewise.
14354 * sysdeps/i386/fpu/libm-test-ulps: Update.
14355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14356
6eaf95cb
AZ
143572014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14358
a387428c
SP
14359 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14360 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14361 and strcspn-ppc64 objects.
14362 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14363 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14364 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14365 multiarch strcspn for POWER7.
14366 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14367 multiarch strcspn for PPC64.
14368 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14369 ifunc selector.
14370 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14371 strcspn for POWER7.
14372
ae3a5dff
JM
143732014-03-20 Joseph Myers <joseph@codesourcery.com>
14374
14375 * math/gen-libm-test.pl (generate_testfile): Expect only function
14376 name as argument to AUTO_TESTS_* and pass results for all rounding
14377 modes to parse_args.
14378 (parse_auto_input): Separate inputs of automatic tests from
14379 outputs before storing in %auto_tests.
14380 * math/libm-test.inc (acos_test_data): Update call to
14381 AUTO_TESTS_f_f.
14382 (acos_test): Use ALL_RM_TEST.
14383 (acos_tonearest_test_data): Remove.
14384 (acos_test_tonearest): Likewise.
14385 (acos_towardzero_test_data): Likewise.
14386 (acos_test_towardzero): Likewise.
14387 (acos_downward_test_data): Likewise.
14388 (acos_test_downward): Likewise.
14389 (acos_upward_test_data): Likewise.
14390 (acos_test_upward): Likewise.
14391 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14392 (asin_test_data): Likewise.
14393 (asin_test): Use ALL_RM_TEST.
14394 (asin_tonearest_test_data): Remove.
14395 (asin_test_tonearest): Likewise.
14396 (asin_towardzero_test_data): Likewise.
14397 (asin_test_towardzero): Likewise.
14398 (asin_downward_test_data): Likewise.
14399 (asin_test_downward): Likewise.
14400 (asin_upward_test_data): Likewise.
14401 (asin_test_upward): Likewise.
14402 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14403 (atan_test_data): Likewise.
14404 (atanh_test_data): Likewise.
14405 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14406 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14407 (carg_test_data): Likewise.
14408 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14409 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14410 (ccosh_test_data): Likewise.
14411 (cexp_test_data): Likewise.
14412 (clog_test_data): Likewise.
14413 (clog10_test_data): Likewise.
14414 (cos_test_data): Update call to AUTO_TESTS_f_f.
14415 (cos_test): Use ALL_RM_TEST.
14416 (cos_tonearest_test_data): Remove.
14417 (cos_test_tonearest): Likewise.
14418 (cos_towardzero_test_data): Likewise.
14419 (cos_test_towardzero): Likewise.
14420 (cos_downward_test_data): Likewise.
14421 (cos_test_downward): Likewise.
14422 (cos_upward_test_data): Likewise.
14423 (cos_test_upward): Likewise.
14424 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14425 (cosh_test): Use ALL_RM_TEST.
14426 (cosh_tonearest_test_data): Remove.
14427 (cosh_test_tonearest): Likewise.
14428 (cosh_towardzero_test_data): Likewise.
14429 (cosh_test_towardzero): Likewise.
14430 (cosh_downward_test_data): Likewise.
14431 (cosh_test_downward): Likewise.
14432 (cosh_upward_test_data): Likewise.
14433 (cosh_test_upward): Likewise.
14434 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14435 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14436 (ctan_test_data): Likewise.
14437 (ctan_test): Use ALL_RM_TEST.
14438 (ctan_tonearest_test_data): Remove.
14439 (ctan_test_tonearest): Likewise.
14440 (ctan_towardzero_test_data): Likewise.
14441 (ctan_test_towardzero): Likewise.
14442 (ctan_downward_test_data): Likewise.
14443 (ctan_test_downward): Likewise.
14444 (ctan_upward_test_data): Likewise.
14445 (ctan_test_upward): Likewise.
14446 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14447 (ctanh_test): Use ALL_RM_TEST.
14448 (ctanh_tonearest_test_data): Remove.
14449 (ctanh_test_tonearest): Likewise.
14450 (ctanh_towardzero_test_data): Likewise.
14451 (ctanh_test_towardzero): Likewise.
14452 (ctanh_downward_test_data): Likewise.
14453 (ctanh_test_downward): Likewise.
14454 (ctanh_upward_test_data): Likewise.
14455 (ctanh_test_upward): Likewise.
14456 (erf_test_data): Update call to AUTO_TESTS_f_f.
14457 (erfc_test_data): Likewise.
14458 (exp_test_data): Likewise.
14459 (exp_test): Use ALL_RM_TEST.
14460 (exp_tonearest_test_data): Remove.
14461 (exp_test_tonearest): Likewise.
14462 (exp_towardzero_test_data): Likewise.
14463 (exp_test_towardzero): Likewise.
14464 (exp_downward_test_data): Likewise.
14465 (exp_test_downward): Likewise.
14466 (exp_upward_test_data): Likewise.
14467 (exp_test_upward): Likewise.
14468 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14469 (exp10_test): Use ALL_RM_TEST.
14470 (exp10_tonearest_test_data): Remove.
14471 (exp10_test_tonearest): Likewise.
14472 (exp10_towardzero_test_data): Likewise.
14473 (exp10_test_towardzero): Likewise.
14474 (exp10_downward_test_data): Likewise.
14475 (exp10_test_downward): Likewise.
14476 (exp10_upward_test_data): Likewise.
14477 (exp10_test_upward): Likewise.
14478 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14479 (expm1_test_data): Likewise.
14480 (expm1_test): Use ALL_RM_TEST.
14481 (expm1_tonearest_test_data): Remove.
14482 (expm1_test_tonearest): Likewise.
14483 (expm1_towardzero_test_data): Likewise.
14484 (expm1_test_towardzero): Likewise.
14485 (expm1_downward_test_data): Likewise.
14486 (expm1_test_downward): Likewise.
14487 (expm1_upward_test_data): Likewise.
14488 (expm1_test_upward): Likewise.
14489 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14490 (fma_test): Use ALL_RM_TEST.
14491 (fma_towardzero_test_data): Remove.
14492 (fma_test_towardzero): Likewise.
14493 (fma_downward_test_data): Likewise.
14494 (fma_test_downward): Likewise.
14495 (fma_upward_test_data): Likewise.
14496 (fma_test_upward): Likewise.
14497 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14498 (j0_test_data): Update call to AUTO_TESTS_f_f.
14499 (j1_test_data): Likewise.
14500 (jn_test_data): Update call to AUTO_TESTS_if_f.
14501 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14502 (log_test_data): Update call to AUTO_TESTS_f_f.
14503 (log10_test_data): Likewise.
14504 (log1p_test_data): Likewise.
14505 (log2_test_data): Likewise.
14506 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14507 (pow_tonearest_test_data): Likewise.
14508 (sin_test_data): Update call to AUTO_TESTS_f_f.
14509 (sin_test): Use ALL_RM_TEST.
14510 (sin_tonearest_test_data): Remove.
14511 (sin_test_tonearest): Likewise.
14512 (sin_towardzero_test_data): Likewise.
14513 (sin_test_towardzero): Likewise.
14514 (sin_downward_test_data): Likewise.
14515 (sin_test_downward): Likewise.
14516 (sin_upward_test_data): Likewise.
14517 (sin_test_upward): Likewise.
14518 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14519 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14520 (sinh_test): Use ALL_RM_TEST.
14521 (sinh_tonearest_test_data): Remove.
14522 (sinh_test_tonearest): Likewise.
14523 (sinh_towardzero_test_data): Likewise.
14524 (sinh_test_towardzero): Likewise.
14525 (sinh_downward_test_data): Likewise.
14526 (sinh_test_downward): Likewise.
14527 (sinh_upward_test_data): Likewise.
14528 (sinh_test_upward): Likewise.
14529 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14530 (sqrt_test): Use ALL_RM_TEST.
14531 (sqrt_tonearest_test_data): Remove.
14532 (sqrt_test_tonearest): Likewise.
14533 (sqrt_towardzero_test_data): Likewise.
14534 (sqrt_test_towardzero): Likewise.
14535 (sqrt_downward_test_data): Likewise.
14536 (sqrt_test_downward): Likewise.
14537 (sqrt_upward_test_data): Likewise.
14538 (sqrt_test_upward): Likewise.
14539 (tan_test_data): Update call to AUTO_TESTS_f_f.
14540 (tan_test): Use ALL_RM_TEST.
14541 (tan_tonearest_test_data): Remove.
14542 (tan_test_tonearest): Likewise.
14543 (tan_towardzero_test_data): Likewise.
14544 (tan_test_towardzero): Likewise.
14545 (tan_downward_test_data): Likewise.
14546 (tan_test_downward): Likewise.
14547 (tan_upward_test_data): Likewise.
14548 (tan_test_upward): Likewise.
14549 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14550 (tgamma_test_data): Likewise.
14551 (y0_test_data): Likewise.
14552 (y1_test_data): Likewise.
14553 (yn_test_data): Update call to AUTO_TESTS_if_f.
14554 (main): Do not call removed functions.
14555
d71aeee8
JM
145562014-03-19 Joseph Myers <joseph@codesourcery.com>
14557
14558 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14559 (ldexp_test_data): Remove.
14560 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14561 scalbn_test_data.
14562 (scalb_test): Use ALL_RM_TEST.
14563
baaf1ded
AS
145642014-03-19 Andreas Schwab <schwab@suse.de>
14565
14566 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14567
b1115e91
JM
145682014-03-19 Joseph Myers <joseph@codesourcery.com>
14569
14570 [BZ #16649]
14571 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14572 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14573 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14574 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14575 (__ASSUME_PREADV): Undefine.
14576 (__ASSUME_PWRITEV): Likewise.
14577
0283ecca
RM
145782014-03-18 Roland McGrath <roland@hack.frob.com>
14579
7d375303
RM
14580 * bits/mman-linux.h: Add comment about non-Linux use.
14581 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14582 bits/mman-linux.h resting place.
14583
0283ecca
RM
14584 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14585 * bits/mman-linux.h: ... here.
14586
aebe1003
AZ
145872014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14588
14589 * conform/conformtest.pl: Add standard definition when calling C
14590 preprocessor on data files.
14591 (checknamespace): Remove unused variable.
14592
b29b6bb8
JM
145932014-03-18 Joseph Myers <joseph@codesourcery.com>
14594
14595 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14596 minus_oflow, plus_uflow and minus_uflow in expected results.
14597 * math/libm-test.inc (scalbn_test_data): Add more tests of
14598 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14599 minus_uflow.
14600 (scalbn_test): Use ALL_RM_TEST.
14601 (scalbln_test_data): Add more tests of negative arguments. Use
14602 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14603 (scalbln_test): Use ALL_RM_TEST.
14604
c8f8fa15
RM
146052014-03-18 Roland McGrath <roland@hack.frob.com>
14606
14607 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14608
fede7a5f
WN
146092014-03-18 Will Newton <will.newton@linaro.org>
14610
14611 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14612 inaccurate comment.
14613
80cf0a58
JM
146142014-03-18 Joseph Myers <joseph@codesourcery.com>
14615
14616 * Makerules [!subdir] (check-abi): Exit with error status if a
14617 test failed.
14618
b3620862
JM
146192014-03-17 Joseph Myers <joseph@codesourcery.com>
14620
14621 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14622 for rint. Include results for all rounding modes.
14623 (nearbyint_test): Use ALL_RM_TEST.
14624 (rint_test_data): Include all tests used for nearbyint.
14625
788bba36
WN
146262014-03-17 Will Newton <will.newton@linaro.org>
14627
04ec140a
WN
14628 * nptl/sysdeps/pthread/pthread.h: Revert previous
14629 change.
14630
7579d8d5
WN
14631 * sysdeps/generic/ldsodefs.h: Revert previous
14632 change.
14633
c15cf13a
WN
14634 * libio/genops.c: Revert previous change.
14635 * libio/libioP.h: Likewise.
14636 * stdio-common/vfprintf.c: Likewise.
14637
d0ac1324
WN
14638 * sysdeps/generic/math_private.h: Revert previous
14639 change.
14640
9290130a
WN
14641 * sysdeps/generic/math_private.h: Check whether
14642 HAVE_RM_CTX is defined with #ifdef rather
14643 than #if.
14644
afb466fc
WN
14645 * argp/argp-fmtstream.h: Check whether
14646 __STRICT_ANSI__ is defined with #ifdef rather
14647 than #if.
14648 * argp/argp.h: Likewise.
14649
f7efd7c3
WN
14650 * libio/genops.c: Check whether
14651 _IO_JUMPS_OFFSET is defined with #ifdef rather
14652 than #if.
14653 * libio/libioP.h: Likewise.
14654 * stdio-common/vfprintf.c: Likewise.
14655
53f1bed3
WN
14656 * sysdeps/generic/ldsodefs.h: Check whether
14657 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14658 than #if.
14659
788bba36
WN
14660 * nptl/sysdeps/pthread/pthread.h: Check
14661 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14662 its value.
14663
fcd89ebe
SP
146642014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14665
ae42bbc5
SP
14666 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14667 setting O_APPEND.
14668 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14669 test case.
14670
ea33158c
SP
14671 [BZ #16680]
14672 * libio/fileops.c (_IO_file_open): Seek to end of file but
14673 don't cache the offset.
14674 (get_file_offset): Remove function.
14675 (do_ftell): Use cached offset when available.
14676 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14677 don't cache the offset.
14678 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14679 case.
14680 (do_one_test): Call it.
14681 (do_ftell_test): Fix up expected old offset for a+ mode.
14682 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14683 available.
14684
b1dbb426
SP
14685 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14686 up test status with function return status.
14687 (do_write_test): Likewise.
14688 (do_append_test): Likewise.
14689
fcd89ebe
SP
14690 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14691 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14692 Remove.
14693
9962a2d3
JM
146942014-03-17 Joseph Myers <joseph@codesourcery.com>
14695
14696 * math/gen-libm-test.pl (parse_args): Handle results specified for
14697 each rounding mode separately.
14698 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14699 tests and results from lrint_tonearest_test_data,
14700 lrint_towardzero_test_data, lrint_downward_test_data and
14701 lrint_upward_test_data.
14702 (lrint_test): Use ALL_RM_TEST.
14703 (lrint_tonearest_test_data): Remove.
14704 (lrint_test_tonearest): Likewise.
14705 (lrint_towardzero_test_data): Likewise.
14706 (lrint_test_towardzero): Likewise.
14707 (lrint_downward_test_data): Likewise.
14708 (lrint_test_downward): Likewise.
14709 (lrint_upward_test_data): Likewise.
14710 (lrint_test_upward): Likewise.
14711 (llrint_test_data): Merge in per-rounding-mode tests and results
14712 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14713 llrint_downward_test_data and llrint_upward_test_data.
14714 (llrint_test): Use ALL_RM_TEST.
14715 (llrint_tonearest_test_data): Remove.
14716 (llrint_test_tonearest): Likewise.
14717 (llrint_towardzero_test_data): Likewise.
14718 (llrint_test_towardzero): Likewise.
14719 (llrint_downward_test_data): Likewise.
14720 (llrint_test_downward): Likewise.
14721 (llrint_upward_test_data): Likewise.
14722 (llrint_test_upward): Likewise.
14723 (rint_test_data): Merge in per-rounding-mode tests and results
14724 from rint_tonearest_test_data, rint_towardzero_test_data,
14725 rint_downward_test_data and rint_upward_test_data. Add
14726 per-rounding-mode results for tests not in those arrays.
14727 (rint_test): Use ALL_RM_TEST.
14728 (rint_tonearest_test_data): Remove.
14729 (rint_test_tonearest): Likewise.
14730 (rint_towardzero_test_data): Likewise.
14731 (rint_test_towardzero): Likewise.
14732 (rint_downward_test_data): Likewise.
14733 (rint_test_downward): Likewise.
14734 (rint_upward_test_data): Likewise.
14735 (rint_test_upward): Likewise.
14736 (main): Don't call removed functions.
14737
5006148e
RM
147382014-03-14 Roland McGrath <roland@hack.frob.com>
14739
14740 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14741 "Compiled on ..." crapola. It is anti-useful.
14742
d6fe5e58
JM
147432014-03-14 Joseph Myers <joseph@codesourcery.com>
14744
14745 * scripts/evaluate-test.sh: Handle fourth argument to determine
14746 whether test run should stop on failure.
14747 * Makeconfig (stop-on-test-failure): New variable.
14748 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14749 $(stop-on-test-failure).
14750 * Makefile (tests): Give a summary of results from testing and
14751 exit with failure status if they include an ERROR or FAIL.
14752 (xtests): Likewise.
14753 * manual/install.texi (Configuring and compiling): Mention
14754 stop-on-test-failure=y.
14755 * INSTALL: Regenerated.
14756
498a2233
RM
147572014-03-14 Roland McGrath <roland@hack.frob.com>
14758
22dbc19d
RM
14759 * scripts/versionlist.awk: New file.
14760 * Makerules [$(build-shared) = yes]
14761 (postclean-generated): Add Versions.def, not Versions.def.v and
14762 Versions.def.v.i.
14763 ($(common-objpfx)Versions.def.v.i): Target removed.
14764 ($(common-objpfx)Versions.def): New target.
14765 ($(common-objpfx)Versions.all): Depend on that rather that
14766 $(common-objpfx)Versions.def.v.
14767 * Versions.def: File removed.
14768
498a2233
RM
14769 * Makeconfig (+gccwarn): Add -Wundef.
14770 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14771 a dl-sysdep.h breaking its contract.
14772 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14773 * include/stackinfo.h: New file.
14774 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14775 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14776 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14777 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14778 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14779 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14780 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14781 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14782 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14783 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14784 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14785 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14786 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14787 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14788 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14789
c7de5025
AZ
147902014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14791
14792 [BZ #16707]
14793 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14794 implementation.
14795 * math/libm-test.inc (round_test_data): Add more tests.
14796
98fb27a3
AZ
14797 [BZ #16706]
14798 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14799 implementation.
14800 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14801
374f7f61
AZ
14802 [BZ #16701]
14803 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14804 implementation.
14805 * math/libm-test.inc (ceil_test_data): Add more tests.
14806
4655c291
AZ
14807 * math/libm-test.inc (trunc_test_data): Add more tests related to
14808 BZ#16414.
14809
d7329d4b
RM
148102014-03-14 Roland McGrath <roland@hack.frob.com>
14811
14812 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14813 with #if rather than #ifdef.
14814 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14815
aa4de9ce
L
148162014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14817
14818 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14819 first. Disable AVX-512 GCC support if assembler doesn't support
14820 it.
14821 * sysdeps/x86_64/configure: Regenerated.
14822
2e03fae7
CD
148232014-03-13 Carlos O'Donell <carlos@redhat.com>
14824
14825 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14826 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14827 (__old_pthread_attr_setstack): Likewise.
14828 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14829 [!_STACK_GROWS_DOWN]: Likewise.
14830
43ca83ec
MF
148312014-03-13 Mike Frysinger <vapier@gentoo.org>
14832
14833 * config.make.in (have-bash2): Delete.
14834 * configure.ac (libc_cv_have_bash2): Delete.
14835 * configure: Regenerate.
14836 * elf/Makefile (common-ldd-rewrite): Rename to ...
14837 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14838 (sh-ldd-rewrite): Delete.
14839 (bash-ldd-rewrite): Delete.
14840 (have-bash2): Delete checks.
57f41c40
AS
14841 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14842 ldd-rewrite.
c66e48b4
MF
14843
14844 * config.make.in (have-ksh): Delete.
14845 (KSH): Delete.
14846 * configure.ac (libc_cv_have_ksh): Delete.
14847 * configure: Regenerate.
14848
b93834ef
MF
14849 * elf/Makefile: Delete $(have-ksh) check.
14850 ($(objpfx)sotruss): Change KSH to BASH.
14851 * elf/sotruss.ksh: Rename to ...
14852 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14853 function style to match POSIX. Drop ksh vim mode setting.
14854
f3a4632a
MF
14855 * manual/time.texi (Specifying the Time Zone with TZ): Change
14856 Tuesday to Thursday.
14857
5896c8bd
MF
14858 * debug/tst-longjmp_chk2.c: Update header comment.
14859 (stackoverflow_handler): Add comment. Call assert on pass value.
14860
2d63a517
IZ
148612014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14862
7e54fd04 14863 [BZ #16194]
2d63a517
IZ
14864 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14865 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14866 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14867 (La_x86_64_vector): Add zmm.
14868 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14869 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14870 ($(objpfx)tst-audit10): New target.
14871 ($(objpfx)tst-audit10.out): Likewise.
14872 (tst-audit10-ENV): New.
14873 (AVX512-CFLAGS): Likewise.
14874 (CFLAGS-tst-audit10.c): Likewise.
14875 (CFLAGS-tst-auditmod10a.c): Likewise.
14876 (CFLAGS-tst-auditmod10b.c): Likewise.
14877 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14878 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14879 * sysdeps/x86_64/configure: Regenerated.
14880 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14881 AVX-512 zmm register support.
14882 (_dl_x86_64_save_sse): Likewise.
14883 (_dl_x86_64_restore_sse): Likewise.
14884 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14885 size vector registers.
14886 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14887 (ZMM_SIZE): Likewise.
14888 * sysdeps/x86_64/tst-audit10.c: New file.
14889 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14890 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14891
44c4e5d5
RM
148922014-03-13 Roland McGrath <roland@hack.frob.com>
14893
14894 * configure.ac (HAVE_EHDR_START): New check.
14895 * configure: Regenerated.
14896 * config.h.in (HAVE_EHDR_START): New #undef.
14897 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14898 assuming the lowest-addressed segment maps the start of the file.
14899
acd6e389
JM
149002014-03-13 Joseph Myers <joseph@codesourcery.com>
14901
14902 * INSTALL: Regenerated.
14903
6f918f36
WN
149042014-03-13 Will Newton <will.newton@linaro.org>
14905
14906 * manual/setjmp.texi (System V contexts): Improve
14907 clarity and grammar of documentation.
14908
798212a0
PP
149092014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14910
14911 [BZ #16381]
798212a0 14912 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14913 (tests-pie): Add tst-pie2.
798212a0
PP
14914 * elf/tst-pie2.c: New file.
14915 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14916 for ET_EXEC.
14917 * elf/rtld.c (map_doit): Load executable as lt_executable.
14918 (dl_main): Likewise.
14919
abe6d90c
JM
149202014-03-12 Joseph Myers <joseph@codesourcery.com>
14921
14922 [BZ #16642]
14923 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14924 (__ASSUME_PSELECT): Undefine.
14925
dd3946c6
AZ
149262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14927
14928 [BZ #16689]
14929 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14930 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14931 static build.
14932 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14933 selector for static builds.
14934
c44496df
SP
149352014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14936
14937 [BZ #16695]
14938 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14939 key in the buffer.
14940
27c7220a
AZ
149412014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14942
57f41c40
AS
14943 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14944 IFUNC selector for static builds.
27c7220a 14945
600fa361
JM
149462014-03-11 Joseph Myers <joseph@codesourcery.com>
14947
76c96cf7
JM
14948 * sysdeps/mips/math_private.h [__mips_hard_float]
14949 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14950 libc_feresetround_mips_ctx.
14951 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14952 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14953 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14954
600fa361
JM
14955 [BZ #16677]
14956 * math/s_nextafter.c (__nextafter): Do not return value from
14957 overflowing computation.
14958 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14959 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14960 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14961 Likewise.
14962 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14963 Likewise.
14964 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14965 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14966
d7706c32
RM
149672014-03-11 Roland McGrath <roland@hack.frob.com>
14968
14969 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14970 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14971 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14972 the new mov targetting sp.
14973
4facea47
AZ
149742014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14975
14976 [BZ #16683]
14977 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14978 Define it for static builds as well.
14979 (NO_BZERO_IMPL): Likewise.
14980
e65caf1f
VR
149812014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14982
14983 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14984 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14985 multiarch strspn for PPC64.
14986 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14987 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14988 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14989 (__libc_ifunc_impl_list): Likewise.
14990 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14991 multiarch optimizations
14992 * string/strspn.c (strspn): Using macro to redefine symbol name.
14993
ba9cc071
AZ
149942014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14995 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14996
14997 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14998 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14999 multiarch strncat for PPC64.
15000 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15001 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15003 (__libc_ifunc_impl_list): Likewise.
15004 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15005 multiarch optimizations
15006
8b4ff974
SP
150072014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15008
15009 [BZ #16639]
15010 * nscd/nscd.service: Make service type forking.
15011
54b46a4b
AZ
150122014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15013
15014 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15015 sign in non default rounding modes.
15016 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15017
e9996ef7
JM
150182014-03-08 Joseph Myers <joseph@codesourcery.com>
15019
15020 * math/libm-test.inc (ALL_RM_TEST): New macro.
15021 (ceil_test): Use ALL_RM_TEST.
15022 (cimag_test): Likewise.
15023 (conj_test): Likewise.
15024 (copysign_test): Likewise.
15025 (cproj_test): Likewise.
15026 (creal_test): Likewise.
15027 (fabs_test): Likewise.
15028 (floor_test): Likewise.
15029 (fmax_test): Likewise.
15030 (fmin_test): Likewise.
15031 (fmod_test): Likewise.
15032 (fpclassify_test): Likewise.
15033 (frexp_test): Likewise.
15034 (ilogb_test): Likewise.
15035 (isfinite_test): Likewise.
15036 (finite_test): Likewise.
15037 (isgreater_test): Likewise.
15038 (isgreaterequal_test): Likewise.
15039 (isinf_test): Likewise.
15040 (isless_test): Likewise.
15041 (islessequal_test): Likewise.
15042 (islessgreater_test): Likewise.
15043 (isnan_test): Likewise.
15044 (isnormal_test): Likewise.
15045 (issignaling_test): Likewise.
15046 (isunordered_test): Likewise.
15047 (logb_test): Likewise.
15048 (logb_downward_test_data): Remove.
15049 (logb_test_downward): Likewise.
15050 (lround_test): Use ALL_RM_TEST.
15051 (llround_test): Likewise.
15052 (modf_test): Likewise.
15053 (nexttoward_test): Likewise.
15054 (remainder_test): Likewise.
15055 (drem_test): Likewise.
15056 (remainder_tonearest_test_data): Likewise.
15057 (remainder_test_tonearest): Likewise.
15058 (drem_test_tonearest): Likewise.
15059 (remainder_towardzero_test_data): Likewise.
15060 (remainder_test_towardzero): Likewise.
15061 (drem_test_towardzero): Likewise.
15062 (remainder_downward_test_data): Likewise.
15063 (remainder_test_downward): Likewise.
15064 (drem_test_downward): Likewise.
15065 (remainder_upward_test_data): Likewise.
15066 (remainder_test_upward): Likewise.
15067 (drem_test_upward): Likewise.
15068 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15069 (round_test): Use ALL_RM_TEST.
15070 (signbit_test): Likewise.
15071 (trunc_test): Likewise.
15072 (significand_test): Likewise.
15073 (main): Don't call removed functions.
15074
bc61d27c
JM
150752014-03-07 Joseph Myers <joseph@codesourcery.com>
15076
5c780849
JM
15077 [BZ #16674]
15078 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15079 || __USE_XOPEN2K8].
15080 (ILL_ILLOPN): Likewise.
15081 (ILL_ILLADR): Likewise.
15082 (ILL_ILLTRP): Likewise.
15083 (ILL_PRVOPC): Likewise.
15084 (ILL_PRVREG): Likewise.
15085 (ILL_COPROC): Likewise.
15086 (ILL_BADSTK): Likewise.
15087 (FPE_INTDIV): Likewise.
15088 (FPE_INTOVF): Likewise.
15089 (FPE_FLTDIV): Likewise.
15090 (FPE_FLTOVF): Likewise.
15091 (FPE_FLTUND): Likewise.
15092 (FPE_FLTRES): Likewise.
15093 (FPE_FLTINV): Likewise.
15094 (FPE_FLTSUB): Likewise.
15095 (SEGV_MAPERR): Likewise.
15096 (SEGV_ACCERR): Likewise.
15097 (BUS_ADRALN): Likewise.
15098 (BUS_ADRERR): Likewise.
15099 (BUS_OBJERR): Likewise.
15100 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15101 (TRAP_TRACE): Likewise.
15102 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15103 __USE_XOPEN2K8].
15104 (CLD_KILLED): Likewise.
15105 (CLD_DUMPED): Likewise.
15106 (CLD_TRAPPED): Likewise.
15107 (CLD_STOPPED): Likewise.
15108 (CLD_CONTINUED): Likewise.
15109 (POLL_IN): Likewise.
15110 (POLL_OUT): Likewise.
15111 (POLL_MSG): Likewise.
15112 (POLL_ERR): Likewise.
15113 (POLL_PRI): Likewise.
15114 (POLL_HUP): Likewise.
15115 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15116 Likewise.
15117 (ILL_ILLOPN): Likewise.
15118 (ILL_ILLADR): Likewise.
15119 (ILL_ILLTRP): Likewise.
15120 (ILL_PRVOPC): Likewise.
15121 (ILL_PRVREG): Likewise.
15122 (ILL_COPROC): Likewise.
15123 (ILL_BADSTK): Likewise.
15124 (FPE_INTDIV): Likewise.
15125 (FPE_INTOVF): Likewise.
15126 (FPE_FLTDIV): Likewise.
15127 (FPE_FLTOVF): Likewise.
15128 (FPE_FLTUND): Likewise.
15129 (FPE_FLTRES): Likewise.
15130 (FPE_FLTINV): Likewise.
15131 (FPE_FLTSUB): Likewise.
15132 (SEGV_MAPERR): Likewise.
15133 (SEGV_ACCERR): Likewise.
15134 (BUS_ADRALN): Likewise.
15135 (BUS_ADRERR): Likewise.
15136 (BUS_OBJERR): Likewise.
15137 (BUS_MCEERR_AR): Likewise.
15138 (BUS_MCEERR_AO): Likewise.
15139 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15140 (TRAP_TRACE): Likewise.
15141 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15142 __USE_XOPEN2K8].
15143 (CLD_KILLED): Likewise.
15144 (CLD_DUMPED): Likewise.
15145 (CLD_TRAPPED): Likewise.
15146 (CLD_STOPPED): Likewise.
15147 (CLD_CONTINUED): Likewise.
15148 (POLL_IN): Likewise.
15149 (POLL_OUT): Likewise.
15150 (POLL_MSG): Likewise.
15151 (POLL_ERR): Likewise.
15152 (POLL_PRI): Likewise.
15153 (POLL_HUP): Likewise.
15154 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15155 (ILL_ILLOPN): Likewise.
15156 (ILL_ILLADR): Likewise.
15157 (ILL_ILLTRP): Likewise.
15158 (ILL_PRVOPC): Likewise.
15159 (ILL_PRVREG): Likewise.
15160 (ILL_COPROC): Likewise.
15161 (ILL_BADSTK): Likewise.
15162 (FPE_INTDIV): Likewise.
15163 (FPE_INTOVF): Likewise.
15164 (FPE_FLTDIV): Likewise.
15165 (FPE_FLTOVF): Likewise.
15166 (FPE_FLTUND): Likewise.
15167 (FPE_FLTRES): Likewise.
15168 (FPE_FLTINV): Likewise.
15169 (FPE_FLTSUB): Likewise.
15170 (SEGV_MAPERR): Likewise.
15171 (SEGV_ACCERR): Likewise.
15172 (BUS_ADRALN): Likewise.
15173 (BUS_ADRERR): Likewise.
15174 (BUS_OBJERR): Likewise.
15175 (BUS_MCEERR_AR): Likewise.
15176 (BUS_MCEERR_AO): Likewise.
15177 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15178 (TRAP_TRACE): Likewise.
15179 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15180 __USE_XOPEN2K8].
15181 (CLD_KILLED): Likewise.
15182 (CLD_DUMPED): Likewise.
15183 (CLD_TRAPPED): Likewise.
15184 (CLD_STOPPED): Likewise.
15185 (CLD_CONTINUED): Likewise.
15186 (POLL_IN): Likewise.
15187 (POLL_OUT): Likewise.
15188 (POLL_MSG): Likewise.
15189 (POLL_ERR): Likewise.
15190 (POLL_PRI): Likewise.
15191 (POLL_HUP): Likewise.
15192 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15193 Likewise.
15194 (ILL_ILLOPN): Likewise.
15195 (ILL_ILLADR): Likewise.
15196 (ILL_ILLTRP): Likewise.
15197 (ILL_PRVOPC): Likewise.
15198 (ILL_PRVREG): Likewise.
15199 (ILL_COPROC): Likewise.
15200 (ILL_BADSTK): Likewise.
15201 (ILL_BADIADDR): Likewise.
15202 (ILL_BREAK): 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 (FPE_DECOVF): Likewise.
15212 (FPE_DECDIV): Likewise.
15213 (FPE_DECERR): Likewise.
15214 (FPE_INVASC): Likewise.
15215 (FPE_INVDEC): Likewise.
15216 (SEGV_MAPERR): Likewise.
15217 (SEGV_ACCERR): Likewise.
15218 (SEGV_PSTKOVF): Likewise.
15219 (BUS_ADRALN): Likewise.
15220 (BUS_ADRERR): Likewise.
15221 (BUS_OBJERR): Likewise.
15222 (BUS_MCEERR_AR): Likewise.
15223 (BUS_MCEERR_AO): Likewise.
15224 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15225 (TRAP_TRACE): Likewise.
15226 (TRAP_BRANCH): Likewise.
15227 (TRAP_HWBKPT): Likewise.
15228 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15229 __USE_XOPEN2K8].
15230 (CLD_KILLED): Likewise.
15231 (CLD_DUMPED): Likewise.
15232 (CLD_TRAPPED): Likewise.
15233 (CLD_STOPPED): Likewise.
15234 (CLD_CONTINUED): Likewise.
15235 (POLL_IN): Likewise.
15236 (POLL_OUT): Likewise.
15237 (POLL_MSG): Likewise.
15238 (POLL_ERR): Likewise.
15239 (POLL_PRI): Likewise.
15240 (POLL_HUP): Likewise.
15241 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15242 (ILL_ILLOPN): Likewise.
15243 (ILL_ILLADR): Likewise.
15244 (ILL_ILLTRP): Likewise.
15245 (ILL_PRVOPC): Likewise.
15246 (ILL_PRVREG): Likewise.
15247 (ILL_COPROC): Likewise.
15248 (ILL_BADSTK): Likewise.
15249 (FPE_INTDIV): Likewise.
15250 (FPE_INTOVF): Likewise.
15251 (FPE_FLTDIV): Likewise.
15252 (FPE_FLTOVF): Likewise.
15253 (FPE_FLTUND): Likewise.
15254 (FPE_FLTRES): Likewise.
15255 (FPE_FLTINV): Likewise.
15256 (FPE_FLTSUB): Likewise.
15257 (SEGV_MAPERR): Likewise.
15258 (SEGV_ACCERR): Likewise.
15259 (BUS_ADRALN): Likewise.
15260 (BUS_ADRERR): Likewise.
15261 (BUS_OBJERR): Likewise.
15262 (BUS_MCEERR_AR): Likewise.
15263 (BUS_MCEERR_AO): Likewise.
15264 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15265 (TRAP_TRACE): Likewise.
15266 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15267 __USE_XOPEN2K8].
15268 (CLD_KILLED): Likewise.
15269 (CLD_DUMPED): Likewise.
15270 (CLD_TRAPPED): Likewise.
15271 (CLD_STOPPED): Likewise.
15272 (CLD_CONTINUED): Likewise.
15273 (POLL_IN): Likewise.
15274 (POLL_OUT): Likewise.
15275 (POLL_MSG): Likewise.
15276 (POLL_ERR): Likewise.
15277 (POLL_PRI): Likewise.
15278 (POLL_HUP): Likewise.
15279 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15280 (ILL_ILLOPN): Likewise.
15281 (ILL_ILLADR): Likewise.
15282 (ILL_ILLTRP): Likewise.
15283 (ILL_PRVOPC): Likewise.
15284 (ILL_PRVREG): Likewise.
15285 (ILL_COPROC): Likewise.
15286 (ILL_BADSTK): Likewise.
15287 (FPE_INTDIV): Likewise.
15288 (FPE_INTOVF): Likewise.
15289 (FPE_FLTDIV): Likewise.
15290 (FPE_FLTOVF): Likewise.
15291 (FPE_FLTUND): Likewise.
15292 (FPE_FLTRES): Likewise.
15293 (FPE_FLTINV): Likewise.
15294 (FPE_FLTSUB): Likewise.
15295 (SEGV_MAPERR): Likewise.
15296 (SEGV_ACCERR): Likewise.
15297 (BUS_ADRALN): Likewise.
15298 (BUS_ADRERR): Likewise.
15299 (BUS_OBJERR): Likewise.
15300 (BUS_MCEERR_AR): Likewise.
15301 (BUS_MCEERR_AO): Likewise.
15302 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15303 (TRAP_TRACE): Likewise.
15304 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15305 __USE_XOPEN2K8].
15306 (CLD_KILLED): Likewise.
15307 (CLD_DUMPED): Likewise.
15308 (CLD_TRAPPED): Likewise.
15309 (CLD_STOPPED): Likewise.
15310 (CLD_CONTINUED): Likewise.
15311 (POLL_IN): Likewise.
15312 (POLL_OUT): Likewise.
15313 (POLL_MSG): Likewise.
15314 (POLL_ERR): Likewise.
15315 (POLL_PRI): Likewise.
15316 (POLL_HUP): Likewise.
15317 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15318 (ILL_ILLOPN): Likewise.
15319 (ILL_ILLADR): Likewise.
15320 (ILL_ILLTRP): Likewise.
15321 (ILL_PRVOPC): Likewise.
15322 (ILL_PRVREG): Likewise.
15323 (ILL_COPROC): Likewise.
15324 (ILL_BADSTK): Likewise.
15325 (FPE_INTDIV): Likewise.
15326 (FPE_INTOVF): Likewise.
15327 (FPE_FLTDIV): Likewise.
15328 (FPE_FLTOVF): Likewise.
15329 (FPE_FLTUND): Likewise.
15330 (FPE_FLTRES): Likewise.
15331 (FPE_FLTINV): Likewise.
15332 (FPE_FLTSUB): Likewise.
15333 (SEGV_MAPERR): Likewise.
15334 (SEGV_ACCERR): Likewise.
15335 (BUS_ADRALN): Likewise.
15336 (BUS_ADRERR): Likewise.
15337 (BUS_OBJERR): Likewise.
15338 (BUS_MCEERR_AR): Likewise.
15339 (BUS_MCEERR_AO): Likewise.
15340 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15341 (TRAP_TRACE): Likewise.
15342 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15343 __USE_XOPEN2K8].
15344 (CLD_KILLED): Likewise.
15345 (CLD_DUMPED): Likewise.
15346 (CLD_TRAPPED): Likewise.
15347 (CLD_STOPPED): Likewise.
15348 (CLD_CONTINUED): Likewise.
15349 (POLL_IN): Likewise.
15350 (POLL_OUT): Likewise.
15351 (POLL_MSG): Likewise.
15352 (POLL_ERR): Likewise.
15353 (POLL_PRI): Likewise.
15354 (POLL_HUP): Likewise.
15355 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15356 (ILL_ILLOPN): Likewise.
15357 (ILL_ILLADR): Likewise.
15358 (ILL_ILLTRP): Likewise.
15359 (ILL_PRVOPC): Likewise.
15360 (ILL_PRVREG): Likewise.
15361 (ILL_COPROC): Likewise.
15362 (ILL_BADSTK): Likewise.
15363 (ILL_DBLFLT): Likewise.
15364 (ILL_HARDWALL): Likewise.
15365 (FPE_INTDIV): Likewise.
15366 (FPE_INTOVF): Likewise.
15367 (FPE_FLTDIV): Likewise.
15368 (FPE_FLTOVF): Likewise.
15369 (FPE_FLTUND): Likewise.
15370 (FPE_FLTRES): Likewise.
15371 (FPE_FLTINV): Likewise.
15372 (FPE_FLTSUB): Likewise.
15373 (SEGV_MAPERR): Likewise.
15374 (SEGV_ACCERR): Likewise.
15375 (BUS_ADRALN): Likewise.
15376 (BUS_ADRERR): Likewise.
15377 (BUS_OBJERR): Likewise.
15378 (BUS_MCEERR_AR): Likewise.
15379 (BUS_MCEERR_AO): Likewise.
15380 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15381 (TRAP_TRACE): Likewise.
15382 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15383 __USE_XOPEN2K8].
15384 (CLD_KILLED): Likewise.
15385 (CLD_DUMPED): Likewise.
15386 (CLD_TRAPPED): Likewise.
15387 (CLD_STOPPED): Likewise.
15388 (CLD_CONTINUED): Likewise.
15389 (POLL_IN): Likewise.
15390 (POLL_OUT): Likewise.
15391 (POLL_MSG): Likewise.
15392 (POLL_ERR): Likewise.
15393 (POLL_PRI): Likewise.
15394 (POLL_HUP): Likewise.
15395 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15396 (ILL_ILLOPN): Likewise.
15397 (ILL_ILLADR): Likewise.
15398 (ILL_ILLTRP): Likewise.
15399 (ILL_PRVOPC): Likewise.
15400 (ILL_PRVREG): Likewise.
15401 (ILL_COPROC): Likewise.
15402 (ILL_BADSTK): Likewise.
15403 (FPE_INTDIV): Likewise.
15404 (FPE_INTOVF): Likewise.
15405 (FPE_FLTDIV): Likewise.
15406 (FPE_FLTOVF): Likewise.
15407 (FPE_FLTUND): Likewise.
15408 (FPE_FLTRES): Likewise.
15409 (FPE_FLTINV): Likewise.
15410 (FPE_FLTSUB): Likewise.
15411 (SEGV_MAPERR): Likewise.
15412 (SEGV_ACCERR): Likewise.
15413 (BUS_ADRALN): Likewise.
15414 (BUS_ADRERR): Likewise.
15415 (BUS_OBJERR): Likewise.
15416 (BUS_MCEERR_AR): Likewise.
15417 (BUS_MCEERR_AO): Likewise.
15418 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15419 (TRAP_TRACE): Likewise.
15420 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15421 __USE_XOPEN2K8].
15422 (CLD_KILLED): Likewise.
15423 (CLD_DUMPED): Likewise.
15424 (CLD_TRAPPED): Likewise.
15425 (CLD_STOPPED): Likewise.
15426 (CLD_CONTINUED): Likewise.
15427 (POLL_IN): Likewise.
15428 (POLL_OUT): Likewise.
15429 (POLL_MSG): Likewise.
15430 (POLL_ERR): Likewise.
15431 (POLL_PRI): Likewise.
15432 (POLL_HUP): Likewise.
15433 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15434 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15435
bc61d27c
JM
15436 [BZ #16670]
15437 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15438 before #include of <time.h>.
15439 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15440 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15441 (test-xfail-UNIX98/sched.h/conform): Likewise.
15442
302949e2
MS
154432014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15444
15445 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15446 error absence of trapping exception support.
15447 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15448
a00f522a
JM
154492014-03-07 Joseph Myers <joseph@codesourcery.com>
15450
6f99f280
JM
15451 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15452 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15453 * timezone/Makefile (testdata): Move definition above include of
15454 Rules.
15455 (test-zones): New variable.
15456 (tests-special): Add zone files.
15457 (build-testdata): Use $(evaluate-test).
15458
0b20a9e8
JM
15459 * elf/Makefile (tests-special): Rename tests to end with .out.
15460 ($(objpfx)noload-mem): Likewise.
15461 ($(objpfx)tst-leaks1-mem): Likewise.
15462 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15463 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15464 $(objpfx)test-iconvconfig.out.
15465 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15466 set -e inside subshell and redirect output to file.
15467 * iconvdata/Makefile (generated): Rename tests to end with .out.
15468 Correct type.
15469 (tests-special): Rename tests to end with .out.
15470 ($(objpfx)mtrace-tst-loading): Likewise.
15471 * intl/Makefile (generated): Likewise.
15472 (tests-special): Likewise.
15473 ($(objpfx)mtrace-tst-gettext): Likewise.
15474 * misc/Makefile (generated): Likewise.
15475 (tests-special): Likewise.
15476 ($(objpfx)tst-error1-mem): Likewise.
15477 * nptl/Makefile (tests-special): Likewise.
15478 ($(objpfx)tst-stack3-mem): Likewise.
15479 (generated): Likewise.
15480 * posix/Makefile (generated): Likewise.
15481 (tests-special): Likewise.
15482 (xtests-special): Likewise.
15483 ($(objpfx)tst-fnmatch-mem): Likewise.
15484 ($(objpfx)bug-regex2-mem): Likewise.
15485 ($(objpfx)bug-regex14-mem): Likewise.
15486 ($(objpfx)bug-regex21-mem): Likewise.
15487 ($(objpfx)bug-regex31-mem): Likewise.
15488 ($(objpfx)tst-vfork3-mem): Likewise.
15489 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15490 ($(objpfx)tst-pcre-mem): Likewise.
15491 ($(objpfx)tst-boost-mem): Likewise.
15492 ($(objpfx)bug-ga2-mem): Likewise.
15493 ($(objpfx)bug-glob2-mem): Likewise.
15494 * resolv/Makefile (generate): Likewise.
15495 (tests-special): Likewise.
15496 (xtests-special): Likewise.
15497 (generated): Likewise.
15498 ($(objpfx)mtrace-tst-leaks): Likewise.
15499 ($(objpfx)mtrace-tst-leaks2): Likewise.
15500
265d52ab
JM
15501 * scripts/merge-test-results.sh: New file.
15502 * Makefile (tests-special-notdir): New variable.
15503 (tests): Run merge-test-results.sh.
15504 (xtests): Likewise.
15505 * Rules (tests-special-notdir): New variable.
15506 (xtests-special-notdir): Likewise.
15507 (tests): Run merge-test-results.sh
15508 (xtests): Likewise.
15509
54ee292d
JM
15510 * Makeconfig (test-xfail-name): New variable.
15511 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15512 compute variable name for expected failures.
15513 * conform/Makefile (conformtest-headers-data): New variable.
15514 (conformtest-standards): Likewise.
15515 (conformtest-headers-ISO): Likewise.
15516 (conformtest-headers-ISO99): Likewise.
15517 (conformtest-headers-ISO11): Likewise.
15518 (conformtest-headers-POSIX): Likewise.
15519 (conformtest-headers-XPG3): Likewise.
15520 (conformtest-headers-XPG4): Likewise.
15521 (conformtest-headers-UNIX98): Likewise.
15522 (conformtest-headers-XOPEN2K): Likewise.
15523 (conformtest-headers-POSIX2008): Likewise.
15524 (conformtest-headers-XOPEN2K8): Likewise.
15525 (conformtest-header-list-base): Likewise.
15526 (conformtest-header-list-tests): Likewise.
15527 (conformtest-header-base): Likewise.
15528 (conformtest-header-tests): Likewise.
15529 (tests-special): Add $(conformtest-header-list-tests). If
15530 [$(fast-check) && !$(cross-compiling)], add
15531 $(conformtest-header-tests) instead of
15532 $(objpfx)run-conformtest.out.
15533 (generated): Add $(conformtest-header-list-base). If
15534 [$(fast-check) && !$(cross-compiling)], add
15535 $(conformtest-header-base). Remove previous setting.
15536 ($(conformtest-header-list-tests)): New target.
15537 (test-xfail-run-conformtest): Remove variable.
15538 ($(objpfx)run-conformtest.out): Remove target.
15539 (test-xfail-ISO11/complex.h/conform): New variable.
15540 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15541 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15542 (test-xfail-XPG3/varargs.h/conform): Likewise.
15543 (test-xfail-XPG4/varargs.h/conform): Likewise.
15544 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15545 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15546 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15547 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15548 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15549 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15550 (test-xfail-XPG3/ftw.h/conform): Likewise.
15551 (test-xfail-XPG3/grp.h/conform): Likewise.
15552 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15553 (test-xfail-XPG3/limits.h/conform): Likewise.
15554 (test-xfail-XPG3/pwd.h/conform): Likewise.
15555 (test-xfail-XPG3/search.h/conform): Likewise.
15556 (test-xfail-XPG3/signal.h/conform): Likewise.
15557 (test-xfail-XPG3/stdio.h/conform): Likewise.
15558 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15559 (test-xfail-XPG3/string.h/conform): Likewise.
15560 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15561 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15562 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15563 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15564 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15565 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15566 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15567 (test-xfail-XPG3/termios.h/conform): Likewise.
15568 (test-xfail-XPG3/time.h/conform): Likewise.
15569 (test-xfail-XPG3/unistd.h/conform): Likewise.
15570 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15571 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15572 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15573 (test-xfail-XPG4/netdb.h/conform): Likewise.
15574 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15575 (test-xfail-XPG4/signal.h/conform): Likewise.
15576 (test-xfail-XPG4/stdio.h/conform): Likewise.
15577 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15578 (test-xfail-XPG4/stropts.h/conform): Likewise.
15579 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15580 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15581 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15582 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15583 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15584 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15585 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15586 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15587 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15588 (test-xfail-XPG4/termios.h/conform): Likewise.
15589 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15590 (test-xfail-XPG4/unistd.h/conform): Likewise.
15591 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15592 (test-xfail-POSIX/sched.h/conform): Likewise.
15593 (test-xfail-POSIX/signal.h/conform): Likewise.
15594 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15595 (test-xfail-POSIX/tar.h/conform): Likewise.
15596 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15597 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15598 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15599 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15600 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15601 (test-xfail-UNIX98/sched.h/conform): Likewise.
15602 (test-xfail-UNIX98/signal.h/conform): Likewise.
15603 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15604 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15605 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15606 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15607 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15608 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15609 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15610 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15611 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15612 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15613 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15614 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15615 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15616 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15617 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15618 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15619 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15620 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15621 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15622 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15623 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15624 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15625 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15626 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15627 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15628 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15629 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15630 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15631 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15632 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15633 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15634 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15635 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15636 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15637 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15638 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15639 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15640 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15641 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15642 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15643 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15644 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15645 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15646 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15647 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15648 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15649 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15650 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15651 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15652 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15653 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15654 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15655 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15656 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15657 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15658 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15659 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15660 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15661 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15662 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15663 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15664 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15665 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15666 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15667 (conformtest-cc-flags): Likewise.
15668 ($(conformtest-header-tests): New target.
15669 * conform/check-header-lists.sh: New file.
15670 * conform/run-conformtest.sh: Remove.
15671
a00f522a
JM
15672 * conform/conformtest.pl: Allow ' and \ in values given for
15673 constants.
15674 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15675 inclusion.
15676 [POSIX] (sys/types.h): Likewise.
15677 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15678 inclusion.
15679 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15680 inclusion.
15681 * conform/data/signal.h-data (SIGIO): Remove expectation.
15682 [XPG3] (SIGBUS): Do not expect.
15683 [POSIX || XPG3] (SIGPOLL): Likewise.
15684 [POSIX || XPG3] (SIGPROF): Likewise.
15685 [POSIX || XPG3] (SIGSYS): Likewise.
15686 [XPG3] (SIGTRAP): Likewise.
15687 [POSIX || XPG3] (SIGURG): Likewise.
15688 [POSIX || XPG3] (SIGVTALRM): Likewise.
15689 [POSIX || XPG3] (SIGXCPU): Likewise.
15690 [POSIX || XPG3] (SIGXFSZ): Likewise.
15691 [POSIX] (SA_SIGINFO): Expect.
15692 [XPG3] (siginfo_t): Do not expect type or contents.
15693 [POSIX] (si_pid): Do not expect element.
15694 [POSIX] (si_uid): Likewise.
15695 [POSIX] (si_addr): Likewise.
15696 [POSIX] (si_status): Likewise.
15697 [POSIX] (si_band): Likewise.
15698 [XPG4] (si_value): Likewise.
15699 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15700 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15701 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15702 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15703 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15704 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15705 [POSIX || XPG3] (ILL_COPROC): Likewise.
15706 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15707 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15708 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15709 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15710 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15711 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15712 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15713 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15714 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15715 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15716 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15717 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15718 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15719 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15720 [POSIX || XPG3] (CLD_EXITED): Likewise.
15721 [POSIX || XPG3] (CLD_KILLED): Likewise.
15722 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15723 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15724 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15725 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15726 [POSIX || XPG3] (POLL_IN): Likewise.
15727 [POSIX || XPG3] (POLL_OUT): Likewise.
15728 [POSIX || XPG3] (POLL_MSG): Likewise.
15729 [POSIX || XPG3] (POLL_ERR): Likewise.
15730 [POSIX || XPG3] (POLL_PRI): Likewise.
15731 [POSIX || XPG3] (POLL_HUP): Likewise.
15732 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15733 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15734 (SIG*): Do not allow.
15735 [XPG3] (si_*): Likewise.
15736 [XPG3] (SI_*): Likewise.
15737 [XPG3 || XPG4] (sigev_*): Likewise.
15738 [XPG3 || XPG4] (SIGEV_*): Likewise.
15739 [XPG3 || XPG4] (sival_*): Likewise.
15740 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15741 [POSIX || XPG3] (BUS_*): Likewise.
15742 [POSIX || XPG3] (CLD_*): Likewise.
15743 [POSIX || XPG3] (FPE_*): Likewise.
15744 [POSIX || XPG3] (ILL_*): Likewise.
15745 [POSIX || XPG3] (POLL_*): Likewise.
15746 [POSIX || XPG3] (SEGV_*): Likewise.
15747 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15748 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15749 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15750 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15751 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15752 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15753 Specify type and value.
15754 (TVERSLEN): Likewise.
15755 (REGTYPE): Likewise.
15756 (AREGTYPE): Likewise.
15757 (LNKTYPE): Likewise.
15758 (SYMTYPE): Likewise.
15759 (CHRTYPE): Likewise.
15760 (BLKTYPE): Likewise.
15761 (DIRTYPE): Likewise.
15762 (FIFOTYPE): Likewise.
15763 (CONTTYPE): Likewise.
15764 (TSUID): Likewise.
15765 (TSGID): Likewise.
15766 (TSVTX): Likewise.
15767 (TUREAD): Likewise.
15768 (TUWRITE): Likewise.
15769 (TUEXEC): Likewise.
15770 (TGREAD): Likewise.
15771 (TGWRITE): Likewise.
15772 (TGEXEC): Likewise.
15773 (TOREAD): Likewise.
15774 (TOWRITE): Likewise.
15775 (TOEXEC): Likewise.
15776 [POSIX] (TSVTX): Expect constant.
15777
aa97dee1
JM
157782014-03-06 Joseph Myers <joseph@codesourcery.com>
15779
f214606a
JM
15780 * Makefile (tests): Change dependencies to ....
15781 (tests-special): ... additions to this variable.
15782 (tests): Depend on $(tests-special).
15783 * Makerules (check-abi-list): New variable.
15784 (check-abi): Depend on $(check-abi-list).
15785 [$(subdir) = elf] (tests-special): Add
15786 $(objpfx)check-abi-libc.out.
15787 [$(build-shared) = yes && subdir] (tests-special): Add
15788 $(check-abi-list).
15789 [$(build-shared) = yes && subdir] (tests): Do not depend on
15790 check-abi.
15791 * Rules (tests): Depend on $(tests-special).
15792 (xtests): Depend on $(xtests-special).
15793 * catgets/Makefile (tests): Change dependencies to ....
15794 (tests-special): ... additions to this variable.
15795 * conform/Makefile (tests): Change dependencies to ....
15796 (tests-special): ... additions to this variable.
15797 * elf/Makefile (tests): Change dependencies to ....
15798 (tests-special): ... additions to this variable.
15799 * grp/Makefile (tests): Change dependencies to ....
15800 (tests-special): ... additions to this variable.
15801 * iconv/Makefile (xtests): Change dependencies to ....
15802 (xtests-special): ... additions to this variable.
15803 * iconvdata/Makefile (tests): Change dependencies to ....
15804 (tests-special): ... additions to this variable.
15805 * intl/Makefile (tests): Change dependencies to ....
15806 (tests-special): ... additions to this variable. Also add
15807 $(objpfx)tst-gettext.out.
15808 * io/Makefile (tests): Change dependencies to ....
15809 (tests-special): ... additions to this variable.
15810 * libio/Makefile (tests): Change dependencies to ....
15811 (tests-special): ... additions to this variable.
15812 * malloc/Makefile (tests): Change dependencies to ....
15813 (tests-special): ... additions to this variable.
15814 * misc/Makefile (tests): Change dependencies to ....
15815 (tests-special): ... additions to this variable.
15816 * nptl/Makefile (tests): Change dependencies to ....
15817 (tests-special): ... additions to this variable.
15818 * nptl_db/Makefile (tests): Change dependencies to ....
15819 (tests-special): ... additions to this variable.
15820 * posix/Makefile (tests): Change dependencies to ....
15821 (tests-special): ... additions to this variable.
15822 (xtests): Change dependencies to ....
15823 (xtests-special): ... additions to this variable.
15824 * resolv/Makefile (tests): Change dependencies to ....
15825 (tests-special): ... additions to this variable.
15826 (xtests): Change dependencies to ....
15827 (xtests-special): ... additions to this variable.
15828 * stdio-common/Makefile (tests): Change dependencies to ....
15829 (tests-special): ... additions to this variable.
15830 (do-tst-unbputc): Remove target.
15831 (do-tst-printf): Likewise.
15832 * stdlib/Makefile (tests): Change dependencies to ....
15833 (tests-special): ... additions to this variable.
15834 * string/Makefile (tests): Change dependencies to ....
15835 (tests-special): ... additions to this variable.
15836 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15837 (tests-special): ... additions to this variable.
15838
81700b53
JM
15839 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15840 whole file.
15841 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15842 whole file.
15843 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15844 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15845
2ea18461
JM
15846 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15847 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15848 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15849 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15850 * conform/data/libgen.h-data [XPG3]: Likewise.
15851 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15852 * conform/data/ndbm.h-data [XPG3]: Likewise.
15853 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15854 * conform/data/netdb.h-data [XPG3]: Likewise.
15855 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15856 * conform/data/poll.h-data [XPG3]: Likewise.
15857 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15858 * conform/data/strings.h-data [XPG3]: Likewise.
15859 * conform/data/stropts.h-data [XPG3]: Likewise.
15860 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15861 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15862 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15863 Likewise.
15864 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15865 * conform/data/sys/time.h-data [XPG3]: Likewise.
15866 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15867 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15868 * conform/data/sys/un.h-data [XPG3]: Likewise.
15869 * conform/data/syslog.h-data [XPG3]: Likewise.
15870 * conform/data/ucontext.h-data [XPG3]: Likewise.
15871 * conform/data/utmpx.h-data [XPG3]: Likewise.
15872 * conform/data/varargs.h-data [UNIX98]: Enable file.
15873
355bc986
JM
15874 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15875
215db402
JM
15876 * math/libm-test.inc (struct test_f_f_data): Move expected results
15877 into structure for each rounding mode.
15878 (struct test_ff_f_data): Likewise.
15879 (struct test_ff_f_data_nexttoward): Likewise.
15880 (struct test_fi_f_data): Likewise.
15881 (struct test_fl_f_data): Likewise.
15882 (struct test_if_f_data): Likewise.
15883 (struct test_fff_f_data): Likewise.
15884 (struct test_c_f_data): Likewise.
15885 (struct test_f_f1_data): Likewise.
15886 (struct test_fF_f1_data): Likewise.
15887 (struct test_ffI_f1_data): Likewise.
15888 (struct test_c_c_data): Likewise.
15889 (struct test_cc_c_data): Likewise.
15890 (struct test_f_i_data): Likewise.
15891 (struct test_ff_i_data): Likewise.
15892 (struct test_f_l_data): Likewise.
15893 (struct test_f_L_data): Likewise.
15894 (struct test_fFF_11_data): Likewise.
15895 (RM_): New macro.
15896 (RM_FE_DOWNWARD): Likewise.
15897 (RM_FE_TONEAREST): Likewise.
15898 (RM_FE_TOWARDZERO): Likewise.
15899 (RM_FE_UPWARD): Likewise.
15900 (RUN_TEST_LOOP_f_f): Update references to expected results.
15901 (RUN_TEST_LOOP_2_f): Likewise.
15902 (RUN_TEST_LOOP_fff_f): Likewise.
15903 (RUN_TEST_LOOP_c_f): Likewise.
15904 (RUN_TEST_LOOP_f_f1): Likewise.
15905 (RUN_TEST_LOOP_fF_f1): Likewise.
15906 (RUN_TEST_LOOP_fI_f1): Likewise.
15907 (RUN_TEST_LOOP_ffI_f1): Likewise.
15908 (RUN_TEST_LOOP_c_c): Likewise.
15909 (RUN_TEST_LOOP_cc_c): Likewise.
15910 (RUN_TEST_LOOP_f_i): Likewise.
15911 (RUN_TEST_LOOP_f_i_tg): Likewise.
15912 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15913 (RUN_TEST_LOOP_f_b): Likewise.
15914 (RUN_TEST_LOOP_f_b_tg): Likewise.
15915 (RUN_TEST_LOOP_f_l): Likewise.
15916 (RUN_TEST_LOOP_f_L): Likewise.
15917 (RUN_TEST_LOOP_fFF_11): Likewise.
15918 * math/gen-libm-test.pl (parse_args): Output four copies of
15919 expected results for each test.
15920
67737b8f
JM
15921 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15922 (__ASSUME_UTIMES): Remove.
15923 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15924 (__ASSUME_UTIMES): Likewise.
15925
aa97dee1
JM
15926 * math/gen-auto-libm-tests.c: Update comment on output format.
15927 (output_for_one_input_case): Generate before-rounding and
15928 after-rounding information as conditions on output flags not
15929 floating-point format.
15930 * math/auto-libm-test-out: Regenerated.
15931 * math/gen-libm-test.pl (cond_value): New function.
15932 (or_cond_value): Use cond_value.
15933 (generate_testfile): Handle conditional exceptions.
15934
e6b6a857
JM
159352014-03-05 Joseph Myers <joseph@codesourcery.com>
15936
2f0a0f44
JM
15937 * math/libm-test.inc (max_valid_error): New variable.
15938 (init_max_error): Take new argument specifying whether function
15939 results are exactly determined. Set max_valid_error and bound
15940 other variables for errors based on this argument.
15941 (set_max_error): Do not record results above max_valid_error.
15942 (check_float_internal): Only accept errors of up to 0.5ulps if
15943 also at most max_valid_error.
15944 (START): Take new argument EXACT and pass it to init_max_error.
15945 (acos_test): Update call to START.
15946 (acos_test_tonearest): Likewise.
15947 (acos_test_towardzero): Likewise.
15948 (acos_test_downward): Likewise.
15949 (acos_test_upward): Likewise.
15950 (acosh_test): Likewise.
15951 (asin_test): Likewise.
15952 (asin_test_tonearest): Likewise.
15953 (asin_test_towardzero): Likewise.
15954 (asin_test_downward): Likewise.
15955 (asin_test_upward): Likewise.
15956 (asinh_test): Likewise.
15957 (atan_test): Likewise.
15958 (atanh_test): Likewise.
15959 (atan2_test): Likewise.
15960 (cabs_test): Likewise.
15961 (cacos_test): Likewise.
15962 (cacosh_test): Likewise.
15963 (carg_test): Likewise.
15964 (casin_test): Likewise.
15965 (casinh_test): Likewise.
15966 (catan_test): Likewise.
15967 (catanh_test): Likewise.
15968 (cbrt_test): Likewise.
15969 (ccos_test): Likewise.
15970 (ccosh_test): Likewise.
15971 (ceil_test): Likewise.
15972 (cexp_test): Likewise.
15973 (cimag_test): Likewise.
15974 (clog_test): Likewise.
15975 (clog10_test): Likewise.
15976 (conj_test): Likewise.
15977 (copysign_test): Likewise.
15978 (cos_test): Likewise.
15979 (cos_test_tonearest): Likewise.
15980 (cos_test_towardzero): Likewise.
15981 (cos_test_downward): Likewise.
15982 (cos_test_upward): Likewise.
15983 (cosh_test): Likewise.
15984 (cosh_test_tonearest): Likewise.
15985 (cosh_test_towardzero): Likewise.
15986 (cosh_test_downward): Likewise.
15987 (cosh_test_upward): Likewise.
15988 (cpow_test): Likewise.
15989 (cproj_test): Likewise.
15990 (creal_test): Likewise.
15991 (csin_test): Likewise.
15992 (csinh_test): Likewise.
15993 (csqrt_test): Likewise.
15994 (ctan_test): Likewise.
15995 (ctan_test_tonearest): Likewise.
15996 (ctan_test_towardzero): Likewise.
15997 (ctan_test_downward): Likewise.
15998 (ctan_test_upward): Likewise.
15999 (ctanh_test): Likewise.
16000 (ctanh_test_tonearest): Likewise.
16001 (ctanh_test_towardzero): Likewise.
16002 (ctanh_test_downward): Likewise.
16003 (ctanh_test_upward): Likewise.
16004 (erf_test): Likewise.
16005 (erfc_test): Likewise.
16006 (exp_test): Likewise.
16007 (exp_test_tonearest): Likewise.
16008 (exp_test_towardzero): Likewise.
16009 (exp_test_downward): Likewise.
16010 (exp_test_upward): Likewise.
16011 (exp10_test): Likewise.
16012 (exp10_test_tonearest): Likewise.
16013 (exp10_test_towardzero): Likewise.
16014 (exp10_test_downward): Likewise.
16015 (exp10_test_upward): Likewise.
16016 (pow10_test): Likewise.
16017 (exp2_test): Likewise.
16018 (expm1_test): Likewise.
16019 (expm1_test_tonearest): Likewise.
16020 (expm1_test_towardzero): Likewise.
16021 (expm1_test_downward): Likewise.
16022 (expm1_test_upward): Likewise.
16023 (fabs_test): Likewise.
16024 (fdim_test): Likewise.
16025 (floor_test): Likewise.
16026 (fma_test): Likewise.
16027 (fma_test_towardzero): Likewise.
16028 (fma_test_downward): Likewise.
16029 (fma_test_upward): Likewise.
16030 (fmax_test): Likewise.
16031 (fmin_test): Likewise.
16032 (fmod_test): Likewise.
16033 (fpclassify_test): Likewise.
16034 (frexp_test): Likewise.
16035 (hypot_test): Likewise.
16036 (ilogb_test): Likewise.
16037 (isfinite_test): Likewise.
16038 (finite_test): Likewise.
16039 (isgreater_test): Likewise.
16040 (isgreaterequal_test): Likewise.
16041 (isinf_test): Likewise.
16042 (isless_test): Likewise.
16043 (islessequal_test): Likewise.
16044 (islessgreater_test): Likewise.
16045 (isnan_test): Likewise.
16046 (isnormal_test): Likewise.
16047 (issignaling_test): Likewise.
16048 (isunordered_test): Likewise.
16049 (j0_test): Likewise.
16050 (j1_test): Likewise.
16051 (jn_test): Likewise.
16052 (ldexp_test): Likewise.
16053 (lgamma_test): Likewise.
16054 (gamma_test): Likewise.
16055 (lrint_test): Likewise.
16056 (lrint_test_tonearest): Likewise.
16057 (lrint_test_towardzero): Likewise.
16058 (lrint_test_downward): Likewise.
16059 (lrint_test_upward): Likewise.
16060 (llrint_test): Likewise.
16061 (llrint_test_tonearest): Likewise.
16062 (llrint_test_towardzero): Likewise.
16063 (llrint_test_downward): Likewise.
16064 (llrint_test_upward): Likewise.
16065 (log_test): Likewise.
16066 (log10_test): Likewise.
16067 (log1p_test): Likewise.
16068 (log2_test): Likewise.
16069 (logb_test): Likewise.
16070 (logb_test_downward): Likewise.
16071 (lround_test): Likewise.
16072 (llround_test): Likewise.
16073 (modf_test): Likewise.
16074 (nearbyint_test): Likewise.
16075 (nextafter_test): Likewise.
16076 (nexttoward_test): Likewise.
16077 (pow_test): Likewise.
16078 (pow_test_tonearest): Likewise.
16079 (pow_test_towardzero): Likewise.
16080 (pow_test_downward): Likewise.
16081 (pow_test_upward): Likewise.
16082 (remainder_test): Likewise.
16083 (drem_test): Likewise.
16084 (remainder_test_tonearest): Likewise.
16085 (drem_test_tonearest): Likewise.
16086 (remainder_test_towardzero): Likewise.
16087 (drem_test_towardzero): Likewise.
16088 (remainder_test_downward): Likewise.
16089 (drem_test_downward): Likewise.
16090 (remainder_test_upward): Likewise.
16091 (drem_test_upward): Likewise.
16092 (remquo_test): Likewise.
16093 (rint_test): Likewise.
16094 (rint_test_tonearest): Likewise.
16095 (rint_test_towardzero): Likewise.
16096 (rint_test_downward): Likewise.
16097 (rint_test_upward): Likewise.
16098 (round_test): Likewise.
16099 (scalb_test): Likewise.
16100 (scalbn_test): Likewise.
16101 (scalbln_test): Likewise.
16102 (signbit_test): Likewise.
16103 (sin_test): Likewise.
16104 (sin_test_tonearest): Likewise.
16105 (sin_test_towardzero): Likewise.
16106 (sin_test_downward): Likewise.
16107 (sin_test_upward): Likewise.
16108 (sincos_test): Likewise.
16109 (sinh_test): Likewise.
16110 (sinh_test_tonearest): Likewise.
16111 (sinh_test_towardzero): Likewise.
16112 (sinh_test_downward): Likewise.
16113 (sinh_test_upward): Likewise.
16114 (sqrt_test): Likewise.
16115 (sqrt_test_tonearest): Likewise.
16116 (sqrt_test_towardzero): Likewise.
16117 (sqrt_test_downward): Likewise.
16118 (sqrt_test_upward): Likewise.
16119 (tan_test): Likewise.
16120 (tan_test_tonearest): Likewise.
16121 (tan_test_towardzero): Likewise.
16122 (tan_test_downward): Likewise.
16123 (tan_test_upward): Likewise.
16124 (tanh_test): Likewise.
16125 (tgamma_test): Likewise.
16126 (trunc_test): Likewise.
16127 (y0_test): Likewise.
16128 (y1_test): Likewise.
16129 (yn_test): Likewise.
16130 (significand_test): Likewise.
16131
e6b6a857
JM
16132 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16133 individual tests in comment.
16134 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16135 (prev_max_error): New variable.
16136 (prev_real_max_error): Likewise.
16137 (prev_imag_max_error): Likewise.
16138 (compare_ulp_data): Don't refer to test names in comment.
16139 (find_test_ulps): Remove function.
16140 (find_function_ulps): Likewise.
16141 (find_complex_function_ulps): Likewise.
16142 (init_max_error): Take function name as argument. Look up ulps
16143 for that function.
16144 (print_ulps): Remove function.
16145 (print_max_error): Use prev_max_error instead of calling
16146 find_function_ulps.
16147 (print_complex_max_error): Use prev_real_max_error and
16148 prev_imag_max_error instead of calling find_complex_function_ulps.
16149 (check_float_internal): Take max_ulp parameter instead of calling
16150 find_test_ulps. Don't call print_ulps.
16151 (check_float): Update call to check_float_internal.
16152 (check_complex): Update calls to check_float_internal.
16153 (START): Pass argument to init_max_error.
16154 * math/gen-libm-test.pl (%results): Don't include "kind"
16155 information.
16156 (parse_ulps): Don't handle ulps of individual tests.
16157 (print_ulps_file): Likewise.
16158 (output_ulps): Likewise.
16159 * math/README.libm-test: Update.
16160 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16161 individual tests.
16162 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16163 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16164 * sysdeps/arm/libm-test-ulps: Likewise.
16165 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16166 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16167 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16168 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16169 * sysdeps/microblaze/libm-test-ulps: Likewise.
16170 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16171 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16172 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16173 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16174 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16175 * sysdeps/sh/libm-test-ulps: Likewise.
16176 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16177 * sysdeps/tile/libm-test-ulps: Likewise.
16178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16179
45adef3c
JM
161802014-03-04 Joseph Myers <joseph@codesourcery.com>
16181
16182 * math/libm-test.inc (print_complex_max_error): Check separately
16183 whether real and imaginary errors are within allowed range and
16184 pass 0 to print_complex_function_ulps instead of value within
16185 allowed range.
16186
000232b9
SP
161872014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16188
d4b17258
SP
16189 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16190 formatting.
16191 (get_handles_fopen): Likewise.
16192 (do_write_test): Likewise.
16193
091eff71
SP
16194 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16195
fa3cd248
SP
16196 * libio/fileops.c (do_ftell): Use cached offset when
16197 available.
16198 * libio/iofwide.c (do_ftell_wide): Likewise.
16199 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16200 _IO_file_attach.
16201 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16202
000232b9
SP
16203 [BZ #16532]
16204 * libio/libioP.h (get_file_offset): New function.
16205 * libio/fileops.c (get_file_offset): Likewise.
16206 (do_ftell): Likewise.
16207 (_IO_new_file_seekoff): Split out ftell logic.
16208 * libio/wfileops.c (do_ftell_wide): Likewise.
16209 (_IO_wfile_seekoff): Split out ftell logic.
16210 * libio/tst-ftell-active-handler.c: New test case.
16211 * libio/Makefile (tests): Add it.
16212
116f4d1a
RM
162132014-03-03 Roland McGrath <roland@hack.frob.com>
16214
16215 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16216 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16217
532a6035
SP
162182014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16219
16220 [BZ #16639]
16221 * nscd/connections.c (nscd_init): Call do_exit.
16222 (start_threads): Call do_exit and notify_parent.
16223 (begin_drop_privileges): Call do_exit.
16224 (finish_drop_privileges): Likewise.
16225 * nscd/selinux.c (preserve_capabilities): Likewise.
16226 (install_real_capabilities): Likewise.
16227 (nscd_selinux_enabled): Likewise.
16228 (avc_create_thread): Likewise.
16229 (avc_alloc_lock): Likewise.
16230 (nscd_avc_init): Likewise.
16231 * nscd/nscd.c (parent_fd): New static variable.
16232 (main): Create a pipe between parent and child processes.
16233 Skip closing parent_fd.
16234 (monitor_child): New function.
16235 (do_exit): Likewise.
16236 (notify_parent): Likewise.
16237 * nscd/nscd.h (notify_parent): Likewise.
16238 (do_exit): Likewise.
16239
d6285c9f
CD
162402014-03-03 Carlos O'Donell <carlos@redhat.com>
16241
16242 * malloc/malloc.c (__libc_calloc): Revert last change.
16243
2b85d2a0
AZ
162442014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16245
16246 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16247
c7debbdf
RS
162482014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16249
16250 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16251 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16252 implementation.
16253 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16254 (__libc_ifunc_impl_list): Likewise.
16255 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16256 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16257 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16258 * string/strrchr.c: Define STRRCHR.
16259
235eed86
OB
162602014-02-28 Ondřej Bílka <neleai@seznam.cz>
16261
16262 * benchtest/bench-strtok.c (simple_strtok): Delete.
16263 (strtok_string): Use as benchmark.
16264 * string/strtok (STRTOK): New macro.
16265
8e25d1e7
CD
162662014-02-28 Carlos O'Donell <carlos@redhat.com>
16267
ef563f92
CD
16268 * manual/threads.texi: Add header and standard comments to all
16269 functions.
16270
8e25d1e7
CD
16271 * elf/dl-lookup.c (check_match): New function.
16272 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16273 (do_lookup_x): Remove nested function check_match. Use non-nested
16274 function check_match.
16275
ff71cc37
RM
162762014-02-28 Roland McGrath <roland@hack.frob.com>
16277
f08e9a26
RM
16278 * csu/Makefile (generated, before-compile): Use += rather than =.
16279 * catgets/Makefile (generated, generated-dirs): Likewise.
16280 * debug/Makefile (generated): Likewise.
16281 * dlfcn/Makefile (generated): Likewise.
16282 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16283 * iconvdata/Makefile (before-compile, generated): Likewise.
16284 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16285 * libio/Makefile (generated): Likewise.
16286 * malloc/Makefile (generated): Likewise.
16287 * manual/Makefile (generated, generated-dirs): Likewise.
16288 * misc/Makefile (generated): Likewise.
16289 * posix/Makefile (generated): Likewise.
16290 * resolv/Makefile (generated): Likewise.
16291 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16292 * timezone/Makefile (generated, generated-dirs): Likewise.
16293
ff71cc37
RM
16294 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16295
fe13a20c
AZ
162962014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16297
57f41c40
AS
16298 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16299 power8 implementation.
16300 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16301 file: POWER8 llround ifunc implementation.
16302 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16303 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16304 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16305 POWER8 llround implementation.
16306
57f41c40
AS
16307 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16308 power8 implementation.
16309 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16310 file: POWER8 llrint ifunc implementation.
16311 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16312 Add POWER8 implementation.
1ad8950a
AZ
16313 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16314 POWER8 llrint implementation.
16315
57f41c40
AS
16316 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16317 power8 implementation.
16318 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16319 file: POWER8 finite ifunc implementation.
16320 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16321 Add POWER8 implementation.
cac626d6
AZ
16322 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16323 Likewise.
16324 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16325 POWER8 finite implementation.
16326 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16327
57f41c40
AS
16328 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16329 power8 implementation.
16330 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16331 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16332 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16333 POWER8 implementation.
16334 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16335 Likewise.
57f41c40
AS
16336 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16337 isinf implementation.
4393fc11
AZ
16338 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16339
57f41c40
AS
16340 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16341 (INIT_ARCH): Add hwcap2 initialization.
16342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16343 power8 implementation.
16344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16345 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16347 POWER8 implementation.
16348 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16349 Likewise.
57f41c40
AS
16350 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16351 isnan implementation.
487972ae
AZ
16352 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16353
7d92b787
JY
163542014-02-27 Joey Ye <joey.ye@arm.com>
16355
16356 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16357 (_FP_NANFRAC_Q): Set to zero.
16358
1cadc858
SP
163592014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16360
16361 [BZ #16623]
16362 * math/auto-libm-test-in: New test inputs.
16363 * math/auto-libm-test-out: Regenerate.
16364 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16365 and DA.
16366 (__cos): Likewise.
16367 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16368
f8c17e79
JM
163692014-02-27 Joseph Myers <joseph@codesourcery.com>
16370
16371 * scripts/evaluate-test.sh: Take new argument indicating whether
16372 failure is expected.
16373 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16374 indicating whether failure is expected.
16375 * conform/Makefile (test-xfail-run-conformtest): New variable.
16376 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16377 level.
16378 * posix/Makefile (test-xfail-annexc): New variable.
16379 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16380
a5f891ac
JM
163812014-02-26 Joseph Myers <joseph@codesourcery.com>
16382
16383 * argp/Makefile: Include Makeconfig immediately after defining
16384 subdir.
16385 * assert/Makefile: Likewise.
16386 * benchtests/Makefile: Likewise.
16387 * catgets/Makefile: Likewise.
16388 * conform/Makefile: Likewise.
16389 * crypt/Makefile: Likewise.
16390 * csu/Makefile: Likewise.
16391 (all): Remove target.
16392 * ctype/Makefile: Include Makeconfig immediately after defining
16393 subdir.
16394 * debug/Makefile: Likewise.
16395 * dirent/Makefile: Likewise.
16396 * dlfcn/Makefile: Likewise.
16397 * gmon/Makefile: Likewise.
16398 * gnulib/Makefile: Likewise.
16399 * grp/Makefile: Likewise.
16400 * gshadow/Makefile: Likewise.
16401 * hesiod/Makefile: Likewise.
16402 * hurd/Makefile: Likewise.
16403 (all): Remove target.
16404 * iconvdata/Makefile: Include Makeconfig immediately after
16405 defining subdir.
16406 * inet/Makefile: Likewise.
16407 * intl/Makefile: Likewise.
16408 * io/Makefile: Likewise.
16409 * libio/Makefile: Likewise.
16410 (all): Remove target.
16411 * locale/Makefile: Include Makeconfig immediately after defining
16412 subdir.
16413 * login/Makefile: Likewise.
16414 * mach/Makefile: Likewise.
16415 (all): Remove target.
16416 * malloc/Makefile: Include Makeconfig immediately after defining
16417 subdir.
16418 (all): Remove target.
16419 * manual/Makefile: Include Makeconfig immediately after defining
16420 subdir.
16421 * math/Makefile: Likewise.
16422 * misc/Makefile: Likewise.
16423 * nis/Makefile: Likewise.
16424 * nss/Makefile: Likewise.
16425 * po/Makefile: Likewise.
16426 (all): Remove target.
16427 * posix/Makefile: Include Makeconfig immediately after defining
16428 subdir.
16429 * pwd/Makefile: Likewise.
16430 * resolv/Makefile: Likewise.
16431 * resource/Makefile: Likewise.
16432 * rt/Makefile: Likewise.
16433 * setjmp/Makefile: Likewise.
16434 * shadow/Makefile: Likewise.
16435 * signal/Makefile: Likewise.
16436 * socket/Makefile: Likewise.
16437 * soft-fp/Makefile: Likewise.
16438 * stdio-common/Makefile: Likewise.
16439 * stdlib/Makefile: Likewise.
16440 * streams/Makefile: Likewise.
16441 * string/Makefile: Likewise.
16442 * sunrpc/Makefile: Likewise.
16443 (all): Remove target.
16444 * sysvipc/Makefile: Include Makeconfig immediately after defining
16445 subdir.
16446 * termios/Makefile: Likewise.
16447 * time/Makefile: Likewise.
16448 * timezone/Makefile: Likewise.
16449 (all): Remove target.
16450 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16451 subdir.
16452 * wctype/Makefile: Likewise.
16453
5b456e9d
SE
164542014-02-26 Steve Ellcey <sellcey@mips.com>
16455
16456 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16457 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16458 (libc_feholdexcept_setround_mips): Ditto.
16459 (libc_feholdsetround): New.
16460 (libc_feholdsetroundf): New.
16461 (libc_feholdsetroundl): New.
16462 (libc_feupdateenv_test_mips): New.
16463 (libc_feupdateenv_test): New.
16464 (libc_feupdateenv_testf): New.
16465 (libc_feupdateenv_testl): New.
16466 (libc_feresetround): New.
16467 (libc_feresetroundf): New.
16468 (libc_feresetroundl): New.
16469 (libc_fetestexcept_mips): New.
16470 (libc_fetestexcept): New.
16471 (libc_fetestexceptf): New.
16472 (libc_fetestexceptl): New.
16473 (HAVE_RM_CTX): New.
16474 (libc_feholdexcept_setround_mips_ctx): New.
16475 (libc_feholdexcept_setround_ctx): New.
16476 (libc_feholdexcept_setroundf_ctx): New.
16477 (libc_feholdexcept_setroundl_ctx): New.
16478 (libc_fesetenv_mips_ctx): New.
16479 (libc_fesetenv_ctx): New.
16480 (libc_fesetenv_ctxf): New.
16481 (libc_fesetenv_ctxl): New.
16482 (libc_feupdateenv_mips_ctx): New.
16483 (libc_feupdateenv_ctx): New.
16484 (libc_feupdateenvf_ctx): New.
16485 (libc_feupdateenvl_ctx): New.
16486 (libc_feholdsetround_mips_ctx): New.
16487 (libc_feholdsetround_ctx): New.
16488 (libc_feholdsetroundf_ctx): New.
16489 (libc_feholdsetroundl_ctx): New.
16490 (libc_feresetround_mips_ctx): New.
16491 (libc_feresetround_ctx): New.
16492 (libc_feresetroundf_ctx): New.
16493 (libc_feresetroundl_ctx): New.
16494
085d0e35
CD
164952014-02-26 Carlos O'Donell <carlos@redhat.com>
16496
f067bf1f
CD
16497 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16498
085d0e35
CD
16499 * manual/ipc.texi: New file.
16500 * manual/Makefile (chapters): Add ipc.
16501 * manual/job.texi: Add "Inter-Process Communication" to next.
16502 * manual/process.texi: Add "Inter-Process Communication" to prev.
16503
86e58c08
AZ
165042014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16505
16506 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16507
4248f0da
OB
165082014-02-26 Ondřej Bílka <neleai@seznam.cz>
16509
16510 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16511
cf822e3c
OB
16512 * manual/arith.texi: Fix spaces after sentences.
16513 * manual/charset.texi: Likewise.
16514 * manual/errno.texi: Likewise.
16515 * manual/install.texi: Likewise.
16516 * manual/llio.texi: Likewise.
16517 * manual/locale.texi: Likewise.
16518 * manual/maint.texi: Likewise.
16519 * manual/math.texi: Likewise.
16520 * manual/memory.texi: Likewise.
16521 * manual/message.texi: Likewise.
16522 * manual/probes.texi: Likewise.
16523 * manual/resource.texi: Likewise.
16524 * manual/signal.texi: Likewise.
16525 * manual/socket.texi: Likewise.
16526 * manual/stdio.texi: Likewise.
16527 * manual/string.texi: Likewise.
16528 * manual/time.texi: Likewise.
16529 * manual/users.texi: Likewise.
16530
ade40b10
CD
165312014-02-25 Carlos O'Donell <carlos@redhat.com>
16532
16533 [BZ #16632]
16534 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16535 _DEFAULT_SOURCE is defined.
16536
d0503676
CD
165372014-02-25 Ulrich Drepper <drepper@gmail.com>
16538 Carlos O'Donell <carlos@redhat.com>
16539
16540 [BZ #16613]
16541 * elf/dl-tls.c (_dl_count_modids): New function.
16542 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16543 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16544 audit library and increment generation counter.
16545 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16546 * elf/tst-audit9.c: New file.
16547 * elf/tst-auditmod9a.c: New file.
16548 * elf/tst-auditmod9b.c: New file.
16549 * elf/Makefile: Add rules to build and run tst-audit9.
16550
4cbf380c
FW
165512014-02-25 Florian Weimer <fweimer@redhat.com>
16552
16553 [BZ #15347]
16554 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16555
80a56cc3
WN
165562014-02-25 Will Newton <will.newton@linaro.org>
16557
16558 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16559 (__longjmp): Restore sp and lr before restoring callee
16560 saved registers. Add longjmp and longjmp_target
16561 SystemTap probe point.
16562 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16563 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16564 Define to zero to match jmpbuf layout.
16565 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16566 (__sigsetjmp): Save sp and lr before saving callee
16567 saved registers. Add setjmp SystemTap probe point.
16568
3ea0f74e
SL
165692014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16570
16571 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16572
b04acb26
AS
165732014-02-24 Andreas Schwab <schwab@suse.de>
16574
16575 [BZ #15804]
16576 * elf/pldd.c (wait_for_ptrace_stop): New function.
16577 (main): Call it after attaching.
16578
098ad55c
RM
165792014-02-22 Roland McGrath <roland@hack.frob.com>
16580
d4ec6ae1
RM
16581 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16582 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16583 Versions files is now verboten.
16584 * hurd/Versions (libc: GLIBC_2.0):
16585 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16586 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16587 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16588 * mach/Versions: Likewise.
16589
098ad55c
RM
16590 * csu/Versions: Remove unused %include.
16591 * resolv/Versions: Likewise.
16592
acd7f096
JM
165932014-02-21 Joseph Myers <joseph@codesourcery.com>
16594
f0881698
JM
16595 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16596 ($(objpfx)check-local-headers.out): Likewise.
16597 ($(objpfx)begin-end-check.out): Likewise.
16598 * Makerules (check-abi-%.out): Likewise.
16599 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16600 ($(objpfx)test2.cat): Likewise.
16601 ($(objpfx)de/libc.cat): Likewise.
16602 ($(objpfx)test-gencat.out): Likewise.
16603 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16604 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16605 ($(objpfx)noload-mem): Likewise.
16606 ($(objpfx)tst-pathopt.out): Likewise.
16607 ($(objpfx)tst-rtld-load-self.out): Likewise.
16608 ($(objpfx)tst-array1-cmp.out): Likewise.
16609 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16610 ($(objpfx)tst-array2-cmp.out): Likewise.
16611 ($(objpfx)tst-array3-cmp.out): Likewise.
16612 ($(objpfx)tst-array4-cmp.out): Likewise.
16613 ($(objpfx)tst-array5-cmp.out): Likewise.
16614 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16615 ($(objpfx)check-textrel.out): Likewise.
16616 ($(objpfx)check-execstack.out): Likewise.
16617 ($(objpfx)check-localplt.out): Likewise.
16618 ($(objpfx)order2-cmp.out): Likewise.
16619 ($(objpfx)tst-leaks1-mem): Likewise.
16620 ($(objpfx)tst-leaks1-static-mem): Likewise.
16621 ($(objpfx)tst-initorder-cmp.out): Likewise.
16622 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16623 ($(objpfx)tst-unused-dep.out): Likewise.
16624 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16625 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16626 * iconv/Makefile (test-iconvconfig): Likewise.
16627 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16628 ($(objpfx)iconv-test.out): Likewise.
16629 ($(objpfx)tst-tables.out): Likewise.
16630 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16631 ($(objpfx)tst-gettext.out): Likewise.
16632 ($(objpfx)tst-translit.out): Likewise.
16633 ($(objpfx)tst-gettext2.out): Likewise.
16634 ($(objpfx)tst-gettext4.out): Likewise.
16635 ($(objpfx)tst-gettext6.out): Likewise.
16636 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16637 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16638 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16639 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16640 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16641 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16642 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16643 ($(objpfx)wordexp-tst.out): Likewise.
16644 ($(objpfx)annexc.out): Likewise.
16645 ($(objpfx)tst-fnmatch-mem): Likewise.
16646 ($(objpfx)bug-regex2-mem): Likewise.
16647 ($(objpfx)bug-regex14-mem): Likewise.
16648 ($(objpfx)bug-regex21-mem): Likewise.
16649 ($(objpfx)bug-regex31-mem): Likewise.
16650 ($(objpfx)tst-vfork3-mem): Likewise.
16651 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16652 ($(objpfx)tst-pcre-mem): Likewise.
16653 ($(objpfx)tst-boost-mem): Likewise.
16654 ($(objpfx)tst-getconf.out): Likewise.
16655 ($(objpfx)bug-ga2-mem): Likewise.
16656 ($(objpfx)bug-glob2-mem): Likewise.
16657 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16658 ($(objpfx)mtrace-tst-leaks2): Likewise.
16659 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16660 ($(objpfx)tst-printf.out): Likewise.
16661 ($(objpfx)tst-setvbuf1.out): Likewise.
16662 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16663 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16664 ($(objpfx)tst-fmtmsg.out): Likewise.
16665 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16666 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16667
acd7f096
JM
16668 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16669 * bits/sigaction.h [__USE_MISC]: Likewise.
16670 * bits/waitstatus.h: Update #endif comments.
16671 * ctype/ctype.h: Likewise.
16672 * dirent/dirent.h: Likewise.
16673 [__USE_MISC]: Remove redundant conditionals.
16674 * grp/grp.h: Update #endif comments.
16675 [__USE_GNU]: Remove redundant conditionals.
16676 [__USE_MISC]: Likewise.
16677 * inet/netinet/in.h [__USE_GNU]: Likewise.
16678 * io/sys/stat.h [__USE_MISC]: Likewise.
16679 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16680 * libio/bits/stdio.h: Update #endif comments.
16681 [__USE_MISC]: Remove redundant conditionals.
16682 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16683 * libio/stdio.h: Update #endif comments.
16684 [__USE_MISC]: Remove redundant conditionals.
16685 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16686 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16687 * math/math.h: Update #else and #endif comments.
16688 [__USE_MISC]: Remove redundant conditionals.
16689 * misc/sys/uio.h: Update #endif comments.
16690 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16691 * posix/glob.h [__USE_MISC]: Likewise.
16692 * posix/sys/types.h: Update #endif comments.
16693 [__USE_MISC]: Remove redundant conditionals.
16694 * posix/sys/wait.h: Update #endif comments.
16695 [__USE_MISC]: Remove redundant conditionals.
16696 * posix/unistd.h: Update #endif comments.
16697 [__USE_MISC]: Remove redundant conditionals.
16698 * pwd/pwd.h [__USE_GNU]: Likewise.
16699 [__USE_MISC]: Likewise.
16700 * resolv/netdb.h [__USE_GNU]: Likewise.
16701 * signal/signal.h: Update #endif comments.
16702 [__USE_MISC]: Remove redundant conditionals.
16703 * stdlib/stdlib.h: Update #else and #endif comments.
16704 [__USE_MISC]: Remove redundant conditionals.
16705 [__USE_GNU]: Likewise.
16706 * string/bits/string2.h [__USE_MISC]: Likewise.
16707 * string/string.h: Update #endif comments.
16708 [__USE_MISC]: Remove redundant conditionals.
16709 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16710 Likewise.
16711 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16712 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16713 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16714 Likewise.
16715 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16716 Likewise.
16717 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16718 comments.
16719 [__USE_MISC]: Remove redundant conditionals.
16720 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16721 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16722 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16723 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16724 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16725 Likewise.
16726 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16727 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16728 Likewise.
16729 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16730 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16731 Likewise.
16732 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16733 Likewise.
16734 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16735 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16736 Likewise.
16737 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16738 Likewise.
16739 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16740 * sysdeps/x86/bits/string.h: Update #endif comments.
16741 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16742 conditionals.
16743 * time/sys/time.h: Update #endif comments.
16744 * time/time.h: Likewise.
16745 [__USE_MISC]: Remove redundant conditionals.
16746
a5d82e4e
YG
167472014-02-21 Yury Gribov <y.gribov@samsung.com>
16748
16749 [BZ #16600]
16750 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16751
9a80491d
AS
167522014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16753
16754 * Versions.def (librt): Add GLIBC_2.17.
16755
105fa381
AC
167562014-02-21 Adam Conrad <adconrad@0c3.net>
16757
16758 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16759 synonym for _SYS_AUXV_H to allow direct inclusion.
16760 * sysdeps/sparc/bits/hwcap.h: Likewise.
16761 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16762 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16763 * sysdeps/sparc/sysdep.h: Likewise.
16764
b8cd1c4e
SP
167652014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16766
16767 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16768
bd939d23
RS
167692014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16770
16771 * benchtests/bench-strrchr.c: Print length instead of position.
16772
5d7b57ca
JM
167732014-02-20 Joseph Myers <joseph@codesourcery.com>
16774
bc688c10
JM
16775 [BZ #16611]
16776 * sysdeps/unix/sysv/linux/kernel-features.h
16777 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16778 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16779 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16780 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16781 Likewise.
16782 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16783 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16784 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16785 (__ASSUME_SENDMMSG): Define instead of using previous
16786 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16787 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16788 (__ASSUME_SENDMMSG_SYSCALL): Define.
16789 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16790 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16791 Likewise.
16792 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16793 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16794 Likewise.
16795 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16796 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16797 Likewise.
16798 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16799 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16800 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16801 [__ASSUME_SENDMMSG]: Change conditionals to
16802 [__ASSUME_SENDMMSG_SOCKETCALL].
16803 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16804 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16805 Define.
16806 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16807 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16808 Likewise.
16809 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16810 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16811 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16812 [!__ASSUME_SENDMMSG]: Change conditional to
16813 [!__ASSUME_SENDMMSG_SOCKETCALL].
16814 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16815 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16816 Define.
16817
0e31b18c
JM
16818 [BZ #16610]
16819 * sysdeps/unix/sysv/linux/kernel-features.h
16820 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16821 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16822 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16823 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16824 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16825 [__i386__ || __sparc__]
16826 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16827 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16828 (__ASSUME_RECVMMSG): Define instead of using previous
16829 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16830 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16831 (__ASSUME_RECVMMSG_SYSCALL): Define.
16832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16833 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16834 Likewise.
16835 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16836 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16837 Likewise.
16838 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16839 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16840 Likewise.
16841 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16842 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16843 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16844 [__ASSUME_RECVMMSG]: Change condition to
16845 [__ASSUME_RECVMMSG_SOCKETCALL].
16846 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16847 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16848 Define.
16849 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16850 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16851 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16852 Likewise.
16853 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16854 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16855 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16856 [!__ASSUME_RECVMMSG]: Change condition to
16857 [!__ASSUME_RECVMMSG_SOCKETCALL].
16858 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16859 (__ASSUME_RECVMMSG_SYSCALL): Define.
16860
dd481ccf
JM
16861 [BZ #16609]
16862 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16863 __powerpc__ || __s390__ || __sh__ || __sparc__]
16864 (__ASSUME_SOCKETCALL): Define.
16865 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16866 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16867 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16868 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16869 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16870 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16871 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16872 (__ASSUME_ACCEPT4): Define instead of using previous
16873 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16874 __powerpc__ || __sparc__ || __s390__)] condition.
16875 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16876 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16877 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16878 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16879 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16880 [!__ASSUME_ACCEPT4]: Change condition to
16881 [!__ASSUME_ACCEPT4_SOCKETCALL].
16882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16883 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16884 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16885 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16886 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16887 __ASSUME_ACCEPT4_SYSCALL.
16888 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16889 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16891 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16892 __ASSUME_ACCEPT4_SYSCALL.
16893 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16894 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16895 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16896 [__ASSUME_ACCEPT4]: Change condition to
16897 [__ASSUME_ACCEPT4_SOCKETCALL].
16898 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16899 (__ASSUME_SOCKETCALL): Define.
16900 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16901 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16902 (__ASSUME_SOCKETCALL): Define.
16903 (__ASSUME_ACCEPT4): Remove.
16904 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16905 Define.
16906 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16907 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16908 Likewise.
16909 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16910 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16911
5d7b57ca
JM
16912 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16913 macro.
16914 (HWCAP_ARM_LPAE): Likewise.
16915 (HWCAP_ARM_EVTSTRM): Likewise.
16916 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16917 Add vpfd32, lpae and evtstrm.
16918 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16919 Increase to 22.
16920
63689d61
JM
169212014-02-19 Joseph Myers <joseph@codesourcery.com>
16922
16923 * math/auto-libm-test-in: Add tests of clog10.
16924 * math/auto-libm-test-out: Regenerated.
16925 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16926 * sysdeps/i386/fpu/libm-test-ulps: Update.
16927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16928
ab09bf61
AS
169292014-02-18 Andreas Schwab <schwab@suse.de>
16930
16931 [BZ #16574]
16932 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16933 Store non-zero if the second buffer was newly allocated.
16934 (send_dg): Likewise.
16935 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16936 to send_vc and send_dg.
16937 (res_nsend): Pass NULL for ansp2_malloced.
16938 * resolv/res_query.c (__libc_res_nquery): Add parameter
16939 answerp2_malloced and pass it down to __libc_res_nsend.
16940 (res_nquery): Pass additional NULL to __libc_res_nquery.
16941 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16942 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16943 second answer buffer if answerp2_malloced was set.
16944 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16945 (__libc_res_nquerydomain): Add parameter
16946 answerp2_malloced and pass it down to __libc_res_nquery.
16947 (res_nquerydomain): Pass additional NULL to
16948 __libc_res_nquerydomain.
16949 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16950 additional NULL to __libc_res_nsend and __libc_res_nquery.
16951 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16952 additional NULL to __libc_res_nsearch.
16953 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16954 parameter of __libc_res_nsearch to check for separately allocated
16955 second buffer.
16956 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16957 __libc_res_nquery.
16958 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16959 additional NULL to __libc_res_nquery.
16960 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16961 __libc_res_nsearch.
16962 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16963 * include/resolv.h: Update prototypes of __libc_res_nquery,
16964 __libc_res_nsearch, __libc_res_nsend.
16965
a4fb7861
JM
169662014-02-18 Joseph Myers <joseph@codesourcery.com>
16967
c6af2d89
JM
16968 * math/auto-libm-test-in: Add tests of fma.
16969 * math/auto-libm-test-out: Regenerated.
16970 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16971 (fma_towardzero_test_data): Likewise.
16972 (fma_downward_test_data): Likewise.
16973 (fma_upward_test_data): Likewise.
16974 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16975 mpc_mode.
16976 (rounding_modes): Add values for new field.
16977 (func_calc_method): Add value mpfr_fff_f.
16978 (func_calc_desc): Add mpfr_fff_f union field.
16979 (test_function): Add field exact_args.
16980 (FUNC): Add macro argument EXACT_ARGS.
16981 (FUNC_mpfr_f_f): Update call to FUNC.
16982 (FUNC_mpfr_f_f): Likewise.
16983 (FUNC_mpfr_ff_f): Likewise.
16984 (FUNC_mpfr_if_f): Likewise.
16985 (FUNC_mpc_c_f): Likewise.
16986 (FUNC_mpc_c_c): Likewise.
16987 (test_functions): Add fma. Update calls to FUNC.
16988 (handle_input_arg): Add argument exact_args.
16989 (add_test): Update call to handle_input_arg.
16990 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16991 (output_for_one_input_case): Update call to calc_generic_results.
16992 Recalculate exact zero results in each rounding mode.
16993
a4fb7861
JM
16994 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16995 non-negative before setting low bit.
16996 * math/auto-libm-test-in: Mark one asin test possibly having
16997 spurious underflow.
16998 * math/auto-libm-test-out: Regenerated.
16999 * sysdeps/i386/fpu/libm-test-ulps: Update.
17000 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17001
ef114eaf
DH
170022014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
17003
2b7f4f2c
SP
17004 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17005 * sysdeps/unix/sysv/linux/microblaze: Move directory from
17006 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
17007 * README: Add missing listing for microblaze*-*-linux-gnu.
17008
8125aedc
AM
170092014-02-16 Ondřej Bílka <neleai@seznam.cz>
17010
17011 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17012 duplicate code
17013
c70a4b1d
MF
170142014-02-16 Mike Frysinger <vapier@gentoo.org>
17015
17016 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17017 * sysdeps/unix/sysv/linux/ia64: Move directory from
17018 ports/sysdeps/unix/sysv/linux/ia64.
17019 * README: Update listing for ia64-*-linux-gnu.
17020
591aeaf7
TD
170212014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17022 Joseph Myers <joseph@codesourcery.com>
17023
17024 * Makeconfig (test-name): New variable.
17025 (evaluate-test): Likewise.
17026 * Makerules (do-test-clean): Remove .test-result files.
17027 (common-mostlyclean): Likewise.
17028 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17029 * scripts/evaluate-test.sh: New file.
17030
6e89caf1
JM
170312014-02-14 Joseph Myers <joseph@codesourcery.com>
17032
7f98f180
JM
17033 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17034 separate $(objpfx)tst-fopenloc-cmp.out and
17035 $(objpfx)tst-fopenloc-mem.out targets.
17036 (tests): Update dependencies.
17037 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17038 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17039 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17040 (tst-rxspencer-no-utf8-ARGS): New variable.
17041 (tst-rxspencer-no-utf8-ENV): Likewise.
17042 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17043 instead of $(objpfx)tst-rxspencer-mem.
17044 ($(objpfx)tst-rxspencer-mem): Change target to
17045 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17046 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17047 * posix/tst-rxspencer-no-utf8.c: New file.
17048
6e89caf1
JM
17049 * elf/Makefile ($(objpfx)order.out): Remove rule.
17050 [$(run-built-tests) = yes] (tests): Depend on
17051 $(objpfx)order-cmp.out.
17052 ($(objpfx)order-cmp.out): New rule.
17053 [$(run-built-tests) = yes] (tests): Depend on
17054 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17055 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17056 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17057 $(objpfx)tst-array5-static-cmp.out.
17058 ($(objpfx)tst-array1.out): Remove rule.
17059 ($(objpfx)tst-array1-cmp.out): New rule.
17060 ($(objpfx)tst-array1-static.out): Remove rule.
17061 ($(objpfx)tst-array1-static-cmp.out): New rule.
17062 ($(objpfx)tst-array2.out): Remove rule.
17063 ($(objpfx)tst-array2-cmp.out): New rule.
17064 ($(objpfx)tst-array3.out): Remove rule.
17065 ($(objpfx)tst-array3-cmp.out): New rule.
17066 ($(objpfx)tst-array4.out): Remove rule.
17067 ($(objpfx)tst-array4-cmp.out): New rule.
17068 ($(objpfx)tst-array5.out): Remove rule.
17069 ($(objpfx)tst-array5-cmp.out): New rule.
17070 ($(objpfx)tst-array5-static.out): Remove rule.
17071 ($(objpfx)tst-array5-static-cmp.out): New rule.
17072 [$(run-built-tests) = yes] (tests): Depend on
17073 $(objpfx)order2-cmp.out.
17074 ($(objpfx)order2.out): Remove rule.
17075 ($(objpfx)order2-cmp.out): New rule.
17076 ($(objpfx)tst-initorder.out): Remove rule.
17077 [$(run-built-tests) = yes] (tests): Depend on
17078 $(objpfx)tst-initorder-cmp.out.
17079 ($(objpfx)tst-initorder-cmp.out): New rule.
17080 ($(objpfx)tst-initorder2.out): Remove rule.
17081 [$(run-built-tests) = yes] (tests): Depend on
17082 $(objpfx)tst-initorder2-cmp.out.
17083 ($(objpfx)tst-initorder2-cmp.out): New rule.
17084 [$(run-built-tests) = yes] (tests): Depend on
17085 $(objpfx)tst-unused-dep-cmp.out.
17086 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17087 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17088 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17089 on $(objpfx)tst-setvbuf1-cmp.out.
17090 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17091 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17092 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17093 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17094 ($(objpfx)tst-svc.out): Remove rule.
17095 ($(objpfx)tst-svc-cmp.out): New rule.
17096
ed9a38e2
JM
170972014-02-13 Joseph Myers <joseph@codesourcery.com>
17098
17099 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17100 * ctype/ctype.h [__USE_MISC]: Likewise.
17101 * dirent/dirent.h [__USE_MISC]: Likewise.
17102 * grp/grp.h [__USE_MISC]: Likewise.
17103 * io/fcntl.h [__USE_MISC]: Likewise.
17104 * io/sys/stat.h [__USE_MISC]: Likewise.
17105 * libio/stdio.h [__USE_MISC]: Likewise.
17106 * posix/unistd.h [__USE_MISC]: Likewise.
17107 * pwd/pwd.h [__USE_MISC]: Likewise.
17108 * stdlib.h [__USE_MISC]: Likewise.
17109 * string/bits/string2.h [__USE_MISC]: Likewise.
17110 * string/string.h [__USE_MISC]: Likewise.
17111 * time/time.h [__USE_MISC]: Likewise.
17112
d6680619
AS
171132014-02-13 Andreas Schwab <schwab@suse.de>
17114
17115 [BZ #16574]
17116 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17117 second answer buffer if it was separately allocated.
17118
ace614b8
JM
171192014-02-12 Joseph Myers <joseph@codesourcery.com>
17120
743151ae
JM
17121 * sysdeps/mips/math-tests.h: Include <features.h>.
17122 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17123 (ROUNDING_TESTS_long_double): Do not define.
17124 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17125 (EXCEPTION_TESTS_long_double): Likewise.
17126 * sysdeps/mips/mips64/libm-test-ulps: Update.
17127
498afc54
JM
17128 * include/features.h (__USE_BSD): Remove macro definitions.
17129 (__USE_SVID): Likewise.
17130 (_BSD_SOURCE): Likewise.
17131 (_SVID_SOURCE): Likewise.
17132 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17133 from definition of _DEFAULT_SOURCE.
17134 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17135 [_DEFAULT_SOURCE].
17136 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17137 * bits/mman.h [__USE_BSD]: Likewise.
17138 * bits/termios.h [__USE_BSD]: Likewise.
17139 * bits/waitstatus.h [__USE_BSD]: Likewise.
17140 * ctype/ctype.h [__USE_SVID]: Likewise.
17141 * dirent/dirent.h [__USE_BSD]: Likewise.
17142 * grp/grp.h [__USE_SVID]: Likewise.
17143 [__USE_BSD]: Likewise.
17144 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17145 * io/fcntl.h [__USE_BSD]: Likewise.
17146 * io/ftw.h [__USE_BSD]: Likewise.
17147 * io/sys/stat.h [__USE_BSD]: Likewise.
17148 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17149 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17150 * libio/stdio.h [__USE_SVID]: Likewise.
17151 [__USE_BSD]: Likewise.
17152 * math/math.h [__USE_SVID]: Likewise.
17153 [__USE_BSD]: Likewise.
17154 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17155 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17156 * misc/search.h [__USE_SVID]: Likewise.
17157 * misc/sys/mman.h [__USE_BSD]: Likewise.
17158 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17159 * misc/sys/uio.h [__USE_BSD]: Likewise.
17160 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17161 * posix/glob.h [__USE_BSD]: Likewise.
17162 * posix/regex.h [__USE_BSD]: Likewise.
17163 * posix/sys/types.h [__USE_BSD]: Likewise.
17164 [__USE_SVID]: Likewise.
17165 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17166 * posix/sys/wait.h [__USE_BSD]: Likewise.
17167 [__USE_SVID]: Likewise.
17168 * posix/unistd.h [__USE_BSD]: Likewise.
17169 [__USE_SVID]: Likewise.
17170 * pwd/pwd.h [__USE_SVID]: Likewise.
17171 * resolv/netdb.h [__USE_BSD]: Likewise.
17172 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17173 * signal/signal.h [__USE_BSD]: Likewise.
17174 [__USE_SVID]: Likewise.
17175 * socket/sys/socket.h [__USE_BSD]: Likewise.
17176 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17177 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17178 [__USE_SVID]: Likewise.
17179 * string/bits/string2.h [__USE_BSD]: Likewise.
17180 [__USE_SVID]: Likewise.
17181 * string/bits/string3.h [__USE_BSD]: Likewise.
17182 * string/endian.h [__USE_BSD]: Likewise.
17183 * string/string.h [__USE_SVID]: Likewise.
17184 [__USE_BSD]: Likewise.
17185 * string/strings.h [__USE_BSD]: Likewise.
17186 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17187 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17188 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17189 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17190 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17191 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17192 Likewise.
17193 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17194 Likewise.
17195 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17196 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17197 Likewise.
17198 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17199 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17200 Likewise.
17201 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17202 Likewise.
17203 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17204 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17205 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17206 Likewise.
17207 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17208 Likewise.
17209 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17210 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17211 * termios/termios.h [__USE_BSD]: Likewise.
17212 * time/sys/time.h [__USE_BSD]: Likewise.
17213 * time/time.h [__USE_BSD]: Likewise.
17214 [__USE_SVID]: Likewise.
17215
dd7b064c
JM
17216 * Makefile (subdir_targets): Remove subdir_lint.out.
17217
a2c4c199
JM
17218 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17219 (do-tst-printf): Likewise.
17220 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17221 $(objpfx)tst-printf.out.
17222
8756f740
JM
17223 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17224
1b6dd3f1
JM
17225 * Makerules (check-abi-%): Change target to
17226 $(objpfx)check-abi-%.out.
17227 (check-abi target): Update dependencies.
17228 (check-abi-pattern variable): Redirect output of diff to $@.
17229 (check-abi variable): Likewise.
17230 * elf/Makefile (check-abi): Update dependencies.
17231
ace614b8
JM
17232 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17233 unused.
17234 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17235 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17236 subnormal range.
17237 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17238 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17239 value has largest subnormal exponent.
17240 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17241 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17242 * sysdeps/aarch64/soft-fp/sfp-machine.h
17243 (_FP_TININESS_AFTER_ROUNDING): New macro.
17244 * sysdeps/alpha/soft-fp/sfp-machine.h
17245 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17246 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17247 Likewise.
17248 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17249 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17250 * sysdeps/mips/soft-fp/sfp-machine.h
17251 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17252 * sysdeps/powerpc/soft-fp/sfp-machine.h
17253 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17254 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17255 Likewise.
17256 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17257 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17258 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17259 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17260 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17261 Likewise.
17262
fbfdf9cb
DAS
172632014-02-12 Dylan Alex Simon <dylan@dylex.net>
17264
17265 [BZ #16545]
17266 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17267 model 1.
17268
68b7efaa
RH
172692014-02-12 Richard Henderson <rth@redhat.com>
17270
c70a4b1d 17271 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17272 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17273 * sysdeps/unix/sysv/linux/alpha: Move directory from
17274 ports/sysdeps/unix/sysv/linux/alpha.
17275 * README: Update listing for alpha-*-linux-gnu.
17276
cb4a2928
JM
172772014-02-11 Joseph Myers <joseph@codesourcery.com>
17278
c941736c
JM
17279 * include/features.h: Update comment documenting feature test
17280 macros.
17281 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17282 _DEFAULT_SOURCE.
17283 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17284 (_SVID_SOURCE): Likewise.
17285 (_DEFAULT_SOURCE): Update description of default features.
17286 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17287 with _GNU_SOURCE.
17288 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17289 (S_ISVTX): Likewise.
17290 * manual/math.texi (Mathematical Constants): Likewise.
17291 * manual/signal.texi (Interrupted Primitives): Likewise.
17292 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17293 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17294 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17295 Don't refer to _SVID_SOURCE in warning text.
17296
e8d8d7ec
JM
17297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17298
cb4a2928
JM
17299 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17300 already defined.
17301 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17302 * sysdeps/mips/dl-lookup.c: Remove.
17303 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17304
7e6424e3
AK
173052014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17306
17307 [BZ #16447]
17308 * math/auto-libm-test-in: Add testcase for expl.
17309 * math/auto-libm-test-out: Regenerate.
17310 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17311 calculation of unsafe.
17312 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17313
75eff3fe
MS
173142014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17315
17316 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17317 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17318 ports/sysdeps/unix/sysv/linux/aarch64.
17319 * README: Update listing for aarch64*-*-linux-gnu.
17320
d35f1e80
WN
173212014-02-11 Will Newton <will.newton@linaro.org>
17322
17323 * manual/probes.texi (Mathematical Function Probes): Use
17324 "triggered" instead of "hit".
17325
7b3436d4
WN
17326 * manual/probes.texi (Internal Probes): Add documentation
17327 of setjmp, longjmp and longjmp_target probes.
17328
b4f12ca3
WN
17329 * include/stap-probe.h: Add comment about probe argument
17330 format.
17331
c13a72b7
WN
17332 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17333 definition. (tr_where, tr_freehook, tr_mallochook,
17334 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17335
195b8165
DM
173362014-02-11 David S. Miller <davem@davemloft.net>
17337
17338 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17339 processing int_tests.
17340
2ad7600b
JM
173412014-02-10 Joseph Myers <joseph@codesourcery.com>
17342
17343 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17344 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17345 * sysdeps/unix/sysv/linux/mips: Move directory from
17346 ports/sysdeps/unix/sysv/linux/mips.
17347 * README: Update listing for mips-*-linux-gnu and
17348 mips64-*-linux-gnu.
17349
73588a72
AS
173502014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17351
17352 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17353 * sysdeps/unix/sysv/linux/m68k: Move directory from
17354 ports/sysdeps/unix/sysv/linux/m68k.
17355 * README: Update listing for m68k-*-linux-gnu.
17356
4372980f
CM
173572014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17358
17359 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17360 * sysdeps/unix/sysv/linux/generic: Move directory from
17361 ports/sysdeps/unix/sysv/linux/generic.
17362 * sysdeps/unix/sysv/linux/tile: Move directory from
17363 ports/sysdeps/unix/sysv/linux/tile.
17364 * README: Update listing for tile*-*-linux-gnu.
17365
a1ffb40e
OB
173662014-02-10 Ondřej Bílka <neleai@seznam.cz>
17367
57f41c40
AS
17368 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17369 __builtin_expect.
a1ffb40e
OB
17370 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17371 * catgets/open_catalog.c (__open_catalog): Likewise.
17372 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17373 * debug/confstr_chk.c: Likewise.
17374 * debug/fread_chk.c (__fread_chk): Likewise.
17375 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17376 * debug/getgroups_chk.c: Likewise.
17377 * debug/mbsnrtowcs_chk.c: Likewise.
17378 * debug/mbsrtowcs_chk.c: Likewise.
17379 * debug/mbstowcs_chk.c: Likewise.
17380 * debug/memcpy_chk.c: Likewise.
17381 * debug/memmove_chk.c: Likewise.
17382 * debug/mempcpy_chk.c: Likewise.
17383 * debug/memset_chk.c: Likewise.
17384 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17385 * debug/strcat_chk.c (__strcat_chk): Likewise.
17386 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17387 * debug/strncat_chk.c (__strncat_chk): Likewise.
17388 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17389 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17390 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17391 * debug/wcpncpy_chk.c: Likewise.
17392 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17393 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17394 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17395 * debug/wcsncpy_chk.c: Likewise.
17396 * debug/wcsnrtombs_chk.c: Likewise.
17397 * debug/wcsrtombs_chk.c: Likewise.
17398 * debug/wcstombs_chk.c: Likewise.
17399 * debug/wmemcpy_chk.c: Likewise.
17400 * debug/wmemmove_chk.c: Likewise.
17401 * debug/wmempcpy_chk.c: Likewise.
17402 * debug/wmemset_chk.c: Likewise.
17403 * dirent/scandirat.c (SCANDIRAT): Likewise.
17404 * dlfcn/dladdr1.c (dladdr1): Likewise.
17405 * dlfcn/dladdr.c (dladdr): Likewise.
17406 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17407 * dlfcn/dlerror.c (__dlerror): Likewise.
17408 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17409 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17410 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17411 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17412 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17413 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17414 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17415 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17416 Likewise.
17417 * elf/dl-conflict.c: Likewise.
17418 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17419 * elf/dl-dst.h: Likewise.
17420 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17421 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17422 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17423 * elf/dl-init.c (call_init, _dl_init): Likewise.
17424 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17425 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17426 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17427 Likewise.
a1ffb40e
OB
17428 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17429 Likewise.
17430 * elf/dl-minimal.c (__libc_memalign): Likewise.
17431 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17432 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17433 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17434 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17435 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17436 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17437 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17438 * elf/dl-writev.h (_dl_writev): Likewise.
17439 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17440 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17441 (dl_main): Likewise.
a1ffb40e
OB
17442 * elf/setup-vdso.h (setup_vdso): Likewise.
17443 * grp/compat-initgroups.c (compat_call): Likewise.
17444 * grp/fgetgrent.c (fgetgrent): Likewise.
17445 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17446 * grp/putgrent.c (putgrent): Likewise.
17447 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17448 Likewise.
17449 * hurd/hurdinit.c: Likewise.
17450 * iconvdata/8bit-gap.c (struct): Likewise.
17451 * iconvdata/ansi_x3.110.c : Likewise.
17452 * iconvdata/big5.c : Likewise.
17453 * iconvdata/big5hkscs.c : Likewise.
17454 * iconvdata/cp1255.c: Likewise.
17455 * iconvdata/cp1258.c : Likewise.
17456 * iconvdata/cp932.c : Likewise.
17457 * iconvdata/euc-cn.c: Likewise.
17458 * iconvdata/euc-jisx0213.c : Likewise.
17459 * iconvdata/euc-jp.c: Likewise.
17460 * iconvdata/euc-jp-ms.c : Likewise.
17461 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17462 * iconvdata/gb18030.c : Likewise.
17463 * iconvdata/gbbig5.c (const): Likewise.
17464 * iconvdata/gbgbk.c: Likewise.
17465 * iconvdata/gbk.c : Likewise.
17466 * iconvdata/ibm1364.c : Likewise.
17467 * iconvdata/ibm930.c : Likewise.
17468 * iconvdata/ibm932.c: Likewise.
17469 * iconvdata/ibm933.c : Likewise.
17470 * iconvdata/ibm935.c : Likewise.
17471 * iconvdata/ibm937.c : Likewise.
17472 * iconvdata/ibm939.c : Likewise.
17473 * iconvdata/ibm943.c: Likewise.
17474 * iconvdata/iso_11548-1.c: Likewise.
17475 * iconvdata/iso-2022-cn.c : Likewise.
17476 * iconvdata/iso-2022-cn-ext.c : Likewise.
17477 * iconvdata/iso-2022-jp-3.c: Likewise.
17478 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17479 * iconvdata/iso-2022-kr.c : Likewise.
17480 * iconvdata/iso646.c (gconv_end): Likewise.
17481 * iconvdata/iso_6937-2.c : Likewise.
17482 * iconvdata/iso_6937.c : Likewise.
17483 * iconvdata/iso8859-1.c: Likewise.
17484 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17485 * iconvdata/shift_jisx0213.c : Likewise.
17486 * iconvdata/sjis.c : Likewise.
17487 * iconvdata/t.61.c : Likewise.
17488 * iconvdata/tcvn5712-1.c : Likewise.
17489 * iconvdata/tscii.c: Likewise.
17490 * iconvdata/uhc.c : Likewise.
17491 * iconvdata/unicode.c (gconv_end): Likewise.
17492 * iconvdata/utf-16.c (gconv_end): Likewise.
17493 * iconvdata/utf-32.c (gconv_end): Likewise.
17494 * iconvdata/utf-7.c (base64): Likewise.
17495 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17496 * iconv/gconv_close.c (__gconv_close): Likewise.
17497 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17498 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17499 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17500 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17501 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17502 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17503 * iconv/iconv.c (iconv): Likewise.
17504 * iconv/iconv_close.c: Likewise.
17505 * iconv/loop.c (SINGLE): Likewise.
17506 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17507 * include/atomic.h: Likewise.
17508 * inet/inet6_option.c (option_alloc): Likewise.
17509 * intl/bindtextdom.c (set_binding_values): Likewise.
17510 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17511 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17512 * intl/localealias.c (read_alias_file): Likewise.
17513 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17514 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17515 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17516 * libio/fmemopen.c (fmemopen): Likewise.
17517 * libio/iofgets.c (_IO_fgets): Likewise.
17518 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17519 * libio/iofgetws.c (fgetws): Likewise.
17520 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17521 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17522 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17523 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17524 * locale/findlocale.c (_nl_find_locale): Likewise.
17525 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17526 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17527 Likewise.
17528 * locale/setlocale.c (setlocale): Likewise.
17529 * login/programs/pt_chown.c (main): Likewise.
17530 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17531 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17532 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17533 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17534 * math/e_exp2l.c: Likewise.
17535 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17536 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17537 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17538 * math/s_catan.c (__catan): Likewise.
17539 * math/s_catanf.c (__catanf): Likewise.
17540 * math/s_catanh.c (__catanh): Likewise.
17541 * math/s_catanhf.c (__catanhf): Likewise.
17542 * math/s_catanhl.c (__catanhl): Likewise.
17543 * math/s_catanl.c (__catanl): Likewise.
17544 * math/s_ccosh.c (__ccosh): Likewise.
17545 * math/s_ccoshf.c (__ccoshf): Likewise.
17546 * math/s_ccoshl.c (__ccoshl): Likewise.
17547 * math/s_cexp.c (__cexp): Likewise.
17548 * math/s_cexpf.c (__cexpf): Likewise.
17549 * math/s_cexpl.c (__cexpl): Likewise.
17550 * math/s_clog10.c (__clog10): Likewise.
17551 * math/s_clog10f.c (__clog10f): Likewise.
17552 * math/s_clog10l.c (__clog10l): Likewise.
17553 * math/s_clog.c (__clog): Likewise.
17554 * math/s_clogf.c (__clogf): Likewise.
17555 * math/s_clogl.c (__clogl): Likewise.
17556 * math/s_csin.c (__csin): Likewise.
17557 * math/s_csinf.c (__csinf): Likewise.
17558 * math/s_csinh.c (__csinh): Likewise.
17559 * math/s_csinhf.c (__csinhf): Likewise.
17560 * math/s_csinhl.c (__csinhl): Likewise.
17561 * math/s_csinl.c (__csinl): Likewise.
17562 * math/s_csqrt.c (__csqrt): Likewise.
17563 * math/s_csqrtf.c (__csqrtf): Likewise.
17564 * math/s_csqrtl.c (__csqrtl): Likewise.
17565 * math/s_ctan.c (__ctan): Likewise.
17566 * math/s_ctanf.c (__ctanf): Likewise.
17567 * math/s_ctanh.c (__ctanh): Likewise.
17568 * math/s_ctanhf.c (__ctanhf): Likewise.
17569 * math/s_ctanhl.c (__ctanhl): Likewise.
17570 * math/s_ctanl.c (__ctanl): Likewise.
17571 * math/w_pow.c: Likewise.
17572 * math/w_powf.c: Likewise.
17573 * math/w_powl.c: Likewise.
17574 * math/w_scalb.c (sysv_scalb): Likewise.
17575 * math/w_scalbf.c (sysv_scalbf): Likewise.
17576 * math/w_scalbl.c (sysv_scalbl): Likewise.
17577 * misc/error.c (error_tail): Likewise.
17578 * misc/pselect.c (__pselect): Likewise.
17579 * nis/nis_callback.c (__nis_create_callback): Likewise.
17580 * nis/nis_call.c (__nisfind_server): Likewise.
17581 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17582 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17583 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17584 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17585 * nis/nis_lookup.c (nis_lookup): Likewise.
17586 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17587 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17588 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17589 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17590 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17591 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17592 * nis/nss_compat/compat-initgroups.c (add_group)
17593 (internal_getgrent_r): Likewise.
17594 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17595 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17596 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17597 (internal_getspnam_r): Likewise.
17598 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17599 (_nss_nis_getaliasbyname_r): Likewise.
17600 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17601 (_nss_nis_getntohost_r): Likewise.
17602 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17603 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17604 (_nss_nis_getgrgid_r): Likewise.
17605 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17606 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17607 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17608 (_nss_nis_gethostbyname4_r): Likewise.
17609 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17610 (initgroups_netid): Likewise.
a1ffb40e 17611 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17612 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17613 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17614 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17615 (_nss_nis_getprotobynumber_r): Likewise.
17616 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17617 (_nss_nis_getsecretkey): Likewise.
17618 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17619 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17620 (_nss_nis_getpwuid_r): Likewise.
17621 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17622 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17623 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17624 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17625 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17626 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17627 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17628 Likewise.
57f41c40
AS
17629 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17630 (_nss_nisplus_getntohost_r): Likewise.
17631 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17632 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17633 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17634 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17635 Likewise.
57f41c40
AS
17636 * nis/nss_nisplus/nisplus-initgroups.c
17637 (_nss_nisplus_initgroups_dyn): Likewise.
17638 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17639 (_nss_nisplus_getnetbyaddr_r): Likewise.
17640 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17641 (_nss_nisplus_getprotobynumber_r): Likewise.
17642 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17643 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17644 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17645 Likewise.
57f41c40
AS
17646 * nis/nss_nisplus/nisplus-service.c
17647 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17648 (_nss_nisplus_getservbyport_r): Likewise.
17649 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17650 (_nss_nisplus_getspnam_r): Likewise.
17651 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17652 Likewise.
a1ffb40e
OB
17653 * nscd/aicache.c (addhstaiX): Likewise.
17654 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17655 * nscd/connections.c (register_traced_file, send_ro_fd)
17656 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17657 (main_loop_epoll): Likewise.
a1ffb40e
OB
17658 * nscd/grpcache.c (addgrbyX): Likewise.
17659 * nscd/hstcache.c (addhstbyX): Likewise.
17660 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17661 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17662 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17663 (addinnetgrX): Likewise.
17664 * nscd/nscd-client.h (__nscd_acquire_maplock)
17665 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17666 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17667 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17668 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17669 Likewise.
17670 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17671 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17672 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17673 (__nscd_get_map_ref): Likewise.
a1ffb40e 17674 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17675 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17676 Likewise.
a1ffb40e
OB
17677 * nscd/pwdcache.c (addpwbyX): Likewise.
17678 * nscd/selinux.c (preserve_capabilities): Likewise.
17679 * nscd/servicescache.c (addservbyX): Likewise.
17680 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17681 * posix/fnmatch.c (fnmatch): Likewise.
17682 * posix/getopt.c (_getopt_internal_r): Likewise.
17683 * posix/glob.c (glob, glob_in_dir): Likewise.
17684 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17685 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17686 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17687 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17688 * resolv/res_init.c: Likewise.
17689 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17690 * resolv/res_query.c (__libc_res_nquery): Likewise.
17691 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17692 Likewise.
17693 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17694 * stdio-common/perror.c (perror): Likewise.
17695 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17696 * stdio-common/tmpnam.c (tmpnam): Likewise.
17697 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17698 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17699 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17700 Likewise.
a1ffb40e
OB
17701 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17702 * stdlib/putenv.c (putenv): Likewise.
17703 * stdlib/setenv.c (__add_to_environ): Likewise.
17704 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17705 * stdlib/strtol_l.c (INTERNAL): Likewise.
17706 * string/memmem.c (memmem): Likewise.
17707 * string/strerror.c (strerror): Likewise.
17708 * string/strnlen.c (__strnlen): Likewise.
17709 * string/test-memmem.c (simple_memmem): Likewise.
17710 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17711 * sunrpc/pm_getport.c (__get_socket): Likewise.
17712 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17713 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17714 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17715 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17716 Likewise.
17717 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17719 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17720 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17721 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17722 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17723 Likewise.
17724 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17725 Likewise.
a1ffb40e
OB
17726 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17727 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17728 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17729 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17730 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17731 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17732 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17733 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17734 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17735 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17736 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17737 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17738 Likewise.
17739 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17740 Likewise.
17741 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17742 Likewise.
17743 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17744 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17745 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17746 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17747 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17748 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17749 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17750 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17751 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17752 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17753 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17754 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17755 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17756 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17757 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17758 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17759 Likewise.
a1ffb40e
OB
17760 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17761 Likewise.
17762 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17763 Likewise.
17764 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17765 Likewise.
17766 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17767 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17768 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17769 Likewise.
17770 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17771 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17772 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17773 * sysdeps/posix/sleep.c: Likewise.
17774 * sysdeps/posix/tempname.c: Likewise.
17775 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17776 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17777 Likewise.
57f41c40
AS
17778 * sysdeps/powerpc/powerpc32/dl-machine.h
17779 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17780 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17781 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17782 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17783 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17784 Likewise.
17785 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17786 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17787 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17788 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17789 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17790 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17791 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17792 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17793 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17794 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17795 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17796 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17797 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17798 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17799 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17800 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17801 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17802 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17803 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17804 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17805 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17806 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17808 Likewise.
17809 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17810 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17811 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17812 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17813 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17814 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17815 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17816 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17817 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17818 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17819 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17820 Likewise.
17821 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17822 (__posix_fallocate64_l64): Likewise.
17823 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17824 (posix_fallocate): Likewise.
57f41c40
AS
17825 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17826 Likewise.
a1ffb40e 17827 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17828 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17829 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17830 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17831 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17832 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17833 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17834 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17835 (__posix_fallocate64_l64): Likewise.
17836 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17837 Likewise.
17838 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17839 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17840 (__get_clockfreq): Likewise.
a1ffb40e
OB
17841 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17842 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17843 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17844 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17845 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17846 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17847 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17848 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17849 Likewise.
17850 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17851 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17852 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17853 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17854 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17855 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17856 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17857 Likewise.
17858 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17859 (posix_fallocate): Likewise.
17860 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17861 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17862 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17863 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17864 (elf_machine_rela, elf_machine_rela_relative)
17865 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17866 * time/asctime.c (asctime_internal): Likewise.
17867 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17868 * time/tzset.c (__tzset_parse_tz): Likewise.
17869 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17870 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17871 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17872 * wcsmbs/wcsmbsload.h: Likewise.
17873
f3d338c9
OB
17874 [BZ #15894]
17875 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17876
57f41c40
AS
17877 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17878 (arena_get2): Remove THREAD_STATS conditionals.
17879 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17880 (__malloc_stats, int): Likewise.
bdfe308a 17881
d674667c
MF
178822014-02-08 Mike Frysinger <vapier@gentoo.org>
17883
17884 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17885 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17886
6349768c
MF
17887 * manual/setjmp.texi: Fix typos/grammar errors.
17888
0b7c7473
MF
17889 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17890 Only return early when n is <= 0. Delete unused return statement.
17891
ac8cc9e3
MF
17892 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17893 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17894 * debug/tst-longjmp_chk3.c: New file.
17895
c5bb8e23
MF
17896 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17897 (test_main): Replace code with set_fortify_handler call.
17898 * debug/test-strcpy_chk.c: Likewise.
17899 * debug/tst-chk1.c: Likewise.
17900 * debug/tst-longjmp_chk.c: Likewise.
17901 * test-skeleton.c: Include fcntl.h & paths.h
17902 (set_fortify_handler): Define.
17903
10444e42
MF
17904 * debug/tst-longjmp_chk.c: Add header comment and include
17905 ../test-skeleton.c.
17906 (do_test): Mark static.
17907 (TEST_FUNCTION): Define.
17908
1e805e8d
MF
17909 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17910 (IP_PMTUDISC_INTERFACE): Likewise.
17911 (IP_MULTICAST_IF): Likewise.
17912 (IP_MULTICAST_TTL): Likewise.
17913 (IP_MULTICAST_LOOP): Likewise.
17914 (IP_ADD_MEMBERSHIP): Likewise.
17915 (IP_DROP_MEMBERSHIP): Likewise.
17916 (IP_UNBLOCK_SOURCE): Likewise.
17917 (IP_BLOCK_SOURCE): Likewise.
17918 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17919 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17920 (IP_MSFILTER): Likewise.
17921 (MCAST_JOIN_GROUP): Likewise.
17922 (MCAST_BLOCK_SOURCE): Likewise.
17923 (MCAST_UNBLOCK_SOURCE): Likewise.
17924 (MCAST_LEAVE_GROUP): Likewise.
17925 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17926 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17927 (MCAST_MSFILTER): Likewise.
17928 (IP_MULTICAST_ALL): Likewise.
17929 (IP_UNICAST_IF): Likewise.
17930
73f79bb7
MF
17931 * timezone/Makefile: Delete $(have-ksh) check.
17932 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17933 * timezone/tzselect.ksh: Add +x mode bits.
17934
8da79b60
MF
17935 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17936 (ANON_INODE_FS_MAGIC): Likewise.
17937 (BDEVFS_MAGIC): Likewise.
17938 (BINFMTFS_MAGIC): Likewise.
17939 (BTRFS_TEST_MAGIC): Likewise.
17940 (CRAMFS_MAGIC_WEND): Likewise.
17941 (DEBUGFS_MAGIC): Likewise.
17942 (ECRYPTFS_SUPER_MAGIC): Likewise.
17943 (EXT3_SUPER_MAGIC): Likewise.
17944 (EXT4_SUPER_MAGIC): Likewise.
17945 (FUTEXFS_SUPER_MAGIC): Likewise.
17946 (HOSTFS_SUPER_MAGIC): Likewise.
17947 (HUGETLBFS_MAGIC): Likewise.
17948 (MINIX3_SUPER_MAGIC): Likewise.
17949 (MTD_INODE_FS_MAGIC): Likewise.
17950 (NILFS_SUPER_MAGIC): Likewise.
17951 (OPENPROM_SUPER_MAGIC): Likewise.
17952 (PIPEFS_MAGIC): Likewise.
17953 (PSTOREFS_MAGIC): Likewise.
17954 (QNX6_SUPER_MAGIC): Likewise.
17955 (RAMFS_MAGIC): Likewise.
17956 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17957 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17958 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17959 (SECURITYFS_MAGIC): Likewise.
17960 (SELINUX_MAGIC): Likewise.
17961 (SMACK_MAGIC): Likewise.
17962 (SOCKFS_MAGIC): Likewise.
17963 (SQUASHFS_MAGIC): Likewise.
17964 (STACK_END_MAGIC): Likewise.
17965 (TMPFS_MAGIC): Likewise.
17966 (USBDEVICE_SUPER_MAGIC): Likewise.
17967 (V9FS_MAGIC): Likewise.
17968 (XENFS_SUPER_MAGIC): Likewise.
17969 (CRAMFS_MAGIC): Fix typo in comment.
17970 (EXT2_SUPER_MAGIC): Update comment.
17971 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17972
464263cc
JM
179732014-02-08 Joseph Myers <joseph@codesourcery.com>
17974
c6bfe5c4
JM
17975 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17976 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17977 * sysdeps/unix/sysv/linux/arm: Move directory from
17978 ports/sysdeps/unix/sysv/linux/arm.
17979 * README: Update listing for arm-*-linux-gnueabi.
17980
464263cc
JM
17981 * README: Remove mention of am33.
17982
32749f6c
RM
179832014-02-07 Roland McGrath <roland@hack.frob.com>
17984
17985 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17986 than the comma operator, to avoid "rhs of comma has no effect"
17987 compiler warnings.
17988 (__sigfillset, __sigandset, __sigorset): Likewise.
17989 * include/signal.h (__sigemptyset): Likewise.
17990 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17991
d5b396c1
AM
179922014-02-07 Allan McRae <allan@archlinux.org>
17993
17994 * version.h (RELEASE): Set to "development".
17995 (VERSION): Set to "2.19.90"
17996 * NEWS: Add 2.20 section.
17997
3bfff2ed
CD
179982014-02-06 Carlos O'Donell <carlos@redhat.com>
17999
18000 [BZ #16529]
18001 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18002
ee7cc385
SP
180032014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18004
18005 * manual/contrib.texi: Update entry for Carlos O'Donell,
18006 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18007
f877c4f2
CD
180082014-02-05 Carlos O'Donell <carlos@rehdat.com>
18009
27e839f6
CD
18010 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18011
f877c4f2
CD
18012 * sysdeps/unix/sysv/linux/kernel-features.h
18013 [__LINUX_KERNEL_VERSION >= 0x020621]
18014 (__ASSUME_PROC_PID_TASK_COMM): Define.
18015
68159946
SP
180162014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18017
ba17cdbd
SP
18018 [BZ #16398]
18019 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18020 conversion when destination buffer does not have enough space.
18021 * libio/tst-ftell-partial-wide.c: New test case.
18022 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18023
68159946
SP
18024 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18025 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18026 Leonard and Allan McRae.
18027
2b528732
DM
180282014-02-04 David S. Miller <davem@davemloft.net>
18029
18030 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18031 32-bit.
18032
0ff82463
AZ
180332014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18034
57f41c40
AS
18035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18036 New file
c01603f7
AZ
18037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18038 New file
57f41c40
AS
18039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18040 New file.
18041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18042 New file.
c01603f7
AZ
18043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18044 New file.
57f41c40
AS
18045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18046 New file.
18047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18048 New file.
c01603f7
AZ
18049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18050 New file.
18051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18052 New file.
18053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18054 New file.
18055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18056 New file.
18057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18058 New file.
18059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18060 New file.
18061
180622014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18063
0ff82463
AZ
18064 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18065 * shlib-versions: Likewise.
18066
1695c773
AZ
180672014-02-04 Roland McGrath <roland@hack.frob.com>
18068 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18069
18070 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18071 (abilist-pattern): New variable, set to %-le.abilist.
18072
18073 * Makerules (abilist-pattern): New variable.
18074 (vpath): Use $(abilist-pattern) in place of %.abilist.
18075 (check-abi-% pattern rule): Likewise.
18076 (check-abi, update-abi): Likewise.
18077
6c0ce4b4
EW
180782014-02-04 Eric Wong <normalperson@yhbt.net>
18079
18080 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18081
481e3524
CD
180822014-02-03 Carlos O'Donell <carlos@redhat.com>
18083
18084 * manual/startup.texi: Add next, previous, and top entries for
18085 the `Program Arguments' and `Environment Variables' nodes.
18086
375592d3
AO
180872014-02-03 Alexandre Oliva <aoliva@redhat.com>
18088
18089 * manual/macros.texi: Add comments before MTASC-safety macros.
18090
f54838ba
AO
18091 * manual/users.texi: Document MTASC-safety properties.
18092
57f41c40
AS
18093 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18094 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18095 @deftypefun, and add @safety note.
18096 * manual/signal.texi: Move comments that analyze the above
18097 functions to their home place.
18098
fd3daba4
AM
180992014-02-03 Allan McRae <allan@archlinux.org>
18100
18101 * po/sl.po: Update Slovenian translation from translation project.
18102
597636d7
AO
181032014-02-02 Alexandre Oliva <aoliva@redhat.com>
18104
18105 * manual/time.texi (timegm): Add missing blank after @c.
18106 Reported by Joseph Myers <joseph@codesourcery.com>.
18107
ee196e3c
AO
181082014-02-01 Alexandre Oliva <aoliva@redhat.com>
18109
18110 * manual/check-safety.sh: New.
18111 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18112
f8d529d5
AO
18113 * manual/terminal.texi: Document MTASC-safety properties.
18114
de55fdf4
AO
18115 * manual/filesys.texi: Document MTASC-safety properties.
18116
c3299c08
AO
18117 * manual/errno.texi: Document MTASC-safety properties.
18118
06e90b14
AO
18119 * manual/intro.texi: Document safety identifiers and
18120 conditionals.
18121
1acd4371
AO
18122 * manual/string.texi (wcstok): Fix prototype.
18123 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18124
23e5b8cb
AO
18125 * manual/time.texi: Document MTASC-safety properties.
18126
11087373
AO
18127 * manual/string.texi: Document MTASC-safety properties.
18128
5da2c93d
AO
18129 * manual/threads.texi: Document MTASC-safety properties.
18130
171e9210
AO
18131 * manual/stdio.texi: Document MTASC-safety properties.
18132
d9e02532
AO
18133 * manual/syslog.texi: Document MTASC-safety properties.
18134
6af8bab7
AO
18135 * manual/sysinfo.texi: Document MTASC-safety properties.
18136
663b02d7
AO
18137 * manual/startup.texi: Document MTASC-safety properties.
18138
973f180b
AO
18139 * manual/socket.texi: Document MTASC-safety properties.
18140
8f3c25c8
AO
18141 * manual/signal.texi: Document MTASC-safety properties.
18142
542210fb
AO
181432014-01-31 Alexandre Oliva <aoliva@redhat.com>
18144
18145 * manual/setjmp.texi: Document MTASC-safety properties.
18146
433c45a2
AO
18147 * manual/search.texi: Document MTASC-safety properties.
18148
c8ce789c
AO
18149 * manual/resource.texi: Document MTASC-safety properties.
18150
19f5d29c
AO
18151 * manual/process.texi: Document MTASC-safety properties.
18152
e2dfb7f4
AO
18153 * manual/platform.texi: Document MTASC-safety properties.
18154
8c1413f5
AO
18155 * manual/pipe.texi: Document MTASC-safety properties.
18156
03483ada
AO
18157 * manual/pattern.texi: Document MTASC-safety properties.
18158
29e7e2df
AO
18159 * manual/message.texi: Document MTASC-safety properties.
18160
9f529d7c
AO
18161 [BZ #12751]
18162 * manual/memory.texi: Document MTASC-safety properties.
18163
27aaa791
AO
18164 * manual/math.texi: Document MTASC-safety properties.
18165
f2d58726
AO
18166 * manual/locale.texi: Document MTASC-safety properties.
18167
2cc3615c
AO
18168 * manual/llio.texi: Document MTASC-safety properties.
18169
d9f0ec97
AO
18170 * manual/libdl.texi: New.
18171
e7c4409a
AO
18172 * manual/lang.texi: Document MTASC-safety properties.
18173
27bdc63c
AO
18174 * manual/job.texi: Document MTASC-safety properties.
18175
a7b90ea9
AO
18176 * manual/getopt.texi: Document MTASC-safety properties.
18177
c49130e3
AO
18178 * manual/ctype.texi: Document MTASC-safety properties.
18179
0d23a5c1
MR
181802014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18181
18182 [BZ #16046]
18183 * csu/libc-tls.c (static_map): Remove variable.
18184 (__libc_setup_tls): Use main executable's link map for TLS data.
18185 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18186 casing for LM_ID_BASE and GL(dl_nns).
18187 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18188 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18189 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18190 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18191 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18192 member.
18193 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18194 l_phnum members.
18195
0037bb60
AO
181962014-01-30 Alexandre Oliva <aoliva@redhat.com>
18197
18198 * manual/debug.texi: Document MTASC-safety properties.
18199
409e00bd
L
182002014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18201
18202 [BZ #16510]
18203 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18204 of __x86_64__ when disabling x87 inline functions.
18205
86e60666
AO
182062014-01-29 Alexandre Oliva <aoliva@redhat.com>
18207
18208 * manual/charset.texi: Document MTASC-safety properties.
18209
76167637
AO
18210 * manual/crypt.texi: Document MTASC-safety properties.
18211
e567f2a0
AO
18212 * manual/conf.texi: Document MTASC-safety properties.
18213
b719dafd
AO
18214 * manual/arith.texi: Document MTASC-safety properties.
18215
4a16c662
AO
18216 * manual/argp.texi: Document MTASC-safety properties.
18217
0a57b83e
AO
18218 * manual/macros.texi: Introduce macros to document multi
18219 thread, asynchronous signal and asynchronous cancellation
18220 safety properties.
18221 * manual/intro.texi: Introduce the properties themselves.
18222
feab2397
KK
182232014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18224
18225 * sysdeps/sh/sh4/Makefile: New file.
18226
1c0d11bc
AS
182272014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18228
18229 * math/gen-libm-test.pl ($srcdir): New variable.
18230 ($auto_input): Use it.
18231
af37a8a3
SP
182322014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18233
d7b00f98
SP
18234 [BZ #16506]
18235 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18236 access beyond array bounds when parsing netgroups file.
18237
af37a8a3
SP
18238 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18239 the old buffer before realloc.
18240
0c00f062
AM
182412014-01-27 Allan McRae <allan@archlinux.org>
18242
18243 * po/fr.po: Update French translation from translation project.
18244
7d69a1b0
KK
182452014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18246
18247 * sysdeps/sh/libm-test-ulps: Regenerate.
18248
6e697ff7
DM
182492014-01-24 David S. Miller <davem@davemloft.net>
18250
18251 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18252
9cadb35c
KK
182532014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18254
18255 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18256 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18257
5d41dadf
SP
182582013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18259
18260 [BZ #16474]
18261 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18262 string pointers after reallocation.
18263
0bad441c
KK
182642014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18265
18266 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18267 __SH4A__ instead of __SH_FPU_ANY__.
18268
7007c661
KK
182692014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18270
18271 * sysdeps/sh/fpu_control.h: New file.
18272 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18273 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18274 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18275 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18276 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18277 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18278 * sysdeps/sh/sys/ucontext.h: Remove.
18279 * sysdeps/sh/sys: Remove directory.
18280
0f0c35e4
AK
182812014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18282
18283 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18284 s390/sys/ucontext.h.
18285 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18286 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18287
4959e284
L
182882014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18289
18290 [BZ #15605]
18291 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18292
d98720e0
AZ
182932014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294
18295 [BZ#16431]
18296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18297 Adjust the vDSO correctly for internal calls.
18298 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18299
91cbd0bc
AM
183002014-01-20 Allan McRae <allan@archlinux.org>
18301
18302 * po/ca.po: Update Catalan translation from translation project.
18303
7a02cfad
MF
183042014-01-16 Mike Frysinger <vapier@gentoo.org>
18305
18306 * sysdeps/s390/sotruss-lib.c: New file.
18307
736c304a
AZ
183082014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18309
18310 [BZ#16430]
6e077ee5 18311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18312 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18313 local calls issues by not having a PLT stub required for IFUNC calls.
18314 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18315
94d0cea0
JM
183162014-01-16 Joseph Myers <joseph@codesourcery.com>
18317
18318 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18319 * math/test-fpucw-static.c: Likewise.
18320
980cb518
SP
183212013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18322
18323 [BZ #16453]
18324 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18325
2393fc01
AZ
183262014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18327
18328 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18329 implementation for powerpc.
18330
d359bcc2
OB
183312014-01-15 Ondřej Bílka <neleai@seznam.cz>
18332
18333 [BZ #14782]
18334 * sysdeps/posix/system.c (__libc_system): Do not enable
18335 asynchronous cancellation.
18336
7beb48cb
AK
183372014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18338
18339 [BZ #16427]
18340 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18341 handling only for numbers special also in the IEEE case.
18342
c20d5bf5
AK
183432014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18344
18345 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18346
e83bd4ee
AM
183472014-01-11 Allan McRae <allan@archlinux.org>
18348
76d0ea69
AM
18349 * po/bg.po: Update Bulgarian translation from translation project.
18350
e83bd4ee
AM
18351 * po/de.po: Update German translation from translation project.
18352
bc2ba20a
RM
183532014-01-10 Roland McGrath <roland@hack.frob.com>
18354
18355 * sysdeps/generic/gcc-compat.h: New file.
18356
649ecea2
SP
183572014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18358
18359 * benchtests/asin-inputs: Correct slow inputs.
18360 * benchtests/acos-inputs: Likewise.
18361
1b19c006
AM
183622014-01-10 Allan McRae <allan@archlinux.org>
18363
a46dab08
AM
18364 * po:sv.po: Update Swedish translation from translation project.
18365
421df74a
AM
18366 * po/vi.po: Update Vietnamese translation from translation project.
18367
d61c51a7
AM
18368 * po/eo.po: Update Esperanto translation from translation project.
18369
0339a319
AM
18370 * po/cs.po: Update Czech translation from translation project.
18371
94ad3e99
AM
18372 * po/nl.po: Update Dutch translation from translation project.
18373
e349ca71
AM
18374 * po/pl.po: Update Polish translation from translation project.
18375
ddf930c1
AM
18376 * po/ru.po: Update Russian translation from translation project.
18377
1b19c006
AM
18378 * po/uk.po: Update Ukrainian translation from translation project.
18379
9f236c49
BM
183802014-01-08 Brooks Moses <bmoses@google.com>
18381
18382 * elf/dl-load.c: Fix comment typo.
18383
cd6701cf
CD
183842014-01-08 Carlos O'Donell <carlos@redhat.com>
18385
18386 * po/header.pot: Rename to...
18387 * po/pot.header: ... this.
18388 * po/Makefile: Use pot.header.
18389
66671c84
YK
183902014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18391 Maxim Kuvyrkov <maxim@kugelworks.com>
18392
18393 [BZ #16394]
cd6701cf
CD
18394 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18395 SRC and DEST against LEN.
66671c84 18396
38f34581
AZ
183972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18398
18399 [BZ #16414]
18400 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18401 implementation.
18402 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18403
184042014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18405
18406 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18407
4c327f2a
JM
184082014-01-08 Joseph Myers <joseph@codesourcery.com>
18409
18410 [BZ #16408]
18411 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18412 for large positive arguments.
18413
b821f414
JM
184142014-01-07 Joseph Myers <joseph@codesourcery.com>
18415
1f0f2067
JM
18416 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18417
a5a326f6
JM
18418 * math/auto-libm-test-in: Mark various tests with
18419 xfail-rounding:ldbl-128ibm.
18420 * math/auto-libm-test-out: Regenerated.
18421
b821f414
JM
18422 [BZ #16407]
18423 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18424 Increase overflow threshold.
18425
94c8a4bc
OB
184262014-01-07 Ondřej Bílka <neleai@seznam.cz>
18427
18428 [BZ #14286]
18429 * stdio-common/vfprintf.c: Check for integer overflow.
18430
87ded0c3
AK
184312014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18432
18433 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18434 the first argument and return value of __tls_get_addr_internal.
18435
c5eebdd0
AK
184362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18437
18438 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18439 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18440
05d138ef
AK
184412014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18442
18443 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18444 * sysdeps/s390/rtld-global-offsets.sym: New file.
18445 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18446 GLIBC_2.19 symbol.
18447 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18448 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18449 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18450 ... this.
18451 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18452 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18453 ... this.
18454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18455 Regenerate.
18456 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18457 Regenerate.
18458 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18459 halfs of GPRs for high_gprs contexts.
18460 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18461 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18462 field.
18463 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18464 uc_flags field.
18465 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18466 64 bit versions:
18467 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18468 for high GPRs (uc_high_gprs) and for future extensions
18469 (__reserved).
18470 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18471 for future extensions (__reserved).
18472 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18473 64 bit versions:
18474 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18475 SC_HIGHGPRS offset definition.
18476 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18477 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18478
93a45ff1
AK
18479 * Versions.def: Add GLIBC_2.19 for libpthread.
18480 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18481 siglongjmp for libpthread with GLIBC_2.19 symver.
18482 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18483 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18484 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18485 * sysdeps/s390/__longjmp.c: New file.
18486 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18487 * sysdeps/s390/longjmp.c: New file.
18488 * sysdeps/s390/setjmp.S: New file.
18489 * sysdeps/s390/sigjmp.S: New file.
18490 * sysdeps/s390/v1-longjmp.c: New file.
18491 * sysdeps/s390/v1-setjmp.h: New file.
18492 * sysdeps/s390/v1-sigjmp.c: New file.
18493 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18494 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18495 GLIBC_2.19 version.
18496 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18497 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18498 versioned symbols for ____longjmp_chk.
18499 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18500 Likewise.
18501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18502 Regenerate.
18503 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18504 Regenerate.
18505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18506 Regenerate.
18507 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18508 Regenerate.
18509 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18510 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18511 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18512 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18513 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18514 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18515 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18516 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18517 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18518 * sysdeps/s390/rtld-__longjmp.c: New file.
18519 * sysdeps/s390/rtld-setjmp.S: New file.
18520
eb3fc44b
JM
185212014-01-06 Joseph Myers <joseph@codesourcery.com>
18522
18523 [BZ #16400]
18524 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18525 Return -__logl (x) for small positive arguments without evaluating
18526 a polynomial.
18527
9341dde4
MF
185282014-01-06 Mike Frysinger <vapier@gentoo.org>
18529
18530 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18531 Rename to ...
18532 (__ptrace_peeksiginfo_args): ... this.
18533 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18534 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18535 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18536
4cff0293
AM
185372014-01-06 Allan McRae <allan@archlinux.org>
18538
18539 * inet/netinet/in.h: Fix typo in comment.
18540
75595dcf
AJ
185412014-01-05 Andreas Jaeger <aj@suse.de>
18542
18543 * sysdeps/i386/fpu/libm-test-ulps: Update.
18544
79c1e109
AM
185452014-01-05 Allan McRae <allan@archlinux.org>
18546
dd804818
AM
18547 * po/libc.pot: Regenerated.
18548
79c1e109
AM
18549 * malloc/memusagestat.c: Fix gettext call formatting.
18550
0c813d1f
SK
185512014-01-04 Sami Kerola <kerolasa@iki.fi>
18552
18553 * nscd/nscd.c: Improve usage() output.
18554
20f4a8d9
MF
185552014-01-04 Mike Frysinger <vapier@gentoo.org>
18556
18557 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18558 * sysdeps/unix/sysv/linux/configure: Regenerated.
18559 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18560 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18561
22562bb2
JM
185622014-01-03 Joseph Myers <joseph@codesourcery.com>
18563
18564 [BZ #16390]
18565 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18566 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18567
d7ad2d9b
AZ
185682014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18569
18570 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18571 extra tokens at end of #undef directive.
18572 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18573 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18574 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18575
7dd009d8
JM
185762014-01-03 Joseph Myers <joseph@codesourcery.com>
18577
24db925a
JM
18578 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18579
7dd009d8
JM
18580 * math/auto-libm-test-in: Mark various tests with
18581 xfail-rounding:ldbl-128ibm.
18582 * math/auto-libm-test-out: Regenerated.
18583
396e3ecf
JM
185842014-01-02 Joseph Myers <joseph@codesourcery.com>
18585
819e5d50
JM
18586 [BZ #16386]
18587 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18588 numbers with subnormal high part when calculating exponent.
18589
90b6a1e5
JM
18590 [BZ #16385]
18591 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18592 fabs.
18593
396e3ecf
JM
18594 [BZ #16384]
18595 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18596 M_LN2l.
18597 (__ieee754_acoshl): Use __log1pl not __log1p.
18598
6c8dbf00
OB
185992013-01-02 Ondřej Bílka <neleai@seznam.cz>
18600
57f41c40
AS
18601 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18602 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18603 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18604 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18605 (reused_arena, arena_get2): Convert to GNU style.
18606 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18607 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18608 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18609 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18610 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18611 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18612 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18613 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18614 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18615 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18616 * malloc/malloc.h: Likewise.
57f41c40
AS
18617 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18618 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18619 * malloc/mcheck.h: Likewise.
57f41c40
AS
18620 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18621 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18622 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18623 * malloc/morecore.c (__default_morecore): Likewise.
18624 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18625 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18626 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18627 (print_and_abort): Likewise.
6c8dbf00
OB
18628 * malloc/obstack.h: Likewise.
18629 * malloc/set-freeres.c (__libc_freeres): Likewise.
18630 * malloc/tst-mallocstate.c (main): Likewise.
18631 * malloc/tst-mtrace.c (main): Likewise.
18632 * malloc/tst-realloc.c (do_test): Likewise.
18633
d4124212
SP
186342013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18635
9a3c6a6f
SP
18636 [BZ #16366]
18637 * nscd/netgroupcache.c (do_notfound): New function.
18638 (addgetnetgrentX): Use it.
18639
d4124212
SP
18640 [BZ # 16365]
18641 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18642 NSS_STATUS_NOTFOUND.
18643
97b9a009
JM
186442014-01-01 Joseph Myers <joseph@codesourcery.com>
18645
18646 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18648
d4697bc9
AM
186492014-01-01 Allan McRae <allan@archlinux.org>
18650
ddb3687f
AM
18651 * scripts/update-copyrights: Update configure input file suffix.
18652
88726d48
AM
18653 * NEWS: Update copyright year.
18654 * catgets/gencat.c: Likewise.
18655 * csu/version.c: Likewise.
18656 * debug/catchsegv.sh: Likewise.
18657 * debug/pcprofiledump.c: Likewise.
18658 * debug/xtrace.sh: Likewise.
18659 * elf/ldconfig.c: Likewise.
18660 * elf/ldd.bash.in: Likewise.
18661 * elf/pldd.c: Likewise.
18662 * elf/sotruss.ksh: Likewise.
18663 * elf/sprof.c: Likewise.
18664 * iconv/iconv_prog.c: Likewise.
18665 * iconv/iconvconfig.c: Likewise.
18666 * locale/programs/locale.c: Likewise.
18667 * locale/programs/localedef.c: Likewise.
18668 * login/programs/pt_chown.c: Likewise.
18669 * malloc/memusage.sh: Likewise.
18670 * malloc/memusagestat.c: Likewise.
18671 * malloc/mtrace.pl: Likewise.
18672 * manual/libc.texinfo: Likewise.
18673 * nscd/nscd.c: Likewise.
18674 * nss/getent.c: Likewise.
18675 * nss/makedb.c: Likewise.
18676 * posix/getconf.c: Likewise.
18677 * scripts/test-installation.pl: Likewise.
18678
d4697bc9
AM
18679 * All files with FSF copyright notices: Update copyright dates
18680 using scripts/update-copyrights.
18681 * intl/plural.c: Regenerated.
18682 * locale/programs/charmap-kw.h: Likewise.
18683 * locale/programs/locfile-kw.h: Likewise.
18684
c8590f9d
MF
186852013-12-31 Mike Frysinger <vapier@gentoo.org>
18686
18687 * sysdeps/unix/sysv/linux/configure: Regenerated.
18688 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18689 the linux/fanotify.h header.
18690 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18691 HAVE_LINUX_FANOTIFY_H is defined.
18692
b19221b9
SP
186932013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18694
dd1d85e5
SP
18695 * benchtests/cos-inputs: New inputs.
18696 * benchtests/sin-inputs: Likewise.
18697
1acbb90f
SP
18698 * benchtests/atan-inputs: New inputs. Fix name of multiple
18699 precision fallback inputs.
18700
4c012ed3
SP
18701 * benchtests/atanh-inputs: New inputs.
18702 * benchtests/tanh-inputs: Likewise.
18703
eff98324
SP
18704 * benchtests/acosh-inputs: New inputs.
18705 * benchtests/asinh-inputs: Likewise.
18706
ce641152
SP
18707 * benchtests/cosh-inputs: New inputs.
18708 * benchtests/sinh-inputs: Likewise.
18709
b19221b9
SP
18710 * benchtests/acos-inputs: Add more inputs.
18711 * benchtests/asin-inputs: Likewise.
18712
030a4976 187132013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18714
030a4976 18715 [BZ #16375]
9dcc8f11
VS
18716 * manual/arith.texi: Fix spelling.
18717 * manual/charset.texi: Likewise.
18718 * manual/errno.texi: Likewise.
18719 * manual/filesys.texi: Likewise.
18720 * manual/lang.texi: Likewise.
18721 * manual/llio.texi: Likewise.
18722 * manual/locale.texi: Likewise.
18723 * manual/message.texi: Likewise.
18724 * manual/resource.texi: Likewise.
18725 * manual/search.texi: Likewise.
18726 * manual/setjmp.texi: Likewise.
18727 * manual/stdio.texi: Likewise.
18728 * manual/string.texi: Likewise.
18729 * manual/sysinfo.texi: Likewise.
18730 * manual/time.texi: Likewise.
18731
11520a57
CD
187322013-12-27 Carlos O'Donell <carlos@redhat.com>
18733
18734 * po/sl.po: New file.
18735
471103ae
MF
187362013-12-27 Mike Frysinger <vapier@gentoo.org>
18737
18738 * .gitignore: Add core/.gdbinit/.gdb_history.
18739
6c9642ed
AM
187402013-12-27 Allan McRae <allan@archlinux.org>
18741
18742 [BZ #16369]
18743 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18744 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18745
3f637079
BM
187462013-12-24 Brooks Moses <bmoses@google.com>
18747
18748 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18749 all compilers that claim C++98 compliance, not just GCC.
18750 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18751 Likewise.
18752
abc26e99
MK
187532013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18754
18755 * NEWS: Restore accidentally deleted bug-fix entries.
18756
362b47fe
MK
187572013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18758 Ondřej Bílka <neleai@seznam.cz>
18759
18760 [BZ #15073]
18761 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18762 have_lock.
362b47fe 18763
b9bcbbcb
OB
187642013-12-23 Ondřej Bílka <neleai@seznam.cz>
18765
18766 [BZ #12986]
18767 * manual/stdio.texi (String Input Conversions): Clarify that character
18768 classes are not supported.
18769
fb55fcd2
AZ
187702013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18771
18772 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18773
ef7344f0
JM
187742013-12-22 Joseph Myers <joseph@codesourcery.com>
18775
4f40e4b3
JM
18776 [BZ #16337]
18777 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18778 Calculate results for small negative arguments directly rather
18779 than using reflection formula with special underflow handling.
18780
ef7344f0
JM
18781 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18782 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18783 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18784 (fchflags): Likewise.
18785 (revoke): Likewise.
18786 (setlogin): Likewise.
18787 (sigaltstack): Likewise.
18788 (wait4): Likewise.
18789 (sigblock): Remove.
18790 (sigsetmask): Likewise.
18791 (wait3): Likewise.
18792 (waitpid): Likewise.
18793 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18794 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18795 file.
18796 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18797 * sysdeps/unix/bsd/Makefile: ... here.
18798 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18799 * sysdeps/unix/bsd/Versions: ... here.
18800 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18801 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18802 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18803 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18804 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18805 * sysdeps/unix/bsd/sigblock.c: ... here.
18806 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18807 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18808 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18809 * sysdeps/unix/bsd/sigvec.c: ... here.
18810 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18811 * sysdeps/unix/bsd/tcdrain.c: ... here.
18812 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18813 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18814 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18815 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18816 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18817 * sysdeps/unix/bsd/wait.c: ... here.
18818 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18819 * sysdeps/unix/bsd/wait3.c: ... here.
18820 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18821 * sysdeps/unix/bsd/waitpid.c: ... here.
18822
5b0626b9
JM
188232013-12-21 Joseph Myers <joseph@codesourcery.com>
18824
18825 [BZ #16356]
18826 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18827 round-to-nearest for [!USE_AS_EXPM1L].
18828 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18829 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18830 more tests of exp and exp10. Expect some exp10 tests to miss
18831 exceptions or fail in directed rounding modes.
18832 * math/auto-libm-test-out: Regenerated.
18833 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18834 (exp10_test_tonearest): New function.
18835 (exp10_towardzero_test_data): New array.
18836 (exp10_test_towardzero): New function.
18837 (exp10_downward_test_data): New array.
18838 (exp10_test_downward): New function.
18839 (exp10_upward_test_data): New array.
18840 (exp10_test_upward): New function.
18841 (main): Call the new functions.
18842 * sysdeps/i386/fpu/libm-test-ulps: Update.
18843 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18844
7fda5682
JM
188452013-12-20 Joseph Myers <joseph@codesourcery.com>
18846
31e3a405
JM
18847 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18848 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18849 * math/auto-libm-test-out: Regenerated.
18850 * math/libm-test.inc (acosh_test_data): Add more tests.
18851 (atanh_test_data): Likewise.
18852 (ceil_test_data): Likewise.
18853 (copysign_test_data): Likewise.
18854 * sysdeps/i386/fpu/libm-test-ulps: Update.
18855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18856
85bff96a
JM
18857 * timezone/checktab.awk: Update from tzcode 2013i.
18858 * timezone/private.h: Likewise.
18859 * timezone/scheck.c: Likewise.
18860 * timezone/tzfile.h: Likewise.
18861 * timezone/tzselect.ksh: Likewise.
18862 * timezone/zdump.c: Likewise.
18863 * timezone/zic.c: Likewise.
18864
b7867a3b
JM
18865 * math/auto-libm-test-in: Add tests of cpow.
18866 * math/auto-libm-test-out: Regenerated.
18867 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18868 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18869 mpc_cc_c.
18870 (func_calc_desc): Add mpc_cc_c union field.
18871 (test_functions): Add cpow.
18872 (special_fill_2pi): New function.
18873 (special_real_inputs): Add 2pi.
18874 (calc_generic_results): Handle mpc_cc_c.
18875 * sysdeps/i386/fpu/libm-test-ulps: Update.
18876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18877
7fda5682
JM
18878 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18879 csqrt, ctan and ctanh.
18880 * math/auto-libm-test-out: Regenerated.
18881 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18882 (TEST_COND_x86): Likewise.
18883 (ccos_test_data): Use AUTO_TESTS_c_c.
18884 (ccosh_test_data): Likewise.
18885 (cexp_test_data): Likewise.
18886 (clog_test_data): Likewise.
18887 (csqrt_test_data): Likewise.
18888 (ctan_test_data): Likewise.
18889 (ctan_tonearest_test_data): Likewise.
18890 (ctan_towardzero_test_data): Likewise.
18891 (ctan_downward_test_data): Likewise.
18892 (ctan_upward_test_data): Likewise.
18893 (ctanh_test_data): Likewise.
18894 (ctanh_tonearest_test_data): Likewise.
18895 (ctanh_towardzero_test_data): Likewise.
18896 (ctanh_downward_test_data): Likewise.
18897 (ctanh_upward_test_data): Likewise.
18898 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18899 mpc_c_c.
18900 (func_calc_desc): Add mpc_c_c union field.
18901 (FUNC_mpc_c_c): New macro.
18902 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18903 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18904 ctanh.
18905 (special_fill_min_subnorm_p120): New function.
18906 (special_real_inputs): Add min_subnorm_p120.
18907 (calc_generic_results): Handle mpc_c_c.
18908 * sysdeps/i386/fpu/libm-test-ulps: Update.
18909 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18910
5ff8d60e
SP
189112013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18912
57f41c40
AS
18913 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18914 (do_sin_slow): New functions.
18915 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18916 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18917
84ba214c
SP
18918 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18919 Use M to change sign of result instead of X. Assume X is
18920 positive.
18921 (csloww1): Likewise.
18922 (__sin): Adjust.
18923 (__cos): Adjust.
18924
975195e4
SP
18925 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18926 arguments A and DA.
18927 (__sin): Adjust.
18928 (__cos): Likewise.
18929
5ff8d60e
SP
18930 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18931 (__cos): Likewise.
18932 (sloww1): Don't adjust sign of DX.
18933 (csloww1): Likewise.
18934 (sloww2): Use X directly and don't adjust sign of DX.
18935 (csloww2): Likewise.
18936
eb983568
JM
189372013-12-19 Joseph Myers <joseph@codesourcery.com>
18938
64a17f1a
JM
18939 * math/auto-libm-test-in: Add tests of cabs and carg.
18940 * math/auto-libm-test-out: Regenerated.
18941 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18942 (carg_test_data): Likewise.
18943 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18944 mpc_c_f.
18945 (func_calc_desc): Add mpc_c_f union field.
18946 (test_functions): Add cabs and carg.
18947 (calc_generic_results): Handle mpc_c_f.
18948
eb983568
JM
18949 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18950 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18951 as a macro and a compat symbol.
18952 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18953 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18954 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18955 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18956 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18957 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18958 not use .hidden.
18959 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18960 Likewise.
18961 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18962 Likewise.
18963 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18964 Likewise.
18965 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18966 Likewise.
18967 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18968 Likewise.
18969 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18970 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18971 from GLIBC_2.3.2.
18972
6eeb678a
AZ
189732013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18974
18975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18976
6f6fc482
JM
189772013-12-19 Joseph Myers <joseph@codesourcery.com>
18978
21fea2e2
JM
18979 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18980 trailing whitespace removed.
18981 * scripts/config.guess: Update to version 2013-11-29.
18982 * scripts/config.sub: Update to version 2013-10-01.
18983
6f6fc482
JM
18984 * math/auto-libm-test-in: Add tests of sincos.
18985 * math/auto-libm-test-out: Regenerated.
18986 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18987 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18988 mpfr_f_11.
18989 (func_calc_desc): Add mpfr_f_11 union field.
18990 (test_functions): Add sincos.
18991 (calc_generic_results): Handle mpfr_f_11.
18992 * sysdeps/i386/fpu/libm-test-ulps: Update.
18993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18994
83f5c32d
AS
189952013-12-19 Andreas Schwab <schwab@suse.de>
18996
18997 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18998 CALL_MCOUNT.
18999 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19000 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19001 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19002
c688b419
JM
190032013-12-19 Joseph Myers <joseph@codesourcery.com>
19004
335ee092
JM
19005 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19006 * sysdeps/i386/fpu/libm-test-ulps: Update.
19007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19008
f88acd39
JM
19009 [BZ #16293]
19010 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19011 round-to-nearest mode when using frndint.
19012 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19013 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19015 Likewise.
19016 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19017 sinh test to fail.
19018 * math/auto-libm-test-out: Regenerated.
19019 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19020 (TEST_COND_x86): Likewise.
19021 (expm1_tonearest_test_data): New array.
19022 (expm1_test_tonearest): New function.
19023 (expm1_towardzero_test_data): New array.
19024 (expm1_test_towardzero): New function.
19025 (expm1_downward_test_data): New array.
19026 (expm1_test_downward): New function.
19027 (expm1_upward_test_data): New array.
19028 (expm1_test_upward): New function.
19029 (main): Run the new test functions.
19030 * sysdeps/i386/fpu/libm-test-ulps: Update.
19031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19032
c688b419
JM
19033 * include/features.h: Update comment documenting feature test
19034 macros. Mention _DEFAULT_SOURCE in comment.
19035 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19036 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19037 _BSD_SOURCE and _SVID_SOURCE.
19038 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19039 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19040 !_SVID_SOURCE]: Likewise.
19041 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19042 (__USE_POSIX_IMPLICITLY): Define.
19043 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19044 (_POSIX_SOURCE): Undefine and redefine.
19045 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19046 (_POSIX_C_SOURCE): Likewise.
19047 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19048 (Feature Test Macros): Update documentation of default features.
19049
9f6e964c
RS
190502013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19051
19052 * benchtests/Makefile: Add bench-strtok.
19053 * benchtests/bench-strtok.c: New file: strtok benchtest.
19054
ee0a148a
AM
190552013-12-19 Allan McRae <allan@archlinux.org>
19056
19057 * manual/install.texi: Suppress menu for plain text output.
19058 * INSTALL: Regenerated.
19059
b9ab448f
BM
190602013-12-18 Brooks Moses <bmoses@google.com>
19061
19062 [BZ #15846]
19063 * misc/getauxval.c: Include errno.h.
19064 (__getauxval): Set errno to ENOENT if the requested type is not
19065 found.
19066 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19067 don't declare with __attribute_const__.
19068 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19069 * manual/startup.texi: Document that getauxval sets errno.
19070
23776487
JM
190712013-12-18 Joseph Myers <joseph@codesourcery.com>
19072
f889953b
JM
19073 * math/auto-libm-test-in: Add tests of jn and yn.
19074 * math/auto-libm-test-out: Regenerated.
19075 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19076 (yn_test_data): Likewise.
19077 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19078 mpfr_if_f.
19079 (func_calc_desc): Add mpfr_if_f union field.
19080 (FUNC_mpfr_if_f): New macro.
19081 (test_functions): Add jn and yn.
19082 (calc_generic_results): Assert type of second input for
19083 mpfr_ff_f. Handle mpfr_if_f.
19084 (output_for_one_input_case): Disable all checking for arguments
19085 fitting floating-point types in case of an integer argument.
19086 * sysdeps/i386/fpu/libm-test-ulps: Update.
19087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19088
23776487
JM
19089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19090 Don't expect fegetround reference in libm.so.
19091
cb756c6d
MS
190922013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19093
19094 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19095 $(config-cflags-nofma).
19096
2dec468f
JM
190972013-12-18 Joseph Myers <joseph@codesourcery.com>
19098
5953eb3a
JM
19099 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19100 * math/auto-libm-test-out: Regenerated.
19101
2dec468f
JM
19102 [BZ #16338]
19103 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19104 to determine exponent and adjust argument to have exponent of -1.
19105 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19106 log2.
19107 * math/auto-libm-test-out: Regenerated.
19108 * sysdeps/i386/fpu/libm-test-ulps: Update.
19109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110
4d84e6ad
OB
191112013-12-18 Ondřej Bílka <neleai@seznam.cz>
19112
19113 * manual/probes.texi: Remove cases when per-thread arenas are
19114 disabled.
19115
1818483b
AS
191162013-12-18 Andreas Schwab <schwab@suse.de>
19117
19118 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19119 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19120 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19121 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19122 * sysdeps/i386/i686/multiarch/Makefile: Update.
19123 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19124
25de95bf
JM
191252013-12-17 Joseph Myers <joseph@codesourcery.com>
19126
19127 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19128 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19129
674762d9
PE
191302013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19131
ed27ed83 19132 [BZ #15968]
0748546f
PE
19133 Support TZ transition times < 00:00:00.
19134 This is needed for version-3 tz-format files; it supports time
19135 stamps past 2037 for America/Godthab (the only entry in the tz
19136 database for which this change is relevant).
19137 * manual/time.texi (TZ Variable): Document transition times
19138 from -167:59:59 through -00:00:01.
19139 * time/tzset.c (tz_rule): Time of day is now signed.
19140 (__tzset_parse_tz): Parse negative time of day.
19141
4480e934
PE
19142 Document TZ transition times >= 25:00:00.
19143 * manual/time.texi (TZ Variable): Document transition times from
19144 25:00:00 through 167:59:59. These are already supported, and this
19145 support will help with version-3 tz-format files.
19146
69947401
PE
19147 * manual/time.texi (TZ Variable): Modernize North America example
19148 to reflect current (i.e., 2007-and-later) daylight saving rules.
19149
674762d9
PE
19150 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19151
7011c262
JM
191522013-12-17 Joseph Myers <joseph@codesourcery.com>
19153
2fc6557e
JM
19154 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19155 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19156 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19157 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19158 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19159 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19160 * sysdeps/unix/bsd/clock.c: Likewise.
19161 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19162 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19163 * sysdeps/unix/bsd/init-posix.c: Likewise.
19164 * sysdeps/unix/bsd/poll.c: Likewise.
19165 * sysdeps/unix/bsd/ptsname.c: Likewise.
19166 * sysdeps/unix/bsd/seekdir.c: Likewise.
19167 * sysdeps/unix/bsd/setegid.c: Likewise.
19168 * sysdeps/unix/bsd/seteuid.c: Likewise.
19169 * sysdeps/unix/bsd/setgid.c: Likewise.
19170 * sysdeps/unix/bsd/setrgid.c: Likewise.
19171 * sysdeps/unix/bsd/setruid.c: Likewise.
19172 * sysdeps/unix/bsd/setsid.c: Likewise.
19173 * sysdeps/unix/bsd/setuid.c: Likewise.
19174 * sysdeps/unix/bsd/sigaction.c: Likewise.
19175 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19176 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19177 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19178 * sysdeps/unix/bsd/telldir.c: Likewise.
19179 * sysdeps/unix/bsd/times.c: Likewise.
19180 * sysdeps/unix/bsd/usleep.c: Likewise.
19181
029c7b25
JM
19182 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19183 ($(objpfx)libbsd-compat.a): Remove rule.
19184
7011c262
JM
19185 * include/features.h (__FAVOR_BSD): Do not define.
19186 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19187 features conflicting with POSIX.
19188 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19189 (_BSD_SOURCE): Remove description of not being a subset of other
19190 feature test macros.
19191 * manual/job.texi (getpgrp): Do not document BSD version.
19192 (getpgid): Do not document by reference to BSD getpgrp.
19193 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19194 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19195 * signal/signal.h [__FAVOR_BSD]: Likewise.
19196 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19197 instead of making contents conditional on [__FAVOR_BSD].
19198 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19199
affb6f78
AZ
192002013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19201
19202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19203
c88769dd
JM
192042013-12-17 Joseph Myers <joseph@codesourcery.com>
19205
6432a540
JM
19206 [BZ #16314]
19207 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19208 values below 2**-450, not 2**-500.
19209 * math/auto-libm-test-in: Don't allow spurious underflow from
19210 hypot.
19211 * math/auto-libm-test-out: Regenerated.
19212
c88769dd
JM
19213 [BZ #16316]
19214 [BZ #16330]
19215 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19216 values of ha and hb and sort them after adjusting subnormal
19217 arguments.
19218 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19219 Likewise.
19220 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19221 values of ea and eb and sort them after adjusting subnormal
19222 arguments.
19223 * math/auto-libm-test-in: Do not expect some hypot tests of
19224 subnormals to fail. Add more hypot tests.
19225 * math/auto-libm-test-out: Regenerated.
19226
29618f6b
KK
192272013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19228
19229 [BZ #13304]
19230 * sysdeps/sh/s_fma.c: New file.
19231 * sysdeps/sh/s_fmaf.c: New file.
19232 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19233 version.
19234 * sysdeps/sh/Implies: Add sh/soft-fp.
19235
eacfdfbf
RM
192362013-12-16 Roland McGrath <roland@hack.frob.com>
19237
19238 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19239 level of indirection to members `objname', `errstring', `malloced'.
19240 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19241 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19242 it as the __longjmp argument (just pass 1 instead).
19243 (_dl_catch_error): Initialize C with argument pointers and address of
19244 volatile local ERRCODE rather than copying values out of C at return.
19245
ff362e5b
JM
192462013-12-16 Joseph Myers <joseph@codesourcery.com>
19247
19248 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19249 * math/auto-libm-test-out: Regenerated.
19250 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19251 (hypot_test_data): Likewise.
19252 (pow_test_data): Likewise.
19253 (pow_tonearest_test_data): Likewise.
19254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19255 mpfr_ff_f.
19256 (func_calc_desc): Add mpfr_ff_f union field.
19257 (FUNC_mpfr_ff_f): New macro.
19258 (test_functions): Add atan2, hypot and pow.
19259 (special_fill_min): New function.
19260 (special_fill_minus_min): Likewise.
19261 (special_fill_min_subnorm): Likewise.
19262 (special_fill_minus_min_subnorm): Likewise.
19263 (special_real_inputs): Add min, -min, min_subnorm and
19264 -min_subnorm.
19265 (calc_generic_results): Handle mpfr_ff_f.
19266 * sysdeps/i386/fpu/libm-test-ulps: Update.
19267 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19268
5764c27f
WN
192692013-12-16 Will Newton <will.newton@linaro.org>
19270
19271 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19272 (Aligned Memory Blocks): Add documentation for aligned_alloc
19273 and suggest it as an alternative to posix_memalign.
19274 (Hooks for Malloc): Document __memalign_hook is also called
19275 for aligned_alloc. (Summary of Malloc): Add summary for
19276 aligned alloc. Document __memalign_hook is also called
19277 for aligned_alloc.
19278
0a096e44
WN
192792013-12-16 Will Newton <will.newton@linaro.org>
19280
19281 * manual/memory.texi (Malloc Examples): Clarify default
19282 alignment documentation. Suggest posix_memalign rather
19283 than memalign or valloc.
19284 (Aligned Memory Blocks): Remove suggestion to use memalign
19285 or valloc. Remove obsolete comment about BSD.
19286 Document memalign errno values and mark the function obsolete.
19287 Document posix_memalign returned error codes. Mark valloc
19288 as obsolete. (Hooks for Malloc): __memalign_hook is also
19289 called for posix_memalign and valloc.
19290 (Summary of Malloc): Add posix_memalign to function summary.
19291 __memalign_hook is also called for posix_memalign and valloc.
19292
8d561986
SP
192932013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19294
19295 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19296 TAYLOR_SIN.
19297 (__sin): Adjust.
19298 (__cos): Likewise.
19299 (sloww): Use mynumber union. Expand ternary operator into
19300 if-else statements.
19301 (cslow): use mynumber union.
19302
73616a74
AM
193032013-12-16 Allan McRae <allan@archlinux.org>
19304
9e8ac24b
AM
19305 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19306 * configure: Regenerated.
19307
6f8e37eb
AM
19308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19309
8894bad3
AM
19310 [BZ #14120]
19311 * configure.ac: Added --enable-maintainer-mode. Check for
19312 autoconf when enabled.
19313 * configure: Regenerated.
19314
73616a74
AM
19315 * nscd/nscd.service: New file.
19316 * nscd/nscd.tmpfiles: New file.
19317
584b18eb
OB
193182013-12-14 Ondřej Bílka <neleai@seznam.cz>
19319
19320 [BZ #12100]
19321 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19322 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19323 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19324 (strstr): Add __strstr_sse2_unaligned ifunc.
19325 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19326 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19327 (strcasestr): Remove __strcasestr_sse42 ifunc.
19328 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19330 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19331
8a5c7897
KK
193322013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19333
19334 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19335 * sysdeps/sh/bits/fenv.h: ... here.
19336 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19337
fd712ef3
AZ
193382013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19339
19340 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19341
42fcb46c
AZ
19342 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19343 hypotf multiarch implementations.
19344 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19345 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19347 multiarch hypot for PPC64.
19348 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19349 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19350 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19351 multiarch hypotf for PPC64.
19352
83efded4
AZ
19353 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19354 modff multiarch implementations.
19355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19358 multiarch modf for PPC64.
19359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19362 multiarch modff for PPC64.
19363
43e246d2
AZ
19364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19365 and logl multiarch implementations.
19366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19367 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19369 multiarch logb for PPC64.
19370 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19372 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19373 multiarch logb for PPC64.
19374 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19375 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19376 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19377 multiarch logb for PPC64.
19378
8fdad123
AZ
19379 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19380 isinff multiarch implementation.
19381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19382 file.
19383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19384 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19385 multiarch isinf for PPC64.
19386 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19387 file.
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19389 multiarch isinff for PPC64.
19390
1481d706
AZ
19391 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19392 finitef multiarch implementation.
19393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19394 file.
19395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19396 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19397 multiarch finite for PPC64.
19398 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19399 file.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19401 multiarch finitef for PPC64.
19402
5ccd5fc8
AZ
19403 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19404 lrint multiarch implementation.
19405 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19406 file.
19407 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19408 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19409 multiarch llrint for PPC64.
19410 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19411 multiarch lrint for PPC64.
19412
2568f3fa
AZ
19413 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19414 copysignf multiarch implementation.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19416 file.
19417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19418 file.
19419 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19420 multiarch copysign for PPC64.
19421 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19422 multiarch copysignf for PPC64.
19423
1cb341fd
AZ
19424 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19425 multiarch implementation.
19426 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19427 file.
19428 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19429 file.
19430 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19431 file.
19432 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19433 file.
19434 multiarch llround for PPC64.
19435 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19436 multiarch trunc for PPC64.
19437 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19438 multiarch truncf for PPC64.
19439
59a3e194
AZ
19440 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19441 multiarch implementation.
19442 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19443 file.
19444 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19445 file.
19446 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19447 file.
19448 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19449 file.
19450 multiarch llround for PPC64.
19451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19452 multiarch round for PPC64.
19453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19454 multiarch roundf for PPC64.
19455
357fd3b4
AZ
19456 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19457 multiarch implementation.
19458 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19459 file.
19460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19461 file.
19462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19463 file.
19464 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19465 file.
19466 multiarch llround for PPC64.
19467 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19468 multiarch floor for PPC64.
19469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19470 multiarch floorf for PPC64.
19471
96770f12
AZ
19472 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19473 multiarch implementation.
19474 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19475 file.
19476 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19477 file.
19478 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19479 file.
19480 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19481 file.
19482 multiarch llround for PPC64.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19484 multiarch ceil for PPC64.
19485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19486 multiarch ceilf for PPC64.
19487
c3627f6e
AZ
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19489 multiarch implementation.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19491 file.
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19493 file.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19495 file.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19497 multiarch llround for PPC64.
19498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19499 multiarch lround for PPC64.
19500
b2284ad7
AZ
19501 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19502 multiarch implementation.
19503 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19504 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19506 file.
19507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19510 multiarch isnan for PPC64.
19511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19512 multiarch isnanf for PPC64.
19513
69bbc63d
AZ
19514 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19515 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19516 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19517 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19518 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19520
c24517c9
AZ
19521 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19522 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19523 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19524 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19525
a52374e8
AZ
19526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19527 multiarch implementations.
19528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19529 (__libc_ifunc_impl_list): Likewise.
19530 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19531 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19532 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19533 multiarch stpcpy for PPC64.
19534
7f5ec113
AZ
19535 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19536 multiarch implementations.
19537 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19538 (__libc_ifunc_impl_list): Likewise.
19539 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19540 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19541 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19542 multiarch strcpy for PPC64.
19543
e28bcd42
AZ
19544 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19545 redefine function name.
19546 (_wordcopy_fwd_dest_aligned): Likewise.
19547 (_wordcopy_bwd_aligned): Likewise.
19548 (_wordcopy_bwd_dest_aligned): Likewise.
19549 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19550 multiarch implementations.
19551 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19552 (__libc_ifunc_impl_list): Likewise.
19553 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19554 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19555 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19556 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19557 multiarch wcscpy for PPC64.
19558
92cacfce
AZ
19559 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19560 multiarch implementations.
19561 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19562 (__libc_ifunc_impl_list): Likewise.
19563 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19564 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19565 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19566 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19567 multiarch wcscpy for PPC64.
19568
7b714620
AZ
19569 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19570 multiarch implementations.
19571 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19572 (__libc_ifunc_impl_list): Likewise.
19573 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19574 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19575 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19576 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19577 multiarch wcsrchr for PPC64.
19578
16fd2ae3
AZ
19579 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19580 multiarch implementations.
19581 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19582 (__libc_ifunc_impl_list): Likewise.
19583 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19584 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19585 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19586 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19587 multiarch wcschr for PPC64.
19588
9ee2969b
AZ
19589 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19590 multiarch implementations.
19591 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19592 (__libc_ifunc_impl_list): Likewise.
19593 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19594 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19595 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19596 multiarch strchrnul for PPC64.
19597
372dc060
AZ
19598 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19599 implementations.
19600 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19601 (__libc_ifunc_impl_list): Likewise.
19602 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19603 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19604 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19605 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19606 strchr for PPC64.
19607
24c2c3b9
AZ
19608 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19609 implementations.
19610 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19611 (__libc_ifunc_impl_list): Likewise.
19612 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19613 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19614 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19615 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19616 strncmp for PPC64.
19617
1c92d9a0
AZ
19618 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19619 multiarch implementations.
19620 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19621 (__libc_ifunc_impl_list): Likewise.
19622 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19623 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19624 strncasecmp for PPC64.
19625 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19626 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19627 multiarch strncasecmp_l for PPC64.
19628
17de3ee3
AZ
19629 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19630 multiarch implementations.
19631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19632 (__libc_ifunc_impl_list): Likewise.
19633 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19634 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19635 multiarch strcasecmp for PPC64.
19636 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19637 file.
19638 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19639 multiarch strcasecmp_l for PPC64.
19640
62982bf9
AZ
19641 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19642 implementations.
19643 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19644 (__libc_ifunc_impl_list): Likewise.
19645 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19646 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19647 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19648 strnlen for PPC64.
19649
a65f4904
AZ
19650 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19651 implementations.
19652 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19653 (__libc_ifunc_impl_list): Likewise.
19654 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19655 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19656 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19657 strlen for PPC64.
19658
1fd005ad
AZ
19659 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19660 implementations.
19661 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19662 (__libc_ifunc_impl_list): Likewise.
19663 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19664 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19665 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19666 rawmemrchr for PPC64.
19667
cd05ba91
AZ
19668 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19669 implementation.
19670 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19671 (__libc_ifunc_impl_list): Likewise.
19672 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19673 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19674 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19675 memrchr for PPC64.
19676
870f8676
AZ
19677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19678 implementation.
19679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19680 (__libc_ifunc_impl_list): Likewise.
19681 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19682 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19683 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19684 memchr for PPC64.
19685
f00be62b
AZ
19686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19687 implementation.
19688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19689 (__libc_ifunc_impl_list): Likewise.
19690 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19691 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19692 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19693 mempcpy for PPC64.
19694
8a29a3d0
AZ
19695 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19696 avoid cretion of __bzero symbol.
19697 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19698 Likewise.
19699 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19700 Likewise.
19701 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19702 Likewise.
19703 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19704 multiarch implementations.
19705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19706 (__libc_ifunc_impl_list): Likewise.
19707 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19708 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19709 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19710 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19711 bzero for PPC32.
19712 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19714 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19715 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19716 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19717 memset for PPC64.
19718 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19719
07253fcf
AZ
19720 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19721 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19722 implementations.
19723 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19724 (__libc_ifunc_impl_list): Likewise.
19725 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19726 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19727 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19728 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19729 memcmp for PPC64.
19730
b5beafbc
AZ
19731 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19732 multiarch for POWER/PPC64.
19733 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19734 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19735 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19737 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19738 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19739 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19740 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19741 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19742 memcpy for PPC64.
19743
5e6a4d4b
AZ
19744 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19745 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19746 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19747 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19748 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19749 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19750 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19751 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19752 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19753 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19754 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19755 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19756 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19757 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19758 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19766
ddfab6dc
KK
197672013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19768
19769 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19770
19b5525e
SP
197712013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19772
19773 * benchtests/Makefile (bench): Add exp2 and log2.
19774 (LDLIBS-bench-exp2): Add -lm.
19775 (LDLIBS-bench-log2): Likewise.
19776 * benchtests/exp2-inputs: New inputs file.
19777 * benchtests/log2-inputs: New inputs file.
19778 * benchtests/log-inputs: Add new inputs.
19779 * benchtests/tan-inputs: Likewise.
19780
196f7f5d
SP
197812013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19782
7a74607f
SP
19783 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19784 definition...
57f41c40
AS
19785 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19786 (csloww2): ... from here.
7a74607f 19787
196f7f5d
SP
19788 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19789 instead of structures.
19790 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19791 (POLYNOMIAL): Likewise.
19792 (TAYLOR_SLOW): Likewise.
19793 (__sin): Likewise.
19794 (__cos): Likewise.
19795 (slow1): Likewise.
19796 (slow2): Likewise.
19797 (sloww): Likewise.
19798 (sloww1); Likewise.
19799 (sloww2): Likewise.
19800 (bsloww1): Likewise.
19801 (bsloww2): Likewise.
19802 (cslow2): Likewise.
19803 (csloww): Likewise.
19804 (csloww1): Likewise.
19805 (csloww2): Likewise.
19806
0dfa665c
OB
198072013-12-10 Ondřej Bílka <neleai@seznam.cz>
19808
19809 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19810 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19811 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19812 * malloc/hooks.c (realloc_check): Likewise.
19813
5782a80f
OB
19814 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19815 * malloc/arena.c: Remove PER_THREAD conditional.
19816 [!PER_THREAD]: Remove code.
19817 (ptmalloc_unlock_all2): Likewise.
19818 (ptmalloc_init): Likewise.
19819 (_int_new_arena): Likewise.
19820 (arena_get2): Likewise.
19821 * malloc/hooks.c (__malloc_get_state): Likewise.
19822 (__malloc_set_state): Likewise.
19823 * malloc/malloc.c: Likewise.
19824 (struct malloc_state): Likewise.
19825 (struct malloc_par): Likewise.
19826 (__libc_realloc): Likewise.
19827 (__libc_mallopt): Likewise.
19828
aeb95445
AZ
198292013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19830
19831 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19832
e8349efd
OB
198332013-12-09 Ondřej Bílka <neleai@seznam.cz>
19834
19835 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19836 macro to a function. Check for zero perturb_byte.
19837 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19838
f3eeb3fc 19839 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19840 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19841 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19842 force_reg by atomic_forced_read.
19843 * malloc/arena.c (ptmalloc_init): Likewise.
19844 * malloc/hooks.c (top_check): Likewise.
19845
be2f9009
AZ
198462013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19847
19848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19849
e7b914bd
MT
198502013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19851
19852 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19853
9f0be4f8
JM
198542013-12-08 Joseph Myers <joseph@codesourcery.com>
19855
19856 * math/auto-libm-test-in: Add tests of lgamma.
19857 * math/auto-libm-test-out: Regenerated.
19858 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19859 (M_LOG_2_SQRT_PIl): Likewise.
19860 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19861 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19862 mpfr_f_f1.
19863 (func_calc_desc): Add mpfr_f_f1 union field.
19864 (ARGS1): New macro.
19865 (ARGS2): Likewise.
19866 (ARGS3): Likewise.
19867 (ARGS4): Likewise.
19868 (RET1): Likewise.
19869 (RET2): Likewise.
19870 (CALC): Likewise.
19871 (FUNC): Likewise.
19872 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19873 (test_functions): Add lgamma.
19874 (calc_generic_results): Handle mpfr_f_f1.
19875 * sysdeps/i386/fpu/libm-test-ulps: Update.
19876 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19877
24eeafdb
AZ
198782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19879
19880 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19881 __mpn_add_n for PowerPC64/POWER7.
19882 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19883 __mpn_sub_n for PowerPC64/POWER7.
19884
4a2c0fd4
AZ
19885 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19886 __mpn_addmul_1 for PowerPC64.
19887 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19888 __mpn_submul_1 for PowerPC64.
19889 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19890 for PowerPC64.
19891 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19892 for PowerPC64.
19893
4b5b548c
FS
198942013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19895
19896 [BZ #15089]
19897 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19898
0a3ac0aa
AZ
198992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19900
19901 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19902
ccdc8438
AZ
19903 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19904 add multiarch folders.
19905 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19906 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19907 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19908 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19909 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19910 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19911 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19912 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19913 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19914 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19915 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19917 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19918 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19919 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19922
2e973d99
AZ
19923 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19924 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19925 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19926 New file.
19927 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19928 New file.
19929 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19930 multiarch __ieee754_hypot for PowerPC32.
19931 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19932 New file.
19933 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19934 New file.
19935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19936 multiarch __ieee754_hypotf for PowerPC32.
19937
2d9470b2
AZ
19938 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19939 long_double_symbol only if __logbl is defined.
19940 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19941 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19942 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19943 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19944 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19945 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19946 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19947 path for implementation.
19948 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19951 logb, and logbl multiarch implementations for PowerPC32.
19952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19953 file.
19954 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19955 file.
19956 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19957 multiarch logb for PowerPC32.
19958 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19959 file.
19960 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19961 file.
19962 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19963 multiarch logbf for PowerPC32.
19964 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19966 file.
19967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19968 multiarch logbl implementation for PowerPC32.
19969
5212ffce
AZ
19970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19971 and modff multiarch implementations.
19972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19973 New file.
19974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19975 New file.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19977 multiarch modf for PowerPC32.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19979 New file.
19980 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19981 New file.
19982 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19983 multiarch modff for PowerPC32.
19984
79dccf31
AZ
19985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19986 and lrintf multiarch implementations.
19987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19988 New file.
19989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19990 New file.
19991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19992 multiarch lrint for PowerPC32.
19993 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19994 file: multiarch lrintf for PowerPC32.
19995
deb66480
AZ
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19997 and lroundf multiarch implementations.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19999 New file.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20001 New file.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20003 New file.
20004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20005 multiarch lround for PowerPC32.
20006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20007 file: multiarch lroundf for PowerPC32.
20008
264b036b
AZ
20009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20010 copysign and copysignf multiarch implementations.
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20012 New file.
20013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20014 New file.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20016 file: multiarch copysign for PowerPC32.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20018 file: multiarch copysignf for PowerPC32.
20019
d47db6c9
AZ
20020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20021 and truncf multiarch implementations.
20022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20023 New file.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20025 file.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20027 multiarch trunc for PowerPC32.
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20029 New file.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20031 New file.
20032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20033 multiarch truncf for PowerPC32.
20034
ddb60b5a
AZ
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20036 and roundf multiarch implementations.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20038 New file.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20040 file.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20042 multiarch round for PowerPC32.
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20044 New file.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20046 New file.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20048 multiarch roundf for PowerPC32.
20049
bedcf49b
AZ
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20051 and floorf multiarch implementations.
20052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20053 New file.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20055 file.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20057 multiarch floor for PowerPC32.
20058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20059 New file.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20061 New file.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20063 multiarch floorf for PowerPC32.
20064
35ae5b40
AZ
20065 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20066 and ceilf multiarch implementations.
20067 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20068 New file.
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20070 file.
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20072 multiarch ceil for PowerPC32.
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20074 New file.
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20076 file.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20078 multiarch ceilf for PowerPC32.
20079
ae1a4cd9
AZ
20080 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20081 is defined.
20082 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20083 FINITEF is defined.
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20085 and finitef multiarch implementations.
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20087 New file.
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20089 file.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20091 multiarch finite for PowerPC32.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20093 New file.
20094 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20095 file: multiarch finitef for PowerPC32.
20096
64fffd65
AZ
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20098 and isinff multiarch implementations.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20100 file.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20102 file.
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20104 multiarch isinf for PowerPC32.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20106 New file.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20108 multiarch isinff for PowerPC32.
20109
8e4e7ba2
AZ
20110 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20111 alias when __isnan is defined.
20112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20113 and isnanf multiarch implementations.
20114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20115 file.
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20117 file.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20119 file.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20121 file.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20123 multiarch isnan for PowerPC32.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20125 New file.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20127 New file.
20128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20129 multiarch isnanf for PowerPC32.
20130
ddba588e
AZ
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20132 and sqrtf multiarch implementations.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20134 file.
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20136 file.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20138 multiarch sqrt for PowerPC32.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20140 file.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20142 file.
20143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20144 multiarch sqrtf for PowerPC32.
20145
0f96a2f0
AZ
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20147 and llroundf multiarch implementations.
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20149 New file.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20151 New file.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20153 New file.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20155 file: multiarch llround for PowerPC32.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20157 file: multiarch llroundf for PowerPC32.
20158
c9b5d79e
AZ
20159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20160 multiarch PowerPC32 fpu implementations.
20161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20162 New file.
20163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20164 New file.
20165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20166 multiarch llrint for PowerPC32.
20167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20168 New file.
20169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20170 New file.
20171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20172 file.
20173
9cbb3aab
AZ
20174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20175
ea5a72f8
AZ
20176 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20177 file.
20178 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20179 file.
20180 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20181 file.
20182 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20183 multiarch wordcopy for PPC32.
20184 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20185 wordcopy objects.
20186 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20187 (__libc_ifunc_impl_list): Likewise.
20188 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20189 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20190 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20191 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20192 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20193 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20194
93be09e7
AZ
20195 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20196 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20197 file.
20198 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20199 file.
20200 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20201 file.
20202 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20203 multiarch wcscpy for PPC32.
20204 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20205 multiarch objects.
20206 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20207 (__libc_ifunc_impl_list): Likewise.
20208 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20209 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20210 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20211 sysdeps/powerpc/power6/wcscpy.c.
20212
bb04e529
AZ
20213 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20215 file.
20216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20217 file.
20218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20219 file.
20220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20221 multiarch wcsrchr for PPC32.
20222 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20223 multiarch objects.
20224 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20225 (__libc_ifunc_impl_list): Likewise.
20226 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20227 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20228 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20229 sysdeps/powerpc/power6/wcsrchr.c.
20230
05b5cd1c
AZ
20231 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20232 file.
20233 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20234 file.
20235 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20236 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20237 multiarch wcschr for PPc32.
20238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20239 multiarch objects.
20240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20241 (__libc_ifunc_impl_list): Likewise.
20242 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20243 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20244 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20245 sysdeps/powerpc/power6/wcschr.c.
20246
ba964147
AZ
20247 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20248 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20249 file.
20250 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20251 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20252 file: multiarch strchr for PPC32.
20253 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20254 multiarch objects.
20255 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20256 (__libc_ifunc_impl_list): Likewise.
20257
31c81aaa
AZ
20258 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20259 name.
20260 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20261 file.
20262 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20263 file.
20264 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20265 multiarch strchrnul for PPC32.
20266 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20267 multiarch objects.
20268 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20269 (__libc_ifunc_impl_list): Likewise.
20270
0d0607d9
AZ
20271 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20272 file.
20273 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20274 multiarch strncasecmp for PPC32.
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20276 file.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20278 multiarch strncasecmp_l for PPC32.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20280 strncasecmp multiarch objects.
20281 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20282 (__libc_ifunc_impl_list): Likewise.
20283
4dfd5c86
AZ
20284 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20285 file.
20286 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20287 multiarch strncasecmp for PPC32.
20288 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20289 New file.
20290 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20291 multiarch strcasecmp_l for PPC32.
20292 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20293 multiarch objects.
20294 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20295 (__libc_ifunc_impl_list): Likewise.
20296
a19e01a3
AZ
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20298 file.
20299 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20300 file.
20301 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20302 multiarch strncmp for PPC32.
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20304 multiarch objects.
20305 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20306 (__libc_ifunc_impl_list): Likewise.
20307
ae9cf7a2
AZ
20308 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20309 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20310 file.
20311 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20312 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20313 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20314 multiarch objects.
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20316 (__libc_ifunc_impl_list): Likewise.
20317
3148bb7d
AZ
20318 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20319 file.
20320 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20321 file.
20322 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20323 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20324 multiarch objects.
20325 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20326 (__libc_ifunc_impl_list): Likewise.
20327
7af8b946
AZ
20328 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20329 file.
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20331 file.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20333 multiarch rawmemchr for PPC32.
20334 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20335 multiarch objects.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20337 (__libc_ifunc_impl_list): Likewise.
20338
03a6aa6a
AZ
20339 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20340 file.
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20342 file.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20344 file: memrchr multiarch for PPC32.
20345 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20346 multiarch objects.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20348 (__libc_ifunc_impl_list): Likewise.
20349
1c62e6d9
AZ
20350 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20352 file.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20354 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20355 multiarch memchr for PPC32.
20356 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20357 multiarch objects.
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20359 (__libc_ifunc_impl_list): Likewise.
20360
87da8bdb
AZ
20361 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20362 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20363 file.
20364 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20365 file.
20366 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20367 file: multiarch mempcpy for PPC32.
20368 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20369 multiarch objects.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20371 (__libc_ifunc_impl_list): Likewise.
20372
20ed4714
AZ
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20374 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20375 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20377 multiarch bzero for PPC32.
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20379 file.
20380 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20381 file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20383 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20384 file: multiarch memset for PPC32.
20385 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20386 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20387 memset multiarch objects.
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20389 (__libc_ifunc_impl_list): Likewise.
20390
ab3e3a46
AZ
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20392 file.
20393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20394 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20395 memcmp for PPC32.
20396 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20398 multiarch objects.
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20400 (__libc_ifunc_impl_list): Likewise.
20401
930de6f0
AZ
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20403 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20405 file.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20407 file.
20408 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20409 file.
20410 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20411 multiarch memcpy for PPC32.
20412 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20413 multiarch objects.
20414 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20415 (__libc_ifunc_impl_list): Likewise.
20416
4c628e00
AZ
20417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20418 support multiarch for POWER/PPC32.
20419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20420 Likewise.
20421 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20423 Implies file to make multiarch folder appers before the fpu and
20424 default folder for power4 configuration.
20425
f4479220
SP
204262013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20427
20428 * scripts/bench.pl: Append volatile keyword to type.
20429
8517800f
KK
204302013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20431
20432 * sysdeps/sh/sotruss-lib.c: New file.
20433 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20434
180138f1
AZ
204352013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20436
20437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20438
bbf37bdc
JM
204392013-12-05 Joseph Myers <joseph@codesourcery.com>
20440
e47cc4e0
JM
20441 [BZ #6810]
20442 * math/w_tgamma.c: Include <errno.h>.
20443 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20444 * math/w_tgammaf.c: Include <errno.h>.
20445 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20446 * math/w_tgammal.c: Include <errno.h>.
20447 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20448 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20449 underflow. Add more tgamma tests.
20450 * math/auto-libm-test-out: Regenerated.
20451 * sysdeps/i386/fpu/libm-test-ulps: Update.
20452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20453
bbf37bdc
JM
20454 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20455 sin, sinh, tan, tanh, tgamma, y0 and y1.
20456 * math/auto-libm-test-out: Regenerated.
20457 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20458 (TEST_COND_x86): Likewise.
20459 (M_E2l): Remove macro.
20460 (M_E3l): Likewise.
20461 (M_2_SQRT_PIl): Likewise.
20462 (M_SQRT_PIl): Likewise.
20463 (M_1_DIV_El): Likewise.
20464 (log_test_data): Use AUTO_TESTS_f_f.
20465 (log10_test_data): Likewise.
20466 (log1p_test_data): Likewise.
20467 (log2_test_data): Likewise.
20468 (sin_test_data): Likewise.
20469 (sin_tonearest_test_data): Likewise.
20470 (sin_towardzero_test_data): Likewise.
20471 (sin_downward_test_data): Likewise.
20472 (sin_upward_test_data): Likewise.
20473 (sinh_test_data): Likewise.
20474 (sinh_tonearest_test_data): Likewise.
20475 (sinh_towardzero_test_data): Likewise.
20476 (sinh_downward_test_data): Likewise.
20477 (sinh_upward_test_data): Likewise.
20478 (tan_test_data): Likewise.
20479 (tan_tonearest_test_data): Likewise.
20480 (tan_towardzero_test_data): Likewise.
20481 (tan_downward_test_data): Likewise.
20482 (tan_upward_test_data): Likewise.
20483 (tanh_test_data): Likewise.
20484 (tgamma_test_data): Likewise.
20485 (y0_test_data): Likewise.
20486 (y1_test_data): Likewise.
20487 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20488 (special_real_inputs): Add pi/4.
20489 * sysdeps/i386/fpu/libm-test-ulps: Update.
20490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20491
eb5ad6b9
AZ
204922013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20493
20494 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20495 "longjmp_target" static probes.
20496 (__longjmp): Rename to __longjmp_symbol.
20497 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20498 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20499 on which longjmp to generate.
20500 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20501 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20502 probe.
20503 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20504 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20505 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20506 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20507 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20508 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20510 __longjmp_symbol based on which __longjmp to generate.
20511 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20512 probe.
20513 (setjmp): Rename to setjmp_symbol.
20514 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20515 (_setjmp): Rename to _setjmp_symbol.
20516 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20517 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20518 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20519 which setjmp to generate.
20520 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20521 "longjmp_target" static probes.
20522
d136c6dc
SP
205232013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20524
9298ecba
SP
20525 * benchtests/README: Add note about output arguments.
20526 * benchtests/bench-sincos.c: Remove file.
20527 * benchtests/sincos-inputs: New file.
20528 * scripts/bench.pl: Identify output arguments and define
20529 static variables for them.
20530
232983e9
SP
20531 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20532
d136c6dc
SP
20533 [BZ #15941]
20534 * Makefile (INSTALL): Add install-plain.texi as the primary
20535 dependency.
20536 * manual/install-plain.texi: New file.
20537 * manual/install.texi: Include node directive only for
20538 non-plaintext output.
20539
699ff837
JM
205402013-12-04 Joseph Myers <joseph@codesourcery.com>
20541
ab07cea8
JM
20542 * stdlib/longlong.h: Update from GCC.
20543
699ff837
JM
20544 [BZ #6807]
20545 [BZ #15901]
20546 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20547 * math/w_j0f.c (y0f): Likewise.
20548 * math/w_j0l.c (__y0l): Likewise.
20549 * math/w_j1.c (y1): Likewise.
20550 * math/w_j1f.c (y1f): Likewise.
20551 * math/w_j1l.c (__y1l): Likewise
20552 * math/w_jn.c (yn): Likewise.
20553 * math/w_jnf.c (ynf): Likewise.
20554 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20555 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20556 value for Bessel function domain errors outside _SVID_ mode.
20557 Adjust sign of return value for yn (negative integer, 0).
20558 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20559 by zero in return for negative x and set sign appropriately for
20560 negative n.
20561 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20562 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20563 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20564 expectations in error cases.
20565 (y1_test_data): Likewise.
20566 (yn_test_data): Likewise.
20567 * sysdeps/i386/fpu/libm-test-ulps: Update.
20568 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20569
5b118558
UW
205702013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20571
20572 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20573 "64" to "64-v1". Add "64-v2".
20574 (abi-64-options): Rename to ...
20575 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20576 (abi-64-condition): Rename to ...
20577 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20578 (abi-64-ld-soname): Rename to ...
20579 (abi-64-v1-ld-soname): ... this.
20580 (abi-64-v2-options): Define.
20581 (abi-64-v2-condition): Likewise.
20582 (abi-64-v2-ld-soname): Likewise.
20583 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20584 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20588
61cd8fe4
UW
205892013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20590 Alan Modra <amodra@gmail.com>
20591
20592 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20593 New versions for use with the ELFv2 ABI.
20594 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20595 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20596 declaration.
20597 (struct La_ppc64v2_retval): Likewise.
20598 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20599 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20600 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20601 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20602 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20603 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20604 Do not save or restore CR.
20605 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20606 (_dl_profile_resolve): Do no save or restore CR. Support extended
20607 return values for ELFv2 ABI. Fix location of FPR return registers.
20608 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20609 updated values for _CALL_ELF == 2.
20610 (La_regs, La_retval, int_retval): Likewise.
20611
8b8a692c
UW
206122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20613
20614 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20615 (FRAME_MIN_SIZE_PARM): Likewise.
20616 (FRAME_BACKCHAIN): Likewise.
20617 (FRAME_CR_SAVE): Likewise.
20618 (FRAME_LR_SAVE): Likewise.
20619 (FRAME_TOC_SAVE): Likewise.
20620 (FRAME_PARM_SAVE): Likewise.
20621 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20622 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20623 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20624 (call_mcount_parm_offset): New macro.
20625 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20626 (PROF): Use symbolic stack frame offsets.
20627 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20628 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20629 Redefine in terms of FRAME_MIN_SIZE.
20630 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20631 (_dl_profile_resolve): Likewise. Update comment.
20632 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20633 symbols stack frame offsets.
20634 (__sigsetjmp): Likewise.
20635 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20636 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20637 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20638 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20639
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20641 (FRAME_BACKCHAIN): Remove.
20642 (FRAME_CR_SAVE): Likewise.
20643 (FRAME_LR_SAVE): Likewise.
20644 (FRAME_COMPILER_DW): Likewise.
20645 (FRAME_LINKER_DW): Likewise.
20646 (FRAME_TOC_SAVE): Likewise.
20647 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20648 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20649 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20650 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20652 (CHECK_SP): Use symbolic stack frame offsets.
20653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20654 zone" instead of caller's parameter save area for temp storage.
20655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20656 Likewise. Also, use symbolic stack frame offsets.
20657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20658 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20659 our own stack frame instead of the caller's.
20660 (__socket): Use symbolic stack frame offsets.
20661
122b66de
UW
206622013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20663 Alan Modra <amodra@gmail.com>
20664
20665 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20666 Define.
57f41c40
AS
20667 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20668 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20669 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20670 New function.
20671 (elf_machine_fixup_plt): Call it.
20672 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20673 reloc arguments.
20674 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20675 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20676 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20677 r2 before calling target.
20678
696caf1d
UW
206792013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20680 Alan Modra <amodra@gmail.com>
20681
20682 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20683 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20684 versions of macros to support ELFv2 ABI.
20685 (LOCALENTRY): New macro.
20686 (ENTRY, EALIGN): Use it.
20687 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20688 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20689 fall through into ENTRY entry point.
20690 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20691 Only define if _CALL_ELF != 2.
20692
20693 (elf_machine_matches_host): Verify ABI version matches.
20694 (RTLD_START): Use LOCALENTRY.
20695 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20696 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20697 (PLT_ENTRY_WORDS): New macro.
20698 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20699 (elf_machine_runtime_setup): Support ELFv2 ABI.
20700 (elf_machine_fixup_plt): Likewise.
20701 (elf_machine_plt_conflict): Likewise.
20702 (resolve_ifunc): Likewise.
20703 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20704 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20705 Likewise.
20706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20707 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20709 (makecontext): Support ELFv2 ABI.
20710 * elf/elf.h (EF_PPC64_ABI): Define.
20711
d31beafa
UW
207122013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20713
57f41c40
AS
20714 * sysdeps/powerpc/powerpc64/sysdep.h
20715 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20716 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20717 (ENTRY) [ASSEMBLER]: ... but instead here ...
20718 (EALIGN) [ASSEMBLER]: ... and here.
20719 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20720 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20721 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20722 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20723 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20724 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20725 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20726 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20728 Use PPC64_LOAD_FUNCPTR.
20729
b525166b
UW
20730 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20731
7ec07d9a
AM
207322013-12-04 Alan Modra <amodra@gmail.com>
20733
20734 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20735 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20736 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20737 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20738
20739 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20740 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20741 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20742 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20743 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20744 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20745
5162e7dd
UW
207462013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20747
20748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20749 (__makecontext): Fix incorrect CFI when backtracing out of
20750 context created via makecontext.
20751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20752 (__setcontext): Fix incorrect CFI during switch to new context.
20753 (__novec_setcontext): Likewise.
20754
19e3372b
OB
207552013-12-04 Ondřej Bílka <neleai@seznam.cz>
20756
20757 [BZ #4772]
20758 * time/strptime_l.c (__strptime_internal): Allow modifiers
20759 in strptime.
20760 * time/tst-strptime.c (day_tests): Add testcase.
20761
ecaf142d
SP
207622013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20763
20764 * scripts/bench.pl: Skip over blank lines.
20765
fbf964ae
PE
207662013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20767
20768 [BZ #926]
20769 * manual/time.texi (Calendar Time): Clarify what timezone functions
20770 use.
20771
fa60a674
AZ
207722013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20773
20774 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20775
d674f0ef
OB
207762013-12-04 Ondřej Bílka <neleai@seznam.cz>
20777
20778 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20779 implementation.
20780 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20781 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20782 * debug/memset_chk.c (__memset_chk): Likewise.
20783 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20784 * debug/strncpy_chk.c: Likewise.
20785
17dea188
JM
207862013-12-03 Joseph Myers <joseph@codesourcery.com>
20787
749008ff
JM
20788 [BZ #15268]
20789 [BZ #15425]
20790 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20791 (__ieee754_exp): For possibly underflowing results, check size of
20792 result and force underflow exception if required.
20793 * math/auto-libm-test-in: Add more tests of exp.
20794 * math/auto-libm-test-out: Regenerated.
20795 * sysdeps/i386/fpu/libm-test-ulps: Update.
20796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20797
17dea188
JM
20798 [BZ #16283]
20799 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20800 * math/w_exp2f.c (__exp2f): Likewise.
20801 * math/w_exp2l.c (__exp2l): Likewise.
20802 * math/auto-libm-test-in: Do not allow missing errno on exp2
20803 underflow.
20804 * math/auto-libm-test-out: Regenerated.
20805
b20de2c3
OB
208062013-12-03 Ondřej Bílka <neleai@seznam.cz>
20807
20808 [BZ #16274]
20809 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20810 handle filename validation.
20811 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20812 (do_open): Delete.
20813
d8e2dbe3
JM
208142013-12-03 Joseph Myers <joseph@codesourcery.com>
20815
34e16df5
JM
20816 [BZ #6786]
20817 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20818 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20819 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20820 <float.h>.
20821 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20822 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20823 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20824 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20825 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20826 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20827 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20828 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20829 Add more erfc tests.
20830 * math/auto-libm-test-out: Regenerated.
20831 * sysdeps/i386/fpu/libm-test-ulps: Update.
20832 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20833
d8e2dbe3
JM
20834 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20835 exp2, expm1, j0 and j1.
20836 * math/auto-libm-test-out: Regenerated.
20837 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20838 (erfc_test_data): Likewise.
20839 (exp_test_data): Likewise.
20840 (exp_tonearest_test_data): Likewise.
20841 (exp_towardzero_test_data): Likewise.
20842 (exp_downward_test_data): Likewise.
20843 (exp_upward_test_data): Likewise.
20844 (exp10_test_data): Likewise.
20845 (exp2_test_data): Likewise.
20846 (expm1_test_data): Likewise.
20847 (j0_test_data): Likewise.
20848 (j1_test_data): Likewise.
20849 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20850 (input_flag_type): Add flag_xfail_rounding.
20851 (input_flags): Add xfail-rounding.
20852 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20853 (output_for_one_input_case): Handle flag_xfail_rounding.
20854 * sysdeps/i386/fpu/libm-test-ulps: Update.
20855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20856
18d14251
AJ
208572013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20858
3d2e6075 20859 [BZ #16289]
18d14251
AJ
20860 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20861 division by 0.
20862
520d437b
SP
208632013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20864
20865 [BZ #16195]
20866 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20867 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20868 (STAP_PROBE0): New macro.
20869 (STAP_PROBE1): Likewise.
20870 (STAP_PROBE2): Likewise.
20871 (STAP_PROBE3): Likewise.
20872 (STAP_PROBE4): Likewise.
20873
416e0145
OB
208742013-12-02 Ondřej Bílka <neleai@seznam.cz>
20875
20876 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20877
9d17796a
SE
208782013-12-02 Steve Ellcey <sellcey@mips.com>
20879
20880 * benchtests/Makefile (bench): Add sqrt.
20881 (LDLIBS-bench-sqrt): New.
20882 * benchtests/sqrt-input: New.
20883
f524d6a8
PS
208842013-12-02 Pavel Simerda <psimerda@redhat.com>
20885
639a0ef8
PS
20886 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20887 (GAIH_EAI): Likewise.
20888 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20889 (gaih_inet): Likewise.
20890 (getaddrinfo): Don't use GAIH_EAI.
20891
f524d6a8
PS
20892 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20893 (struct gaih): Remove definition.
20894
df3aedaf
SP
208952013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20896
20897 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20898 Use HERRNOP directly.
20899
1ab19dec
AZ
209002013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20901
b42ad38d 20902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20903
176b0c79
JM
209042013-11-30 Joseph Myers <joseph@codesourcery.com>
20905
20906 * math/gen-auto-libm-tests.c (test_functions): Add more
20907 single-argument functions.
20908 (special_fill_pi_2): New function.
20909 (special_fill_minus_pi_2): Likewise.
20910 (special_fill_pi_6): Likewise.
20911 (special_fill_minus_pi_6): Likewise.
20912 (special_fill_pi_3): Likewise.
20913 (special_fill_2pi_3): Likewise.
20914 (special_fill_e): Likewise.
20915 (special_fill_1_e): Likewise.
20916 (special_fill_e_minus_1): Likewise.
20917 (special_real_inputs): Add more special inputs.
20918 (output_for_one_input_case): Do not require ERANGE on underflow to
20919 zero if round-to-nearest result does not underflow to zero, unless
20920 exact results required.
20921 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20922 atan, atanh, cbrt, cos and cosh.
20923 * math/auto-libm-test-out: Regenerated.
20924 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20925 (acos_tonearest_test_data): Likewise.
20926 (acos_towardzero_test_data): Likewise.
20927 (acos_downward_test_data): Likewise.
20928 (acos_upward_test_data): Likewise.
20929 (acosh_test_data): Likewise.
20930 (asin_test_data): Likewise.
20931 (asin_tonearest_test_data): Likewise.
20932 (asin_towardzero_test_data): Likewise.
20933 (asin_upward_test_data): Likewise.
20934 (asinh_test_data): Likewise.
20935 (atan_test_data): Likewise.
20936 (atanh_test_data): Likewise.
20937 (cbrt_test_data): Likewise.
20938 (cos_test_data): Likewise.
20939 (cos_tonearest_test_data): Likewise.
20940 (cos_towardzero_test_data): Likewise.
20941 (cos_downward_test_data): Likewise.
20942 (cos_upward_test_data): Likewise.
20943 (cosh_test_data): Likewise.
20944 (cosh_tonearest_test_data): Likewise.
20945 (cosh_towardzero_test_data): Likewise.
20946 (cosh_downward_test_data): Likewise.
20947 (cosh_upward_test_data): Likewise.
20948 * sysdeps/i386/fpu/libm-test-ulps: Update.
20949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20950
ffb536d0
JM
209512013-11-29 Joseph Myers <joseph@codesourcery.com>
20952
2a77a467
JM
20953 [BZ #6787]
20954 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20955 * math/w_exp10f.c (__exp10f): Likewise.
20956 * math/w_exp10l.c (__exp10l): Likewise.
20957 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20958 errno settings in existing tests.
20959
ea3bc4e8
JM
20960 [BZ #14032]
20961 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20962 precision control set to double precision.
20963 * sysdeps/i386/fpu/w_sqrt.c: New file.
20964 * math/auto-libm-test-in: Add more tests.
20965 * math/auto-libm-test-out: Update.
20966
0712c9d8
JM
20967 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20968 (sqrt_test_tonearest): New function.
20969 (sqrt_towardzero_test_data): New variable.
20970 (sqrt_test_towardzero): New function.
20971 (sqrt_downward_test_data): New variable.
20972 (sqrt_test_downward): New function.
20973 (sqrt_upward_test_data): New variable.
20974 (sqrt_test_upward): New function.
20975 (main): Call the new functions.
20976
ffb536d0
JM
20977 * math/gen-auto-libm-tests.c: New file.
20978 * math/auto-libm-test-in: Likewise.
20979 * math/auto-libm-test-out: New generated file.
20980 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20981 variables.
20982 (%beautify): Add generated representations of zero.
20983 (top level): Set $auto_input and call parse_auto_input.
20984 (beautify): Remove trailing "f" from hex float constants.
20985 (parse_args): Handle XFAIL_TEST.
20986 (convert_condition): New function.
20987 (or_value): Likewise.
20988 (or_cond_value): Likewise.
20989 (generate_testfile): Handle AUTO_TESTS_* lines.
20990 (parse_auto_input): New function.
20991 * math/libm-test.inc (XFAIL_TEST): New macro.
20992 (ERRNO_UNCHANGED): Update value.
20993 (ERRNO_EDOM): Likewise.
20994 (ERRNO_ERANGE): Likewise.
20995 (IGNORE_RESULT): Likewise.
20996 (TEST_COND_flt_32): New macro.
20997 (TEST_COND_dbl_64): Likewise.
20998 (TEST_COND_ldbl_96_intel): Likewise.
20999 (TEST_COND_ldbl_96_m68k): Likewise.
21000 (TEST_COND_ldbl_128): Likewise.
21001 (TEST_COND_ldbl_128ibm): Likewise.
21002 (TEST_COND_long32): Likewise.
21003 (TEST_COND_long64): Likewise.
21004 (TEST_COND_before_rounding): Likewise.
21005 (TEST_COND_after_rounding): Likewise.
21006 (enable_test): Handle XFAIL_TEST flag.
21007 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21008 with finite results.
21009 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21010 auto-libm-test-out.
21011
acd98a8e
AK
210122013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
21013 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21014
21015 [BZ #16214]
21016 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21017 __tls_get_addr_internal instead of __tls_get_offset in order to
21018 avoid GOT pointer dependency. Make rtld export
21019 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21020 __tls_get_addr since we are a __tls_get_offset platform.
21021 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21022 GOT pointer being set up before.
21023 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21024
3c1c46a6
JM
210252013-11-28 Joseph Myers <joseph@codesourcery.com>
21026
7475aef5
JM
21027 * manual/math.texi (Errors in Math Functions): Document accuracy
21028 goals.
21029
8bca7cd8
JM
21030 [BZ #15004]
21031 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21032 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21033 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21034 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21035 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21036 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21037 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21038 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21039 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21040 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21041 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21042 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21043 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21044 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21045 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21046 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21047
91a1f3fe
JM
21048 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21049 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21050 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21051 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21052 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21053 Likewise.
21054 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21055 Likewise.
21056 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21057 Likewise.
21058 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21059 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21060 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21061 atomic-feupdateenv and flt-rounds.
21062 * sysdeps/powerpc/nofpu/Versions (libc): Add
21063 __atomic_feholdexcept, __atomic_feclearexcept,
21064 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21065 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21066 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21067 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21068 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21069 here.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21071 Update.
21072
c5df7609
JM
21073 * manual/arith.texi (FP Exceptions): Document that exceptions may
21074 not be raised when matherr is used.
21075 (Math Error Reporting): Document overflow in directed rounding
21076 modes. Document that errno may not be set when finite values are
21077 returned on overflow. Document intent to set errno on underflow
21078 only for underflow to zero.
21079
3c1c46a6
JM
21080 [BZ #16271]
21081 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21082 round-to-nearest then adjust result for other rounding modes.
21083 * include/fenv.h (fegetround): Use libm_hidden_proto.
21084 * math/fegetround.c (fegetround): Use libm_hidden_def.
21085 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21086 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21087 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21088 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21089 Likewise.
21090 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21091 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21092 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21093 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21094
5a4c6d53
SP
210952013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21096
21097 [BZ #16077]
21098 * nss/Versions (libnss_files): Add
21099 _nss_files_gethostbyname3_r.
21100 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21101 New function.
21102 (HOST_DB_LOOKUP): Remove macro.
21103 (_nss_files_gethostbyname_r): Implement function without the
21104 HOST_DB_LOOKUP macro.
21105 (_nss_files_gethostbyname2_r): Likewise.
21106
897b98ba
OB
211072013-11-28 Ondřej Bílka <neleai@seznam.cz>
21108
21109 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21110
6f476861
UB
211112013-11-26 Uros Bizjak <ubizjak@gmail.com>
21112
21113 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21114 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21115 warning.
21116
bd12ab55
AZ
211172013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21118
21119 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21120 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21121 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21122 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21123 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21124 __fe_nomask_env_priv and attribute_hidden.
21125 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21126 (libc_feupdateenv_test_ppc): Likewise.
21127 (libc_feresetround_ppc): Likewise.
21128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21129 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21130 compat_symbol macro.
21131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21132 (__fe_nomask_env): Likewise.
21133 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21134
52bb6543
OB
211352013-11-26 Ondřej Bílka <neleai@seznam.cz>
21136
21137 * string/Makefile: Remove ifunc tests.
21138 * string/test-string.h: Define TEST_IFUNC.
21139 * string/test-bcopy-ifunc.c: Remove.
21140 * string/test-bzero-ifunc.c: Likewise.
21141 * string/test-memccpy-ifunc.c: Likewise.
21142 * string/test-memchr-ifunc.c: Likewise.
21143 * string/test-memcmp-ifunc.c: Likewise.
21144 * string/test-memcpy-ifunc.c: Likewise.
21145 * string/test-memmem-ifunc.c: Likewise.
21146 * string/test-memmove-ifunc.c: Likewise.
21147 * string/test-mempcpy-ifunc.c: Likewise.
21148 * string/test-memrchr-ifunc.c: Likewise.
21149 * string/test-memset-ifunc.c: Likewise.
21150 * string/test-rawmemchr-ifunc.c: Likewise.
21151 * string/test-stpcpy-ifunc.c: Likewise.
21152 * string/test-stpncpy-ifunc.c: Likewise.
21153 * string/test-strcasecmp-ifunc.c: Likewise.
21154 * string/test-strcasestr-ifunc.c: Likewise.
21155 * string/test-strcat-ifunc.c: Likewise.
21156 * string/test-strchr-ifunc.c: Likewise.
21157 * string/test-strchrnul-ifunc.c: Likewise.
21158 * string/test-strcmp-ifunc.c: Likewise.
21159 * string/test-strcpy-ifunc.c: Likewise.
21160 * string/test-strcspn-ifunc.c: Likewise.
21161 * string/test-strlen-ifunc.c: Likewise.
21162 * string/test-strncasecmp-ifunc.c: Likewise.
21163 * string/test-strncat-ifunc.c: Likewise.
21164 * string/test-strncmp-ifunc.c: Likewise.
21165 * string/test-strncpy-ifunc.c: Likewise.
21166 * string/test-strnlen-ifunc.c: Likewise.
21167 * string/test-strpbrk-ifunc.c: Likewise.
21168 * string/test-strrchr-ifunc.c: Likewise.
21169 * string/test-strspn-ifunc.c: Likewise.
21170 * string/test-strstr-ifunc.c: Likewise.
21171
ab260039 211722013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21173
21174 * benchtests/Makefile: Remove ifunc tests.
21175 * benchtests/bench-string.h: Define TEST_IFUNC.
21176 * benchtests/bench-bcopy-ifunc.c: Remove.
21177 * benchtests/bench-bzero-ifunc.c: Likewise.
21178 * benchtests/bench-memccpy-ifunc.c: Likewise.
21179 * benchtests/bench-memchr-ifunc.c: Likewise.
21180 * benchtests/bench-memcmp-ifunc.c: Likewise.
21181 * benchtests/bench-memcpy-ifunc.c: Likewise.
21182 * benchtests/bench-memmem-ifunc.c: Likewise.
21183 * benchtests/bench-memmove-ifunc.c: Likewise.
21184 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21185 * benchtests/bench-memrchr-ifunc.c: Likewise.
21186 * benchtests/bench-memset-ifunc.c: Likewise.
21187 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21188 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21189 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21190 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21191 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21192 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21193 * benchtests/bench-strcat-ifunc.c: Likewise.
21194 * benchtests/bench-strchr-ifunc.c: Likewise.
21195 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21196 * benchtests/bench-strcmp-ifunc.c: Likewise.
21197 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21198 * benchtests/bench-strcpy-ifunc.c: Likewise.
21199 * benchtests/bench-strcspn-ifunc.c: Likewise.
21200 * benchtests/bench-strlen-ifunc.c: Likewise.
21201 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21202 * benchtests/bench-strncat-ifunc.c: Likewise.
21203 * benchtests/bench-strncmp-ifunc.c: Likewise.
21204 * benchtests/bench-strncpy-ifunc.c: Likewise.
21205 * benchtests/bench-strnlen-ifunc.c: Likewise.
21206 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21207 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21208 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21209 * benchtests/bench-strspn-ifunc.c: Likewise.
21210 * benchtests/bench-strstr-ifunc.c: Likewise.
21211
212122013-11-26 Ondřej Bílka <neleai@seznam.cz>
21213
ab260039
OB
21214 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21215
d1d9eaf4 212162013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21217
d1d9eaf4
OB
21218 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21219 * rt/aio.h: Likewise.
21220 * sysdeps/gnu/bits/utmp.h: Likewise.
21221 * sysdeps/gnu/bits/utmpx.h: Likewise.
21222 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21223 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21224 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21225 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21226 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21227 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21228 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21229 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21230 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21231 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21232 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21233 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21234 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21236 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21237 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21238 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21239 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21240 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21241 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21242 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21243 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21244 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21245 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21246 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21248 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21249 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21250 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21251 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21252 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21253 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21254 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21255 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21256 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21257 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21258 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21259 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21260 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21261 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21262 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21263 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21264
a7624ed9
CD
212652013-11-25 Carlos O'Donell <carlos@redhat.com>
21266
21267 [BZ #16245]
21268 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21269 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21270
63cfe52b
JM
212712013-11-25 Joseph Myers <joseph@codesourcery.com>
21272
21273 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21274 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21275 Likewise.
21276
41e8926a
AZ
212772013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21278
21279 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21280 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21281 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21282 (__fesetround): Remove define.
21283 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21284 rounding and exceptions handling.
21285 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21286 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21287 (__fe_nomask_env): Likewise.
21288 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21289 __fegetround instead of fegetround.
21290 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21291 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21292
6851bd4d
RM
212932013-11-21 Roland McGrath <roland@hack.frob.com>
21294
070906ff
RM
21295 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21296 it's there.
21297
6851bd4d
RM
21298 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21299
84ae135d
MI
213002013-11-21 Meador Inge <meadori@codesourcery.com>
21301
21302 [BZ #11157]
21303 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21304 (encrypt_r): Likewise.
21305 * malloc/obstack.h (obstack_free): Likewise.
21306 * posix/unistd.h (encrypt): Likewise.
21307
daf75146
GM
213082013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21309
21310 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21311 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21312 DL_CALL_DT_FINI() that call the functions directly.
21313 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21314 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21315 * elf/dl-fini.c: Likewise.
21316
10ad46bc
OB
213172013-11-20 Ondřej Bílka <neleai@seznam.cz>
21318
21319 * malloc/hooks.c (memalign_check): Add alignment rounding.
21320 * malloc/malloc.c (_mid_memalign): New function.
21321 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21322 Implement by calling _mid_memalign.
21323 * manual/probes.texi (Memory Allocation Probes): Remove
21324 memory_valloc_retry and memory_pvalloc_retry.
21325
f3fd2628
SP
213262013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21327
4712799f
SP
21328 * locale/programs/locarchive.c (open_archive): Add const
21329 qualifier to ARCHIVEFNAME and copy default fname to
21330 DEFAULT_FNAME.
21331
0417b20f
SP
21332 [BZ #15601]
21333 * libio/tst-widetext.input: Rename Oriya to Odia.
21334 * locale/iso-639.def: Likewise.
21335
f3fd2628
SP
21336 * manual/probes.texi (Mathematical Function Probes): Add
21337 documentation for sin, cos, asin and acos probes.
21338 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21339 (__sin32): Add slowasin probe.
21340 (__cos32): Add slowacos probe.
21341 (__mpsin): Add slowsin probe.
21342 (__mpcos): Add slowcos probe.
21343
73c1ce4f
JM
213442013-11-19 Joseph Myers <joseph@codesourcery.com>
21345
21346 [BZ #15483]
21347 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21348 thread-local __sim_exceptions_thread and global
21349 __sim_exceptions_global.
21350 (__sim_disabled_exceptions): Change to thread-local
21351 __sim_disabled_exceptions_thread and global
21352 __sim_disabled_exceptions_global.
21353 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21354 and global __sim_round_mode_global.
21355 (__simulate_exceptions): Use thread-local floating-point state and
21356 set global state from it as needed.
21357 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21358 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21359 __sim_round_mode_thread.
21360 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21361 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21362 and global __sim_exceptions_global.
21363 (__sim_disabled_exceptions): Change to thread-local
21364 __sim_disabled_exceptions_thread and global
21365 __sim_disabled_exceptions_global.
21366 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21367 and global __sim_round_mode_global.
21368 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21369 (SIM_SET_GLOBAL): Likewise.
21370 * sysdeps/powerpc/soft-fp/sfp-machine.h
21371 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21372 __sim_round_mode_thread.
21373 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21374 __sim_disabled_exceptions_thread.
21375 (__sim_exceptions): Change to __sim_exceptions_thread.
21376 (__sim_disabled_exceptions): Change to
21377 __sim_disabled_exceptions_thread.
21378 (__sim_round_mode): Change to __sim_round_mode_thread.
21379 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21380 thread-local floating-point state and set global state from it as
21381 needed.
21382 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21383 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21384 (__sim_disabled_exceptions): Remove extern declaration.
21385 (feenableexcept): Use thread-local floating-point state and set
21386 global state from it as needed.
21387 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21388 extern declaration.
21389 (__sim_disabled_exceptions): Likewise.
21390 (__sim_round_mode): Likewise.
21391 (__fegetenv): Use thread-local floating-point state.
21392 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21393 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21394 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21395 floating-point state and set global state from it as needed.
21396 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21397 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21398 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21399 Likewise.
21400 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21401 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21402 Likewise.
21403 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21404 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21405 Use __sim_round_mode_thread.
21406 * math/test-fenv-tls.c: New file.
21407 * math/Makefile (tests): Add test-fenv-tls.
21408 ($(objpfx)test-fenv-tls): Depend on
21409 $(common-objpfx)nptl/libpthread.so.
21410
b5449b12
AS
214112013-11-19 Andreas Schwab <schwab@suse.de>
21412
21413 * locale/programs/locale.c (show_info): Decode wordarray elements.
21414 * locale/categories.def (LC_MONETARY): Add element for
21415 _NL_MONETARY_CRNCYSTR.
21416 * locale/C-monetary.c (conversion_rate): New variable.
21417 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21418 element.
21419
e186536b
CM
214202013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21421
21422 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21423 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21424
5c349950
PP
214252013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21426
21427 * elf/Makefile (tst-auxv): New test.
21428 * elf/tst-auxv.c: New
21429 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21430
699df45b
JM
214312013-11-18 Joseph Myers <joseph@codesourcery.com>
21432
21433 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21434 (hidden_proto): Caller changed.
21435 (hidden_tls_proto): New macro.
21436 (libc_hidden_tls_proto): Likewise.
21437 (rtld_hidden_tls_proto): Likewise.
21438 (libm_hidden_tls_proto): Likewise.
21439 (libresolv_hidden_tls_proto): Likewise.
21440 (librt_hidden_tls_proto): Likewise.
21441 (libdl_hidden_tls_proto): Likewise.
21442 (libnss_files_hidden_tls_proto): Likewise.
21443 (libnsl_hidden_tls_proto): Likewise.
21444 (libnss_nisplus_hidden_tls_proto): Likewise.
21445 (libutil_hidden_tls_proto): Likewise.
21446
b7589107
OB
214472013-11-18 Ondřej Bílka <neleai@seznam.cz>
21448
21449 [BZ #10253]
21450 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21451 (decompose_rpath): Defer expansion to fillin_rpath.
21452 (_dl_init_paths): Pass linkmap to fillin_rpath.
21453
250c23bd
RS
214542013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21455
21456 * benchtests/Makefile: Add strsep.
21457 * benchtests/bench-strsep.c: New file: strsep benchtest.
21458 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21459
a7931fcf
AS
214602013-11-18 Andreas Schwab <schwab@suse.de>
21461
21462 * locale/programs/locale.c (show_info) [case byte]: Check for
21463 '\377' instead of '\177'.
21464 * locale/C-monetary.c (not_available): Always use "\377".
21465 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21466 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21467 detect unavailable sign_posn locale elements.
21468 * locale/localeconv.c (__localeconv): For grouping and
21469 mon_grouping handle "\177" and "\377" like no grouping.
21470 (INT_ELEM): New macro. Use it to set all numeric members.
21471 * locale/programs/ld-monetary.c (monetary_read)
21472 <tok_mon_grouping>: Normalize single -1 to the empty string.
21473 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21474 Likewise.
21475
728dab0e
OB
214762013-11-07 Ondřej Bílka <neleai@seznam.cz>
21477
21478 [BZ #16055]
21479 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21480 when we match (nil).
21481 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21482
66294491
JM
214832013-11-16 Joseph Myers <joseph@codesourcery.com>
21484
ce665817
JM
21485 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21486 (NO_TEST_INLINE): Update value.
21487 (ERRNO_UNCHANGED): Likewise.
21488 (ERRNO_EDOM): Likewise.
21489 (ERRNO_ERANGE): Likewise.
21490 (IGNORE_RESULT): Likewise.
21491 (check_float_internal): Check signs of NaN results if
21492 TEST_NAN_SIGN used.
21493 (check_complex): Pass TEST_NAN_SIGN flag through to second
21494 check_float_internal call.
21495 (copysign_test_data): Add tests with quiet NaNs as second
21496 argument. Use TEST_NAN_SIGN.
21497 (fabs_test_data): Add test of negative quiet NaN argument. Use
21498 TEST_NAN_SIGN.
21499 (signbit_test_data): Add tests of quiet NaN argument.
21500 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21501
ee1466a9
JM
21502 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21503 $ignore_result.
21504 (parse_args): Handle function results specified as IGNORE.
21505 * math/libm-test.inc (IGNORE_RESULT): New macro.
21506 (check_float_internal): Do not check numerical result if flag
21507 IGNORE_RESULT set.
21508 (check_complex): Pass through IGNORE_RESULT to second
21509 check_float_internal call.
21510 (check_int): Do not check numerical result if flag IGNORE_RESULT
21511 set.
21512 (check_long): Likewise.
21513 (check_bool): Likewise.
21514 (check_longlong): Likewise.
21515 (lrint_test_data): Add tests of infinite and NaN arguments.
21516 (lrint_tonearest_test_data): Likewise.
21517 (lrint_towardzero_test_data): Likewise.
21518 (lrint_downward_test_data): Likewise.
21519 (lrint_upward_test_data): Likewise.
21520 (llrint_test_data): Likewise.
21521 (llrint_tonearest_test_data): Likewise.
21522 (llrint_towardzero_test_data): Likewise.
21523 (llrint_downward_test_data): Likewise.
21524 (llrint_upward_test_data): Likewise.
21525 (lround_test_data): Likewise.
21526 (llround_test_data): Likewise.
21527
14407b7e
JM
21528 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21529 (ERRNO_UNCHANGED): Update value.
21530 (ERRNO_EDOM): Likewise.
21531 (ERRNO_ERANGE): Likewise.
21532 (NO_TEST_INLINE_FLOAT): New macro.
21533 (NO_TEST_INLINE_DOUBLE): Likewise.
21534 (enable_test): New function.
21535 (RUN_TEST_f_f): Check enable_test before running test.
21536 (RUN_TEST_2_f): Likewise.
21537 (RUN_TEST_fff_f): Likewise.
21538 (RUN_TEST_c_f): Likewise.
21539 (RUN_TEST_f_f1): Likewise.
21540 (RUN_TEST_fF_f1): Likewise.
21541 (RUN_TEST_fI_f1): Likewise.
21542 (RUN_TEST_ffI_f1): Likewise.
21543 (RUN_TEST_c_c): Likewise.
21544 (RUN_TEST_cc_c): Likewise.
21545 (RUN_TEST_f_i): Likewise.
21546 (RUN_TEST_f_i_tg): Likewise.
21547 (RUN_TEST_ff_i_tg): Likewise.
21548 (RUN_TEST_f_b): Likewise.
21549 (RUN_TEST_f_b_tg): Likewise.
21550 (RUN_TEST_f_l): Likewise.
21551 (RUN_TEST_f_L): Likewise.
21552 (RUN_TEST_fFF_11): Likewise.
21553 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21554 conditionals.
21555 (cosh_test_data): Likewise.
21556 (exp_test_data): Likewise.
21557 (expm1_test_data): Likewise.
21558 (hypot_test_data): Likewise.
21559 (pow_test_data): Likewise.
21560 (sinh_test_data): Likewise.
21561 (tanh_test_data): Likewise.
21562 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21563 flags argument.
21564
ca07f197
JM
21565 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21566 tests with quiet NaN input and output.
21567 (acosh_test_data): Likewise.
21568 (asin_test_data): Likewise.
21569 (asinh_test_data): Likewise.
21570 (atan_test_data): Likewise.
21571 (atanh_test_data): Likewise.
21572 (atan2_test_data): Likewise.
21573 (cbrt_test_data): Likewise.
21574 (cos_test_data): Likewise.
21575 (cosh_test_data): Likewise.
21576 (erf_test_data): Likewise.
21577 (erfc_test_data): Likewise.
21578 (exp_test_data): Likewise.
21579 (exp10_test_data): Likewise.
21580 (exp2_test_data): Likewise.
21581 (expm1_test_data): Likewise.
21582 (hypot_test_data): Likewise.
21583 (j0_test_data): Likewise.
21584 (j1_test_data): Likewise.
21585 (jn_test_data): Likewise.
21586 (lgamma_test_data): Likewise.
21587 (log_test_data): Likewise.
21588 (log10_test_data): Likewise.
21589 (log1p_test_data): Likewise.
21590 (log2_test_data): Likewise.
21591 (pow_test_data): Likewise.
21592 (scalb_test_data): Likewise.
21593 (sin_test_data): Likewise.
21594 (sincos_test_data): Likewise.
21595 (sinh_test_data): Likewise.
21596 (tan_test_data): Likewise.
21597 (tanh_test_data): Likewise.
21598 (tgamma_test_data): Likewise.
21599 (y0_test_data): Likewise.
21600 (y1_test_data): Likewise.
21601 (yn_test_data): Likewise.
21602
66294491
JM
21603 [BZ #16167]
21604 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21605 argument being NaN and avoid computations with second argument in
21606 that case.
21607 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21608 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21609 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21610
1820b143
CL
216112013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21612
21613 * locale/iso-639.def: Add Chitwani Tharu (the).
21614
714bd261
AS
216152013-11-14 Andreas Schwab <schwab@suse.de>
21616
21617 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21618 word instead of empty string.
21619
7ab44563
AZ
216202013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21621
21622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21623 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21625 (__fe_nomask_env): Likewise.
21626
e8470ea2
SE
216272013-11-13 Steve Ellcey <sellcey@mips.com>
21628
21629 * benchtests/bench-timing.h: Include time.h.
21630
17c1d9f0
L
216312013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21632
21633 [BZ #15997]
21634 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21635 to 3.4.0 for x32.
21636 * sysdeps/unix/sysv/linux/configure: Regenerated.
21637
9310c284
JM
216382013-11-13 Joseph Myers <joseph@codesourcery.com>
21639
21640 [BZ #16151]
21641 * stdlib/strtod_l.c (round_and_return): Do not consider
21642 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21643 exponent one less than half the least subnormal exponent.
21644 * stdlib/test-strtod-round-data: Add more tests.
21645 * stdlib/tst-strtod-round.c (tests): Regenerated.
21646
7a2ad8cf
AZ
216472013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21648
21649 [BZ #14143]
21650 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21651 (__fe_mask_env): Likewise.
21652 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21653 libm_hidden_proto and add function prototype.
21654 (__fe_mask_env): Add function prototype.
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21656 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21658 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21660 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21661
50727aa7
MS
216622013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21663
b2f386c1 21664 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21665 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21666
a615be46
MS
216672013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21668
21669 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21670 of htab_find_slot().
21671
7ddace62
DM
216722013-11-11 David S. Miller <davem@davemloft.net>
21673
21674 [BZ #16150]
21675 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21676 symbol in the non-vis3 case in static builds.
21677 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21678 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21679 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21680 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21681
9182aa67
JK
216822013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21683
21684 [BZ #387]
21685 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21686 it is empty.
21687
450a2e2d
AZ
216882013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21689
b2f386c1
SP
21690 * benchtests/Makefile: Add bench-strtod.
21691 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21692
8ec3f656
AS
216932013-11-11 Andreas Schwab <schwab@suse.de>
21694
21695 [BZ #16153]
21696 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21697 terminating NUL in key length.
21698
76a9b998
AZ
216992013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21700
21701 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21702 Add artificial ODP entry for vDSO symbol for PPC64.
21703 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21704 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21705
e4368156
OB
217062013-11-07 Ondřej Bílka <neleai@seznam.cz>
21707
21708 [BZ #15374]
21709 * nss/getent.c (services_keys): Recognize services starting with digit.
21710
8d6bb57c
DM
217112013-11-06 David S. Miller <davem@davemloft.net>
21712
21713 [BZ #15985]
21714 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21715 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21716
e256c421
WN
217172013-11-06 Will Newton <will.newton@linaro.org>
21718
21719 * manual/memory.texi (Malloc Examples): Remove register
21720 keyword from examples.
21721
f6e12daa 217222013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21723
f6e12daa 21724 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21725
9d880655
AS
217262013-11-04 Joseph Myers <joseph@codesourcery.com>
21727
fd2f9486 21728 [BZ #6981]
9d880655
AS
21729 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21730 depending on [__GCC_IEC_559 > 0].
21731 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21732 depending on [__GCC_IEC_559_COMPLEX > 0].
21733
ae129d3c
CL
217342013-11-03 Chris Leonard <cjl@sugarlabs.org>
21735
21736 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21737 to iso-639.def.
21738
4a15c2a4 217392013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21740
21741 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21742
8b35e35d
OB
217432013-11-01 Ondřej Bílka <neleai@seznam.cz>
21744
21745 [BZ #16112]
21746 * malloc/malloc (malloc_info): Do not handle first bin as
21747 special case.
21748
1d70fd6c
CL
217492013-11-01 Chris Leonard <cjl@sugarlabs.org>
21750
21751 * locale/iso-639.def: Add Central Nahuatl (nhn).
21752
8c5c2600
BH
217532013-11-01 Bruno Haible <bruno@clisp.org>
21754
21755 [BZ #7003]
21756 * manual/math.texi (BSD Random): Specify range upper bound as
21757 in POSIX.
21758
da5579c2
CL
217592013-10-31 Chris Leonard <cjl@sugarlabs.org>
21760
21761 * locale/iso-639.def: Add Meadow Mari (mhr).
21762
5d30d853
OB
217632013-10-31 Ondřej Bílka <neleai@seznam.cz>
21764
21765 [BZ #14752], [BZ #15763]
21766 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21767 Validate name.
21768 * rt/tst_shm.c: Add test for escaping directory.
21769
a4966c61
AS
217702013-10-31 Andreas Schwab <schwab@suse.de>
21771
8a43e768 21772 [BZ #15917]
a4966c61
AS
21773 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21774 followed by 'x' as part of digit sequence.
21775 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21776
28d708c4
MAP
217772013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21778
21779 [BZ #16037]
21780 * configure.ac: allow GNU Make 4.0 and greater.
21781 * configure: Regenerated.
21782
a56ee40b
WN
217832013-10-30 Will Newton <will.newton@linaro.org>
21784
21785 [BZ #16038]
21786 * malloc/hooks.c (memalign_check): Limit alignment to the
21787 maximum representable power of two.
21788 * malloc/malloc.c (__libc_memalign): Likewise.
21789 * malloc/tst-memalign.c (do_test): Add test for very
21790 large alignment values.
21791 * malloc/tst-posix_memalign.c (do_test): Likewise.
21792
c6e4925d
OB
217932013-10-30 Ondřej Bílka <neleai@seznam.cz>
21794
21795 [BZ #11087]
21796 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21797 (munmap_chunk): Likewise.
21798 (mremap_chunk): Likewise.
21799
218002013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21801
8a43e768 21802 [BZ #15799]
bbea82f7
OB
21803 * stdlib/div.c (div): Remove obsolete code.
21804 * stdlib/ldiv.c (ldiv): Likewise.
21805 * stdlib/lldiv.c (lldiv): Likewise.
21806
977f4b31
SP
218072013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21808
21809 [BZ #16071]
21810 * nss/nss_files/files-XXX.c (get_contents_ret): New
21811 enumerator.
21812 (get_contents): New function.
21813 (internal_getent): Use it. Expand size of LINEBUFLEN.
21814
cb8a6dbd
MF
218152013-10-30 Mike Frysinger <vapier@gentoo.org>
21816
21817 * configure.in: Moved to ...
21818 * configure.ac: ... here. Change reference to configure.in
21819 to configure.ac.
21820 * sysdeps/arm/preconfigure.ac: ... here.
21821 configure.in to configure.ac.
21822 * sysdeps/gnu/configure.in: Moved to ...
21823 * sysdeps/gnu/configure.ac: ... here.
21824 * sysdeps/i386/configure.in: Moved to ...
21825 * sysdeps/i386/configure.ac: ... here.
21826 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21827 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21828 * sysdeps/mach/configure.in: Moved to ...
21829 * sysdeps/mach/configure.ac: ... here.
21830 * sysdeps/mach/hurd/configure.in: Moved to ...
21831 * sysdeps/mach/hurd/configure.ac: ... here.
21832 * sysdeps/powerpc/configure.in: Moved to ...
21833 * sysdeps/powerpc/configure.ac: ... here.
21834 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21835 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21836 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21837 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21838 * sysdeps/s390/s390-32/configure.in: Moved to ...
21839 * sysdeps/s390/s390-32/configure.ac: ... here.
21840 * sysdeps/s390/s390-64/configure.in: Moved to ...
21841 * sysdeps/s390/s390-64/configure.ac: ... here.
21842 * sysdeps/sh/configure.in: Moved to ...
21843 * sysdeps/sh/configure.ac: ... here.
21844 * sysdeps/sparc/configure.in: Moved to ...
21845 * sysdeps/sparc/configure.ac: ... here.
21846 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21847 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21848 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21849 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21850 * sysdeps/x86_64/configure.in: Moved to ...
21851 * sysdeps/x86_64/configure.ac: ... here.
21852 * sysdeps/x86_64/preconfigure.in: Moved to ...
21853 * sysdeps/x86_64/preconfigure.ac: ... here.
21854 * aclocal.m4: Change reference to configure.in to configure.ac.
21855 * config.h.in: Likewise.
21856 * manual/install.texi: Likewise.
21857 * manual/maint.texi: Likewise.
21858 * Makefile: Likewise.
21859 * malloc/Makefile: Likewise.
21860 * nscd/Makefile: Likewise.
21861 * Makeconfig: Change reference to configure.in and
21862 preconfigure.in to configure.ac and preconfigure.ac
21863 respectively.
21864 * INSTALL: Regenerated.
21865 * configure: Likewise.
21866 * sysdeps/gnu/configure: Likewise.
21867 * sysdeps/i386/configure: Likewise.
21868 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21869 * sysdeps/mach/configure: Likewise.
21870 * sysdeps/mach/hurd/configure: Likewise.
21871 * sysdeps/powerpc/configure: Likewise.
21872 * sysdeps/powerpc/powerpc32/configure: Likewise.
21873 * sysdeps/powerpc/powerpc64/configure: Likewise.
21874 * sysdeps/s390/s390-32/configure: Likewise.
21875 * sysdeps/s390/s390-64/configure: Likewise.
21876 * sysdeps/sh/configure: Likewise.
21877 * sysdeps/sparc/configure: Likewise.
21878 * sysdeps/unix/sysv/linux/configure: Likewise.
21879 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21880 * sysdeps/x86_64/configure: Likewise.
21881 * sysdeps/x86_64/preconfigure: Likewise.
21882
36a4953a
AS
218832013-10-29 Andreas Schwab <schwab@suse.de>
21884
21885 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21886
c79a1204
SP
218872013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21888
dfa1b402
SP
21889 * benchtests/pow-inputs: Add new inputs.
21890
54f73d9c
SP
21891 * benchtests/exp-inputs: Add new inputs.
21892
c79a1204
SP
21893 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21894 conditional check for return value.
21895 (__cos32): Likewise.
21896
67beb545 218972013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21898
21899 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21900 to provide a boost for large inputs with word alignment.
21901 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21902 implementation based on optimized PPC64 strcpy.
21903 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21904 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21905 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21906 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21907
151659f6
OB
219082013-10-25 Ondřej Bílka <neleai@seznam.cz>
21909
482a077e 21910 [BZ #2801]
151659f6
OB
21911 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21912
10b0f26b
OB
219132013-10-25 Ondřej Bílka <neleai@seznam.cz>
21914
21915 [BZ #14876]
21916 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21917 * time/tst-strptime.c (day_tests): Add testcase.
21918
ca42d35e
OB
219192013-10-25 Ondřej Bílka <neleai@seznam.cz>
21920
482a077e 21921 [BZ #14029]
ca42d35e
OB
21922 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21923
52e6d801
FB
219242013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21925
21926 [BZ #16074]
21927 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21928 MAP_FAILED on error.
21929
7cbcdb36
SP
219302013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21931
21932 [BZ #16072]
21933 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21934 heap for large requests.
21935
894f3f10
AM
219362013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21937
21938 [BZ #9954]
21939 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21940 result if the result has no associated interface.
21941 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21942 interface for all 127.X.Y.Z addresses.
21943
b85545a6
CL
219442013-10-24 Chris Leonard <cjl@sugarlabs.org>
21945
21946 * locale/iso-639.def: Add Ligurian (lij)
21947
d1f23d46
OB
219482013-10-21 Ondřej Bílka <neleai@seznam.cz>
21949
21950 [BZ #15825]
21951 * sunrpc/rpc_main.c: Document rpcgen -5.
21952
4db5b08f
MS
219532013-10-19 Michael Stahl <mstahl@redhat.com>
21954
21955 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21956
a471e96a
OB
219572013-10-19 Ondřej Bílka <neleai@seznam.cz>
21958
d1f23d46 21959 [BZ #10278]
a471e96a
OB
21960 * posix/glob.c: Match only directories when trailing slash is present.
21961 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21962 (main): Add testcase.
21963
45c30c61
OB
219642013-10-19 Ondřej Bílka <neleai@seznam.cz>
21965
21966 [BZ #15670]
21967 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21968
484c12fb
CD
219692013-10-18 Carlos O'Donell <carlos@redhat.com>
21970
3d7dc513
CD
21971 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21972 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21973 AUTH_DES and cindex for FIPS 140-2.
21974 (DES Encryption): Add cindex FIPS 46-3.
21975
484c12fb
CD
21976 * locale/locarchive.h (struct locarhandle): Add fname.
21977 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21978 if an optional argument was specified to --list-archive,
21979 otherwise NULL.
21980 * locale/programs/locarchive.c (show_archive_content): Take new
21981 argument fname and pass it via ah.fname to open_archive.
21982 * locale/programs/localedef.h: Update decl.
21983 (open_archive): If AH->fname is non-null, open that file
21984 rather than the default file name, and don't ignore ENOENT.
21985 (create_archive): Set AH.fname to NULL.
21986 (delete_locales_from_archive): Likewise.
21987 (add_locales_to_archive): Likewise.
21988 * locale/programs/locfile.c (write_all_categories): Likewise.
21989
3c8325fb
JM
219902013-10-18 Joseph Myers <joseph@codesourcery.com>
21991 Aldy Hernandez <aldyh@redhat.com>
21992
21993 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21994 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21995 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21996 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21997 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21998 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21999 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22000 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22001 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22002 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22004 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22005 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22006 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22007 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22008 Likewise.
22009 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22010 Likewise.
22011 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22012 Likewise.
22013 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22014 Likewise.
22015 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22016 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22017 Likewise.
22018 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22019 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22020 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22021 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22022 Likewise.
22023 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22024 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22025 * sysdeps/powerpc/preconfigure: Likewise.
22026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22027 Likewise.
22028 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22029 Replace contents of file by #include of <fenv_libc.h>.
22030 * sysdeps/powerpc/soft-fp/sfp-machine.h
22031 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22032 and <sys/prctl.h>.
22033 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22034 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22035 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22036 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22037 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22038 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22039 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22040 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22041 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22042 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22043 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22044 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22046 Allow copysignl PLT reference to be missing.
22047
5abe0682
RS
220482013-10-18 Richard Sandiford <richard@codesourcery.com>
22049 Joseph Myers <joseph@codesourcery.com
22050
22051 [BZ #15948]
22052 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22053 single character.
22054 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22055
c7738d08
SP
220562013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22057
22058 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22059 * elf/tst-tls1.c: Likewise.
22060 * elf/tst-tls10.h: Likewise.
22061 * elf/tst-tls14.c: Likewise.
22062 * elf/tst-tls2.c: Likewise.
22063 * elf/tst-tls3.c: Likewise.
22064 * elf/tst-tls4.c: Likewise.
22065 * elf/tst-tls5.c: Likewise.
22066 * elf/tst-tls6.c: Likewise.
22067 * elf/tst-tls7.c: Likewise.
22068 * elf/tst-tls8.c: Likewise.
22069 * elf/tst-tls9.c: Likewise.
22070 * elf/tst-tlsmod1.c: Likewise.
22071 * elf/tst-tlsmod13.c: Likewise.
22072 * elf/tst-tlsmod13a.c: Likewise.
22073 * elf/tst-tlsmod14a.c: Likewise.
22074 * elf/tst-tlsmod16a.c: Likewise.
22075 * elf/tst-tlsmod16b.c: Likewise.
22076 * elf/tst-tlsmod2.c: Likewise.
22077 * elf/tst-tlsmod3.c: Likewise.
22078 * elf/tst-tlsmod4.c: Likewise.
22079 * elf/tst-tlsmod5.c: Likewise.
22080 * elf/tst-tlsmod6.c: Likewise.
22081
0bfcf2c7
OB
220822013-10-18 Ondřej Bílka <neleai@seznam.cz>
22083
22084 [BZ #12486]
22085 * malloc/malloc.c: remove checks for statistics.
22086
264aad1e
OB
220872013-10-17 Ondřej Bílka <neleai@seznam.cz>
22088
22089 [BZ #15277]
22090 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22091 * inet/tst-network.c: Add testcase.
22092
b957ced8
AS
220932013-10-17 Andreas Schwab <schwab@suse.de>
22094
22095 [BZ #15218]
22096 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22097 to determine canonical name.
22098
c5d5d574
OB
220992013-10-17 Ondřej Bílka <neleai@seznam.cz>
22100
22101 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22102 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22103 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22110 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22111 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22116 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22125 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22126 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22144 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22145 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22146 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22147 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22148 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22149 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22150 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22151 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22152 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22153 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22154 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22155 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22156 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22157 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22158 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22159
e5c2c2d0
JM
221602013-10-17 Joseph Myers <joseph@codesourcery.com>
22161
22162 [BZ #16041]
22163 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22164 make result into a quiet NaN.
22165
51ca9e29
JM
221662013-10-16 Joseph Myers <joseph@codesourcery.com>
22167
22168 * soft-fp/adddf3.c: Fix horizontal whitespace.
22169 * soft-fp/addsf3.c: Likewise.
22170 * soft-fp/addtf3.c: Likewise.
22171 * soft-fp/divdf3.c: Likewise.
22172 * soft-fp/divsf3.c: Likewise.
22173 * soft-fp/divtf3.c: Likewise.
22174 * soft-fp/double.h: Likewise.
22175 * soft-fp/eqdf2.c: Likewise.
22176 * soft-fp/eqsf2.c: Likewise.
22177 * soft-fp/eqtf2.c: Likewise.
22178 * soft-fp/extenddftf2.c: Likewise.
22179 * soft-fp/extended.h: Likewise.
22180 * soft-fp/extendsfdf2.c: Likewise.
22181 * soft-fp/extendsftf2.c: Likewise.
22182 * soft-fp/extendxftf2.c: Likewise.
22183 * soft-fp/fixdfdi.c: Likewise.
22184 * soft-fp/fixdfsi.c: Likewise.
22185 * soft-fp/fixdfti.c: Likewise.
22186 * soft-fp/fixsfdi.c: Likewise.
22187 * soft-fp/fixsfsi.c: Likewise.
22188 * soft-fp/fixsfti.c: Likewise.
22189 * soft-fp/fixtfdi.c: Likewise.
22190 * soft-fp/fixtfsi.c: Likewise.
22191 * soft-fp/fixtfti.c: Likewise.
22192 * soft-fp/fixunsdfdi.c: Likewise.
22193 * soft-fp/fixunsdfsi.c: Likewise.
22194 * soft-fp/fixunsdfti.c: Likewise.
22195 * soft-fp/fixunssfdi.c: Likewise.
22196 * soft-fp/fixunssfsi.c: Likewise.
22197 * soft-fp/fixunssfti.c: Likewise.
22198 * soft-fp/fixunstfdi.c: Likewise.
22199 * soft-fp/fixunstfsi.c: Likewise.
22200 * soft-fp/fixunstfti.c: Likewise.
22201 * soft-fp/floatdidf.c: Likewise.
22202 * soft-fp/floatdisf.c: Likewise.
22203 * soft-fp/floatditf.c: Likewise.
22204 * soft-fp/floatsidf.c: Likewise.
22205 * soft-fp/floatsisf.c: Likewise.
22206 * soft-fp/floatsitf.c: Likewise.
22207 * soft-fp/floattidf.c: Likewise.
22208 * soft-fp/floattisf.c: Likewise.
22209 * soft-fp/floattitf.c: Likewise.
22210 * soft-fp/floatundidf.c: Likewise.
22211 * soft-fp/floatundisf.c: Likewise.
22212 * soft-fp/floatunditf.c: Likewise.
22213 * soft-fp/floatunsidf.c: Likewise.
22214 * soft-fp/floatunsisf.c: Likewise.
22215 * soft-fp/floatunsitf.c: Likewise.
22216 * soft-fp/floatuntidf.c: Likewise.
22217 * soft-fp/floatuntisf.c: Likewise.
22218 * soft-fp/floatuntitf.c: Likewise.
22219 * soft-fp/fmadf4.c: Likewise.
22220 * soft-fp/fmasf4.c: Likewise.
22221 * soft-fp/fmatf4.c: Likewise.
22222 * soft-fp/gedf2.c: Likewise.
22223 * soft-fp/gesf2.c: Likewise.
22224 * soft-fp/getf2.c: Likewise.
22225 * soft-fp/ledf2.c: Likewise.
22226 * soft-fp/lesf2.c: Likewise.
22227 * soft-fp/letf2.c: Likewise.
22228 * soft-fp/muldf3.c: Likewise.
22229 * soft-fp/mulsf3.c: Likewise.
22230 * soft-fp/multf3.c: Likewise.
22231 * soft-fp/negdf2.c: Likewise.
22232 * soft-fp/negsf2.c: Likewise.
22233 * soft-fp/negtf2.c: Likewise.
22234 * soft-fp/op-1.h: Likewise.
22235 * soft-fp/op-2.h: Likewise.
22236 * soft-fp/op-4.h: Likewise.
22237 * soft-fp/op-8.h: Likewise.
22238 * soft-fp/op-common.h: Likewise.
22239 * soft-fp/quad.h: Likewise.
22240 * soft-fp/single.h: Likewise.
22241 * soft-fp/soft-fp.h: Likewise.
22242 * soft-fp/sqrtdf2.c: Likewise.
22243 * soft-fp/sqrtsf2.c: Likewise.
22244 * soft-fp/sqrttf2.c: Likewise.
22245 * soft-fp/subdf3.c: Likewise.
22246 * soft-fp/subsf3.c: Likewise.
22247 * soft-fp/subtf3.c: Likewise.
22248 * soft-fp/truncdfsf2.c: Likewise.
22249 * soft-fp/trunctfdf2.c: Likewise.
22250 * soft-fp/trunctfsf2.c: Likewise.
22251 * soft-fp/trunctfxf2.c: Likewise.
22252 * soft-fp/unorddf2.c: Likewise.
22253 * soft-fp/unordsf2.c: Likewise.
22254 * soft-fp/unordtf2.c: Likewise.
22255
9ebb0332
JM
222562013-10-15 Joseph Myers <joseph@codesourcery.com>
22257
22258 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22259 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22260
4b1a6d8b
OB
222612013-10-15 Ondřej Bílka <neleai@seznam.cz>
22262
22263 * elf/dl-libc.c: Clear initfini list after freeing.
22264
1e145589
JM
222652013-10-14 Joseph Myers <joseph@codesourcery.com>
22266
22267 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22268 * soft-fp/addsf3.c: Likewise.
22269 * soft-fp/addtf3.c: Likewise.
22270 * soft-fp/divdf3.c: Likewise.
22271 * soft-fp/divsf3.c: Likewise.
22272 * soft-fp/divtf3.c: Likewise.
22273 * soft-fp/double.h: Likewise.
22274 * soft-fp/eqdf2.c: Likewise.
22275 * soft-fp/eqsf2.c: Likewise.
22276 * soft-fp/eqtf2.c: Likewise.
22277 * soft-fp/extenddftf2.c: Likewise.
22278 * soft-fp/extended.h: Likewise.
22279 * soft-fp/extendsfdf2.c: Likewise.
22280 * soft-fp/extendsftf2.c: Likewise.
22281 * soft-fp/extendxftf2.c: Likewise.
22282 * soft-fp/fixdfdi.c: Likewise.
22283 * soft-fp/fixdfsi.c: Likewise.
22284 * soft-fp/fixdfti.c: Likewise.
22285 * soft-fp/fixsfdi.c: Likewise.
22286 * soft-fp/fixsfsi.c: Likewise.
22287 * soft-fp/fixsfti.c: Likewise.
22288 * soft-fp/fixtfdi.c: Likewise.
22289 * soft-fp/fixtfsi.c: Likewise.
22290 * soft-fp/fixtfti.c: Likewise.
22291 * soft-fp/fixunsdfdi.c: Likewise.
22292 * soft-fp/fixunsdfsi.c: Likewise.
22293 * soft-fp/fixunsdfti.c: Likewise.
22294 * soft-fp/fixunssfdi.c: Likewise.
22295 * soft-fp/fixunssfsi.c: Likewise.
22296 * soft-fp/fixunssfti.c: Likewise.
22297 * soft-fp/fixunstfdi.c: Likewise.
22298 * soft-fp/fixunstfsi.c: Likewise.
22299 * soft-fp/fixunstfti.c: Likewise.
22300 * soft-fp/floatdidf.c: Likewise.
22301 * soft-fp/floatdisf.c: Likewise.
22302 * soft-fp/floatditf.c: Likewise.
22303 * soft-fp/floatsidf.c: Likewise.
22304 * soft-fp/floatsisf.c: Likewise.
22305 * soft-fp/floatsitf.c: Likewise.
22306 * soft-fp/floattidf.c: Likewise.
22307 * soft-fp/floattisf.c: Likewise.
22308 * soft-fp/floattitf.c: Likewise.
22309 * soft-fp/floatundidf.c: Likewise.
22310 * soft-fp/floatundisf.c: Likewise.
22311 * soft-fp/floatunsidf.c: Likewise.
22312 * soft-fp/floatunsisf.c: Likewise.
22313 * soft-fp/floatuntidf.c: Likewise.
22314 * soft-fp/floatuntisf.c: Likewise.
22315 * soft-fp/floatuntitf.c: Likewise.
22316 * soft-fp/fmadf4.c: Likewise.
22317 * soft-fp/fmasf4.c: Likewise.
22318 * soft-fp/fmatf4.c: Likewise.
22319 * soft-fp/gedf2.c: Likewise.
22320 * soft-fp/gesf2.c: Likewise.
22321 * soft-fp/getf2.c: Likewise.
22322 * soft-fp/ledf2.c: Likewise.
22323 * soft-fp/lesf2.c: Likewise.
22324 * soft-fp/letf2.c: Likewise.
22325 * soft-fp/muldf3.c: Likewise.
22326 * soft-fp/mulsf3.c: Likewise.
22327 * soft-fp/multf3.c: Likewise.
22328 * soft-fp/negdf2.c: Likewise.
22329 * soft-fp/negsf2.c: Likewise.
22330 * soft-fp/negtf2.c: Likewise.
22331 * soft-fp/op-1.h: Likewise.
22332 * soft-fp/op-2.h: Likewise.
22333 * soft-fp/op-4.h: Likewise.
22334 * soft-fp/op-8.h: Likewise.
22335 * soft-fp/op-common.h: Likewise.
22336 * soft-fp/quad.h: Likewise.
22337 * soft-fp/single.h: Likewise.
22338 * soft-fp/soft-fp.h: Likewise.
22339 * soft-fp/sqrtdf2.c: Likewise.
22340 * soft-fp/sqrtsf2.c: Likewise.
22341 * soft-fp/sqrttf2.c: Likewise.
22342 * soft-fp/subdf3.c: Likewise.
22343 * soft-fp/subsf3.c: Likewise.
22344 * soft-fp/subtf3.c: Likewise.
22345 * soft-fp/truncdfsf2.c: Likewise.
22346 * soft-fp/trunctfdf2.c: Likewise.
22347 * soft-fp/trunctfsf2.c: Likewise.
22348 * soft-fp/trunctfxf2.c: Likewise.
22349 * soft-fp/unorddf2.c: Likewise.
22350 * soft-fp/unordsf2.c: Likewise.
22351 * soft-fp/unordtf2.c: Likewise.
22352
17c48a60
OB
223532013-10-14 Ondřej Bílka <neleai@seznam.cz>
22354
22355 [BZ #15672]
22356 * misc/error.c (error_tail): Fix possible buffer overflow.
22357
cabba934
OB
223582013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22359
22360 [BZ #13028]
22361 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22362 address.
22363
94bf958a
PM
223642013-10-14 P. J. McDermott <pj@pehjota.net>
22365
22366 [BZ #832]
22367 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22368 testing pipefail option.
22369
71b4dea7
JM
223702013-10-12 Joseph Myers <joseph@codesourcery.com>
22371
22372 * soft-fp/double.h: Indent preprocessor directives inside #if.
22373 * soft-fp/extended.h: Likewise.
22374 * soft-fp/op-2.h: Likewise.
22375 * soft-fp/op-4.h: Likewise.
22376 * soft-fp/op-common.h: Likewise.
22377 * soft-fp/quad.h: Likewise.
22378 * soft-fp/single.h: Likewise.
22379 * soft-fp/soft-fp.h: Likewise.
22380
55602758
YC
223812013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22382
22383 * iconv/iconv_prog.c: Fix typos.
22384 * stdio-common/psiginfo-data.h: Likewise.
22385
9cd83302
RT
223862013-10-12 Reuben Thomas <rrt@sc3d.org>
22387
22388 [BZ #15764]
22389 * locale/setlocale.c: Fix typo.
22390
99fd9f47
JM
223912013-10-12 Joseph Myers <joseph@codesourcery.com>
22392
b7ea74f0
JM
22393 [BZ #16036]
22394 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22395 signaling NaN arguments.
22396 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22397 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22398
8a509447
JM
22399 [BZ #14910]
22400 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22401 unordered operands.
22402 * soft-fp/gesf2.c (__gesf2): Likewise.
22403 * soft-fp/getf2.c (__getf2): Likewise.
22404 * soft-fp/ledf2.c (__ledf2): Likewise.
22405 * soft-fp/lesf2.c (__lesf2): Likewise.
22406 * soft-fp/letf2.c (__letf2): Likewise.
22407
98998e9f
JM
22408 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22409 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22410 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22411 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22412 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22413 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22414 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22415 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22416 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22417 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22418 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22419 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22420 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22421 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22422 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22423 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22424 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22425 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22426 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22427 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22428 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22429 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22430 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22431 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22432 * soft-fp/floattidf.c (__floattidf): Likewise.
22433 * soft-fp/floattisf.c (__floattisf): Likewise.
22434 * soft-fp/floattitf.c (__floattitf): Likewise.
22435 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22436 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22437 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22438 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22439 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22440 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22441 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22442 * soft-fp/gesf2.c (__gesf2): Likewise.
22443 * soft-fp/getf2.c (__getf2): Likewise.
22444 * soft-fp/ledf2.c (__ledf2): Likewise.
22445 * soft-fp/lesf2.c (__lesf2): Likewise.
22446 * soft-fp/letf2.c (__letf2): Likewise.
22447
8edc4a11
JM
22448 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22449 Undefine and redefine.
22450 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22451 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22452 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22453 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22454 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22455 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22456 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22457 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22458 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22459 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22460 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22461 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22462 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22463 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22464 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22465
8399acaf
JM
22466 [BZ #16032]
22467 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22468 without decrementing exponent if mantissa >= that for the
22469 denominator, not >.
22470 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22471 denominator, not >. Decrement exponent in < case instead of
22472 incrementing in >= case.
22473 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22474 without decrementing exponent if mantissa >= that for the
22475 denominator, not >.
22476
99fd9f47
JM
22477 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22478 computing saturated result for unsigned overflow.
22479
10e1cf6b
SP
224802013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22481 Jeff Law <law@redhat.com>
22482
22483 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22484 (atan2Mp): Add systemtap probe marker.
22485 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22486 (__ieee754_log): Add systemtap probe marker.
22487 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22488 (atanMp): Add systemtap probe marker.
22489 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22490 (tanMp): Add systemtap probe marker.
22491 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22492 (__slowexp): Add systemtap probe marker.
22493 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22494 (__slowpow): Add systemtap probe marker.
22495 * manual/probes.texi: Document probes.
22496
3d110c7c
EB
224972013-10-11 Eric Biggers <ebiggers3@gmail.com>
22498
22499 [BZ #15362]
22500 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22501 written.
22502 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22503 written.
22504 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22505 written to buffer but not flushed.
22506 * libio/iofwrite_u.c: Likewise.
22507 * libio/iopadn.c: Return bytes returned even if EOF was
22508 encountered.
22509 * libio/iowpadn.c: Likewise.
22510 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22511 if _IO_padn does not write the whole buffer.
22512 [!COMPILE_WPRINTF] (PAD): Likewise.
22513
75b4202a
DM
225142013-10-10 David S. Miller <davem@davemloft.net>
22515
22516 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22517 directory block.
22518
6c6352e6
JM
225192013-10-10 Joseph Myers <joseph@codesourcery.com>
22520
33b853c3
JM
22521 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22522 instead of FSF address.
22523 * soft-fp/fixdfti.c: Likewise.
22524 * soft-fp/fixsfti.c: Likewise.
22525 * soft-fp/fixtfti.c: Likewise.
22526 * soft-fp/fixunsdfti.c: Likewise.
22527 * soft-fp/fixunssfti.c: Likewise.
22528 * soft-fp/fixunstfti.c: Likewise.
22529 * soft-fp/floattidf.c: Likewise.
22530 * soft-fp/floattisf.c: Likewise.
22531 * soft-fp/floattitf.c: Likewise.
22532 * soft-fp/floatuntidf.c: Likewise.
22533 * soft-fp/floatuntisf.c: Likewise.
22534 * soft-fp/floatuntitf.c: Likewise.
22535 * soft-fp/trunctfxf2.c: Likewise.
22536
6c6352e6
JM
22537 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
22538 * soft-fp/fixdfti.c: Likewise.
22539 * soft-fp/fixsfti.c: Likewise.
22540 * soft-fp/fixtfti.c: Likewise.
22541 * soft-fp/fixunsdfti.c: Likewise.
22542 * soft-fp/fixunssfti.c: Likewise.
22543 * soft-fp/fixunstfti.c: Likewise.
22544 * soft-fp/floattidf.c: Likewise.
22545 * soft-fp/floattisf.c: Likewise.
22546 * soft-fp/floattitf.c: Likewise.
22547 * soft-fp/floatuntidf.c: Likewise.
22548 * soft-fp/floatuntisf.c: Likewise.
22549 * soft-fp/floatuntitf.c: Likewise.
22550 * soft-fp/trunctfxf2.c: Likewise.
22551
3bf78b71
DM
225522013-10-10 David S. Miller <davem@davemloft.net>
22553
22554 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22555
6f10289e
JM
225562013-10-10 Joseph Myers <joseph@codsourcery.com>
22557
bd878fc0
JM
22558 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22559 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22560 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22561 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22562 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22563 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22564 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22565
6f10289e
JM
22566 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22567 for NaNs before doing comparisons on argument.
22568 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22569 Likewise.
22570
321e2684
WN
225712013-10-10 Will Newton <will.newton@linaro.org>
22572
22573 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22574 passed to _int_memalign does not overflow.
22575
40fefba1
TR
225762013-10-10 Torvald Riegel <triegel@redhat.com>
22577
22578 * scripts/bench.pl: Add include-sources directive.
22579 * benchtests/README: Update documentation.
22580
2ae21ed2
JM
225812013-10-10 Joseph Myers <joseph@codesourcery.com>
22582
dcc2dd3f
JM
22583 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22584 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22585 instead of FP_INIT_ROUNDMODE.
22586 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22587 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22588
2ae21ed2
JM
22589 [BZ #16034]
22590 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22591 copy class of input value.
22592 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22593 not handle exceptions.
22594 * soft-fp/negsf2.c (__negsf2): Likewise.
22595 * soft-fp/negtf2.c (__negtf2): Likewise.
22596 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22597
cb8f9562
JM
225982013-10-09 Joseph Myers <joseph@codesourcery.com>
22599
22600 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22601 semicolon. From Linux kernel.
22602
5b60c59d
AB
226032013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22604
22605 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22606
b86835ca
YC
226072013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22608
22609 [BZ #156]
22610 * manual/socket.texi: Added statement about buffer
22611 for gethostbyname2_r.
22612
e7044ea7
OB
226132013-10-08 Ondřej Bílka <neleai@seznam.cz>
22614
22615 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22616 Use .p2align directive instead, throughout.
22617 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22618 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22619 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22620 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22621 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22622 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22623 * sysdeps/x86_64/strchr.S: Likewise.
22624 * sysdeps/x86_64/strrchr.S: Likewise.
22625
09544cbc
SP
226262013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22627
88576635
SP
22628 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22629
e7b2d1dd
SP
22630 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22631
09544cbc
SP
22632 * sysdeps/generic/math_private.h (__mpsin1): Remove
22633 declaration.
22634 (__mpcos1): Likewise.
22635 (__mpsin): New argument __range_reduce.
22636 (__mpcos): Likewise.
22637 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22638 (slow): Use __mpsin and __mpcos.
22639 (slow1): Likewise.
22640 (slow2): Likewise.
22641 (sloww): Likewise.
22642 (sloww1): Likewise.
22643 (sloww2): Likewise.
22644 (bsloww): Likewise.
22645 (bsloww1): Likewise.
22646 (bsloww2): Likewise.
22647 (cslow2): Likewise.
22648 (csloww): Likewise.
22649 (csloww1): Likewise.
22650 (csloww2): Likewise.
22651 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22652 range_reduce. Merge in __mpsin1.
22653 (__mpcos): Likewise.
22654 (__mpsin1): Remove.
22655 (__mpcos1): Likewise.
22656
7602d070
JM
226572013-10-07 Joseph Myers <joseph@codesourcery.com>
22658
22659 * locale/loadlocale.c (_nl_intern_locale_data): Use
22660 LOCFILE_ALIGNED_P.
22661 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22662 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22663 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22664 obstack data is appropriately aligned.
22665 (obstack_int32_grow_fast): Likewise.
22666 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22667 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22668 (add_locale_uint32_array): Likewise.
22669
a357259b
SP
226702013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22671
22672 * benchtests/Makefile: Remove ARGLIST and RET variables.
22673 ($(objpfx)bench-%.c): Pass only function name to the script.
22674 * benchtests/README: Update documentation.
22675 * benchtests/acos-inputs: Add new directives.
22676 * benchtests/acosh-inputs: Likewise.
22677 * benchtests/asin-inputs: Likewise.
22678 * benchtests/asinh-inputs: Likewise.
22679 * benchtests/atan-inputs: Likewise.
22680 * benchtests/atanh-inputs: Likewise.
22681 * benchtests/cos-inputs: Likewise.
22682 * benchtests/cosh-inputs: Likewise.
22683 * benchtests/exp-inputs: Likewise.
22684 * benchtests/log-inputs: Likewise.
22685 * benchtests/pow-inputs: Likewise.
22686 * benchtests/rint-inputs: Likewise.
22687 * benchtests/sin-inputs: Likewise.
22688 * benchtests/sinh-inputs: Likewise.
22689 * benchtests/tan-inputs: Likewise.
22690 * benchtests/tanh-inputs: Likewise.
22691 * scripts/bench.pl: Add support for new directives.
22692
9ec1b13d
AM
226932013-10-07 Alan Modra <amodra@gmail.com>
22694
22695 * README: Fix careless merge.
22696
8b7d57cd
AM
226972013-10-05 Alan Modra <amodra@gmail.com>
22698
22699 * NEWS: Mention powerpc64le support and bugs fixed.
22700 * README: Both big-endian and little-endian powerpc64 supported.
22701
7b7bab13
ST
227022013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22703
57f41c40
AS
22704 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22705 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22706 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22707 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22708
d39baad1
RA
227092013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22710
22711 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22712 match prototype.
22713
cd78f7e7
JM
227142013-10-04 Joseph Myers <joseph@codesourcery.com>
22715
29d73d86
JM
22716 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22717 Move -mhard-float appending from
22718 ports/sysdeps/powerpc/powerpc32/Makefile.
22719 [$(with-fp) = yes] (ASFLAGS): Likewise.
22720 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22721 * sysdeps/powerpc/nofpu: Move directory from
22722 ports/sysdeps/powerpc/nofpu.
22723 * sysdeps/powerpc/soft-fp: Move directory from
22724 ports/sysdeps/powerpc/soft-fp.
22725 * sysdeps/powerpc/powerpc32/405: Move directory from
22726 ports/sysdeps/powerpc/powerpc32/405.
22727 * sysdeps/powerpc/powerpc32/440: Move directory from
22728 ports/sysdeps/powerpc/powerpc32/440.
22729 * sysdeps/powerpc/powerpc32/464: Move directory from
22730 ports/sysdeps/powerpc/powerpc32/464.
22731 * sysdeps/powerpc/powerpc32/476: Move directory from
22732 ports/sysdeps/powerpc/powerpc32/476.
22733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22734 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22736 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22738 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22740 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22742 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22743 * README: Update for powerpc-*-linux-gnu software floating point
22744 support in libc.
22745
e246b347
JM
22746 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22747 case to powerpc/powerpc32*.
22748 * sysdeps/unix/sysv/linux/configure: Regenerated.
22749
89c2003e
JM
22750 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22751 (_FPU_MASK_OM): Define as 0x04.
22752 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22753 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22754 0x00c10080.
22755 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22756 0x0000003c.
22757 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22758
cd78f7e7
JM
22759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22760 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22761 getcontext_e500.
22762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22763 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22764 setcontext_e500.
22765 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22766 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22767 and setcontext_e500.
22768
c755294d
CL
227692013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22770
22771 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22772
e16d221c
SP
227732013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22774
22775 * manual/threads.texi (Default Thread Attributes): Fix typo.
22776
215c7d43
WN
227772013-10-04 Will Newton <will.newton@linaro.org>
22778
22779 * malloc/Makefile: Add tst-memalign.
22780 * malloc/tst-memalign.c: New file.
22781
27d0461b
WN
22782 * malloc/tst-posix_memalign.c: Add comments.
22783 (do_test): Add comments and call free on all potentially
22784 allocated pointers. Add space after cast.
22785
1bc92709
WN
22786 * malloc/tst-pvalloc.c: Add comments.
22787 (do_test): Add comments and call free on all potentially
22788 allocated pointers. Remove duplicate check for NULL pointer.
22789 Add space after cast.
22790
66a9be9d
WN
22791 * malloc/tst-valloc.c: Add comments.
22792 (do_test): Add comments and call free on all potentially
22793 allocated pointers. Remove duplicate check for NULL pointer.
22794 Add space after cast.
22795
4cb81307
AM
227962013-10-04 Alan Modra <amodra@gmail.com>
22797
22798 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22799 Use stdint types in rather than __attribute__((mode())).
22800 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22801
f8e3e9f3
AM
228022013-10-04 Alan Modra <amodra@gmail.com>
22803
22804 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22805 Correct handling of unaligned relocs for little-endian.
22806 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22807
8f9ebb08
AM
228082013-10-04 Alan Modra <amodra@gmail.com>
22809
22810 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22811 * configure: Regenerate.
22812 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22813 * shlib-versions: Likewise.
22814
0edf96c2
AM
228152013-10-04 Alan Modra <amodra@gmail.com>
22816
22817 * string/tester.c (test_memrchr): Increment reported test cycle.
22818
e0f7a380
AM
228192013-10-04 Alan Modra <amodra@gmail.com>
22820
22821 * string/test-memcpy.c (do_one_test): When reporting errors, print
22822 string address and don't overrun end of string.
22823
466b0393
AM
228242013-10-04 Alan Modra <amodra@gmail.com>
22825
22826 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22827 insrdi. Make better use of reg selection to speed exit slightly.
22828 Schedule entry path a little better. Remove useless "are we done"
22829 checks on entry to main loop. Handle wrapping around zero address.
22830 Correct main loop count. Handle single left-over word from main
22831 loop inline rather than by using loop_small. Remove extra word
22832 case in loop_small caused by wrong loop count. Add little-endian
22833 support.
22834 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22835 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22836 cache hint.
22837 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22838 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22839 support. Avoid rlwimi.
22840 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22841
3be87c77
AM
228422013-10-04 Alan Modra <amodra@gmail.com>
22843
22844 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22845 insrdi. Formatting.
3be87c77
AM
22846 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22847 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22848 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22849 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22850 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22851 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22852
759cfef3
AM
228532013-10-04 Alan Modra <amodra@gmail.com>
22854
22855 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22856 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22857 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22858 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22859 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22860 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22861 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22862 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22863 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22864 use of regs. Use power7 mtocrf. Tidy function tails.
22865
fe6e95d7
AM
228662013-10-04 Alan Modra <amodra@gmail.com>
22867
22868 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22869 Formatting. Consistently use rXXX register defines or rN defines.
22870 Use early exit labels that avoid restoring unused non-volatile regs.
22871 Make cr field use more consistent with rWORDn compares. Rename
22872 regs used as shift registers for unaligned loop, using rN defines
22873 for short lifetime/multiple use regs.
22874 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22875 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22876 addi 1,1,64 to pop stack frame. Simplify return value code.
22877 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22878
664318c3
AM
228792013-10-04 Alan Modra <amodra@gmail.com>
22880
22881 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22882 support. Correct typos, formatting. Optimize tail. Use insrdi
22883 rather than rlwimi.
22884 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22885 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22886 little-endian support. Correct typos.
22887 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22888 rather than rlwimi.
22889 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22890 in loop and entry code to keep "and." results.
22891 (strchr): Add little-endian support. Comment. Move cntlzd
22892 earlier in tail.
22893 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22894
43b84013
AM
228952013-10-04 Alan Modra <amodra@gmail.com>
22896
22897 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22898 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22899 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22900 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22901
8a7413f9
AM
229022013-10-04 Alan Modra <amodra@gmail.com>
22903
22904 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22905 (rTMP): Define as r11.
22906 (strcmp): Add little-endian support. Optimise tail.
22907 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22908 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22909 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22910 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22911 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22912 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22913 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22914
33ee81de
AM
229152013-10-04 Alan Modra <amodra@gmail.com>
22916
22917 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22918 little-endian support. Remove unnecessary "are we done" tests.
22919 Handle "s" wrapping around zero and extremely large "size".
22920 Correct main loop count. Handle single left-over word from main
22921 loop inline rather than by using small_loop. Correct comments.
22922 Delete "zero" tail, use "end_max" instead.
22923 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22924
db9b4570
AM
229252013-10-04 Alan Modra <amodra@gmail.com>
22926
22927 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22928 support. Don't branch over align.
22929 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22930 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22931 support. Rearrange tmp reg use to suit. Comment.
22932 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22933
f7c399cf
AM
229342013-10-04 Alan Modra <amodra@gmail.com>
22935
22936 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22937
0b2c2ace
AM
229382013-10-04 Alan Modra <amodra@gmail.com>
22939
22940 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22941 conditional form of branch and link when obtaining pc.
22942 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22943
02f04a6c
AM
229442013-10-04 Alan Modra <amodra@gmail.com>
22945
22946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22947 HIWORD/LOWORD.
22948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22950
9b874b2f
AM
229512013-10-04 Alan Modra <amodra@gmail.com>
22952
22953 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22954 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22955 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22956 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22957 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22958 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22959 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22960 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22961 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22962 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22963
be1e5d31
AB
229642013-10-04 Anton Blanchard <anton@au1.ibm.com>
22965 Alistair Popple <alistair@ozlabs.au.ibm.com>
22966 Alan Modra <amodra@gmail.com>
22967
22968 [BZ #15723]
22969 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22970 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22971 _dl_hwcap access for little-endian.
22972 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22973 destroy vmx regs when saving unaligned.
22974 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22975 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22976 destroy vmx regs when saving unaligned.
22977
fef13a78
AM
229782013-10-04 Alan Modra <amodra@gmail.com>
22979
22980 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22981 Don't use a union to pack hi/low value.
22982
76a66d51
AB
229832013-10-04 Anton Blanchard <anton@au1.ibm.com>
22984
22985 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22986 for little-endian.
22987 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22988 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22989 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22990 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22991 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22992
6a31fe7f
AM
229932013-10-04 Alan Modra <amodra@gmail.com>
22994
22995 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22996 constants to usual value for .cst8 section, and remove redundant
22997 high address load.
22998 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22999 constant for 0x1p52. Load little-endian words of double from
23000 correct stack offsets.
23001
7b88401f
AM
230022013-10-04 Alan Modra <amodra@gmail.com>
23003
23004 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23005 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23006 words of double from correct stack offsets.
23007 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23008 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23009 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23010 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23011 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23012 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23013 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23014 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23015 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23016 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23017 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23018 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23019 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23020 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23021 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23022 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23023 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23024
9c008155
AM
230252013-10-04 Alan Modra <amodra@gmail.com>
23026
23027 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23028 64-bit int/double union.
23029 (_FPU_SETCW): Likewise.
23030 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23031 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23032
da13146d
AM
230332013-10-04 Alan Modra <amodra@gmail.com>
23034
23035 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23036 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23037
603e8410
AM
230382013-10-04 Alan Modra <amodra@gmail.com>
23039
23040 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23041 use vector int constants.
23042 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23043
4a28b3ca
AB
230442013-10-04 Anton Blanchard <anton@au1.ibm.com>
23045
23046 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23047 array with long long.
23048 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23049 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23050 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23051 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23052 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23053 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23054 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23055 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23056 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23057 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23058 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23059 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23060 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23061
2ca85d2b
AB
230622013-10-04 Anton Blanchard <anton@au1.ibm.com>
23063
23064 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23065 (__signbit): Likewise. Correct for little-endian.
23066 (__signbitl): Call __signbit.
23067 (lrint): Correct for little-endian.
23068 (lrintf): Call lrint.
23069
62a728ae
AM
230702013-10-04 Alan Modra <amodra@gmail.com>
23071
23072 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23073 union 32-bit int array member with 64-bit int array.
23074 (t515, tm256): Double rather than long double.
23075 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23076
32c301df
AM
230772013-10-04 Alan Modra <amodra@gmail.com>
23078
23079 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23080 Delete.
23081 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23082 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23083 version of math_ldbl.h.
23084
650ef4bd
AM
230852013-10-04 Alan Modra <amodra@gmail.com>
23086
23087 [BZ #15734], [BZ #15735]
23088 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23089 all uses of ieee875 long double macros and unions. Simplify test
23090 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23091 ldbl_extract_mantissa value for ix,iy exponents. Properly
23092 normalize after ldbl_extract_mantissa, and don't add hidden bit
23093 already handled. Don't treat low word of ieee854 mantissa like
23094 low word of IBM long double and mask off bit when testing for
23095 zero.
23096 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23097 all uses of ieee875 long double macros and unions. Simplify tests
23098 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23099 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23100 two1022, instead use their values. Recognise that tests for large
23101 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23102 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23103 Rewrite all uses of ieee875 long double macros and unions. Simplify
23104 test for 0.0L and nan. Correct negation.
23105 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23106 ieee875 long double macros and unions. Correct output for large
23107 magnitude x. Correct absolute value calculation.
23108 (__erfcl): Likewise.
23109 * math/libm-test.inc: Add tests for errors discovered in IBM long
23110 double versions of fmodl, remainderl, erfl and erfcl.
23111
765714ca
AM
231122013-10-04 Alan Modra <amodra@gmail.com>
23113
23114 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23115 all uses of ieee854 long double macros and unions. Simplify tests
23116 for long doubles that are fully specified by the high double.
23117 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23118 Likewise.
23119 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23120 Remove dead code too.
23121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23122 (__ieee754_ynl): Likewise.
23123 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23124 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23125 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23126 Remove dead code too.
23127 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23128 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23129 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23130 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23131 Simplify.
23132 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23133 Simplify.
23134 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23135 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23136 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23137 Comment on variable precision.
23138 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23139 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23140 Likewise.
23141 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23142 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23143 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23144 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23145 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23146
4ebd120c
AM
231472013-10-04 Alan Modra <amodra@gmail.com>
23148
23149 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23150 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23151 all uses of ieee854 long double macros and unions.
23152 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23153 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23154 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23156 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23157 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23158 Likewise.
23159 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23160 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23161 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23164 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23165 Simplify sign and nan test too.
23166 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23167 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23168 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23170 Likewise.
23171 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23172 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23173 Likewise.
23174 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23175 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23176 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23177 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23178 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23179 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23180
1b6adf88
AM
231812013-10-04 Alan Modra <amodra@gmail.com>
23182
23183 * stdio-common/printf_size.c (__printf_size): Don't use
23184 union ieee854_long_double in fpnum union.
23185 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23186 signbit macro to retrieve sign from long double.
23187 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23188 retrieve sign from long double.
23189 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23190 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23191 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23192 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23193 * math/test-misc.c (main): Don't use union ieee854_long_double.
23194
4cf69995
AM
231952013-10-04 Alan Modra <amodra@gmail.com>
23196
23197 [BZ #15680]
23198 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23199 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23200 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23201 calculation. Remove unnecessary test for denormal exponent.
23202 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23203 Correct handling of denormals. Avoid undefined shift behaviour.
23204 Correct normalisation of low mantissa when low double is denormal.
23205 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23206 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23207 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23208 Correct normalisation of low mantissa. Test for overflow of high
23209 mantissa and normalise.
23210 (ldbl_nearbyint): Use more readable constant for two52.
23211 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23212 (__mpn_construct_long_double): Fix test for overflow of high
23213 mantissa and correct normalisation. Avoid undefined shift.
23214
9605ca6c
AM
232152013-10-04 Alan Modra <amodra@gmail.com>
23216
23217 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23218 (union ibm_extended_long_double): Define as an array of ieee754_double.
23219 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23220 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23221 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23222 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23224 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23225 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23226 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23227 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23228 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23229 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23230
975569d0
JM
232312013-10-03 Joseph Myers <joseph@codesourcery.com>
23232
d3d23756
JM
23233 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23234 page size instead of calling getpagesize.
23235
975569d0
JM
23236 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23237 (LOCFILE_ALIGN_MASK): Likewise.
23238 (LOCFILE_ALIGN_UP): Likewise.
23239 (LOCFILE_ALIGNED_P): Likewise.
23240 * locale/programs/ld-collate.c (collate_output): Use the new
23241 macros instead of __alignof__ (int32_t).
23242 * locale/weight.h (findidx): Likewise.
23243
b1fe1f2b
OB
232442013-10-03 Ondřej Bílka <neleai@seznam.cz>
23245
23246 [BZ #431]
23247 * manual/string.texi: Fix strncat and wcsncat.
23248
5f855e35
BM
232492013-10-03 Brooks Moses <bmoses@google.com>
23250
23251 [BZ #15915]
23252 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23253 * Makerules: ...here, and adjust associated comments.
23254
3cef6009
WN
232552013-10-02 Will Newton <will.newton@linaro.org>
23256
23257 * malloc/Makefile: Add tst-pvalloc.
23258 * malloc/tst-pvalloc.c: New file.
23259
7815420b
WN
232602013-10-02 Will Newton <will.newton@linaro.org>
23261
23262 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23263 improve test coverage.
23264
4868b204
WN
232652013-10-02 Will Newton <will.newton@linaro.org>
23266
23267 * malloc/Makefile: Add tst-posix_memalign.
23268 * malloc/tst-posix_memalign.c: New file.
23269
29c793b3
EB
232702013-10-01 Eric Blake <eblake@redhat.com>
23271
23272 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23273 Use __THROWNL rather than __THROW on static functions.
23274
fd967522
PM
232752013-09-30 Petr Machata <pmachata@redhat.com>
23276
23277 * elf/elf.h (R_AARCH64_ABS16): New macro.
23278 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23279 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23280 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23281 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23282 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23283 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23284 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23285 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23286 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23287 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23288 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23289 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23290 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23291 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23292 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23293 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23294 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23295 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23296 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23297 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23298 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23299 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23300 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23301 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23302 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23303 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23304 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23305 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23306 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23307 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23308 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23309 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23310 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23311 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23312 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23313 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23314 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23315 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23316 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23317 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23318 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23319 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23320 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23321 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23322 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23323 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23324 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23325 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23326 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23327 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23328 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23329 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23330 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23331 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23332 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23333 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23334 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23335 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23336 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23337 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23338 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23339 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23340 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23341 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23342 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23343 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23344 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23345 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23346 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23347 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23348 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23349 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23350 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23351 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23352 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23353 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23354 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23355 (R_AARCH64_TLSDESC_LDR): Likewise.
23356 (R_AARCH64_TLSDESC_ADD): Likewise.
23357 (R_AARCH64_TLSDESC_CALL): Likewise.
23358
b2179107
AS
233592013-09-30 Andreas Schwab <schwab@suse.de>
23360
23361 [BZ #15048]
23362 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23363 the nss database lookup.
23364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23365 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23366
47f28d0a
MF
233672013-09-28 Mike Frysinger <vapier@gentoo.org>
23368
23369 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23370
233712013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23372
23373 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23374 ${Bash-specific parameter/pattern/string} parameter expansion.
23375 * sysdeps/unix/make-syscalls.sh: Likewise.
23376
f4518a17
KK
233772013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23378
23379 * sysdeps/sh/stackguard-macros.h: New file.
23380
dc1a95c7
OB
233812013-09-26 Ondřej Bílka <neleai@seznam.cz>
23382
23383 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23384 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23385 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23386 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23387 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23388 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23389
5ebbff8f
AZ
233902013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23391
23392 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23393 Fix thread ID register.
23394
4fd2cf9f
JM
233952013-09-25 Joseph Myers <joseph@codesourcery.com>
23396
23397 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23398 [POSIX || UNIX98]: Require rather than permitting all symbols from
23399 <time.h>.
23400 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23401 element of struct sched_param.
23402 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23403 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23404 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23405 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23406 constant.
23407
12c22bc4
OL
234082013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23409
23410 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23411 argument calculation.
23412
a03d8ea7
JM
234132013-09-24 Joseph Myers <joseph@codesourcery.com>
23414
23415 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23416 Expect macro.
23417 [POSIX] (pthread_attr_t): Do not require type.
23418 [POSIX] (pthread_cond_t): Likewise.
23419 [POSIX] (pthread_condattr_t): Likewise.
23420 [POSIX] (pthread_key_t): Likewise.
23421 [POSIX] (pthread_mutex_t): Likewise.
23422 [POSIX] (pthread_mutexattr_t): Likewise.
23423 [POSIX] (pthread_once_t): Likewise.
23424 [POSIX] (pthread_t): Likewise.
23425 [POSIX-based standards] (pthread_atfork): Expect function.
23426
6055173a
JM
234272013-09-24 Joseph Myers <joseph@codesourcery.com>
23428 Richard Sandiford <richard@codesourcery.com>
23429
23430 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23431 (swap_endianness_p): New extern variable.
23432 (set_big_endian): New inline function.
23433 (maybe_swap_uint32): Likewise.
23434 (maybe_swap_uint32_array): Likewise.
23435 (maybe_swap_uint32_obstack): Likewise.
23436 * locale/programs/locfile.c: Include <stdbool.h>.
23437 (swap_endianness_p): New variable.
23438 (add_locale_uint32): Call maybe_swap_uint32.
23439 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23440 (write_locale_data): Call maybe_swap_uint32_array.
23441 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23442 maybe_swap_uint32.
23443 (obstack_int32_grow_fast): Likewise.
23444 (output_weightwc): Call maybe_swap_uint32_obstack.
23445 (collate_output): Likewise.
23446 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23447 (OPT_LITTLE_ENDIAN): Likewise.
23448 (options): Add --little-endian and --big-endian options.
23449 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23450 * locale/programs/locarchive.c: Include "locfile.h".
23451 (GET): New macro.
23452 (SET): Likewise.
23453 (INC): Likewise.
23454 (create_archive): Use the new macros to access fields of
23455 structures directly mapped from or written to locale archives.
23456 (oldlocrecentcmp): Likewise.
23457 (enlarge_archive): Likewise.
23458 (insert_name): Likewise.
23459 (add_alias): Likewise.
23460 (add_locale): Likewise.
23461 (delete_locales_from_archive): Likewise.
23462 (show_archive_content): Likewise.
23463 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23464 locale data.
23465
39bf0bb4
RM
234662013-09-24 Roland McGrath <roland@hack.frob.com>
23467
23468 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23469 http://www.gnu.org/doc/freemanuals.texi.
23470 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23471
f02eed10
WN
234722013-09-24 Will Newton <will.newton@linaro.org>
23473
23474 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23475 macro.
23476
a3a6c312
JM
234772013-09-23 Joseph Myers <joseph@codesourcery.com>
23478
23479 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23480 unsigned char.
23481
107375ac
MR
234822013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23483
23484 * manual/threads.texi (POSIX Threads): Fix a typo.
23485
141f3a77
SP
234862013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23487
303e567a
SP
23488 [BZ #14547]
23489 * string/tst-strcoll-overflow.c: New test case.
23490 * string/Makefile (xtests): Add tst-strcoll-overflow.
23491 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23492 cache if string sizes may cause integer overflow.
23493
141f3a77
SP
23494 [BZ #14547]
23495 * string/strcoll_l.c (coll_seq): New members rule, idx,
23496 save_idx and back_us.
23497 (get_next_seq_nocache): New function.
23498 (do_compare_nocache): New function.
23499 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23500 when malloc fails.
23501
c61b4d41
CD
235022013-09-23 Carlos O'Donell <carlos@redhat.com>
23503
0b1f8e35
CD
23504 [BZ #15754]
23505 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23506 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23507 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23508
c61b4d41
CD
23509 [BZ #15754]
23510 * elf/Makefile (tests): Add tst-ptrguard1.
23511 (tests-static): Add tst-ptrguard1-static.
23512 (tst-ptrguard1-ARGS): Define.
23513 (tst-ptrguard1-static-ARGS): Define.
23514 * elf/tst-ptrguard1.c: New file.
23515 * elf/tst-ptrguard1-static.c: New file.
23516 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23517 * sysdeps/i386/stackguard-macros.h: Likewise.
23518 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23519 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23520 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23521 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23522 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23523 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23524
235252013-09-23 Hector Marco <hecmargi@upv.es>
23526 Ismael Ripoll <iripoll@disca.upv.es>
23527 Carlos O'Donell <carlos@redhat.com>
23528
23529 [BZ #15754]
23530 * sysdeps/generic/stackguard-macros.h: Define
23531 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23532 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23533 Define __pointer_chk_guard_local.
23534 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23535 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23536
f5f4e7b4
VV
235372013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23538
23539 [BZ #15859]
23540 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23541
5bb43a43
AS
235422013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23543
23544 * include/string.h (__ffs): Declare as hidden.
23545 * string/ffs.c (__ffs): Define as hidden.
23546 * sysdeps/i386/ffs.c (__ffs): Likewise.
23547 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23548 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23549 * sysdeps/s390/ffs.c (__ffs): Likewise.
23550 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23551
3ea5be54
AO
235522013-09-20 Alexandre Oliva <aoliva@redhat.com>
23553
ffb89e53
AO
23554 * NEWS: Mention malloc probes.
23555
322dea08
AO
23556 * malloc/arena.c (new_heap): New memory_heap_new probe.
23557 (grow_heap): New memory_heap_more probe.
23558 (shrink_heap): New memory_heap_less probe.
23559 (heap_trim): New memory_heap_free probe.
23560 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23561 (systrim): New memory_sbrk_less probe.
23562 * manual/probes.texi: Document them.
23563
655673f3
AO
23564 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23565 * manual/probes.texi: Document it.
23566
35fed6f1
AO
23567 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23568 (__libc_realloc): Add memory_realloc_retry probe.
23569 (__libc_memalign): Add memory_memalign_retry probe.
23570 (__libc_valloc): Add memory_valloc_retry probe.
23571 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23572 (__libc_calloc): Add memory_calloc_retry probe.
23573 * manual/probes.texi: Document them.
23574
6999d38c
AO
23575 * malloc/arena.c (get_free_list): Add probe
23576 memory_arena_reuse_free_list.
23577 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23578 and memory_arena_reuse.
23579 (arena_get2) [!PER_THREAD]: Likewise.
23580 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23581 memory_arena_reuse_realloc.
23582 * manual/probes.texi: Document them.
23583
0653427f
AO
23584 * malloc/malloc.c (__libc_free): Add
23585 memory_mallopt_free_dyn_thresholds probe.
23586 (__libc_mallopt): Add multiple memory_mallopt probes.
23587 * manual/probes.texi: Document them.
23588
3ea5be54
AO
23589 * malloc/malloc.c: Include stap-probe.h.
23590 (__libc_mallopt): Add memory_mallopt probe.
23591 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23592 * manual/probes.texi: New.
23593 * manual/Makefile (chapters): Add probes.
23594 * manual/threads.texi: Set next node.
23595
e35696c3 235962013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23597
e35696c3
CL
23598 [BZ #15963, #13985]
23599 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23600 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23601 Add `Chinese' to `nan' entry name.
23602
4aafb73c
SP
236032013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23604
23605 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23606 (POLYNOMIAL): Likewise.
23607 (TAYLOR_SINCOS): Likewise.
23608 (TAYLOR_SLOW): Likewise.
23609 (__sin): Use TAYLOR_SINCOS.
23610 (__cos): Likewise.
23611 (slow): Use TAYLOR_SLOW.
23612 (sloww): Likewise.
23613 (bsloww): Likewise.
23614 (csloww): Likewise.
23615
d84f25c7
LD
236162013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23617
23618 * stdlib/strtod_l.c: Fix buffer overrun.
23619
5eea0404
SP
236202013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23621
7849ff93
SP
23622 * benchtests/Makefile (bench): Add sincos.
23623 * benchtests/bench-sincos.c: New file.
23624
cfa3c886
SP
23625 * math/libm-test.inc (cos_test_data): New test inputs.
23626 (sin_test_data): Likewise.
23627
b348e1e3
SP
23628 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23629 macro.
23630 (__sin): Use it.
23631 (__cos): Likewise.
23632 (slow1): Likewise.
23633 (slow2): Likewise.
23634 (sloww1): Likewise.
23635 (sloww2): Likewise.
23636 (bsloww1): Likewise.
23637 (bsloww2): Likewise.
23638 (cslow2): Likewise.
23639 (csloww1): Likewise.
23640 (csloww2): Likewise.
23641
6cce25f8
SP
23642 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23643 function.
23644 (__sin): Use it.
23645 (__cos): Likewise.
23646
5eea0404
SP
23647 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23648 gotos.
23649 (__cos): Likewise.
23650
9c21573c
MR
236512013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23652
23653 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23654 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23655 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23656 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23657 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23658 * elf/cache.c (print_entry): Handle the new cache flags.
23659
24d22e65
JM
236602013-09-18 Joseph Myers <joseph@codesourcery.com>
23661 Aldy Hernandez <aldyh@redhat.com>
23662
23663 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23664 Change condition to [_SOFT_FLOAT].
23665 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23666 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23667 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23668 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23669 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23670 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23671 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23672 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23673 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23674 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23675 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23676 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23677 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23678 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23679 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23680 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23681 declaration.
23682
d13ef066
JM
236832013-09-18 Joseph Myers <joseph@codesourcery.com>
23684
2e071de0
JM
23685 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23686 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23687 (__longjmp): Use LOAD_GP to load saved GPRs.
23688 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23689 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23690 (__sigsetjmp): Use SAVE_GP to save GPRs.
23691
d13ef066
JM
23692 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23693 Do not append -msoft-float.
23694 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23695
97a0650b
SP
236962013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23697
23698 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23699
11ca09e9
JM
237002013-09-17 Joseph Myers <joseph@codesourcery.com>
23701
23702 [BZ #15966]
23703 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23704 (_FPU_GETCW): Use initial "__" on variable and field names but not
23705 on macro parameter name.
23706 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23707 parentheses around reference to macro parameter.
23708
08ffcf34
RS
237092013-09-13 Richard Sandiford <richard@codesourcery.com>
23710
23711 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23712 prototype.
23713 (ctype_startup): Use uint32_t in cast and sizeof for
23714 ctype->charnames.
23715
ae7080d3
JL
237162013-09-11 Jia Liu <proljc@gmail.com>
23717
23718 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23719 __daddr_t_defined.
23720 [__FreeBSD__]: Likewise.
23721
5905e7b3
OB
237222013-09-11 Ondřej Bílka <neleai@seznam.cz>
23723
23724 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23725 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23726 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23727 (strchr): Remove __strchr_sse42 ifunc selection.
23728 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23729 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23730
b987c776
WN
237312013-09-11 Will Newton <will.newton@linaro.org>
23732
23733 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23734 parameter to RES. Remove hardcoded 1000 value.
23735 * benchtests/bench-skeleton.c (main): Pass RES parameter
23736 to TIMING_INIT and multiply result by 1000.
23737
ddf985af
AZ
237382013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23739
23740 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23741
ffdd3181
AS
237422013-09-11 Andreas Schwab <schwab@suse.de>
23743
23744 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23745 if not defined.
23746 (O_TMPFILE) [__USE_GNU]: Define.
23747 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23748 Define.
23749
b73ed247
WN
237502013-09-11 Will Newton <will.newton@linaro.org>
23751
23752 [BZ #15857]
23753 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23754 does not overflow.
23755
55e17aad
WN
237562013-09-11 Will Newton <will.newton@linaro.org>
23757
23758 [BZ #15856]
23759 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23760 does not overflow.
23761
1159a193
WN
237622013-09-11 Will Newton <will.newton@linaro.org>
23763
23764 [BZ #15855]
23765 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23766 does not overflow.
23767
5905e7b3 237682013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23769
23770 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23771 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23772 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23773 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23774 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23775
cdfc721b
AM
237762013-09-10 Allan McRae <allan@archlinux.org>
23777
aa04af00
AM
23778 [BZ #15748]
23779 * manual/arith.texi (Parsing of Floats): Clarify
23780 cross-reference.
23781
cdfc721b
AM
23782 [BZ #15849]
23783 * manual/install.texi (Running make install): Mention
23784 --enable-pt-chown.
23785 * INSTALL: Regenerated.
23786
95e7cf29
MR
237872013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23788
23789 * csu/init-first.c (_init): Remove the !SHARED condition around
23790 FPU control word initialization.
23791 * elf/dl-support.c (_dl_fpu_control): New variable.
23792 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23793 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23794 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23795 * math/test-fpucw-static.c: New file.
23796 * math/test-fpucw-ieee.c: New file.
23797 * math/test-fpucw-ieee-static.c: New file.
23798 * math/Makefile (tests): Add `test-fpucw-ieee' and
23799 `$(tests-static)'.
23800 (tests-static): New variable.
23801 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23802 dependency to...
23803 [($(build-shared),yes)]
23804 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23805 ... this.
23806 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23807 New dependency.
23808
83e43bf0
AM
238092013-09-09 Allan McRae <allan@archlinux.org>
23810
a9f5ce09
AM
23811 [BZ #15939]
23812 * manual/string.texi (Collation Functions): Fix typo in
23813 strcoll example.
23814 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23815
34829bc2
AM
23816 [BZ #15893]
23817 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23818
3932737d
AM
23819 [BZ #15892]
23820 * libio/memstream.c (open_memstream): Fix memory leak.
23821 * libio/wmemstream.c (open_wmemstream): Likewise.
23822
83e43bf0
AM
23823 [BZ #15895]
23824 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23825
0c66b8e9
WN
238262013-09-09 Will Newton <will.newton@linaro.org>
23827
23828 * malloc/Makefile: Add tst-realloc to tests.
23829 * malloc/tst-realloc.c: New file.
23830
f6b00fd1
AM
238312013-09-09 Allan McRae <allan@archlinux.org>
23832
23833 [BZ #15844]
23834 * COPYING: Update from GNU website to fix FSF address.
23835 * COPYING.LIB: Likewise.
23836
eec55e16
DM
238372013-09-06 David S. Miller <davem@davemloft.net>
23838
23839 * po/zh_TW.po: Update Chinese (traditional) translation from
23840 translation project.
23841
1ecbb381
RS
238422013-09-06 Richard Sandiford <richard@codesourcery.com>
23843 Joseph Myers <joseph@codesourcery.com>
23844
23845 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23846 "localeinfo.h".
23847 (obstack_chunk_alloc): New macro.
23848 (obstack_chunk_free): Likewise.
23849 (record_offset): New function.
23850 (init_locale_data): Likewise.
23851 (align_locale_data): Likewise.
23852 (add_locale_empty): Likewise.
23853 (add_locale_raw_data): Likewise.
23854 (add_locale_raw_obstack): Likewise.
23855 (add_locale_string): Likewise.
23856 (add_locale_wstring): Likewise.
23857 (add_locale_uint32): Likewise.
23858 (add_locale_uint32_array): Likewise.
23859 (add_locale_char): Likewise.
23860 (start_locale_structure): Likewise.
23861 (end_locale_structure): Likewise.
23862 (start_locale_prelude): Likewise.
23863 (end_locale_prelude): Likewise.
23864 (write_locale_data): Take locale_file structure rather than an
23865 iovec.
23866 * locale/programs/locfile.h: Include "obstack.h".
23867 (struct locale_file): Change to store locale file contents instead
23868 of header.
23869 (init_locale_data): New prototype.
23870 (align_locale_data): Likewise.
23871 (add_locale_empty): Likewise.
23872 (add_locale_raw_data): Likewise.
23873 (add_locale_raw_obstack): Likewise.
23874 (add_locale_string): Likewise.
23875 (add_locale_wstring): Likewise.
23876 (add_locale_uint32): Likewise.
23877 (add_locale_uint32_array): Likewise.
23878 (add_locale_char): Likewise.
23879 (start_locale_structure): Likewise.
23880 (end_locale_structure): Likewise.
23881 (start_locale_prelude): Likewise.
23882 (end_locale_prelude): Likewise.
23883 (write_locale_data): Update prototype.
23884 * locale/programs/3level.h (struct TABLE): Remove result field.
23885 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23886 Use new locale_file interface.
23887 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23888 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23889 * locale/programs/ld-address.c (address_output): Use new
23890 locale_file interface.
23891 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23892 NO_ADD_LOCALE.
23893 (collate_finish): Don't call collseq_table_finalize.
23894 (collate_output): Use new locale_file interface.
23895 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23896 in file.
23897 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23898 (TABLE): Move defines earlier in file.
23899 (ELEMENT): Likewise.
23900 (DEFAULT): Likewise.
23901 (wctrans_table_add): Move macro and inline function earlier in
23902 file.
23903 (struct wctype_table): Move type earlier in file.
23904 (add_locale_wctype_table): New static prototype.
23905 (struct locale_ctype_t): Use logical types instead of struct iovec
23906 pointers for members.
23907 (ctype_output): Use new locale_file interface.
23908 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23909 new locale_file interface.
23910 (allocate_arrays): Update for use of new locale_file interface.
23911 * locale/programs/ld-identification.c (identification_output): Use
23912 new locale_file interface.
23913 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23914 * locale/programs/ld-messages.c (messages_output): Likewise.
23915 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23916 * locale/programs/ld-name.c (name_output): Likewise.
23917 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23918 * locale/programs/ld-paper.c (paper_output): Likewise.
23919 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23920 * locale/programs/ld-time.c (time_output): Likewise.
23921
e029e2e5
AZ
239222013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23923
23924 * benchtests/Makefile: Add memrchr benchmark.
23925 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23926 benchmark as memrchr.
23927 * benchtests/bench-memrchr-ifunc.c: New file.
23928 * benchtests/bench-memrchr.c: New file.
23929
bbf6e8e4
WN
239302013-09-06 Will Newton <will.newton@linaro.org>
23931
23932 * benchtests/Makefile (string-bench): Add memcpy.
23933
6c82a2f8
CD
239342013-09-05 Carlos O'Donell <carlos@redhat.com>
23935 Cong Wang <amwang@redhat.com>
23936
e732c5f0 23937 [BZ #15850]
6c82a2f8
CD
23938 * sysdeps/unix/sysv/linux/bits/in.h
23939 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23940 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23941 before __USE_KERNEL_IPV6_DEFS uses.
23942 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23943 IPPROTO_BEETPH.
23944 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23945 sockaddr_in6, or ipv6_mreq.
23946
5430fc65
AZ
239472013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23948
23949 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23950 memory access for final bytes in some large inputs.
23951 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23952
4660856c
AZ
239532013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23954
23955 * string/test-memrchr.c: New file.
23956 * string/test-memrchr-ifunc.c: New file.
23957 * string/Makefile: Add new memrchr testcase.
23958
bb8ea713
MF
239592013-09-05 Mike Frysinger <vapier@gentoo.org>
23960
23961 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23962 fanotify_init returns EPERM.
23963
b92a20b5
JM
239642013-09-04 Joseph Myers <joseph@codesourcery.com>
23965
23966 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23967 errors.
23968 (top level): Treat second token from macro or constant entries for
23969 allowed headers as allowed.
23970 * include/complex.h: Condition internal declarations on
23971 [!_ISOMAC].
23972 * include/fenv.h: Condition include of <stdbool.h> and internal
23973 declarations on [!_ISOMAC].
7447ccd9
CL
23974
239752013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23976
3e181dda 23977 [BZ #15923]
7447ccd9
CL
23978 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23979
3f2e46a4
JM
239802013-09-04 Joseph Myers <joseph@codesourcery.com>
23981
23982 * configure.in (--enable-versioning): Remove configure option.
23983 (libc_cv_asm_symver_directive): Remove configure test.
23984 (libc_cv_ld_version_script_option): Likewise.
23985 (VERSIONING): Remove variable and AC_SUBST.
23986 (DO_VERSIONING): Remove AC_DEFINE.
23987 * configure: Regenerated.
23988 * config.h.in (DO_VERSIONING): Remove macro.
23989 * Makerules [$(versioning) = yes]: Change conditionals to
23990 [$(build-shared) = yes].
23991 * config.make.in (versioning): Remove variable.
23992 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23993 [$(build-shared) = yes].
23994 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23995 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23996 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23997 [$(build-shared) = yes].
23998 * extra-lib.mk [$(versioning) = yes]: Likewise.
23999 * hurd/Makefile [$(versioning) = yes]: Likewise.
24000 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24001 [SHARED].
24002 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24003 [SHARED].
24004 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24005 [SHARED && !NO_HIDDEN].
24006 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24007 [SHARED].
24008 [SHARED && DO_VERSIONING]: Likewise..
24009 * libio/Makefile [$(versioning) = yes]: Change conditionals to
24010 [$(build-shared) = yes].
24011 * manual/install.texi (--disable-versioning): Remove
24012 documentation.
24013 * INSTALL: Regenerated.
24014 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24015 to [SHARED].
24016 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24017 [$(build-shared) = yes].
24018 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24019 * sysdeps/i386/i686/multiarch/strstr-c.c
24020 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24021 [SHARED && !NO_HIDDEN].
24022 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24023 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24024 * sysdeps/powerpc/powerpc32/dl-machine.c
24025 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24026 * sysdeps/powerpc/powerpc32/sysdep.h
24027 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24028 to [SHARED && PIC && !NO_HIDDEN].
24029 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24030 conditional to [SHARED].
24031
44558701
WN
240322013-09-04 Will Newton <will.newton@linaro.org>
24033
24034 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24035 * benchtests/bench-string.h: Include bench-timing.h instead
24036 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24037 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24038 call to HP_TIMING_DIFF_INIT.
24039 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24040 instead of hp-timing.h macros.
24041 * benchtests/bench-memchr.c: Likewise.
24042 * benchtests/bench-memcmp.c: Likewise.
24043 * benchtests/bench-memcpy.c: Likewise.
24044 * benchtests/bench-memmem.c: Likewise.
24045 * benchtests/bench-memmove.c: Likewise.
24046 * benchtests/bench-memset.c: Likewise.
24047 * benchtests/bench-rawmemchr.c: Likewise.
24048 * benchtests/bench-strcasecmp.c: Likewise.
24049 * benchtests/bench-strcasestr.c: Likewise.
24050 * benchtests/bench-strcat.c: Likewise.
24051 * benchtests/bench-strchr.c: Likewise.
24052 * benchtests/bench-strcmp.c: Likewise.
24053 * benchtests/bench-strcpy.c: Likewise.
24054 * benchtests/bench-strcpy_chk.c: Likewise.
24055 * benchtests/bench-strlen.c: Likewise.
24056 * benchtests/bench-strncasecmp.c: Likewise.
24057 * benchtests/bench-strncat.c: Likewise.
24058 * benchtests/bench-strncmp.c: Likewise.
24059 * benchtests/bench-strncpy.c: Likewise.
24060 * benchtests/bench-strnlen.c: Likewise.
24061 * benchtests/bench-strpbrk.c: Likewise.
24062 * benchtests/bench-strrchr.c: Likewise.
24063 * benchtests/bench-strspn.c: Likewise.
24064 * benchtests/bench-strstr.c: Likewise.
24065
cae16d66
WN
240662013-09-04 Will Newton <will.newton@linaro.org>
24067
24068 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24069
ffa3cd7f
JM
240702013-09-03 Joseph Myers <joseph@codesourcery.com>
24071
24072 [BZ #15427]
24073 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24074 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24075 * math/libm-test.inc (lgamma_test_data): Add more tests.
24076 * sysdeps/i386/fpu/libm-test-ulps: Update.
24077 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24078
8f02859f
OB
240792013-09-03 Ondřej Bílka <neleai@seznam.cz>
24080
24081 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24082 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24083 Add ifunc.
24084 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24085 Add strcmp-sse2-unaligned
24086 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24087
18d43716
MF
240882013-09-02 Mike Frysinger <vapier@gentoo.org>
24089
24090 * Versions.def (libc): Add GLIBC_2.19.
24091
ac444012
MF
240922013-09-02 Mike Frysinger <vapier@gentoo.org>
24093
24094 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24095 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24096
b7835e32
JM
240972013-09-02 Joseph Myers <joseph@codesourcery.com>
24098
24099 [BZ #14155]
24100 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24101 intermediate calculations in recurrence.
24102 (__ieee754_ynf): Likewise.
24103 * math/libm-test.inc (jn_test_data): Do not allow spurious
24104 underflow exception. Add more tests.
24105 (yn_test_data): Add more tests.
24106 * sysdeps/i386/fpu/libm-test-ulps: Update.
24107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24108
8220f4f0
OB
241092013-09-02 Ondřej Bílka <neleai@seznam.cz>
24110
24111 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24112
f24a6d08
OB
241132013-08-30 Ondřej Bílka <neleai@seznam.cz>
24114
24115 * csu/init-first.c: Fix then/than typos.
24116 * locale/programs/ld-collate.c: Likewise.
24117 * locale/programs/linereader.h: Likewise.
24118 * manual/charset.texi: Likewise.
24119 * manual/filesys.texi: Likewise.
24120 * manual/stdio.texi: Likewise.
24121 * manual/string.texi: Likewise.
24122 * stdlib/fmtmsg.c: Likewise.
24123 * sysdeps/i386/stpncpy.S: Likewise.
24124 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24125 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24126 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24127 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24128
382466e0
OB
241292013-08-30 Ondřej Bílka <neleai@seznam.cz>
24130
24131 * elf/dl-open.c: Fix typos.
24132 * iconvdata/gbbig5.c: Likewise.
24133 * iconvdata/iso-2022-jp.c: Likewise.
24134 * iconv/gconv_int.h: Likewise.
24135 * iconv/loop.c: Likewise.
24136 * nis/rpcsvc/nis.h: Likewise.
24137 * resolv/ns_name.c: Likewise.
24138 * stdio-common/vfscanf.c: Likewise.
24139 * streams/stropts.h: Likewise.
24140 * sunrpc/rpc_thread.c: Likewise.
24141 * sysdeps/i386/strpbrk.S: Likewise.
24142 * sysdeps/ieee754/k_standard.c: Likewise.
24143 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24144 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24145 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24146 * sysdeps/mach/hurd/profil.c: Likewise.
24147 * sysdeps/s390/dl-procinfo.h: Likewise.
24148 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24150 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24151 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24152 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24153
0186c6e9
OB
241542013-08-30 Ondřej Bílka <neleai@seznam.cz>
24155
24156 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24157 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24158
d4e16af1
OB
241592013-08-29 Ondřej Bílka <neleai@seznam.cz>
24160
24161 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24162 aix specific files.
24163 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24164 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24165 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24166 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24167 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24168 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24169 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24170 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24171
88335980
TS
241722013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24173 Roland McGrath <roland@hack.frob.com>
24174
24175 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24176 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24177
ed479b02
ST
241782013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24179
24180 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24181 __executable_start symbol instead of _start.
24182
f1cc4c86
TS
241832013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24184
d821f07c
TS
24185 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24186 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24187 Move macros to...
24188 * sysdeps/gnu/ldsodefs.h: ... this new file.
24189
c54290cf
TS
24190 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24191 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24192 instead of ELFOSABI_LINUX.
24193
0007fc9b 24194 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24195 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24196 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24197 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24198 Likewise.
24199 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24200 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24201 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24202 Likewise.
24203 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24204 (ibm_extended_long_double): Add ieee_nan member.
24205 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24206 (do_test): New function.
24207
f1cc4c86
TS
24208 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24209 TEST_TRUNC.
24210 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24211 functions, renamed from truncdfsf_test, trunctfsf_test,
24212 trunctfdf_test.
24213 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24214 functions.
24215 (do_test): Run all these.
24216
6f65e668
OB
242172013-08-29 Ondřej Bílka <neleai@seznam.cz>
24218
24219 * argp/argp-help.c: Fix typos.
24220 * argp/argp-parse.c: Likewise.
24221 * debug/backtracesyms.c: Likewise.
24222 * elf/elf.h: Likewise.
24223 * malloc/malloc.c: Likewise.
24224 * nis/nis_print.c: Likewise.
24225 * resolv/res_comp.c: Likewise.
24226 * stdlib/stdlib.h: Likewise.
24227 * sunrpc/clnt_tcp.c: Likewise.
24228 * sunrpc/clnt_udp.c: Likewise.
24229 * sunrpc/clnt_unix.c: Likewise.
24230 * sysdeps/unix/bsd/ptsname.c: Likewise.
24231 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24232 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24234 Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24236 Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24238 Likewise.
6f65e668
OB
24239 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24240
3a309239
SP
242412013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24242
24243 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24244 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24245
3b813b29
MF
242462013-08-27 Mike Frysinger <vapier@gentoo.org>
24247
24248 [BZ #15897]
24249 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24250 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24251 ($(objpfx)bug-dl-leaf): New rule.
24252 ($(objpfx)bug-dl-leaf.so): Likewise.
24253 ($(objpfx)bug-dl-leaf.out): Likewise.
24254 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24255 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24256 * dlfcn/bug-dl-leaf.c: New test.
24257 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24258 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24259 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24260 (dlclose): Likewise.
24261 (dlmopen): Likewise.
24262
8cc3269f
RM
242632013-08-27 Roland McGrath <roland@hack.frob.com>
24264
7f9d0034
RM
24265 * include/netdb.h [!_ISOMAC]:
24266 Don't include <tls.h>.
24267 (h_errno, __libc_h_errno): Move declaration and macros out of
24268 [_LIBC_REENTRANT].
24269
fb431262
RM
24270 * include/resolv.h [_RESOLV_H_]:
24271 Don't include <tls.h>.
24272 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24273 * resolv/res_libc.c: Don't include <tls.h>.
24274 (_res): Use __attribute__ ((nocommon)) in place of
24275 __attribute__ ((section (".bss"))).
24276
bd81123a
RM
24277 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24278 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24279
c4e42566
RM
24280 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24281
f890a59b
RM
24282 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24283 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24284
24285 * resolv/res_mkquery.c: Include <sys/time.h>.
24286
5d1f0a09
RM
24287 * inet/ifreq.c: Moved to ...
24288 * sysdeps/unix/ifreq.c: ... here.
24289 * inet/ifreq.c: New file, true stub version.
24290
6fcf28b3
RM
24291 * socket/sa_len.c: New file.
24292 * socket/Makefile (aux): Add it.
24293 * sysdeps/unix/sysv/linux/Makefile
24294 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24295 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24296 and #include <socket/sa_len.c>.
24297 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24298 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24299
e041fb8b
RM
24300 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24301 * bits/socket.h: ... here.
24302
8cc3269f
RM
24303 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24304 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24305 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24306
5d228a43
AS
243072013-08-27 Andreas Schwab <schwab@suse.de>
24308
45b8accc
AS
24309 [BZ #15736]
24310 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24311 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24312 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24313 * string/test-strcasecmp.c (test_main): Run tests in several
24314 locales.
24315 * string/test-strncasecmp.c (test_main): Likewise.
24316
5d228a43
AS
24317 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24318 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24319 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24320 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24321 (__strncasecmp_ssse3) [PIC]: Likewise.
24322
59d112a4
RM
243232013-08-26 Roland McGrath <roland@hack.frob.com>
24324
53234cc3
RM
24325 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24326
59d112a4
RM
24327 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24328 instead of explicitly declaring xdecrypt.
24329 * nis/nss_nis/nis-publickey.c: Likewise.
24330
595aba70
SP
243312013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24332
24333 [BZ #15890]
24334 * nscd/aicache.c: Include res_hconf.h.
24335 (addhstaiX): Initialize res_hconf.
24336
ffabd393
AS
243372013-08-26 Andreas Schwab <schwab@suse.de>
24338
24339 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24340 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24341
e0a69f5c
SP
243422013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24343
24344 * nscd/aicache.c (addhstaiX): Fix indentation.
24345
8c12f01d
MF
243462013-08-25 Mike Frysinger <vapier@gentoo.org>
24347
24348 * configure.ac: Quote $build_pt_chown test.
24349 * configure: Regenerated.
24350
8fe89494
JM
243512013-08-23 Joseph Myers <joseph@codesourcery.com>
24352
24353 [BZ #15532]
24354 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24355 * math/s_cexpf.c (__cexpf): Likewise.
24356 * math/s_cexpl.c (__cexpl): Likewise.
24357 * math/libm-test.inc (cexp_test_data): Correct expected return
24358 value for NaN + i0. Add another test.
24359
75b181d6
DM
243602013-08-22 David S. Miller <davem@davemloft.net>
24361
24362 * po/ca.po: Update Catalan translation from translation project.
936241e4 24363 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24364
acd06bb1
JM
243652013-08-21 Joseph Myers <joseph@codesourcery.com>
24366
24367 [BZ #15797]
24368 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24369 is infinite, not alongside NaN test.
24370 * math/s_fdimf.c (__fdimf): Likewise.
24371 * math/s_fdiml.c (__fdiml): Likewise.
24372 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24373 errno is unchanged.
24374
c0c3f78a
OB
243752013-08-21 Ondřej Bílka <neleai@seznam.cz>
24376
24377 * argp/argp-help.c: Fix typos.
24378 * crypt/speeds.c: Likewise.
24379 * csu/check_fds.c: Likewise.
24380 * elf/dl-load.c: Likewise.
24381 * elf/dl-open.c: Likewise.
24382 * elf/reldep3.c: Likewise.
24383 * elf/reldep.c: Likewise.
24384 * elf/sprof.c: Likewise.
24385 * iconv/iconv_charmap.c: Likewise.
24386 * iconv/skeleton.c: Likewise.
24387 * iconv/strtab.c: Likewise.
24388 * io/lockf64.c: Likewise.
24389 * libio/libioP.h: Likewise.
24390 * resolv/gai_notify.c: Likewise.
24391 * resolv/ns_name.c: Likewise.
24392 * resolv/ns_samedomain.c: Likewise.
24393 * resolv/res_send.c: Likewise.
24394 * stdlib/random.c: Likewise.
24395 * sunrpc/rpc/xdr.h: Likewise.
24396 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24397 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24398 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24399 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24400 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24401 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24402 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24403 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24404 * sysdeps/mach/hurd/check_fds.c: Likewise.
24405 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24406 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24407 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24408 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24409 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24410 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24411 * sysdeps/pthread/aio_notify.c: Likewise.
24412 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24413 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24414 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24415 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24416 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24417
46ed1038
LD
244182013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24419
24420 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24421 version if bit_Slow_SSE4_2 is set.
24422 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24424
d400dcac
AZ
244252013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24426
24427 [BZ #15867]
24428 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24429 trampoline stack frame information.
24430 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24431 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24432 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24433 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24434 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24435 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24436 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24437 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24438 sa_flags value.
24439 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24440 interrupting a syscall and set with option SA_SIGINFO.
24441
42c8fdd8
JM
244422013-08-20 Joseph Myers <joseph@codesourcery.com>
24443
c980f2f4
JM
24444 [BZ #15531]
24445 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24446 argument is infinite.
24447 * math/s_cprojf.c (__cprojf): Likewise.
24448 * math/s_cprojl.c (__cprojl): Likewise.
24449 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24450 * math/libm-test.inc (cproj_test_data): Add more tests.
24451
0716c4fc
JM
24452 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24453
42c8fdd8
JM
24454 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24455 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24456 size. Use __ffs to determine corresponding shift.
24457
b31469d0
JM
244582013-08-20 Joseph Myers <joseph@codesourcery.com>
24459 Roland McGrath <roland@hack.frob.com>
24460
24461 * Makefile (INSTALL): Remove trailing blank lines from output of
24462 makeinfo.
24463
4e39af6e
AK
244642013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24465
24466 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24467 Align 32 bit compat elf_greg to 8 bytes.
24468
f315524e
AA
244692013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24470
24471 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24472
1326ba1a
SP
244732013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24474
24475 * string/strcoll_l.c (coll_seq): New structure.
24476 (get_next_seq_cached): New function.
24477 (get_next_seq): New function.
24478 (do_compare): New function.
24479 (STRCOLL): Use GNU style definition. Simplify implementation
24480 by using get_next_seq, get_next_seq_cached and do_compare.
24481
91ce4085
FW
244822013-08-16 Florian Weimer <fweimer@redhat.com>
24483
24484 [BZ #14699]
24485 CVE-2013-4237
24486 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24487 member.
24488 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24489 member.
24490 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24491 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24492 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24493 conditional.
24494 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24495 GETDENTS_64BIT_ALIGNED.
24496 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24497 * manual/filesys.texi (Reading/Closing Directory): Document
24498 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24499 strongly.
24500 * manual/conf.texi (Limits for Files): Add portability note to
24501 NAME_MAX, PATH_MAX.
24502 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24503
ca0a6bc4
AS
245042013-08-13 Andreas Schwab <schwab@suse.de>
24505
24506 [BZ #15749]
24507 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24508 of fabs.
24509 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24510 LDBL_MAX_EXP >= 16384]: Add tests for it.
24511
6c1fd795
DM
245122013-08-12 David S. Miller <davem@davemloft.net>
24513
24514 * version.h (RELEASE): Set to "development".
24515 (VERSION): Set to "2.18.90".
24516 * NEWS: Add 2.19 section.
24517
31ad488d
DM
245182013-08-03 David S. Miller <davem@davemloft.net>
24519
24520 * po/ko.po: Update Korean translation from translation project.
24521
db24e684
DM
245222013-08-01 David S. Miller <davem@davemloft.net>
24523
24524 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24525 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24526 Bilka.
24527
f723285b
DM
245282013-07-30 David S. Miller <davem@davemloft.net>
24529
24530 * po/fr.po: Update French translation from translation project.
24531
3cbc52db
DM
245322013-07-28 David S. Miller <davem@davemloft.net>
24533
30bbc0cc
DM
24534 * po/cs.po: Update Czech translation from translation project.
24535
3cbc52db
DM
24536 * po/sv.po: Update Swedish translation from translation project.
24537
d492e6d0
DM
245382013-07-27 David S. Miller <davem@davemloft.net>
24539
f1a7f492
DM
24540 * po/eo.po: Update Esperanto translation from translation project.
24541
90e62a4a
DM
24542 * po/vi.po: Update Vietnamese translation from translation project.
24543
d492e6d0
DM
24544 * po/de.po: Update German translation from translation project.
24545
d4baa62d
DM
245462013-07-26 David S. Miller <davem@davemloft.net>
24547
641aa7b4
DM
24548 * po/bg.po: Update Bulgarian translation from translation project.
24549
d4baa62d
DM
24550 * po/nl.po: Update Dutch translation from translation project.
24551 * po/pl.po: Update Polish translation from translation project.
24552 * po/ru.po: Update Russian translation from translation project.
24553
61a9dcb9
DM
245542013-07-24 David S. Miller <davem@davemloft.net>
24555
24556 * po/libc.pot: Update.
24557
7b1f8b58
AZ
245582013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24559
24560 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24561 variable page size.
24562 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24563 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24564 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24565
a8fc7a03
AK
245662013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24567
24568 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24569
e4608715
CD
245702013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24571 Andreas Schwab <schwab@suse.de>
24572 Roland McGrath <roland@hack.frob.com>
24573 Joseph Myers <joseph@codesourcery.com>
24574 Carlos O'Donell <carlos@redhat.com>
24575
24576 [BZ #15755]
24577 * config.h.in: Define HAVE_PT_CHOWN.
24578 * config.make.in (build-pt-chown): New variable.
24579 * configure.in (--enable-pt_chown): New configure option.
24580 * configure: Regenerate.
24581 * login/Makefile: Include Makeconfig. Build pt_chown only if
24582 build-pt-chown is enabled.
24583 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24584 pt_chown to fix pty ownership.
24585 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24586 CLOSE_ALL_FDS.
24587 * manual/install.texi (Configuring and compiling): Mention
24588 --enable-pt_chown. Add @findex for grantpt.
24589 * INSTALL: Regenerate.
24590
da2d62df
DM
245912013-07-20 David S. Miller <davem@davemloft.net>
24592
24593 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24594 difference between 32-bit and 64-bit.
24595
d7e06450
CD
245962013-07-15 Carlos O'Donell <carlos@redhat.com>
24597
24598 [BZ #15711]
24599 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24600 Avoid system header dependency with -ffreestanding.
24601 ($(objpfx)bits/syscall%d): Likewise.
24602
f959cfd7
DM
246032013-07-13 David S. Miller <davem@davemloft.net>
24604
24605 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24606 underflows from atanl/atan2l due to bug 15319.
24607 (casinh_test_data): Likewise.
24608
c61f8513
DM
246092013-07-07 David S. Miller <davem@davemloft.net>
24610
24611 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24612
72c90ed0
JA
246132013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24614
24615 * sysdeps/i386/fpu/libm-test-ulps: Update.
24616 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24617
52dfbe13
SP
246182013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24619
24620 * configure.in (--enable-lock-elision): Fix message text.
24621 * INSTALL: Regenerate.
24622 * configure: Regenerate.
24623
3f169543
AZ
246242013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24625
24626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24627
521c6785
AJ
246282013-07-03 Andreas Jaeger <aj@suse.de>
24629
24630 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24631 define.
24632 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24633 (ptrace_peeksiginfo_args): Add.
24634 (__ptrace_peeksiginfo_flags): Add.
24635 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24636 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24637 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24638
d2cc15cb
AM
246392013-07-03 Allan McRae <allan@archlinux.org>
24640
24641 * sysdeps/i386/fpu/libm-test-ulps: Update.
24642
3aaeeca7
DM
246432013-07-02 David S. Miller <davem@davemloft.net>
24644
24645 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24646
5314ed1a
MT
246472013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24648
24649 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24650
67338156
JM
246512013-07-02 Joseph Myers <joseph@codesourcery.com>
24652
24653 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24655
1717da59
AK
246562013-07-02 Andi Kleen <ak@linux.intel.com>
24657
24658 * config.h.in (ENABLE_LOCK_ELISION): Add.
24659 * configure.in (--enable-lock-elision): Add option.
24660 * manual/install.texi: Document --enable lock elision.
24661 * configure: Regenerate
24662 * INSTALL: Regenerate.
24663
1c81621c
L
246642013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24665
24666 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24667 SSE4.2 strcasecmp for libc.a.
24668 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24669
77f01ab5
JM
246702013-07-02 Joseph Myers <joseph@codesourcery.com>
24671
24672 [BZ #13304]
24673 * soft-fp/op-common.h (_FP_FMA): New macro.
24674 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24675 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24676 (_FP_MUL_MEAT_1_imm): ... here.
24677 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24678 (_FP_MUL_MEAT_1_wide): ... here.
24679 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24680 (_FP_MUL_MEAT_1_hard): ... here.
24681 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24682 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24683 (_FP_MUL_MEAT_2_wide): ... here.
24684 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24685 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24686 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24687 (_FP_MUL_MEAT_2_gmp): ... here.
24688 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24689 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24690 (_FP_MUL_MEAT_4_wide): ... here.
24691 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24692 (_FP_MUL_MEAT_4_gmp): ... here.
24693 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24694 (_FP_WFRACBITS_DW_S): Likewise.
24695 (_FP_WFRACXBITS_DW_S): Likewise.
24696 (_FP_HIGHBIT_DW_S): Likewise.
24697 (FP_FMA_S): Likewise.
24698 (_FP_FRAC_HIGH_DW_S): Likewise.
24699 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24700 (_FP_WFRACBITS_DW_D): Likewise.
24701 (_FP_WFRACXBITS_DW_D): Likewise.
24702 (_FP_HIGHBIT_DW_D): Likewise.
24703 (FP_FMA_D): Likewise.
24704 (_FP_FRAC_HIGH_DW_D): Likewise.
24705 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24706 (_FP_WFRACBITS_DW_E): Likewise.
24707 (_FP_WFRACXBITS_DW_E): Likewise.
24708 (_FP_HIGHBIT_DW_E): Likewise.
24709 (FP_FMA_E): Likewise.
24710 (_FP_FRAC_HIGH_DW_E): Likewise.
24711 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24712 (_FP_WFRACBITS_DW_Q): Likewise.
24713 (_FP_WFRACXBITS_DW_Q): Likewise.
24714 (_FP_HIGHBIT_DW_Q): Likewise.
24715 (FP_FMA_Q): Likewise.
24716 (_FP_FRAC_HIGH_DW_Q): Likewise.
24717 * soft-fp/fmasf4.c: New file.
24718 * soft-fp/fmadf4.c: Likewise.
24719 * soft-fp/fmatf4.c: Likewise.
24720
6308fd9a
LD
247212013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24722
24723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24724 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24725 Silvermont.
24726 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24727 macro.
24728 (index_Slow_SSE4_2): Likewise.
24729 (index_Prefer_PMINUB_for_stringop): Likewise.
24730 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24731 bit_Slow_SSE4_2 is set.
24732 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24733 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24734
89cd9569
RA
247352013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24736
24737 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24738 rtld_global._dl_hwcap2.
24739 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24740 POWER8.
24741 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24742 POWER8 feature descriptions defined in _dl_hwcap2.
24743 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24744 string handling for POWER8 feature bits.
24745 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24746 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24747 _dl_powerpc_cap_flags.
24748 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24749 * sysdeps/powerpc/rtld-global-offsets.sym
24750 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24751 _dl_hwcap2 in the rtld_global_ro structure.
24752
1ae8bfe0
RA
247532013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24754
24755 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24756 hardware capabilities in support of AT_HWCAP2.
24757 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24758 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24759 GLRO(dl_hwcap2).
24760 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24761 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24762 explicitly the unknown a_type display mechanism is used.
24763 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24764 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24765 struct member.
24766 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24767 to macro prototype for AT_HWCAP2 support.
24768 * sysdeps/i386/dl-procinfo.h: Likewise.
24769 * sysdeps/s390/dl-procinfo.h: Likewise.
24770 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24771 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24772 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24773 return -1 for unknown a_type display fallback.
24774 * sysdeps/sparc/dl-procinfo.h: Likewise.
24775 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24776 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24777
8fbec010
JM
247782013-06-28 Joseph Myers <joseph@codesourcery.com>
24779
24780 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24781 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24782
0432680e
PY
247832013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24784
24785 [BZ #12492]
24786 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24787 mprotect making __stack_prot writable.
24788
ce61a2ad
NF
247892013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24790 Joseph Myers <joseph@codesourcery.com>
24791
24792 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24793 as being properly aligned.
24794
f91f1c0f
MR
247952013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24796
3d0f5d0c
MR
24797 * dlfcn/modstatic5.c: New file.
24798 * dlfcn/tststatic5.c: New file.
24799 * dlfcn/Makefile (tests): Add tststatic5.
24800 (tests-static): Likewise.
24801 (modules-names): Add modstatic5.
24802 (tststatic5-ENV): New variable.
24803 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24804
f91f1c0f
MR
24805 [BZ #15022]
24806 * elf/dl-support.c (_dl_main_map): New variable.
24807 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24808 (_dl_nns, _dl_load_adds): Set to 1.
24809 (_dl_initial_searchlist): Refer to _dl_main_map.
24810 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24811 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24812 call to _dl_get_origin.
24813 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24814 around call_map.
24815 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24816 * dlfcn/modstatic3.c: New file.
24817 * dlfcn/tststatic3.c: New file.
24818 * dlfcn/tststatic4.c: New file.
24819 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24820 (tests-static): Likewise.
24821 (modules-names): Add modstatic3.
24822 (tststatic3-ENV, tststatic4-ENV): New variables.
24823 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24824 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24825
cbe7d24b
JM
248262013-06-26 Joseph Myers <joseph@codesourcery.com>
24827
24828 * configure.in (CC): Require GCC version 4.4 or later.
24829 * configure: Regenerated.
24830 * manual/install.texi (Tools for Compilation): Update GCC version
24831 requirement.
24832 * INSTALL: Regenerated.
24833
11b8a0e1
LD
248342013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24835
24836 [BZ #15674]
bb5bb87c
L
24837 * string/test-memcmp.c (check2): New.
24838 (main): Call check2.
24839
11b8a0e1
LD
24840 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24841
b0037103
MR
248422013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24843
24844 [BZ #15022]
24845 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24846 over to...
24847 (dl_open_worker) [!SHARED]: ... here.
24848
c18c701d
RA
248492013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24850
24851 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24852
1d17fa5f
RH
248532013-06-25 Richard Henderson <rth@redhat.com>
24854
24855 * locale/programs/locarchive.c: Include <libc-internal.h>
24856
8fcb833a
JM
248572013-06-25 Joseph Myers <joseph@codesourcery.com>
24858
24859 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24860 trailing whitespace removed.
24861
17db6e8d
MF
248622013-06-24 Mike Frysinger <vapier@gentoo.org>
24863
24864 [BZ #10283]
17db6e8d
MF
24865 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24866 * locale/programs/locarchive.c: Include libc-mmap.h.
24867 (prepare_address_space): Take two new outputs (the mmap base and len).
24868 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24869 values.
24870 (create_archive): Declare new mmap base and len values for
24871 prepare_address_space, and store the result in ah.
24872 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24873 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24874 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24875 Declare new mmap base and len values for
24876 prepare_address_space, and store the result in new_ah.
24877 (open_archive): Declare new mmap base and len values for
24878 prepare_address_space, and store the result in ah.
24879 (close_archive): If ah->mmap_base is not NULL, use that and
24880 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24881 * sysdeps/generic/libc-mmap.h: New file.
24882
d605071e
MF
248832013-06-24 Mike Frysinger <vapier@gentoo.org>
24884
24885 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24886 (ALIGN_UP): Likewise.
24887 (PTR_ALIGN_DOWN): Likewise.
24888 (PTR_ALIGN_UP): Likewise.
24889
2f063a6e
RA
248902013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24891
24892 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24893 entry mapped to PPC_PLATFORM_POWER8.
24894 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24895 POWER8.
24896 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24897 (_dl_string_platform): Add case for exporting platform position for
24898 POWER8.
24899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24900 search path to sysdeps/powerpc/powerpc32/power8 directory.
24901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24902 search path to sysdeps/powerpc/powerpc64/power8 directory.
24903 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24904 power7 directories.
24905 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24906 power7 directories.
24907
a31ee4b3
SP
249082013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24909
a74ca98f
SP
24910 * INSTALL: Regenerate.
24911
a31ee4b3
SP
24912 * nscd/connections.c (nscd_init): Fix comment.
24913
695c378f
JM
249142013-06-22 Joseph Myers <joseph@codesourcery.com>
24915
d8412221
JM
24916 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24917
695c378f
JM
24918 [BZ #15667]
24919 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24920 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24921
d1d54715
MR
249222013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24923
24924 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24925 DL_DST_REQ_STATIC.
24926 (DL_DST_REQ_STATIC): Remove macro.
24927
8fdda7af
JM
249282013-06-21 Joseph Myers <joseph@codesourcery.com>
24929
24930 [BZ #7006]
24931 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24932 with a shift of 0 bits.
24933
f3bc5e5a
MR
249342013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24935
24936 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24937 $(tststatic-ENV).
24938
be09e8c9
KK
249392013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24940
24941 [BZ #15655]
24942 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24943
85c2e611
AZ
249442013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24945
24946 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24947 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24948 accepts -fno-tree-loop-distribute-patterns.
24949 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24950 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24951 recursive call.
24952 * string/memset.c (memset): Likewise.
24953 * string/test-memmove.c (simple_memmove): Disable loop transformation
24954 to library calls.
24955 * string/test-memset.c (simple_memset): Likewise.
24956 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24957 * benchtests/bench-memset.c (simple_memset): Likewise.
24958 * configure: Regenerated.
24959
c91e0825
JM
249602013-06-20 Joseph Myers <joseph@codesourcery.com>
24961
b8c792af
JM
24962 * math/test-misc.c (main): Ignore fesetround failure when failures
24963 of subsequent rounding tests would be ignored.
24964
c91e0825
JM
24965 [BZ #15654]
24966 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24967 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24968 * math/fegetenv.c (__fegetenv): Return 0.
24969 * math/fegetexcept.c (fegetexcept): Return 0.
24970 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24971 FE_TONEAREST.
24972 * math/feholdexcpt.c (feholdexcept): Return 0.
24973 * math/fesetenv.c (__fesetenv): Return 0.
24974 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24975 argument FE_TONEAREST.
24976 * math/feupdateenv.c (__feupdateenv): Return 0.
24977 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24978
bfcacbde
RM
249792013-06-18 Roland McGrath <roland@hack.frob.com>
24980
24981 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24982 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24983 ($(objpfx)rtld-%.os rules): Use them.
24984
e55a9b25
AZ
249852013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24986
24987 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24988 fields.
24989
346d65b3
RM
249902013-06-17 Roland McGrath <roland@hack.frob.com>
24991
12086fb4
RM
24992 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24993 length of target pattern, then descending length of dependency pattern.
24994 * configure.in (AWK): Require gawk 3.1.2 or newer.
24995 * manual/install.texi (Tools for Compilation): Say that we do.
24996 * configure: Regenerated.
24997
346d65b3
RM
24998 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24999 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25000 * scripts/sysd-rules.awk: ... this new script.
25001 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25002 than a glob-style pattern.
25003
1a846317
JM
250042013-06-17 Joseph Myers <joseph@codesourcery.com>
25005
25006 * math/test-misc.c (main): Do not treat incorrectly rounded
25007 conversions as failure unless ROUNDING_TESTS passes.
25008
8fc75e6f
JM
250092013-06-15 Joseph Myers <joseph@codesourcery.com>
25010
3711a167
JM
25011 [BZ #15631]
25012 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25013 restore exception state around main square root computation, then
25014 check for inexactness explicitly.
25015
8fc75e6f
JM
25016 * math/libm-test.inc (fma_test_data): Add another test.
25017
61dd6208
SP
250182013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25019
adf23d2c
SP
25020 * manual/threads.texi (Non-POSIX Extensions): New document
25021 node. Document pthread_getattr_default_np and
25022 pthread_setattr_default_np.
25023
61dd6208
SP
25024 * Versions.def (libpthread): Add GLIBC_2.18.
25025 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25027 Likewise.
25028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25029 Likewise.
25030 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25031 Likewise.
25032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25033 Likewise.
25034 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25035 Likewise.
25036 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25037 Likewise.
25038 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25039 Likewise.
25040 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25041 Likewise.
25042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25043 Likewise.
25044
d086fc7b
LD
250452013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25046
25047 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25048 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25049
747ef469
SP
250502013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25051 H.J. Lu <hjl.tools@gmail.com>
25052
25053 [BZ #15627]
25054 * sysdeps/x86_64/rtld-memset.c: Remove file.
25055 * sysdeps/x86_64/rtld-memset.S: New file.
25056
1b2feed2
JM
250572013-06-14 Joseph Myers <joseph@codesourcery.com>
25058
25059 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25060 (test_in_one_mode): Take arguments for whether the rounding mode
25061 is supported for each floating-point type.
25062 (do_test): Pass new arguments to test_in_one_mode using
25063 ROUNDING_TESTS.
25064
a58ad3f8
RM
250652013-06-13 Roland McGrath <roland@hack.frob.com>
25066
25067 * posix/tst-waitid.c (do_test): Distinguish different instances of
25068 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25069 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25070 before entering the kernel for waitpid.
25071
c204ab28
SP
250722013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25073
25074 * NEWS: Fix note on clock function precision. Text by Roland
25075 McGrath.
25076
f4a29fba
RM
250772013-06-13 Roland McGrath <roland@hack.frob.com>
25078
25079 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25080 it into place only when and if the sanity check passes.
25081
1f24b9ad
JM
250822013-06-13 Joseph Myers <joseph@codesourcery.com>
25083
25084 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25085 output for whether conversion result is exact. Take argument
25086 indicating whether type is IBM long double.
25087 (round_for_all): Change need_exact field to ibm_ld.
25088 * stdlib/tst-strtod-round.c (struct exactness): New type.
25089 (struct test): Change bool ld_ok field to struct exactness exact.
25090 (TEST): Update all definitions for change to field.
25091 (tests): Regenerate array contents.
25092 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25093 field value. Check for IBM long double here.
25094 (do_test): Update calls to test_in_one_mode.
25095
58206c68
SP
250962013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25097
25098 [BZ #12515]
25099 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25100 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25101
2d6f4c5b 251022013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25103
25104 [BZ #15605]
25105 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25106 generated by the compiler on loop optimizations.
25107 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25108 general definitions.
25109
94f2c076
JM
251102013-06-12 Joseph Myers <joseph@codesourcery.com>
25111
25112 * math/bug-nextafter.c: Include <math-tests.h>.
25113 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25114 the relevant type.
25115 * math/bug-nexttoward.c: Include <math-tests.h>.
25116 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25117 the relevant type.
25118 * math/test-misc.c: Include <math-tests.h>.
25119 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25120 the relevant type.
25121
e0e50a0a
AJ
251222013-06-12 Andreas Jaeger <aj@suse.de>
25123
25124 * po/ia.po: Update Interlingua translation from translation
25125 project.
25126
25061094
SP
251272013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25128
25129 * include/fenv.h: Include stdbool.h.
25130 (struct rm_ctx): New structure.
25131 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25132 Define macro.
25133 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25134 (SET_RESTORE_ROUNDF): Likewise.
25135 (SET_RESTORE_ROUNDL): Likewise.
25136 (SET_RESTORE_ROUND_NOEX): Likewise.
25137 (SET_RESTORE_ROUND_NOEXF): Likewise.
25138 (SET_RESTORE_ROUND_NOEXL): Likewise.
25139 (SET_RESTORE_ROUND_53BIT): Likewise.
25140 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25141 (libc_feresetround_noexf_ctx): Likewise.
25142 (libc_feresetround_noexl_ctx): Likewise.
25143 (libc_feholdsetround_53bit_ctx): Likewise.
25144 (libc_feresetround_53bit_ctx): Likewise.
25145 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25146 (libc_feholdexcept_setround_sse_ctx): New function.
25147 (libc_fesetenv_sse_ctx): Likewise.
25148 (libc_feupdateenv_sse_ctx): Likewise.
25149 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25150 (libc_feholdexcept_setround_387_ctx): Likewise.
25151 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25152 (libc_feholdsetround_387_prec_ctx): Likewise.
25153 (libc_feholdsetround_387_ctx): Likewise.
25154 (libc_feholdsetround_387_53bit_ctx): Likewise.
25155 (libc_feholdsetround_sse_ctx): Likewise.
25156 (libc_feresetround_sse_ctx): Likewise.
25157 (libc_feresetround_387_ctx): Likewise.
25158 (libc_feupdateenv_387_ctx): Likewise.
25159 (libc_feholdexcept_setroundf_ctx): Define macro.
25160 (libc_fesetenvf_ctx): Likewise.
25161 (libc_feupdateenvf_ctx): Likewise.
25162 (libc_feholdsetroundf_ctx): Likewise.
25163 (libc_feresetroundf_ctx): Likewise.
25164 (libc_feholdexcept_setround_ctx): Likewise.
25165 (libc_fesetenv_ctx): Likewise.
25166 (libc_feupdateenv_ctx): Likewise.
25167 (libc_feholdsetround_ctx): Likewise.
25168 (libc_feresetround_ctx): Likewise.
25169 (libc_feholdexcept_setroundl_ctx): Likewise.
25170 (libc_feupdateenvl_ctx): Likewise.
25171 (libc_feholdsetroundl_ctx): Likewise.
25172 (libc_feresetroundl_ctx): Likewise.
25173 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25174 (libc_feresetround_53bit_ctx): Likewise.
25175
59b30555
SP
251762013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25177
25178 * locale/iso-639.def: Convert to UTF-8.
25179
f1d73d30
JM
251802013-06-11 Joseph Myers <joseph@codesourcery.com>
25181
25182 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25183 (EXCEPTION_TESTS_double): Likewise.
25184 (EXCEPTION_TESTS_long_double): Likewise.
25185 (EXCEPTION_TESTS): Likewise.
25186 * math/libm-test.inc (test_exceptions): Only test exceptions if
25187 EXCEPTION_TESTS (FLOAT).
25188
94aca5e7
SP
251892013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25190
25191 * benchtests/Makefile (string-bench): Add strcpy_chk and
25192 stpcpy_chk.
25193 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25194 * benchtests/bench-stpcpy_chk.c: New file.
25195 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25196 * benchtests/bench-strcpy_chk.c: New file.
25197 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25198 code.
25199 (do_test): Likewise.
25200
fac0c5f2
RA
252012013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25202
25203 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25204 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25205 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25206 with tabs where appropriate.
25207 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25208 dl-procinfo.h.
25209 [PPC_PLATFORM_PPC440]: Likewise.
25210 [PPC_PLATFORM_PPC464]: Likewise.
25211 [PPC_PLATFORM_PPC476]: Likewise.
25212 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25213 ppc464, and ppc476 platform strings merging from ports/
25214 dl-procinfo.h.
25215
f22bc486
AS
252162013-06-11 Andreas Schwab <schwab@suse.de>
25217
25218 [BZ #14991]
25219 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25220 (from_ucs4_idx): Regenerate.
25221 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25222 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25223 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25224 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25225 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25226 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25227 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25228 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25229 from FROM_LOOP and TO_LOOP specific macros.
25230 (BODY): Handle combining characters.
25231 * iconvdata/BIG5HKSCS.irreversible: Update.
25232 * iconvdata/BIG5HKSCS.precomposed: New file.
25233 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25234 characters.
25235 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25236
c1f75dc3
SP
252372013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25238
4eacded2
SP
25239 * include/sys/time.h: Fix indentation and add copyright header.
25240
fec799f8
SP
25241 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25242 (do_test): Likewise.
25243 * string/test-memchr.c (do_one_test): Likewise.
25244 (do_test): Likewise.
25245 * string/test-memcmp.c (do_one_test): Likewise.
25246 (do_test): Likewise.
25247 * string/test-memcpy.c (do_one_test): Likewise.
25248 (do_test): Likewise.
25249 * string/test-memmem.c (do_one_test): Likewise.
25250 (do_test): Likewise.
25251 (do_random_tests): Likewise.
25252 * string/test-memmove.c (do_one_test): Likewise.
25253 (do_test): Likewise.
25254 * string/test-memset.c (do_one_test): Likewise.
25255 (do_test): Likewise.
25256 * string/test-rawmemchr.c (do_one_test): Likewise.
25257 (do_test): Likewise.
25258 * string/test-strcasecmp.c (do_one_test): Likewise.
25259 (do_test): Likewise.
25260 * string/test-strcasestr.c (do_one_test): Likewise.
25261 (do_test): Likewise.
25262 * string/test-strcat.c (do_one_test): Likewise.
25263 (do_test): Likewise.
25264 * string/test-strchr.c (do_one_test): Likewise.
25265 (do_test): Likewise.
25266 * string/test-strcmp.c (do_one_test): Likewise.
25267 (do_test): Likewise.
25268 * string/test-strcpy.c (do_one_test): Likewise.
25269 (do_test): Likewise.
25270 * string/test-string.h: Likewise.
25271 (test_init): Likewise.
25272 * string/test-strlen.c (do_one_test): Likewise.
25273 (do_test): Likewise.
25274 * string/test-strncasecmp.c (do_one_test): Likewise.
25275 (do_test): Likewise.
25276 * string/test-strncat.c (do_one_test): Likewise.
25277 (do_test): Likewise.
25278 * string/test-strncmp.c (do_one_test): Likewise.
25279 (do_test_limit): Likewise.
25280 (do_test): Likewise.
25281 * string/test-strncpy.c (do_one_test): Likewise.
25282 (do_test): Likewise.
25283 * string/test-strnlen.c (do_one_test): Likewise.
25284 (do_test): Likewise.
25285 * string/test-strpbrk.c (do_one_test): Likewise.
25286 (do_test): Likewise.
25287 * string/test-strrchr.c (do_one_test): Likewise.
25288 (do_test): Likewise.
25289 * string/test-strspn.c (do_one_test): Likewise.
25290 (do_test): Likewise.
25291 * string/test-strstr.c (do_one_test): Likewise.
25292 (do_test): Likewise.
25293
97020474
SP
25294 * benchtests/Makefile (string-bench): Add string benchmarks.
25295 * benchtests/bench-bcopy-ifunc.c: New file.
25296 * benchtests/bench-bcopy.c: New file.
25297 * benchtests/bench-bzero-ifunc.c: New file.
25298 * benchtests/bench-bzero.c: New file.
25299 * benchtests/bench-memccpy-ifunc.c: New file.
25300 * benchtests/bench-memccpy.c: New file.
25301 * benchtests/bench-memchr-ifunc.c: New file.
25302 * benchtests/bench-memchr.c: New file.
25303 * benchtests/bench-memcmp-ifunc.c: New file.
25304 * benchtests/bench-memcmp.c: New file.
25305 * benchtests/bench-memmem-ifunc.c: New file.
25306 * benchtests/bench-memmem.c: New file.
25307 * benchtests/bench-memmove-ifunc.c: New file.
25308 * benchtests/bench-memmove.c: New file.
25309 * benchtests/bench-mempcpy-ifunc.c: New file.
25310 * benchtests/bench-mempcpy.c: New file.
25311 * benchtests/bench-memset-ifunc.c: New file.
25312 * benchtests/bench-memset.c: New file.
25313 * benchtests/bench-rawmemchr-ifunc.c: New file.
25314 * benchtests/bench-rawmemchr.c: New file.
25315 * benchtests/bench-stpcpy-ifunc.c: New file.
25316 * benchtests/bench-stpcpy.c: New file.
25317 * benchtests/bench-stpncpy-ifunc.c: New file.
25318 * benchtests/bench-stpncpy.c: New file.
25319 * benchtests/bench-strcasecmp-ifunc.c: New file.
25320 * benchtests/bench-strcasecmp.c: New file.
25321 * benchtests/bench-strcasestr-ifunc.c: New file.
25322 * benchtests/bench-strcasestr.c: New file.
25323 * benchtests/bench-strcat-ifunc.c: New file.
25324 * benchtests/bench-strcat.c: New file.
25325 * benchtests/bench-strchr-ifunc.c: New file.
25326 * benchtests/bench-strchr.c: New file.
25327 * benchtests/bench-strchrnul-ifunc.c: New file.
25328 * benchtests/bench-strchrnul.c: New file.
25329 * benchtests/bench-strcmp-ifunc.c: New file.
25330 * benchtests/bench-strcmp.c: New file.
25331 * benchtests/bench-strcpy-ifunc.c: New file.
25332 * benchtests/bench-strcpy.c: New file.
25333 * benchtests/bench-strcspn-ifunc.c: New file.
25334 * benchtests/bench-strcspn.c: New file.
25335 * benchtests/bench-strlen-ifunc.c: New file.
25336 * benchtests/bench-strlen.c: New file.
25337 * benchtests/bench-strncasecmp-ifunc.c: New file.
25338 * benchtests/bench-strncasecmp.c: New file.
25339 * benchtests/bench-strncat-ifunc.c: New file.
25340 * benchtests/bench-strncat.c: New file.
25341 * benchtests/bench-strncmp-ifunc.c: New file.
25342 * benchtests/bench-strncmp.c: New file.
25343 * benchtests/bench-strncpy-ifunc.c: New file.
25344 * benchtests/bench-strncpy.c: New file.
25345 * benchtests/bench-strnlen-ifunc.c: New file.
25346 * benchtests/bench-strnlen.c: New file.
25347 * benchtests/bench-strpbrk-ifunc.c: New file.
25348 * benchtests/bench-strpbrk.c: New file.
25349 * benchtests/bench-strrchr-ifunc.c: New file.
25350 * benchtests/bench-strrchr.c: New file.
25351 * benchtests/bench-strspn-ifunc.c: New file.
25352 * benchtests/bench-strspn.c: New file.
25353 * benchtests/bench-strstr-ifunc.c: New file.
25354 * benchtests/bench-strstr.c: New file.
25355
c1f75dc3
SP
25356 * benchtests/Makefile: Disable parallel execution of targets.
25357 (string-bench): Add memcpy.
25358 (benchset): New variable to store a list of benchmark sets.
25359 (bench-func): Renamed from bench.
25360 (bench-set): New target.
25361 (bench): Depend on bench-func and bench-set.
25362 * benchtests/README: Add section on benchmark sets.
25363 * benchtests/bench-memcpy-ifunc.c: New file.
25364 * benchtests/bench-memcpy.c: New file.
25365 * benchtests/bench-string.h: New file.
25366
50fd745b
AS
253672013-06-11 Andreas Schwab <schwab@suse.de>
25368
25369 [BZ #15577]
25370 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25371 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25372 values in the triple.
25373 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25374 terminator in the group key.
25375
3ee7e9fe
AJ
253762013-06-11 Andreas Jaeger <aj@suse.de>
25377
25378 * po/zh_TW.po: Update Chinese (traditional) translation from
25379 translation project.
25380
89fb6835
SP
253812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25382
25383 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25384 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25385 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25386 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25387 (clock_getcpuclockid): Likewise.
25388 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25389 Add weak_alias and libc_hidden_def.
25390 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25391 * rt/clock_gettime.c (clock_gettime): Rename to
25392 __clock_gettime. Add weak_alias and libc_hidden_def.
25393 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25394 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25395 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25396 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25397 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25398 Likewise.
25399 * rt/clock_settime.c (clock_settime): Rename to
25400 __clock_settime. Add weak_alias and libc_hidden_def.
25401 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25402
0efa6f8b
JM
254032013-06-10 Joseph Myers <joseph@codesourcery.com>
25404
b8c61b4b
JM
25405 * mach/err_boot.sub: Remove trailing whitespace.
25406 * mach/err_ipc.sub: Likewise.
25407 * mach/err_mach.sub: Likewise.
25408
0efa6f8b
JM
25409 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25410 (ROUNDING_TESTS_double): Likewise.
25411 (ROUNDING_TESTS_long_double): Likewise.
25412 (ROUNDING_TESTS): Likewise.
25413 * math/libm-test.inc: Include <math-tests.h>.
25414 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25415 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25416 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25417 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25418
50b818bf
SP
254192013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25420
25421 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25422 of assigning.
25423
60d2f8f3
JM
254242013-06-08 Joseph Myers <joseph@codesourcery.com>
25425
4902d2c3
JM
25426 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25427 otherwise empty TRANS lines.
25428 * sysdeps/gnu/errlist.c: Regenerated.
25429
60d2f8f3
JM
25430 * catgets/gencat.c (error_print): Use (void) in function
25431 definition.
25432 * crypt/crypt_util.c (__init_des): Likewise.
25433 * crypt/speeds.c (Stop): Likewise.
25434 (main): Likewise.
25435 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25436 * inet/ruserpass.c (token): Likewise.
25437 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25438 * intl/localealias.c (extend_alias_table): Likewise.
25439 * intl/plural-exp.c (init_germanic_plural): Likewise.
25440 * libio/fcloseall.c (__fcloseall): Likewise.
25441 * libio/genops.c (_IO_flush_all): Likewise.
25442 (_IO_flush_all_linebuffered): Likewise.
25443 (_IO_cleanup): Likewise.
25444 (_IO_iter_begin): Likewise.
25445 (_IO_iter_end): Likewise.
25446 (_IO_list_lock): Likewise.
25447 (_IO_list_unlock): Likewise.
25448 (_IO_list_resetlock): Likewise.
25449 * libio/getchar.c (getchar): Likewise.
25450 * libio/getchar_u.c (getchar_unlocked): Likewise.
25451 * libio/getwchar.c (getwchar): Likewise.
25452 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25453 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25454 * login/getpt.c (__getpt): Likewise.
25455 * login/tst-utmp.c (main): Likewise.
25456 * malloc/hooks.c (__malloc_check_init): Likewise.
25457 * malloc/malloc.c (__malloc_stats): Likewise.
25458 * malloc/mtrace.c (tr_break): Likewise.
25459 (mtrace): Likewise.
25460 (muntrace): Likewise.
25461 * misc/fstab.c (endfsent): Likewise.
25462 * misc/getclktck.c (__getclktck): Likewise.
25463 * misc/getdtsz.c (__getdtablesize): Likewise.
25464 * misc/gethostid.c (gethostid): Likewise.
25465 * misc/getpagesize.c (__getpagesize): Likewise.
25466 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25467 (__get_nprocs): Likewise.
25468 (__get_phys_pages): Likewise.
25469 (__get_avphys_pages): Likewise.
25470 * misc/getttyent.c (getttyent): Likewise.
25471 (setttyent): Likewise.
25472 (endttyent): Likewise.
25473 * misc/getusershell.c (getusershell): Likewise.
25474 (endusershell): Likewise.
25475 (setusershell): Likewise.
25476 (initshells): Likewise.
25477 * misc/hsearch.c (__hdestroy): Likewise.
25478 * misc/sync.c (sync): Likewise.
25479 * misc/syslog.c (closelog_internal): Likewise.
25480 (closelog): Likewise.
25481 * misc/ttyslot.c (ttyslot): Likewise.
25482 * misc/vhangup.c (vhangup): Likewise.
25483 * posix/fork.c (__fork): Likewise.
25484 * posix/getegid.c (__getegid): Likewise.
25485 * posix/geteuid.c (__geteuid): Likewise.
25486 * posix/getgid.c (__getgid): Likewise.
25487 * posix/getpid.c (__getpid): Likewise.
25488 * posix/getppid.c (__getppid): Likewise.
25489 * posix/getuid.c (__getuid): Likewise.
25490 * posix/pause.c (pause): Likewise.
25491 * posix/setpgrp.c (setpgrp): Likewise.
25492 * posix/setsid.c (__setsid): Likewise.
25493 * posix/test-vfork.c (noop): Likewise.
25494 * resolv/gethnamaddr.c (_endhtent): Likewise.
25495 (_gethtent): Likewise.
25496 (ht_endhostent): Likewise.
25497 (gethostent): Likewise.
25498 (dns_service): Likewise.
25499 * stdlib/drand48.c (drand48): Likewise.
25500 * stdlib/lrand48.c (lrand48): Likewise.
25501 * stdlib/mrand48.c (mrand48): Likewise.
25502 * stdlib/rand.c (rand): Likewise.
25503 * stdlib/random.c (__random): Likewise.
25504 * stdlib/setenv.c (clearenv): Likewise.
25505 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25506 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25507 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25508 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25509 (__get_nprocs): Likewise.
25510 (__get_phys_pages): Likewise.
25511 (__get_avphys_pages): Likewise.
25512 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25513 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25514 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25515 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25516 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25517 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25518 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25519 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25520 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25521 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25522 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25523 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25524 * sysdeps/posix/clock.c (clock): Likewise.
25525 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25526 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25527 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25528 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25529 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25530 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25531 (__get_nprocs_conf): Likewise.
25532 (__get_phys_pages): Likewise.
25533 (__get_avphys_pages): Likewise.
25534 * time/clock.c (clock): Likewise.
25535 * time/tzset.c (__tzname_max): Likewise.
25536
2e09a79a
JM
255372013-06-07 Joseph Myers <joseph@codesourcery.com>
25538
25539 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25540 (__bswap_32): Do not use "register".
25541 * crypt/crypt.c (_ufc_doit_r): Likewise.
25542 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25543 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25544 * gmon/gmon.c (__monstartup): Likewise.
25545 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25546 * hurd/hurdmalloc.c (more_memory): Likewise.
25547 (malloc): Likewise.
25548 (free): Likewise.
25549 (realloc): Likewise.
25550 (malloc_fork_prepare): Likewise.
25551 (malloc_fork_parent): Likewise.
25552 (malloc_fork_child): Likewise.
25553 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25554 (_svcauth_des): Likewise.
25555 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25556 * inet/inet_net.c (inet_network): Likewise.
25557 * inet/inet_netof.c (inet_netof): Likewise.
25558 * inet/rcmd.c (__validuser2_sa): Likewise.
25559 * io/fts.c (fts_open): Likewise.
25560 (fts_load): Likewise.
25561 (fts_close): Likewise.
25562 (fts_read): Likewise.
25563 (fts_children): Likewise.
25564 (fts_build): Likewise.
25565 (fts_stat): Likewise.
25566 (fts_sort): Likewise.
25567 (fts_alloc): Likewise.
25568 (fts_lfree): Likewise.
25569 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25570 (_IO_file_xsgetn): Likewise.
25571 (_IO_file_xsgetn_mmap): Likewise.
25572 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25573 (_IO_cookie_write): Likewise.
25574 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25575 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25576 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25577 * malloc/obstack.c (_obstack_begin): Likewise.
25578 (_obstack_begin_1): Likewise.
25579 (_obstack_newchunk): Likewise.
25580 (_obstack_allocated_p): Likewise.
25581 (obstack_free): Likewise.
25582 (_obstack_memory_used): Likewise.
25583 * misc/getttyent.c (getttynam): Likewise.
25584 (getttyent): Likewise.
25585 (skip): Likewise.
25586 (value): Likewise.
25587 * misc/getusershell.c (initshells): Likewise.
25588 * misc/syslog.c (__vsyslog_chk): Likewise.
25589 * misc/ttyslot.c (ttyslot): Likewise.
25590 * nis/nis_hash.c (__nis_hash): Likewise.
25591 * posix/fnmatch_loop.c (FCT): Likewise.
25592 * posix/getconf.c (print_all): Likewise.
25593 (main): Likewise.
25594 * posix/getopt.c (exchange): Likewise.
25595 * posix/glob.c (globfree): Likewise.
25596 (prefix_array): Likewise.
25597 (__glob_pattern_type): Likewise.
25598 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25599 (NS_GET32): Likewise.
25600 (NS_PUT16): Likewise.
25601 (NS_PUT32): Likewise.
25602 * resolv/gethnamaddr.c (getanswer): Likewise.
25603 (gethostbyname2): Likewise.
25604 (gethostbyaddr): Likewise.
25605 (_gethtent): Likewise.
25606 (_gethtbyname2): Likewise.
25607 (_gethtbyaddr): Likewise.
25608 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25609 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25610 * resolv/res_init.c (__res_vinit): Likewise.
25611 (net_mask): Likewise.
25612 * resolv/res_mkquery.c (outchar): Likewise.
25613 (PRINT): Likewise.
25614 * stdio-common/printf_fp.c (outchar): Likewise.
25615 (PRINT): Likewise.
25616 * stdio-common/printf_fphex.c (outchar): Likewise.
25617 (PRINT): Likewise.
25618 * stdio-common/printf_size.c (outchar): Likewise.
25619 (PRINT): Likewise.
25620 * stdio-common/test_rdwr.c (main): Likewise.
25621 * stdio-common/tfformat.c (matches): Likewise.
25622 * stdio-common/vfprintf.c (outchar): Likewise.
25623 (printf_unknown): Likewise.
25624 (buffered_vfprintf): Likewise.
25625 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25626 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25627 (ReadFile): Likewise.
25628 * stdlib/qsort.c (SWAP): Likewise.
25629 (_quicksort): Likewise.
25630 * stdlib/setenv.c (__add_to_environ): Likewise.
25631 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25632 * stdlib/strtol_l.c (__strtol_l): Likewise.
25633 * stdlib/tst-strtod.c (main): Likewise.
25634 * stdlib/tst-strtol.c (main): Likewise.
25635 * stdlib/tst-strtoll.c (main): Likewise.
25636 * string/bits/string2.h (__strcmp_cc): Likewise.
25637 (__strcmp_cg): Likewise.
25638 (__strcspn_c1): Likewise.
25639 (__strcspn_c2): Likewise.
25640 (__strcspn_c3): Likewise.
25641 (__strspn_c1): Likewise.
25642 (__strspn_c2): Likewise.
25643 (__strspn_c3): Likewise.
25644 (__strsep_1c): Likewise.
25645 (__strsep_2c): Likewise.
25646 (__strsep_3c): Likewise.
25647 * string/memccpy.c (__memccpy): Likewise.
25648 * string/stpcpy.c (__stpcpy): Likewise.
25649 * string/strcmp.c (strcmp): Likewise.
25650 * string/strrchr.c (strrchr): Likewise.
25651 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25652 Likewise.
25653 * sysdeps/mach/hurd/getcwd.c
25654 (_hurd_canonicalize_directory_name_internal): Likewise.
25655 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25656 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25657 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25658 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25659 Likewise, in both definitions.
25660 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25661 definitions.
25662 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25663 64] (__bswap_64): Likewise.
25664 * time/test_time.c (main): Likewise.
25665 * time/tzfile.c (__tzfile_read): Likewise.
25666 (__tzfile_compute): Likewise.
25667 * time/tzset.c (__tzset_parse_tz): Likewise.
25668 (tzset_internal): Likewise.
25669 (compute_change): Likewise.
25670 * wcsmbs/wcscat.c (__wcscat): Likewise.
25671 * wcsmbs/wcschr.c (wcschr): Likewise.
25672 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25673 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25674 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25675 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25676 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25677 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25678 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25679 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25680 * wcsmbs/wmemset.c (wmemset): Likewise.
25681
9e54314b
JM
256822013-06-06 Joseph Myers <joseph@codesourcery.com>
25683
25684 * scripts/config.guess: Update to version 2013-05-16.
25685 * scripts/config.sub: Update to version 2013-04-24.
25686 * scripts/install-sh: Update to version 2011-11-20.07.
25687 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25688 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25689
350635a5
OB
256902013-06-06 Ondřej Bílka <neleai@seznam.cz>
25691
25692 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25693 * elf/sln.c: Likewise.
25694 * hurd/hurd/ioctl.h: Likewise.
25695 * hurd/hurdmalloc.c: Likewise.
25696 * hurd/xattr.c: Likewise.
25697 * include/shlib-compat.h: Likewise.
25698 * inet/ruserpass.c: Likewise.
25699 * libio/iofgets_u.c: Likewise.
25700 * libio/iofgetws_u.c: Likewise.
25701 * locale/programs/ld-identification.c: Likewise.
25702 * locale/programs/ld-time.c: Likewise.
25703 * mach/msg-destroy.c: Likewise.
25704 * nss/nss_files/files-netgrp.c: Likewise.
25705 * resolv/res_data.c: Likewise.
25706 * soft-fp/op-1.h: Likewise.
25707 * soft-fp/op-2.h: Likewise.
25708 * soft-fp/op-4.h: Likewise.
25709 * soft-fp/op-common.h: Likewise.
25710 * stdio-common/printf_fphex.c: Likewise.
25711 * stdlib/strtod_l.c: Likewise.
25712 * sunrpc/rpc/clnt.h: Likewise.
25713 * sysdeps/generic/framestate.c: Likewise.
25714 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25715 * sysdeps/i386/bsd-setjmp.S: Likewise.
25716 * sysdeps/i386/__longjmp.S: Likewise.
25717 * sysdeps/i386/setjmp.S: Likewise.
25718 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25720 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25721 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25722 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25723 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25724 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25725 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25726 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25727 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25728 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25729 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25730 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25731 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25732 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25733 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25734 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25735 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25736 * sysdeps/ieee754/support.c: Likewise.
25737 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25738 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25739 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25740 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25741 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25742 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25743 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25744 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25745 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25746 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25747 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25748 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25749 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25750 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25751 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25752 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25753 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25755
44a988af
OB
257562013-06-05 Ondřej Bílka <neleai@seznam.cz>
25757
25506f09 25758 * posix/transbug.c: Remove executable mode.
44a988af 25759
9c84384c
JM
257602013-06-05 Joseph Myers <joseph@codesourcery.com>
25761
25762 * crypt/speeds.c: Remove trailing whitespace.
25763 * dlfcn/default.c: Likewise.
25764 * elf/ifuncdep2.c: Likewise.
25765 * elf/ifuncmain1.c: Likewise.
25766 * elf/ifuncmain1vis.c: Likewise.
25767 * elf/testobj.h: Likewise.
25768 * elf/tst-stackguard1.c: Likewise.
25769 * gmon/sys/gmon.h: Likewise.
25770 * hurd/hurdmsg.c: Likewise.
25771 * hurd/new-fd.c: Likewise.
25772 * hurd/ports-get.c: Likewise.
25773 * iconvdata/ibm1008_420.c: Likewise.
25774 * inet/tst-getni1.c: Likewise.
25775 * inet/tst-getni2.c: Likewise.
25776 * libio/ioungetc.c: Likewise.
25777 * libio/wfiledoalloc.c: Likewise.
25778 * manual/libm-err-tab.pl: Likewise.
25779 * math/w_dremf.c: Likewise.
25780 * misc/ftruncate.c: Likewise.
25781 * posix/bug-glob2.c: Likewise.
25782 * posix/tst-pcre.c: Likewise.
25783 * posix/wait4.c: Likewise.
25784 * resolv/README: Likewise.
25785 * resolv/res_debug.h: Likewise.
25786 * resolv/tst-inet_ntop.c: Likewise.
25787 * setjmp/bug269-setjmp.c: Likewise.
25788 * soft-fp/extended.h: Likewise.
25789 * soft-fp/op-1.h: Likewise.
25790 * soft-fp/op-2.h: Likewise.
25791 * soft-fp/op-4.h: Likewise.
25792 * soft-fp/op-8.h: Likewise.
25793 * soft-fp/testit.c: Likewise.
25794 * stdio-common/bug16.c: Likewise.
25795 * stdlib/random.c: Likewise.
25796 * sunrpc/rpcsvc/rquota.x: Likewise.
25797 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25798 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25799 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25800 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25801 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25802 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25803 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25804 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25805 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25806 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25807 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25809 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25811 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25812 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25813 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25814 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25815 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25816 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25817 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25818 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25819 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25820 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25821 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25823 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25824 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25825 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25826 * sysdeps/ieee754/s_lib_version.c: Likewise.
25827 * sysdeps/mach/hurd/check_fds.c: Likewise.
25828 * sysdeps/mach/hurd/getsockname.c: Likewise.
25829 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25830 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25831 * sysdeps/powerpc/bits/link.h: Likewise.
25832 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25833 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25834 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25835 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25836 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25837 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25838 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25839 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25840 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25842 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25843 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25844 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25845 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25846 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25847 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25848 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25849 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25850 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25851 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25852 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25853 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25854 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25855 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25856 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25857 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25858 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25859 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25860 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25861 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25862 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25863 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25864 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25865 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25866 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25867 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25868 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25869 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25874 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25876 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25877 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25879 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25880 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25881 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25883 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25884 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25885 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25886 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25887 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25888 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25889 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25890 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25891 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25892 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25893 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25894 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25895 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25896 * sysdeps/powerpc/sysdep.h: Likewise.
25897 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25898 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25899 * sysdeps/sh/dl-trampoline.S: Likewise.
25900 * sysdeps/sh/memset.S: Likewise.
25901 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25902 * sysdeps/sh/strlen.S: Likewise.
25903 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25904 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25905 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25906 * sysdeps/sparc/sparc32/rem.S: Likewise.
25907 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25908 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25909 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25910 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25911 * sysdeps/sparc/sparc32/urem.S: Likewise.
25912 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25913 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25914 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25915 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25916 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25917 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25918 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25919 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25920 * sysdeps/unix/bsd/times.c: Likewise.
25921 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25922 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25926 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25927 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25928 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25929 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25930 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25931 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25932 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25933 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25934 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25935 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25936 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25937 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25938 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25939 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25940 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25941 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25942 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25943 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25944 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25945 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25946 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25947 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25948 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25949 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25950 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25951 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25952 * sysdeps/x86_64/strcspn.S: Likewise.
25953
869378a5
RA
259542013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25955
25956 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25957 generated file. Regenerate properly from gen-translit.pl.
25958 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25959 locale/C-translit.h.
25960
840e2943
AS
259612013-06-05 Andreas Schwab <schwab@suse.de>
25962
25963 [BZ #15100]
25964 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25965 week as 6 instead of -1.
25966 * time/tst-strptime.c (day_tests): Add test case.
25967
4c60cb0c
SP
259682013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25969
25970 * sysdeps/generic/math_private.h
25971 (libc_feholdexcept_setround_53bit): Replace with
25972 libc_feholdsetround_53bit.
25973 (libc_feupdateenv_53bit): Replace with
25974 libc_feresetround_53bit.
25975 (SET_RESTORE_ROUND_53BIT): Adjust.
25976
d180203e
SP
259772013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25978
96df079a
SP
25979 * string/test-strchrnul.c: Add copyright header.
25980
d180203e
SP
25981 * posix/tst-getaddrinfo4.c: Increase test timeout.
25982
8b0ccb2d
CD
259832013-06-03 Carlos O'Donell <carlos@redhat.com>
25984
25985 [BZ #15536]
25986 * math/libm-test.inc (MAX_EXP): Remove
25987 (MIN_EXP): Define.
25988 (ulp): Use MIN_EXP - MANT_DIG.
25989 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25990
3b3c4d40
CD
259912013-05-31 Carlos O'Donell <carlos@redhat.com>
25992
25993 * po/be.po: Revert last change.
25994 * po/zh_CN.po: Likewise.
25995 * po/header.pot: Likewise.
25996
fab7ce3f
JM
259972013-05-31 Joseph Myers <joseph@codesourcery.com>
25998
25999 * Makefile ($(common-objpfx)linkobj/libc.so): Define
26000 link-libc-deps to empty as target-specific variable.
26001 * Makerules (link-libc-args): New variable.
26002 (libc-for-link): Likewise.
26003 (link-libc-deps): Likewise.
26004 (lib%.so): Depend on $(link-libc-deps). Link with
26005 $(link-libc-args).
26006 (build-module): Link with $(link-libc-args).
26007 (build-module-asneeded): Likewise.
26008 (build-module-helper-objlist): Filter out $(link-libc-deps) from
26009 list of objects.
26010 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26011 target-specific variable.
26012 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26013 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26014 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26015 libc.
26016 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26017 libc and ld.so.
26018 ($(objpfx)libpcprofile.so): Likewise.
26019 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26020 libc_nonshared.a.
26021 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26022 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26023 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26024 $(link-libc-deps).
26025 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26026 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26027 * login/Makefile ($(objpfx)libutil.so): Likewise.
26028 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26029 * math/Makefile ($(objpfx)libm.so): Likewise.
26030 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26031 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26032 variable instead of depending directly on libc.
26033 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26034 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26035 $(link-libc-deps).
26036 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26037 libc.
26038 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26039 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26040 ($(objpfx)libanl.so): Likewise.
26041 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26042 ld.so.
26043 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26044 $(link-libc-deps).
26045 * sysdeps/i386/fpu/Makefile: Remove file.
26046 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26047 ($(objpfx)libm.so): Remove dependency on ld.so.
26048
eca5920c
PF
260492013-05-30 Patsy Franklin <pfrankli@redhat.com>
26050
26051 [BZ # 15553]
26052 * nis/yp_xdr.c (XDRMAXNAME): Define.
26053 (XDRMAXRECORD): Define.
26054 (xdr_domainname): Use XDRMAXNAME.
26055 (xdr_mapname): Likewise.
26056 (xdr_peername): Likewise.
26057 (xdr_keydat): Use XDRMAXRECORD.
26058 (xdr_valdat): Likewise.
26059
260602013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26061
26062 [BZ #14256]
26063 * manual/errno.texi (ESTALE): Update to account for more than
26064 just NFS file systems.
26065 * sysdeps/gnu/errlist.c: Regenerated.
26066
b9375348
SP
260672013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26068
26069 [BZ #15465]
26070 * elf/Makefile (tests): Add tst-null-argv.
26071 (modules-names): Add tst-null-argv-lib.
26072 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26073 (tst-null-argv-ENV): Set environment for tst-null-argv.
26074 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26075 (RTLD_PROGNAME): New macro.
26076 * elf/tst-null-argv.c: New test case.
26077 * elf/tst-null-argv-lib.c: Library for test case.
26078 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26079 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26080 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26081 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26082 * elf/dl-init.c (call_init): Likewise.
26083 (_dl_init): Likewise.
26084 * elf/dl-load.c (print_search_path): Likewise.
26085 (_dl_map_object): Likewise.
26086 * elf/dl-lookup.c (do_lookup_x): Likewise.
26087 (add_dependency): Likewise.
26088 (_dl_lookup_symbol_x): Likewise.
26089 (_dl_debug_bindings): Likewise.
26090 * elf/dl-open.c (_dl_show_scope): Likewise.
26091 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26092 * elf/dl-version.c (match_symbol): Likewise.
26093 (_dl_check_map_versions): Likewise.
26094 * elf/rtld.c (dl_main): Likewise.
26095 (print_unresolved): Use RTLD_PROGNAME.
26096 (print_missing_version): Likewise.
26097 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26098 (elf_machine_rela): Likewise.
26099 * sysdeps/powerpc/powerpc32/dl-machine.c
26100 (__process_machine_rela): Likewise.
26101 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26102 Likewise.
26103 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26104 Likewise.
26105 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26106 Likewise.
26107 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26108 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26109 Likewise.
26110 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26111 Likewise.
26112 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26113
8a9f20c8
CD
261142013-05-28 Carlos O'Donell <carlos@redhat.com>
26115
26116 * po/be.po: Add descriptive title.
26117 * po/zh_CN.po: Likewise.
26118 * po/header.pot: Likewise.
26119
0e60d68e
MF
261202013-05-28 Mike Frysinger <vapier@gentoo.org>
26121
26122 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26123 error message.
26124 (enlarge_archive): Likewise.
26125
56b672e9
BN
261262013-05-28 Ben North <ben@redfrontdoor.org>
26127
26128 * manual/arith.texi (frexp): It is the magnitude of the return
26129 value which lies in [0.5, 1), not the return value itself.
26130
5e056687
AZ
261312013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26132
26133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26134
2b66ef5d
TS
261352013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26136
528c2405
TS
26137 * stdio-common/bug26.c (main): Correct fscanf template.
26138
07b4c13d
TS
26139 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26140 declare _dl_skip_args.
26141
ec9dd97c
TS
26142 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26143 Don't declare.
26144
2b66ef5d
TS
26145 * manual/platform.texi: Add missing @end deftypefun.
26146
4f8dfe27
JM
261472013-05-24 Joseph Myers <joseph@codesourcery.com>
26148
0323d086
JM
26149 [BZ #15529]
26150 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26151 bit of mantissa of 2^16382.
26152 * math/libm-test.inc (hypot_test_data): Add more tests.
26153
dd4259b9
JM
26154 * math/libm-test.inc: Add drem and pow10 to list of tested
26155 functions.
26156 (pow10_test): New function.
26157 (drem_test): Likewise.
26158 (drem_test_tonearest): Likewise.
26159 (drem_test_towardzero): Likewise.
26160 (drem_test_downward): Likewise.
26161 (drem_test_upward): Likewise.
26162 (main): Call the new functions.
26163
4f8dfe27
JM
26164 * math/libm-test.inc (finite_test_data): Remove.
26165 (finite_test): Run tests from isfinite_test_data.
26166 (gamma_test_data): Remove.
26167 (gamma_test): Run tests from lgamma_test_data.
26168 * sysdeps/i386/fpu/libm-test-ulps: Update.
26169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26170
d116b7c4
AZ
261712013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26172
26173 * manual/platform.texi: Add PowerPC PPR function set documentation.
26174 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26175 implementation.
26176
e96e3767
CD
261772013-05-24 Carlos O'Donell <carlos@redhat.com>
26178
26179 * math/libm-test.inc (MAX_EXP): Define.
26180 (ULPDIFF): Define.
26181 (ulp): New function.
26182 (check_float_internal): Use ULPDIFF.
26183 (cpow_test): Disable failing test.
26184 (check_ulp): Test ulp() implemetnation.
26185 (main): Call check_ulp before starting tests.
26186
b679a606
JM
261872013-05-24 Joseph Myers <joseph@codesourcery.com>
26188
e8bdba36
JM
26189 * math/gen-libm-test.pl (generate_testfile): Do not handle
26190 START_DATA and END_DATA.
26191 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26192 END_DATA.
26193 (acos_tonearest_test_data): Likewise.
26194 (acos_towardzero_test_data): Likewise.
26195 (acos_downward_test_data): Likewise.
26196 (acos_upward_test_data): Likewise.
26197 (acosh_test_data): Likewise.
26198 (asin_test_data): Likewise.
26199 (asin_tonearest_test_data): Likewise.
26200 (asin_towardzero_test_data): Likewise.
26201 (asin_downward_test_data): Likewise.
26202 (asin_upward_test_data): Likewise.
26203 (asinh_test_data): Likewise.
26204 (atan_test_data): Likewise.
26205 (atanh_test_data): Likewise.
26206 (atan2_test_data): Likewise.
26207 (cabs_test_data): Likewise.
26208 (cacos_test_data): Likewise.
26209 (cacosh_test_data): Likewise.
26210 (carg_test_data): Likewise.
26211 (casin_test_data): Likewise.
26212 (casinh_test_data): Likewise.
26213 (catan_test_data): Likewise.
26214 (catanh_test_data): Likewise.
26215 (cbrt_test_data): Likewise.
26216 (ccos_test_data): Likewise.
26217 (ccosh_test_data): Likewise.
26218 (ceil_test_data): Likewise.
26219 (cexp_test_data): Likewise.
26220 (cimag_test_data): Likewise.
26221 (clog_test_data): Likewise.
26222 (clog10_test_data): Likewise.
26223 (conj_test_data): Likewise.
26224 (copysign_test_data): Likewise.
26225 (cos_test_data): Likewise.
26226 (cos_tonearest_test_data): Likewise.
26227 (cos_towardzero_test_data): Likewise.
26228 (cos_downward_test_data): Likewise.
26229 (cos_upward_test_data): Likewise.
26230 (cosh_test_data): Likewise.
26231 (cosh_tonearest_test_data): Likewise.
26232 (cosh_towardzero_test_data): Likewise.
26233 (cosh_downward_test_data): Likewise.
26234 (cosh_upward_test_data): Likewise.
26235 (cpow_test_data): Likewise.
26236 (cproj_test_data): Likewise.
26237 (creal_test_data): Likewise.
26238 (csin_test_data): Likewise.
26239 (csinh_test_data): Likewise.
26240 (csqrt_test_data): Likewise.
26241 (ctan_test_data): Likewise.
26242 (ctan_tonearest_test_data): Likewise.
26243 (ctan_towardzero_test_data): Likewise.
26244 (ctan_downward_test_data): Likewise.
26245 (ctan_upward_test_data): Likewise.
26246 (ctanh_test_data): Likewise.
26247 (ctanh_tonearest_test_data): Likewise.
26248 (ctanh_towardzero_test_data): Likewise.
26249 (ctanh_downward_test_data): Likewise.
26250 (ctanh_upward_test_data): Likewise.
26251 (erf_test_data): Likewise.
26252 (erfc_test_data): Likewise.
26253 (exp_test_data): Likewise.
26254 (exp_tonearest_test_data): Likewise.
26255 (exp_towardzero_test_data): Likewise.
26256 (exp_downward_test_data): Likewise.
26257 (exp_upward_test_data): Likewise.
26258 (exp10_test_data): Likewise.
26259 (exp2_test_data): Likewise.
26260 (expm1_test_data): Likewise.
26261 (fabs_test_data): Likewise.
26262 (fdim_test_data): Likewise.
26263 (finite_test_data): Likewise.
26264 (floor_test_data): Likewise.
26265 (fma_test_data): Likewise.
26266 (fma_towardzero_test_data): Likewise.
26267 (fma_downward_test_data): Likewise.
26268 (fma_upward_test_data): Likewise.
26269 (fmax_test_data): Likewise.
26270 (fmin_test_data): Likewise.
26271 (fmod_test_data): Likewise.
26272 (fpclassify_test_data): Likewise.
26273 (frexp_test_data): Likewise.
26274 (gamma_test_data): Likewise.
26275 (hypot_test_data): Likewise.
26276 (ilogb_test_data): Likewise.
26277 (isfinite_test_data): Likewise.
26278 (isgreater_test_data): Likewise.
26279 (isgreaterequal_test_data): Likewise.
26280 (isinf_test_data): Likewise.
26281 (isless_test_data): Likewise.
26282 (islessequal_test_data): Likewise.
26283 (islessgreater_test_data): Likewise.
26284 (isnan_test_data): Likewise.
26285 (isnormal_test_data): Likewise.
26286 (issignaling_test_data): Likewise.
26287 (isunordered_test_data): Likewise.
26288 (j0_test_data): Likewise.
26289 (j1_test_data): Likewise.
26290 (jn_test_data): Likewise.
26291 (ldexp_test_data): Likewise.
26292 (lgamma_test_data): Likewise.
26293 (lrint_test_data): Likewise.
26294 (lrint_tonearest_test_data): Likewise.
26295 (lrint_towardzero_test_data): Likewise.
26296 (lrint_downward_test_data): Likewise.
26297 (lrint_upward_test_data): Likewise.
26298 (llrint_test_data): Likewise.
26299 (llrint_tonearest_test_data): Likewise.
26300 (llrint_towardzero_test_data): Likewise.
26301 (llrint_downward_test_data): Likewise.
26302 (llrint_upward_test_data): Likewise.
26303 (log_test_data): Likewise.
26304 (log10_test_data): Likewise.
26305 (log1p_test_data): Likewise.
26306 (log2_test_data): Likewise.
26307 (logb_test_data): Likewise.
26308 (logb_downward_test_data): Likewise.
26309 (lround_test_data): Likewise.
26310 (llround_test_data): Likewise.
26311 (modf_test_data): Likewise.
26312 (nearbyint_test_data): Likewise.
26313 (nextafter_test_data): Likewise.
26314 (nexttoward_test_data): Likewise.
26315 (pow_test_data): Likewise.
26316 (pow_tonearest_test_data): Likewise.
26317 (pow_towardzero_test_data): Likewise.
26318 (pow_downward_test_data): Likewise.
26319 (pow_upward_test_data): Likewise.
26320 (remainder_test_data): Likewise.
26321 (remainder_tonearest_test_data): Likewise.
26322 (remainder_towardzero_test_data): Likewise.
26323 (remainder_downward_test_data): Likewise.
26324 (remainder_upward_test_data): Likewise.
26325 (remquo_test_data): Likewise.
26326 (rint_test_data): Likewise.
26327 (rint_tonearest_test_data): Likewise.
26328 (rint_towardzero_test_data): Likewise.
26329 (rint_downward_test_data): Likewise.
26330 (rint_upward_test_data): Likewise.
26331 (round_test_data): Likewise.
26332 (scalb_test_data): Likewise.
26333 (scalbn_test_data): Likewise.
26334 (scalbln_test_data): Likewise.
26335 (signbit_test_data): Likewise.
26336 (sin_test_data): Likewise.
26337 (sin_tonearest_test_data): Likewise.
26338 (sin_towardzero_test_data): Likewise.
26339 (sin_downward_test_data): Likewise.
26340 (sin_upward_test_data): Likewise.
26341 (sincos_test_data): Likewise.
26342 (sinh_test_data): Likewise.
26343 (sinh_tonearest_test_data): Likewise.
26344 (sinh_towardzero_test_data): Likewise.
26345 (sinh_downward_test_data): Likewise.
26346 (sinh_upward_test_data): Likewise.
26347 (sqrt_test_data): Likewise.
26348 (tan_test_data): Likewise.
26349 (tan_tonearest_test_data): Likewise.
26350 (tan_towardzero_test_data): Likewise.
26351 (tan_downward_test_data): Likewise.
26352 (tan_upward_test_data): Likewise.
26353 (tanh_test_data): Likewise.
26354 (tgamma_test_data): Likewise.
26355 (trunc_test_data): Likewise.
26356 (y0_test_data): Likewise.
26357 (y1_test_data): Likewise.
26358 (yn_test_data): Likewise.
26359 (significand_test_data): Likewise.
26360
b679a606
JM
26361 * math/gen-libm-test.pl (@functions): Remove variable.
26362 (generate_testfile): Don't handle START and END lines.
26363 * math/libm-test.inc (START): New macro.
26364 (END): Likewise.
26365 (END_COMPLEX): Likewise.
26366 (acos_test): Use END macro without arguments.
26367 (acos_test_tonearest): Likewise.
26368 (acos_test_towardzero): Likewise.
26369 (acos_test_downward): Likewise.
26370 (acos_test_upward): Likewise.
26371 (acosh_test): Likewise.
26372 (asin_test): Likewise.
26373 (asin_test_tonearest): Likewise.
26374 (asin_test_towardzero): Likewise.
26375 (asin_test_downward): Likewise.
26376 (asin_test_upward): Likewise.
26377 (asinh_test): Likewise.
26378 (atan_test): Likewise.
26379 (atanh_test): Likewise.
26380 (atan2_test): Likewise.
26381 (cabs_test): Likewise.
26382 (cacos_test): Use END_COMPLEX macro without arguments.
26383 (cacosh_test): Likewise.
26384 (carg_test): Use END macro without arguments.
26385 (casin_test): Use END_COMPLEX macro without arguments.
26386 (casinh_test): Likewise.
26387 (catan_test): Likewise.
26388 (catanh_test): Likewise.
26389 (cbrt_test): Use END macro without arguments.
26390 (ccos_test): Use END_COMPLEX macro without arguments.
26391 (ccosh_test): Likewise.
26392 (ceil_test): Use END macro without arguments.
26393 (cexp_test): Use END_COMPLEX macro without arguments.
26394 (cimag_test): Use END macro without arguments.
26395 (clog_test): Use END_COMPLEX macro without arguments.
26396 (clog10_test): Likewise.
26397 (conj_test): Likewise.
26398 (copysign_test): Use END macro without arguments.
26399 (cos_test): Likewise.
26400 (cos_test_tonearest): Likewise.
26401 (cos_test_towardzero): Likewise.
26402 (cos_test_downward): Likewise.
26403 (cos_test_upward): Likewise.
26404 (cosh_test): Likewise.
26405 (cosh_test_tonearest): Likewise.
26406 (cosh_test_towardzero): Likewise.
26407 (cosh_test_downward): Likewise.
26408 (cosh_test_upward): Likewise.
26409 (cpow_test): Use END_COMPLEX macro without arguments.
26410 (cproj_test): Likewise.
26411 (creal_test): Use END macro without arguments.
26412 (csin_test): Use END_COMPLEX macro without arguments.
26413 (csinh_test): Likewise.
26414 (csqrt_test): Likewise.
26415 (ctan_test): Likewise.
26416 (ctan_test_tonearest): Likewise.
26417 (ctan_test_towardzero): Likewise.
26418 (ctan_test_downward): Likewise.
26419 (ctan_test_upward): Likewise.
26420 (ctanh_test): Likewise.
26421 (ctanh_test_tonearest): Likewise.
26422 (ctanh_test_towardzero): Likewise.
26423 (ctanh_test_downward): Likewise.
26424 (ctanh_test_upward): Likewise.
26425 (erf_test): Use END macro without arguments.
26426 (erfc_test): Likewise.
26427 (exp_test): Likewise.
26428 (exp_test_tonearest): Likewise.
26429 (exp_test_towardzero): Likewise.
26430 (exp_test_downward): Likewise.
26431 (exp_test_upward): Likewise.
26432 (exp10_test): Likewise.
26433 (exp2_test): Likewise.
26434 (expm1_test): Likewise.
26435 (fabs_test): Likewise.
26436 (fdim_test): Likewise.
26437 (finite_test): Likewise.
26438 (floor_test): Likewise.
26439 (fma_test): Likewise.
26440 (fma_test_towardzero): Likewise.
26441 (fma_test_downward): Likewise.
26442 (fma_test_upward): Likewise.
26443 (fmax_test): Likewise.
26444 (fmin_test): Likewise.
26445 (fmod_test): Likewise.
26446 (fpclassify_test): Likewise.
26447 (frexp_test): Likewise.
26448 (gamma_test): Likewise.
26449 (hypot_test): Likewise.
26450 (ilogb_test): Likewise.
26451 (isfinite_test): Likewise.
26452 (isgreater_test): Likewise.
26453 (isgreaterequal_test): Likewise.
26454 (isinf_test): Likewise.
26455 (isless_test): Likewise.
26456 (islessequal_test): Likewise.
26457 (islessgreater_test): Likewise.
26458 (isnan_test): Likewise.
26459 (isnormal_test): Likewise.
26460 (issignaling_test): Likewise.
26461 (isunordered_test): Likewise.
26462 (j0_test): Likewise.
26463 (j1_test): Likewise.
26464 (jn_test): Likewise.
26465 (ldexp_test): Likewise.
26466 (lgamma_test): Likewise.
26467 (lrint_test): Likewise.
26468 (lrint_test_tonearest): Likewise.
26469 (lrint_test_towardzero): Likewise.
26470 (lrint_test_downward): Likewise.
26471 (lrint_test_upward): Likewise.
26472 (llrint_test): Likewise.
26473 (llrint_test_tonearest): Likewise.
26474 (llrint_test_towardzero): Likewise.
26475 (llrint_test_downward): Likewise.
26476 (llrint_test_upward): Likewise.
26477 (log_test): Likewise.
26478 (log10_test): Likewise.
26479 (log1p_test): Likewise.
26480 (log2_test): Likewise.
26481 (logb_test): Likewise.
26482 (logb_test_downward): Likewise.
26483 (lround_test): Likewise.
26484 (llround_test): Likewise.
26485 (modf_test): Likewise.
26486 (nearbyint_test): Likewise.
26487 (nextafter_test): Likewise.
26488 (nexttoward_test): Likewise.
26489 (pow_test): Likewise.
26490 (pow_test_tonearest): Likewise.
26491 (pow_test_towardzero): Likewise.
26492 (pow_test_downward): Likewise.
26493 (pow_test_upward): Likewise.
26494 (remainder_test): Likewise.
26495 (remainder_test_tonearest): Likewise.
26496 (remainder_test_towardzero): Likewise.
26497 (remainder_test_downward): Likewise.
26498 (remainder_test_upward): Likewise.
26499 (remquo_test): Likewise.
26500 (rint_test): Likewise.
26501 (rint_test_tonearest): Likewise.
26502 (rint_test_towardzero): Likewise.
26503 (rint_test_downward): Likewise.
26504 (rint_test_upward): Likewise.
26505 (round_test): Likewise.
26506 (scalb_test): Likewise.
26507 (scalbn_test): Likewise.
26508 (scalbln_test): Likewise.
26509 (signbit_test): Likewise.
26510 (sin_test): Likewise.
26511 (sin_test_tonearest): Likewise.
26512 (sin_test_towardzero): Likewise.
26513 (sin_test_downward): Likewise.
26514 (sin_test_upward): Likewise.
26515 (sincos_test): Likewise.
26516 (sinh_test): Likewise.
26517 (sinh_test_tonearest): Likewise.
26518 (sinh_test_towardzero): Likewise.
26519 (sinh_test_downward): Likewise.
26520 (sinh_test_upward): Likewise.
26521 (sqrt_test): Likewise.
26522 (tan_test): Likewise.
26523 (tan_test_tonearest): Likewise.
26524 (tan_test_towardzero): Likewise.
26525 (tan_test_downward): Likewise.
26526 (tan_test_upward): Likewise.
26527 (tanh_test): Likewise.
26528 (tgamma_test): Likewise.
26529 (trunc_test): Likewise.
26530 (y0_test): Likewise.
26531 (y1_test): Likewise.
26532 (yn_test): Likewise.
26533 (significand_test): Likewise.
26534
bae143d2
OB
265352013-05-24 Ondřej Bílka <neleai@seznam.cz>
26536
26537 [BZ #15381]
26538 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26539
9323d39b
EM
265402013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26541
d4ea44a0 26542 [BZ #14894]
9323d39b
EM
26543 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26544 __ppc_mdoio and __ppc_mdoom.
26545 * manual/platform.texi: Document new functions __ppc_yield,
26546 __ppc_mdoio and __ppc_mdoom.
26547
13e23af7
CD
265482013-05-22 Carlos O'Donell <carlos@redhat.com>
26549
26550 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26551 (main): Mention "tls" pseudo-hwcap is legacy.
26552 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26553
351fe550
JM
265542013-05-22 Joseph Myers <joseph@codesourcery.com>
26555
26556 * math/gen-libm-test.pl (parse_args): Output only string of
26557 arguments as text for test name, not full call or descriptions of
26558 tests for extra outputs.
26559 (generate_testfile): Do not pass function name to parse_args.
26560 Generate this_func variable from START.
26561 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26562 field to arg_str.
26563 (struct test_ff_f_data): Likewise.
26564 (test_ff_f_data_nexttoward): Likewise.
26565 (struct test_fi_f_data): Likewise.
26566 (struct test_fl_f_data): Likewise.
26567 (struct test_if_f_data): Likewise.
26568 (struct test_fff_f_data): Likewise.
26569 (struct test_c_f_data): Likewise.
26570 (struct test_f_f1_data): Likewise. Remove field extra_name.
26571 (struct test_fF_f1_data): Likewise.
26572 (struct test_ffI_f1_data): Likewise.
26573 (struct test_c_c_data): Rename test_name field to arg_str.
26574 (struct test_cc_c_data): Likewise.
26575 (struct test_f_i_data): Likewise.
26576 (struct test_ff_i_data): Likewise.
26577 (struct test_f_l_data): Likewise.
26578 (struct test_f_L_data): Likewise.
26579 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26580 and extra2_name.
26581 (COMMON_TEST_SETUP): New macro.
26582 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26583 (COMMON_TEST_CLEANUP): Likewise.
26584 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26585 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26586 macros.
26587 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26588 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26589 macros.
26590 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26591 (RUN_TEST_fff_f): Take argument string. Call new setup and
26592 cleanup macros.
26593 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26594 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26595 macros.
26596 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26597 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26598 macros.
26599 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26600 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26601 cleanup macros.
26602 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26603 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26604 cleanup macros.
26605 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26606 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26607 cleanup macros.
26608 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26609 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26610 macros.
26611 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26612 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26613 macros.
26614 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26615 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26616 macros.
26617 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26618 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26619 cleanup macros.
26620 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26621 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26622 cleanup macros.
26623 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26624 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26625 macros.
26626 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26627 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26628 cleanup macros.
26629 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26630 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26631 macros.
26632 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26633 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26634 macros.
26635 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26636 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26637 cleanup macros.
26638 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26639
85118d4d
EBM
266402013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26641
26642 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26643 to _sifields.sigfault.
26644 (si_addr_lsb): Define new macro.
26645 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26646 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26647 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26648
7a44c18f
CD
266492013-05-03 Carlos O'Donell <carlos at redhat.com>
26650
26651 [BZ #15441]
26652 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26653 returns -1.
26654 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26655 null return -1.
26656 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26657 loading the domain.
26658
b50a7181
JM
266592013-05-22 Joseph Myers <joseph@codesourcery.com>
26660
26661 * math/gen-libm-test.pl (parse_args): Do not include expected
26662 result in test name.
26663 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26664 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26665 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26666 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26667 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26669
051063c8
SP
266702013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26671
3ce9e010
SP
26672 * benchtests/Makefile: Sort function entries.
26673
051063c8
SP
26674 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26675 tanh, asinh, acosh, atanh.
26676 * benchtests/acos-inputs: New file.
26677 * benchtests/acosh-inputs: New file.
26678 * benchtests/asin-inputs: New file.
26679 * benchtests/asinh-inputs: New file.
26680 * benchtests/atanh-inputs: New file.
26681 * benchtests/cosh-inputs: New file.
26682 * benchtests/log-inputs: New file.
26683 * benchtests/sinh-inputs: New file.
26684 * benchtests/tanh-inputs: New file.
26685
47c22455
DL
266862013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26687
26688 [BZ #15339]
26689 * posix/tst-getaddrinfo4.c: New test.
26690 * posix/Makefile (tests): Add it.
26691
3d04f5db
SP
266922013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26693
26694 [BZ #15339]
26695 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26696 when no services were used.
26697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26698 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26699
d5dd6189
AS
267002013-05-21 Andreas Schwab <schwab@suse.de>
26701
26702 [BZ #15014]
26703 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26704 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26705 successful.
26706 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26707 redundant variable declarations and reallocation of buffer when
26708 parsing as IPv6 address. Always set NSS status when called from
26709 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26710 buffer too small. Correct computation of needed size.
26711 * nss/Makefile (tests): Add test-digits-dots.
26712 * nss/test-digits-dots.c: New test.
26713
fef94eab
SP
267142013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26715
26716 * benchtests/Makefile: Remove instructions for adding
26717 benchmark tests.
26718 * benchtests/README: New file to explain how to execute and
26719 enhance the benchmark tests.
26720
e39adf43
AS
267212013-05-21 Andreas Schwab <schwab@suse.de>
26722
26723 [BZ #15493]
26724 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26725 * setjmp/tst-sigsetjmp.c: New test.
26726
b2b671b6
OB
267272013-05-20 Ondřej Bílka <neleai@seznam.cz>
26728
26729 * sysdeps/x86_64/memset.S (memset): New implementation.
26730 (__bzero): Likewise.
26731 (__memset_tail): New function.
26732
2d48b41c
OB
267332013-05-20 Ondřej Bílka <neleai@seznam.cz>
26734
26735 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26736 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26737 __memcpy_sse2_unaligned ifunc selection.
26738 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26739 Add memcpy-sse2-unaligned.S.
26740 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26741 Add: __memcpy_sse2_unaligned.
26742
f16cc3eb
JM
267432013-05-19 Joseph Myers <joseph@codesourcery.com>
26744
3e694268
JM
26745 [BZ #15490]
26746 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26747 math_force_eval before restoring floating-point envrionment.
26748 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26749 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26750 Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26752 <math_private.h>.
26753 (__nearbyintl): Use math_force_eval before restoring
26754 floating-point environment.
26755 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26756
db62a907
JM
26757 * math/gen-libm-test.pl (special_functions): Remove.
26758 (parse_args): Don't handle TEST_extra. Handle functions with no
26759 return value.
26760 * math/libm-test.inc (struct test_sincos_data): Replace with
26761 struct test_fFF_11_data.
26762 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26763 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26764 (sincos_test_data): Change element type to struct
26765 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26766 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26767 RUN_TEST_LOOP_sincos.
26768 * math/README.libm-test: Don't mention special handling of
26769 individual functions.
26770 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26771 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26772 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26773 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26774 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26775 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26776
f16cc3eb
JM
26777 * math/gen-libm-test.pl (get_variable): Remove function.
26778 (parse_args): Don't show pointer parameters to call in test
26779 names. Use "extra output N" in test names for extra outputs
26780 rather than naming variables.
26781
3779b5b6
JM
267822013-05-18 Joseph Myers <joseph@codesourcery.com>
26783
2ee094ff
JM
26784 [BZ #15488]
26785 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26786 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26787 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26788 double tests.
26789 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26790 disable.
26791 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26792 check_long_double.
26793
3779b5b6
JM
26794 * math/gen-libm-test.pl (@tests): Remove variable.
26795 ($count): Likewise.
26796 (new_test): Remove function.
26797 (show_exceptions): New function.
26798 (special_functions): Use show_exceptions instead of new_test.
26799 (parse_args): Likewise.
26800 (generate_testfile): Pass only function name in generated call to
26801 print_max_error or print_complex_max_error.
26802 (get_ulps): Do not handle complex tests specially.
26803 (output_test): Rename to ...
26804 (get_all_ulps_for_test): ... this. Return a string rather than
26805 printing to a file. Require ulps to be present.
26806 (output_ulps): Generate arrays rather than #defines.
26807 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26808 (struct ulp_data): New type.
26809 (BUILD_COMPLEX_ULP): Remove macro.
26810 (compare_ulp_data): New function.
26811 (find_ulps): Likewise.
26812 (find_test_ulps): Likewise.
26813 (find_function_ulps): Likewise.
26814 (find_complex_function_ulps): Likewise.
26815 (print_max_error): Determine allowed ulps using
26816 find_function_ulps.
26817 (print_complex_max_error): Determine allowed ulps using
26818 find_complex_function_ulps.
26819 (check_float_internal): Determine max ulps using find_test_ulps.
26820 (check_float): Do not take max_ulp parameter. Update call to
26821 check_float_internal.
26822 (check_complex): Likewise.
26823 (check_int): Do not take max_ulp parameter.
26824 (check_long): Likewise.
26825 (check_bool): Likewise.
26826 (check_longlong): Likewise.
26827 (struct test_f_f_data): Remove max_ulp field.
26828 (struct test_ff_f_data): Likewise.
26829 (struct test_ff_f_data_nexttoward): Likewise.
26830 (struct test_fi_f_data): Likewise.
26831 (struct test_fl_f_data): Likewise.
26832 (struct test_if_f_data): Likewise.
26833 (struct test_fff_f_data): Likewise.
26834 (struct test_c_f_data): Likewise.
26835 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26836 (struct test_fF_f1_data): Likewise.
26837 (struct test_ffI_f1_data): Likewise.
26838 (struct test_c_c_data): Remove max_ulp field.
26839 (struct test_cc_c_data): Likewise.
26840 (struct test_f_i_data): Likewise.
26841 (struct test_ff_i_data): Likewise.
26842 (struct test_f_l_data): Likewise.
26843 (struct test_f_L_data): Likewise.
26844 (struct test_sincos_data): Likewise.
26845 (RUN_TEST_f_f): Do not handle ulps.
26846 (RUN_TEST_LOOP_f_f): Likewise.
26847 (RUN_TEST_2_f): Likewise.
26848 (RUN_TEST_LOOP_2_f): Likewise.
26849 (RUN_TEST_fff_f): Likewise.
26850 (RUN_TEST_LOOP_fff_f): Likewise.
26851 (RUN_TEST_c_f): Likewise.
26852 (RUN_TEST_LOOP_c_f): Likewise.
26853 (RUN_TEST_f_f1): Likewise.
26854 (RUN_TEST_LOOP_f_f1): Likewise.
26855 (RUN_TEST_fF_f1): Likewise.
26856 (RUN_TEST_LOOP_fF_f1): Likewise.
26857 (RUN_TEST_fI_f1): Likewise.
26858 (RUN_TEST_LOOP_fI_f1): Likewise.
26859 (RUN_TEST_ffI_f1): Likewise.
26860 (RUN_TEST_LOOP_ffI_f1): Likewise.
26861 (RUN_TEST_c_c): Likewise.
26862 (RUN_TEST_LOOP_c_c): Likewise.
26863 (RUN_TEST_cc_c): Likewise.
26864 (RUN_TEST_LOOP_cc_c): Likewise.
26865 (RUN_TEST_f_i): Likewise.
26866 (RUN_TEST_LOOP_f_i): Likewise.
26867 (RUN_TEST_f_i_tg): Likewise.
26868 (RUN_TEST_LOOP_f_i_tg): Likewise.
26869 (RUN_TEST_ff_i_tg): Likewise.
26870 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26871 (RUN_TEST_f_b): Likewise.
26872 (RUN_TEST_LOOP_f_b): Likewise.
26873 (RUN_TEST_f_b_tg): Likewise.
26874 (RUN_TEST_LOOP_f_b_tg): Likewise.
26875 (RUN_TEST_f_l): Likewise.
26876 (RUN_TEST_LOOP_f_l): Likewise.
26877 (RUN_TEST_f_L): Likewise.
26878 (RUN_TEST_LOOP_f_L): Likewise.
26879 (RUN_TEST_sincos): Likewise.
26880 (RUN_TEST_LOOP_sincos): Likewise.
26881
8269107f
JM
268822013-05-17 Joseph Myers <joseph@codesourcery.com>
26883
bb38759d
JM
26884 [BZ #15480]
26885 [BZ #15485]
26886 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26887 main case of finite arguments, set rounding mode to FE_TONEAREST
26888 and discard exceptions.
26889 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26890 exceptions.
26891 (remainder_tonearest_test_data): New variable.
26892 (remainder_test_tonearest): New function.
26893 (remainder_towardzero_test_data): New variable.
26894 (remainder_test_towardzero): New function.
26895 (remainder_downward_test_data): New variable.
26896 (remainder_test_downward): New function.
26897 (remainder_upward_test_data): New variable.
26898 (remainder_test_upward): New function.
26899 (main): Call the new test functions.
26900
a00bdcf0
JM
26901 * math/libm-test.inc (struct test_f_f1_data): Remove field
26902 extra_init.
26903 (struct test_fF_f1_data): Likewise.
26904 (struct test_ffI_f1_data): Likewise.
26905 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26906 based on value of EXTRA_EXPECTED.
26907 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26908 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26909 EXTRA_VAR based on value of EXTRA_EXPECTED.
26910 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26911 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26912 EXTRA_VAR based on value of EXTRA_EXPECTED.
26913 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26914 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26915 EXTRA_VAR based on value of EXTRA_EXPECTED.
26916 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26917 * math/gen-libm-test.pl (parse_args): Don't output initializers
26918 for extra output values.
26919
de407f79
JM
26920 * math/libm-test.inc (check_int): Expect result to be exactly
26921 equal to expected value and do not handle ulps.
26922 (check_long): Likewise.
26923 (check_longlong): Likewise.
26924
8269107f
JM
26925 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26926 exceptions.
26927 (cimag_test_data): Likewise.
26928 (conj_test_data): Likewise.
26929 (copysign_test_data): Likewise.
26930 (cproj_test_data): Likewise.
26931 (creal_test_data): Likewise.
26932 (fabs_test_data): Likewise.
26933 (fdim_test_data): Likewise.
26934 (finite_test_data): Likewise.
26935 (floor_test_data): Likewise.
26936 (fmax_test_data): Likewise.
26937 (fmin_test_data): Likewise.
26938 (fmod_test_data): Likewise.
26939 (fpclassify_test_data): Likewise.
26940 (frexp_test_data): Likewise.
26941 (ilogb_test_data): Likewise.
26942 (isfinite_test_data): Likewise.
26943 (isgreater_test_data): Likewise.
26944 (isgreaterequal_test_data): Likewise.
26945 (isinf_test_data): Likewise.
26946 (isless_test_data): Likewise.
26947 (islessequal_test_data): Likewise.
26948 (islessgreater_test_data): Likewise.
26949 (isnan_test_data): Likewise.
26950 (isnormal_test_data): Likewise.
26951 (issignaling_test_data): Likewise.
26952 (isunordered_test_data): Likewise.
26953 (ldexp_test_data): Likewise.
26954 (lrint_test_data): Likewise.
26955 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26956 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26957 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26958 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26959 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26960 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26961 test input.
26962 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26963 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26964 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26965 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26966 that test input.
26967 (lrint_downward_test_data): Test for "inexact" exceptions.
26968 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26969 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26970 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26971 test input.
26972 (lrint_upward_test_data): Test for "inexact" exceptions.
26973 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26974 test input.
26975 (llrint_test_data): Test for "inexact" exceptions.
26976 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26977 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26978 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26979 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26980 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26981 (llrint_downward_test_data): Test for "inexact" exceptions.
26982 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26983 (llrint_upward_test_data): Test for "inexact" exceptions.
26984 (logb_test_data): Likewise.
26985 (logb_downward_test_data): Likewise.
26986 (nextafter_test_data): Likewise.
26987 (nexttoward_test_data): Likewise.
26988 (remainder_test_data): Likewise.
26989 (remquo_test_data): Likewise.
26990 (scalbn_test_data): Likewise.
26991 (scalbln_test_data): Likewise.
26992 (signbit_test_data): Likewise.
26993 (sqrt_test_data): Likewise.
26994 (significand_test_data): Likewise.
26995
48a18de1
SP
269962013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26997
26998 [BZ #15424]
26999 * benchtests/bench-modf.c (struct args): Mark arg0 as
27000 volatile.
27001 * scripts/bench.pl: Mark members of struct args as volatile.
27002
13d3b41a
AZ
270032013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27004
68191c1d 27005 [BZ # 15497]
13d3b41a
AZ
27006 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27007 negative infinity on POWER6 or lower.
27008 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27009
2848b105
MR
270102013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
27011
27012 [BZ #15442]
27013 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27014 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27015 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27016 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27017 (_FP_SETQNAN): New macro.
27018 (_FP_SETQNAN_SEMIRAW): Likewise.
27019 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27020 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27021 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27022 (FP_EXTEND): Use _FP_FRAC_SNANP.
27023 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27024 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27025 into account.
27026 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27027 New macro.
27028 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27029 Likewise.
27030
323e5cb7
JM
270312013-05-16 Joseph Myers <joseph@codesourcery.com>
27032
c58b274f
JM
27033 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27034 with DIVIDE_BY_ZERO_EXCEPTION.
27035 (gamma_test_data): Likewise.
27036 (lgamma_test_data): Likewise.
27037 (log_test_data): Likewise.
27038 (log10_test_data): Likewise.
27039 (log2_test_data): Likewise.
27040 (tgamma_test_data): Likewise.
27041
0ab34904
JM
27042 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27043 (acos_test_tonearest): Likewise.
27044 (acos_test_towardzero): Likewise.
27045 (acos_test_downward): Likewise.
27046 (acos_test_upward): Likewise.
27047 (acosh_test): Likewise.
27048 (asin_test): Likewise.
27049 (asin_test_tonearest): Likewise.
27050 (asin_test_towardzero): Likewise.
27051 (asin_test_downward): Likewise.
27052 (asin_test_upward): Likewise.
27053 (asinh_test): Likewise.
27054 (atan_test): Likewise.
27055 (atanh_test): Likewise.
27056 (atan2_test): Likewise.
27057 (cabs_test): Likewise.
27058 (cacos_test): Likewise.
27059 (cacosh_test): Likewise.
27060 (casin_test): Likewise.
27061 (casinh_test): Likewise.
27062 (catan_test): Likewise.
27063 (catanh_test): Likewise.
27064 (cbrt_test): Likewise.
27065 (ccos_test): Likewise.
27066 (ccosh_test): Likewise.
27067 (cexp_test): Likewise.
27068 (clog_test): Likewise.
27069 (clog10_test): Likewise.
27070 (cos_test): Likewise.
27071 (cos_test_tonearest): Likewise.
27072 (cos_test_towardzero): Likewise.
27073 (cos_test_downward): Likewise.
27074 (cos_test_upward): Likewise.
27075 (cosh_test): Likewise.
27076 (cosh_test_tonearest): Likewise.
27077 (cosh_test_towardzero): Likewise.
27078 (cosh_test_downward): Likewise.
27079 (cosh_test_upward): Likewise.
27080 (cpow_test): Likewise.
27081 (csin_test): Likewise.
27082 (csinh_test): Likewise.
27083 (csqrt_test): Likewise.
27084 (ctan_test): Likewise.
27085 (ctan_test_tonearest): Likewise.
27086 (ctan_test_towardzero): Likewise.
27087 (ctan_test_downward): Likewise.
27088 (ctan_test_upward): Likewise.
27089 (ctanh_test): Likewise.
27090 (ctanh_test_tonearest): Likewise.
27091 (ctanh_test_towardzero): Likewise.
27092 (ctanh_test_downward): Likewise.
27093 (ctanh_test_upward): Likewise.
27094 (erf_test): Likewise.
27095 (erfc_test): Likewise.
27096 (exp_test): Likewise.
27097 (exp_test_tonearest): Likewise.
27098 (exp_test_towardzero): Likewise.
27099 (exp_test_downward): Likewise.
27100 (exp_test_upward): Likewise.
27101 (exp10_test): Likewise.
27102 (exp2_test): Likewise.
27103 (expm1_test): Likewise.
27104 (fmod_test): Likewise.
27105 (gamma_test): Likewise.
27106 (hypot_test): Likewise.
27107 (j0_test): Likewise.
27108 (j1_test): Likewise.
27109 (jn_test): Likewise.
27110 (lgamma_test): Likewise.
27111 (log_test): Likewise.
27112 (log10_test): Likewise.
27113 (log1p_test): Likewise.
27114 (log2_test): Likewise.
27115 (logb_test_downward): Likewise.
27116 (pow_test): Likewise.
27117 (pow_test_tonearest): Likewise.
27118 (pow_test_towardzero): Likewise.
27119 (pow_test_downward): Likewise.
27120 (pow_test_upward): Likewise.
27121 (remainder_test): Likewise.
27122 (remquo_test): Likewise.
27123 (sin_test): Likewise.
27124 (sin_test_tonearest): Likewise.
27125 (sin_test_towardzero): Likewise.
27126 (sin_test_downward): Likewise.
27127 (sin_test_upward): Likewise.
27128 (sincos_test): Likewise.
27129 (sinh_test): Likewise.
27130 (sinh_test_tonearest): Likewise.
27131 (sinh_test_towardzero): Likewise.
27132 (sinh_test_downward): Likewise.
27133 (sinh_test_upward): Likewise.
27134 (sqrt_test): Likewise.
27135 (tan_test): Likewise.
27136 (tan_test_tonearest): Likewise.
27137 (tan_test_towardzero): Likewise.
27138 (tan_test_downward): Likewise.
27139 (tan_test_upward): Likewise.
27140 (tanh_test): Likewise.
27141 (tgamma_test): Likewise.
27142 (y0_test): Likewise.
27143 (y1_test): Likewise.
27144 (yn_test): Likewise.
27145
323e5cb7
JM
27146 * math/gen-libm-test.pl (adjust_arg): Remove function.
27147 (special_function): Remove argument $in_func. Only handle
27148 generating output for tables of tests, not inside functions.
27149 (parse_args): Likewise.
27150 (generate_testfile): Remove variable $in_func. Update call to
27151 parse_args.
27152 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27153 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27154 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27155 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27156 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27157 (MAX_VALUE_INIT): Rename macro to max_value.
27158 (MIN_VALUE_INIT): Rename macro to min_value.
27159 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27160 (plus_zero): Remove variable.
27161 (minus_zero): Likewise.
27162 (plus_infty): Likewise.
27163 (minus_infty): Likewise.
27164 (qnan_value): Likewise.
27165 (max_value): Likewise.
27166 (min_value): Likewise.
27167 (min_subnorm_value): Likewise.
27168
e054f494
RA
271692013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27170
27171 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27172 uint64_t or uint32_t usage.
27173 * crypt/sha256-block.c: Likewise.
27174 * crypt/sha256-crypt.c: Likewise.
27175 * crypt/sha256.c: Likewise.
27176 * crypt/sha512-block.c: Likewise.
27177 * crypt/sha512-crypt.c: Likewise.
27178 * crypt/sha512.c: Likewise.
27179 * debug/backtrace-tst.c: Likewise.
27180 * debug/pcprofiledump.c: Likewise.
27181 * elf/cache.c: Likewise.
27182 * elf/dl-cache.c: Likewise.
27183 * elf/dl-misc.c: Likewise.
27184 * elf/dl-profile.c: Likewise.
27185 * elf/dl-support.c: Likewise.
27186 * elf/ldconfig.c: Likewise.
27187 * elf/sprof.c: Likewise.
27188 * iconv/dummy-repertoire.c: Likewise.
27189 * iconv/iconv_charmap.c: Likewise.
27190 * iconv/skeleton.c: Likewise.
27191 * iconvdata/8bit-generic.c: Likewise.
27192 * iconvdata/cp737.h: Likewise.
27193 * iconvdata/cp775.h: Likewise.
27194 * iconvdata/ibm1008.h: Likewise.
27195 * iconvdata/ibm1025.h: Likewise.
27196 * iconvdata/ibm1046.h: Likewise.
27197 * iconvdata/ibm1097.h: Likewise.
27198 * iconvdata/ibm1112.h: Likewise.
27199 * iconvdata/ibm1122.h: Likewise.
27200 * iconvdata/ibm1123.h: Likewise.
27201 * iconvdata/ibm1124.h: Likewise.
27202 * iconvdata/ibm1129.h: Likewise.
27203 * iconvdata/ibm1130.h: Likewise.
27204 * iconvdata/ibm1132.h: Likewise.
27205 * iconvdata/ibm1133.h: Likewise.
27206 * iconvdata/ibm1137.h: Likewise.
27207 * iconvdata/ibm1140.h: Likewise.
27208 * iconvdata/ibm1141.h: Likewise.
27209 * iconvdata/ibm1142.h: Likewise.
27210 * iconvdata/ibm1143.h: Likewise.
27211 * iconvdata/ibm1144.h: Likewise.
27212 * iconvdata/ibm1145.h: Likewise.
27213 * iconvdata/ibm1146.h: Likewise.
27214 * iconvdata/ibm1147.h: Likewise.
27215 * iconvdata/ibm1148.h: Likewise.
27216 * iconvdata/ibm1149.h: Likewise.
27217 * iconvdata/ibm1153.h: Likewise.
27218 * iconvdata/ibm1154.h: Likewise.
27219 * iconvdata/ibm1155.h: Likewise.
27220 * iconvdata/ibm1156.h: Likewise.
27221 * iconvdata/ibm1157.h: Likewise.
27222 * iconvdata/ibm1158.h: Likewise.
27223 * iconvdata/ibm1160.h: Likewise.
27224 * iconvdata/ibm1161.h: Likewise.
27225 * iconvdata/ibm1162.h: Likewise.
27226 * iconvdata/ibm1163.h: Likewise.
27227 * iconvdata/ibm1164.h: Likewise.
27228 * iconvdata/ibm1166.h: Likewise.
27229 * iconvdata/ibm1167.h: Likewise.
27230 * iconvdata/ibm12712.h: Likewise.
27231 * iconvdata/ibm1390.h: Likewise.
27232 * iconvdata/ibm1399.h: Likewise.
27233 * iconvdata/ibm16804.h: Likewise.
27234 * iconvdata/ibm4517.h: Likewise.
27235 * iconvdata/ibm4899.h: Likewise.
27236 * iconvdata/ibm4909.h: Likewise.
27237 * iconvdata/ibm4971.h: Likewise.
27238 * iconvdata/ibm5347.h: Likewise.
27239 * iconvdata/ibm803.h: Likewise.
27240 * iconvdata/ibm856.h: Likewise.
27241 * iconvdata/ibm901.h: Likewise.
27242 * iconvdata/ibm902.h: Likewise.
27243 * iconvdata/ibm9030.h: Likewise.
27244 * iconvdata/ibm9066.h: Likewise.
27245 * iconvdata/ibm921.h: Likewise.
27246 * iconvdata/ibm922.h: Likewise.
27247 * iconvdata/ibm9448.h: Likewise.
27248 * iconvdata/isiri-3342.h: Likewise.
27249 * iconvdata/jis0201.h: Likewise.
27250 * include/link.h: Likewise.
27251 * include/netdb.h: Likewise.
27252 * inet/check_native.c: Likewise.
27253 * inet/check_pf.c: Likewise.
27254 * inet/getipv4sourcefilter.c: Likewise.
27255 * inet/getnameinfo.c: Likewise.
27256 * inet/getsourcefilter.c: Likewise.
27257 * inet/htonl.c: Likewise.
27258 * inet/setipv4sourcefilter.c: Likewise.
27259 * inet/setsourcefilter.c: Likewise.
27260 * inet/test-inet6_opt.c: Likewise.
27261 * inet/tst-network.c: Likewise.
27262 * locale/C-collate.c: Likewise.
27263 * locale/C-ctype.c: Likewise.
27264 * locale/C-time.c: Likewise.
27265 * locale/C-translit.h: Likewise.
27266 * locale/loadarchive.c: Likewise.
27267 * locale/programs/3level.h: Likewise.
27268 * locale/programs/charmap.c: Likewise.
27269 * locale/programs/charmap.h: Likewise.
27270 * locale/programs/ld-address.c: Likewise.
27271 * locale/programs/ld-collate.c: Likewise.
27272 * locale/programs/ld-ctype.c: Likewise.
27273 * locale/programs/ld-identification.c: Likewise.
27274 * locale/programs/ld-measurement.c: Likewise.
27275 * locale/programs/ld-messages.c: Likewise.
27276 * locale/programs/ld-monetary.c: Likewise.
27277 * locale/programs/ld-name.c: Likewise.
27278 * locale/programs/ld-numeric.c: Likewise.
27279 * locale/programs/ld-paper.c: Likewise.
27280 * locale/programs/ld-telephone.c: Likewise.
27281 * locale/programs/ld-time.c: Likewise.
27282 * locale/programs/linereader.c: Likewise.
27283 * locale/programs/locale.c: Likewise.
27284 * locale/programs/locarchive.c: Likewise.
27285 * locale/programs/locfile.h: Likewise.
27286 * locale/programs/repertoire.c: Likewise.
27287 * locale/programs/simple-hash.c: Likewise.
27288 * locale/programs/simple-hash.h: Likewise.
27289 * malloc/memusage.c: Likewise.
27290 * malloc/memusagestat.c: Likewise.
27291 * nis/nis_defaults.c: Likewise.
27292 * nis/nis_hash.c: Likewise.
27293 * nis/nis_print.c: Likewise.
27294 * nis/nis_xdr.c: Likewise.
27295 * nscd/connections.c: Likewise.
27296 * nscd/hstcache.c: Likewise.
27297 * nscd/nscd_gethst_r.c: Likewise.
27298 * nscd/nscd_getserv_r.c: Likewise.
27299 * nscd/nscd_helper.c: Likewise.
27300 * nscd/servicescache.c: Likewise.
27301 * nss/makedb.c: Likewise.
27302 * nss/nss_db/db-XXX.c: Likewise.
27303 * nss/nss_db/db-initgroups.c: Likewise.
27304 * nss/nss_db/db-netgrp.c: Likewise.
27305 * nss/nss_files/files-network.c: Likewise.
27306 * nss/nss_files/files-parse.c: Likewise.
27307 * posix/bug-regex5.c: Likewise.
27308 * posix/fnmatch_loop.c: Likewise.
27309 * posix/regcomp.c: Likewise.
27310 * posix/regexec.c: Likewise.
27311 * posix/tst-rfc3484-2.c: Likewise.
27312 * posix/tst-rfc3484-3.c: Likewise.
27313 * posix/tst-rfc3484.c: Likewise.
27314 * resolv/nss_dns/dns-canon.c: Likewise.
27315 * resolv/nss_dns/dns-network.c: Likewise.
27316 * resolv/res_init.c: Likewise.
27317 * resolv/res_mkquery.c: Likewise.
27318 * resolv/tst-aton.c: Likewise.
27319 * stdlib/cxa_atexit.c: Likewise.
27320 * stdlib/cxa_finalize.c: Likewise.
27321 * stdlib/gen-fpioconst.c: Likewise.
27322 * stdlib/strtol_l.c: Likewise.
27323 * string/tst-endian.c: Likewise.
27324 * sunrpc/auth_des.c: Likewise.
27325 * sunrpc/clnt_udp.c: Likewise.
27326 * sunrpc/rtime.c: Likewise.
27327 * sunrpc/svcauth_des.c: Likewise.
27328 * sunrpc/xdr.c: Likewise.
27329 * sunrpc/xdr_intXX_t.c: Likewise.
27330 * sunrpc/xdr_rec.c: Likewise.
27331 * sysdeps/generic/ldconfig.h: Likewise.
27332 * sysdeps/generic/ldsodefs.h: Likewise.
27333 * sysdeps/generic/memusage.h: Likewise.
27334 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27335 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27336 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27337 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27338 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27340 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27341 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27343 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27344 * sysdeps/posix/getaddrinfo.c: Likewise.
27345 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27346 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27347 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27348 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27349 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27350 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27351 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27352 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27353 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27354 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27355 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27356 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27357 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27358 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27359 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27360 * sysdeps/x86_64/dl-tls.h: Likewise.
27361 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27362 * time/alt_digit.c: Likewise.
27363 * time/era.c: Likewise.
27364 * wcsmbs/tst-c16c32-1.c: Likewise.
27365
8c75f674
JM
273662013-05-16 Joseph Myers <joseph@codesourcery.com>
27367
27368 * math/libm-test.inc (struct test_sincos_data): New type.
27369 (RUN_TEST_LOOP_sincos): New macro.
27370 (sincos_test_data): New variable.
27371 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27372
e6e49e59
RH
273732013-05-16 Richard Henderson <rth@redhat.com>
27374
27375 * math/atest-exp2.c (LIMB64): New macro.
27376 (CONSTSZ): New macro.
27377 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27378 (hexdig): Move ...
27379 (print_mpn_fp): ... to function scope.
27380 (read_mpn_hex): Remove.
27381 (get_log2): Remove.
27382 (exp2_mpn): Use mp_log2.
27383 (main): Use mp_exp1.
27384
15c7c18d
JM
273852013-05-16 Joseph Myers <joseph@codesourcery.com>
27386
105a07df
JM
27387 * math/libm-test.inc: Remove comment about not testing "inexact"
27388 exceptions.
27389 (INEXACT_EXCEPTION): New macro.
27390 (NO_INEXACT_EXCEPTION): Likewise.
27391 (INVALID_EXCEPTION_OK): Update value.
27392 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27393 (OVERFLOW_EXCEPTION_OK): Likewise.
27394 (UNDERFLOW_EXCEPTION_OK): Likewise.
27395 (IGNORE_ZERO_INF_SIGN): Likewise.
27396 (ERRNO_UNCHANGED): Likewise.
27397 (ERRNO_EDOM): Likewise.
27398 (ERRNO_ERANGE): Likewise.
27399 (test_exceptions): Handle testing "inexact" exceptions.
27400 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27401 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27402 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27403 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27404 INEXACT_EXCEPTION.
27405 (rint_towardzero_test_data): Likewise.
27406 (rint_downward_test_data): Likewise.
27407 (rint_upward_test_data): Likewise.
27408
e9eee333
JM
27409 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27410 with OVERFLOW_EXCEPTION.
27411 (exp10_test_data): Likewise.
27412 (exp2_test_data): Likewise.
27413 (expm1_test_data): Likewise.
27414 (lgamma_test_data): Likewise.
27415 (pow_test_data): Likewise.
27416 (tgamma_test_data): Likewise.
27417 (yn_test_data): Remove duplicate test of overflow.
27418
1c38ff73
JM
27419 * math/libm-test.inc (struct test_cc_c_data): New type.
27420 (RUN_TEST_LOOP_cc_c): New macro.
27421 (cpow_test_data): New variable.
27422 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27423
15c7c18d
JM
27424 * math/libm-test.inc (struct test_f_L_data): New type.
27425 (RUN_TEST_LOOP_f_L): New macro.
27426 (llrint_test_data): New variable.
27427 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27428 (llrint_tonearest_test_data): New variable.
27429 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27430 (llrint_towardzero_test_data): New variable.
27431 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27432 (llrint_downward_test_data): New variable.
27433 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27434 (llrint_upward_test_data): New variable.
27435 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27436 (llround_test_data): New variable.
27437 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27438
f137ff13
PC
274392013-05-13 Peter Collingbourne <pcc@google.com>
27440
27441 * math/atest-exp2.c (get_log2): Remove const attribute.
27442
3608cb24
JM
274432013-05-15 Joseph Myers <joseph@codesourcery.com>
27444
27445 * math/libm-test.inc (struct test_f_l_data): New type.
27446 (RUN_TEST_LOOP_f_l): New macro.
27447 (lrint_test_data): New variable.
27448 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27449 (lrint_tonearest_test_data): New variable.
27450 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27451 (lrint_towardzero_test_data): New variable.
27452 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27453 (lrint_downward_test_data): New variable.
27454 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27455 (lrint_upward_test_data): New variable.
27456 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27457 (lround_test_data): New variable.
27458 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27459
39b1f617
PC
274602013-05-15 Peter Collingbourne <pcc@google.com>
27461
1deff3dc
PC
27462 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27463 (EXTRACT_WORDS64) Use where appropriate.
27464 (INSERT_WORDS64) Likewise.
27465
791f3ba0
PC
27466 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27467 constraints with x constraints.
27468 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27469
39b1f617
PC
27470 * malloc/obstack.c (_obstack_compat): Add initializer.
27471
12fba011
EM
274722013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27473
27474 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27475 si_trapno and add si_addr_lsb to _sifields.sigfault.
27476 (si_trapno): Remove macro.
27477 (si_addr_lsb): Define new macro.
27478 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27479
d369f531
JM
274802013-05-15 Joseph Myers <joseph@codesourcery.com>
27481
b861c6c4
JM
27482 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27483 instead of TEST_f_l.
27484 (llrint_test_tonearest): Likewise.
27485 (llrint_test_towardzero): Likewise.
27486 (llrint_test_downward): Likewise.
27487 (llrint_test_upward): Likewise.
27488 (llround_test): Likewise.
27489
7abeee12
JM
27490 * math/libm-test.inc (struct test_f_i_data): Add comment.
27491 (RUN_TEST_LOOP_f_b): New macro.
27492 (RUN_TEST_LOOP_f_b_tg): Likewise.
27493 (finite_test_data): New variable.
27494 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27495 (isfinite_test_data): New variable.
27496 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27497 (isinf_test_data): New variable.
27498 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27499 (isnan_test_data): New variable.
27500 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27501 (isnormal_test_data): New variable.
27502 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27503 (issignaling_test_data): New variable.
27504 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27505 (signbit_test_data): New variable.
27506 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27507
cbe8c4d3
JM
27508 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27509 with INVALID_EXCEPTION.
27510 (acosh_test_data): Likewise.
27511 (asin_test_data): Likewise.
27512 (atanh_test_data): Likewise.
27513 (fmod_test_data): Likewise.
27514 (log_test_data): Likewise.
27515 (log10_test_data): Likewise.
27516 (log2_test_data): Likewise.
27517 (pow_test_data): Likewise.
27518 (sqrt_test_data): Likewise.
27519 (y0_test_data): Likewise.
27520 (y1_test_data): Likewise.
27521 (yn_test_data): Likewise.
27522
5575c0e5
JM
27523 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27524 function contents.
27525
d369f531
JM
27526 * math/libm-test.inc (struct test_ff_i_data): New type.
27527 (RUN_TEST_LOOP_ff_i_tg): New macro.
27528 (isgreater_test_data): New variable.
27529 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27530 (isgreaterequal_test_data): New variable.
27531 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27532 (isless_test_data): New variable.
27533 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27534 (islessequal_test_data): New variable.
27535 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27536 (islessgreater_test_data): New variable.
27537 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27538 (isunordered_test_data): New variable.
27539 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27540
781fd748
DM
275412013-05-14 David S. Miller <davem@davemloft.net>
27542
27543 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27544
87aa21df
JM
275452013-05-14 Joseph Myers <joseph@codesourcery.com>
27546
5e908270
JM
27547 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27548
f71172e5
JM
27549 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27550 extra_test to int.
27551 (struct test_f_i_data): Change type of max_ulp to int.
27552
8cfa635a
JM
27553 * math/libm-test.inc (test_ffI_f1_data): New type.
27554 (RUN_TEST_LOOP_ffI_f1): New macro.
27555 (remquo_test_data): New variable.
27556 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27557
2bcb36b2
JM
27558 * setjmp/tst-setjmp-fp.c: New file.
27559 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27560 (link-libm): New variable.
27561 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27562
acbd839a
JM
27563 * math/libm-test.inc (struct test_f_i_data): New type.
27564 (RUN_TEST_LOOP_f_i): New macro.
27565 (RUN_TEST_LOOP_f_i_tg): Likewise.
27566 (fpclassify_test_data): New variable.
27567 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27568 (ilogb_test_data): New variable.
27569 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27570
e414d745
JM
27571 * math/libm-test.inc (scalbln_test): Correct function name in END
27572 call.
27573
d9c2a0fd
JM
27574 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27575 (RUN_TEST_LOOP_fI_f1): New macro.
27576 (frexp_test_data): New variable.
27577 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27578
9dc9095d
JM
27579 * math/libm-test.inc (struct test_fF_f1_data): New type.
27580 (RUN_TEST_LOOP_fF_f1): New macro.
27581 (modf_test_data): New variable.
27582 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27583
87aa21df
JM
27584 * math/libm-test.inc (struct test_f_f1_data): New type.
27585 (RUN_TEST_LOOP_f_f1): New macro.
27586 (gamma_test_data): New variable.
27587 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27588 (lgamma_test_data): New variable.
27589 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27590
141af660
CD
275912013-05-13 Carlos O'Donell <carlos@redhat.com>
27592
27593 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27594 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27595 (main): Comment "tls" pseudo-hwcap.
27596
6d33265c
JM
275972013-05-13 Joseph Myers <joseph@codesourcery.com>
27598
68fc074c
JM
27599 * math/libm-test.inc (struct test_fl_f_data): New type.
27600 (RUN_TEST_LOOP_fl_f): New variable.
27601 (scalbln_test_data): New variable.
27602 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27603
243216e1
JM
27604 * math/libm-test.inc (struct test_fi_f_data): New type.
27605 (RUN_TEST_LOOP_fi_f): New macro.
27606 (ldexp_test_data): New variable.
27607 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27608 (scalbn_test_data): New variable.
27609 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27610
6a1992e2
JM
27611 * math/libm-test.inc (struct test_c_f_data): New type.
27612 (RUN_TEST_LOOP_c_f): New macro.
27613 (cabs_test_data): New variable.
27614 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27615 (carg_test_data): New variable.
27616 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27617 (cimag_test_data): New variable.
27618 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27619 (creal_test_data): New variable.
27620 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27621
0e400df5
JM
27622 * math/libm-test.inc (struct test_if_f_data): New type.
27623 (RUN_TEST_LOOP_if_f): New macro.
27624 (jn_test_data): New variable.
27625 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27626 (yn_test_data): New variable.
27627 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27628
6d33265c
JM
27629 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27630
f98ece5f
AZ
276312013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27632
27633 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27634 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27635
0f7d347b
SP
276362013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27637
43fe811b
SP
27638 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27639 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27640 (bench-deps): Add bench-timing.h.
27641 * benchtests-bench-skeleton.c: Include bench-timing.h.
27642 (main): Use TIMING_* macros instead of clock_gettime.
27643 * benchtests/bench-timing.h: New file.
27644
0f7d347b
SP
27645 [BZ #14582]
27646 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27647 Renamed from _LIB_VERSION.
27648 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27649
601a3a5f
JM
276502013-05-12 Joseph Myers <joseph@codesourcery.com>
27651
4f184d30
JM
27652 * math/libm-test.inc (struct test_fff_f_data): New type.
27653 (RUN_TEST_LOOP_fff_f): New macro.
27654 (fma_test_data): New variable.
27655 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27656 (fma_towardzero_test_data): New variable.
27657 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27658 (fma_downward_test_data): New variable.
27659 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27660 (fma_upward_test_data): New variable.
27661 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27662
08198877
JM
27663 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27664 (struct test_c_c_data): New type.
27665 (RUN_TEST_LOOP_c_c): New macro.
27666 (cacos_test_data): New variable.
27667 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27668 (cacosh_test_data): New variable.
27669 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27670 (casin_test_data): New variable.
27671 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27672 (casinh_test_data): New variable.
27673 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27674 (catan_test_data): New variable.
27675 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27676 (catanh_test_data): New variable.
27677 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27678 (ccos_test_data): New variable.
27679 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27680 (ccosh_test_data): New variable.
27681 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27682 (cexp_test_data): New variable.
27683 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27684 (clog_test_data): New variable.
27685 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27686 (clog10_test_data): New variable.
27687 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27688 (conj_test_data): New variable.
27689 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27690 (cproj_test_data): New variable.
27691 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27692 (csin_test_data): New variable.
27693 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27694 (csinh_test_data): New variable.
27695 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27696 (csqrt_test_data): New variable.
27697 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27698 (ctan_test_data): New variable.
27699 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27700 (ctan_tonearest_test_data): New variable.
27701 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27702 (ctan_towardzero_test_data): New variable.
27703 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27704 (ctan_downward_test_data): New variable.
27705 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27706 (ctan_upward_test_data): New variable.
27707 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27708 (ctanh_test_data): New variable.
27709 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27710 (ctanh_tonearest_test_data): New variable.
27711 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27712 (ctanh_towardzero_test_data): New variable.
27713 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27714 (ctanh_downward_test_data): New variable.
27715 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27716 (ctanh_upward_test_data): New variable.
27717 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27718 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27719 of BUILD_COMPLEX.
27720
601a3a5f
JM
27721 * math/libm-test.inc (struct test_ff_f_data): New type.
27722 (struct test_ff_f_data_nexttoward): Likewise.
27723 (RUN_TEST_LOOP_2_f): New macro.
27724 (RUN_TEST_LOOP_ff_f): Likewise.
27725 (atan2_test_data): New variable.
27726 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27727 (copysign_test_data): New variable.
27728 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27729 (fdim_test_data): New variable.
27730 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27731 (fmax_test_data): New variable.
27732 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27733 (fmin_test_data): New variable.
27734 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27735 (fmod_test_data): New variable.
27736 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27737 (hypot_test_data): New variable.
27738 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27739 (nextafter_test_data): New variable.
27740 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27741 (nexttoward_test_data): New variable.
27742 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27743 (pow_test_data): New variable.
27744 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27745 (pow_tonearest_test_data): New variable.
27746 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27747 (pow_towardzero_test_data): New variable.
27748 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27749 (pow_downward_test_data): New variable.
27750 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27751 (pow_upward_test_data): New variable.
27752 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27753 (remainder_test_data): New variable.
27754 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27755 (scalb_test_data): New variable.
27756 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27758
74c57478
JM
277592013-05-11 Joseph Myers <joseph@codesourcery.com>
27760
8329e4da
JM
27761 * math/libm-test.inc (fma_test): Use max_value instead of local
27762 variable fltmax.
27763 (nextafter_test): Likewise.
27764
74c57478
JM
27765 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27766 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27767 (acos_downward_test_data): New variable.
27768 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27769 (acos_upward_test_data): New variable.
27770 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27771 (acosh_test_data): New variable.
27772 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27773 (asin_test_data): New variable.
27774 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27775 (asin_tonearest_test_data): New variable.
27776 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27777 (asin_towardzero_test_data): New variable.
27778 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27779 (asin_downward_test_data): New variable.
27780 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27781 (asin_upward_test_data): New variable.
27782 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27783 (asinh_test_data): New variable.
27784 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27785 (atan_test_data): New variable.
27786 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27787 (atanh_test_data): New variable.
27788 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27789 (cbrt_test_data): New variable.
27790 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27791 (ceil_test_data): New variable.
27792 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27793 (cos_test_data): New variable.
27794 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27795 (cos_tonearest_test_data): New variable.
27796 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27797 (cos_towardzero_test_data): New variable.
27798 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27799 (cos_downward_test_data): New variable.
27800 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27801 (cos_upward_test_data): New variable.
27802 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27803 (cosh_test_data): New variable.
27804 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27805 (cosh_tonearest_test_data): New variable.
27806 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27807 (cosh_towardzero_test_data): New variable.
27808 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27809 (cosh_downward_test_data): New variable.
27810 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27811 (cosh_upward_test_data): New variable.
27812 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27813 (erf_test_data): New variable.
27814 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27815 (erfc_test_data): New variable.
27816 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27817 (exp_test_data): New variable.
27818 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27819 (exp_tonearest_test_data): New variable.
27820 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27821 (exp_towardzero_test_data): New variable.
27822 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27823 (exp_downward_test_data): New variable.
27824 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27825 (exp_upward_test_data): New variable.
27826 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27827 (exp10_test_data): New variable.
27828 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27829 (exp2_test_data): New variable.
27830 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27831 (expm1_test_data): New variable.
27832 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27833 (fabs_test_data): New variable.
27834 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27835 (floor_test_data): New variable.
27836 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27837 (j0_test_data): New variable.
27838 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27839 (j1_test_data): New variable.
27840 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27841 (log_test_data): New variable.
27842 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27843 (log10_test_data): New variable.
27844 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27845 (log1p_test_data): New variable.
27846 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27847 (log2_test_data): New variable.
27848 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27849 (logb_test_data): New variable.
27850 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27851 (logb_downward_test_data): New variable.
27852 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27853 (nearbyint_test_data): New variable.
27854 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27855 (rint_test_data): New variable.
27856 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27857 (rint_tonearest_test_data): New variable.
27858 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27859 (rint_towardzero_test_data): New variable.
27860 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27861 (rint_downward_test_data): New variable.
27862 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27863 (rint_upward_test_data): New variable.
27864 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27865 (round_test_data): New variable.
27866 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27867 (sin_test_data): New variable.
27868 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27869 (sin_tonearest_test_data): New variable.
27870 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27871 (sin_towardzero_test_data): New variable.
27872 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27873 (sin_downward_test_data): New variable.
27874 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27875 (sin_upward_test_data): New variable.
27876 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27877 (sinh_test_data): New variable.
27878 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27879 (sinh_tonearest_test_data): New variable.
27880 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27881 (sinh_towardzero_test_data): New variable.
27882 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27883 (sinh_downward_test_data): New variable.
27884 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27885 (sinh_upward_test_data): New variable.
27886 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27887 (sqrt_test_data): New variable.
27888 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27889 (tan_test_data): New variable.
27890 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27891 (tan_tonearest_test_data): New variable.
27892 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27893 (tan_towardzero_test_data): New variable.
27894 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27895 (tan_downward_test_data): New variable.
27896 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27897 (tan_upward_test_data): New variable.
27898 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27899 (tanh_test_data): New variable.
27900 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27901 (tgamma_test_data): New variable.
27902 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27903 (trunc_test_data): New variable.
27904 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27905 (y0_test_data): New variable.
27906 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27907 (y1_test_data): New variable.
27908 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27909 (significand_test_data): New variable.
27910 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27911
7187d844
CG
279122013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27913
27914 [BZ #12387]
27915 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27916
f63fae73
PT
279172013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27918
27919 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27920
8a67a4b3
AJ
279212013-05-10 Andreas Jaeger <aj@suse.de>
27922
27923 [BZ #15448]
27924 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27925 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27926
51df539d
JM
279272013-05-10 Joseph Myers <joseph@codesourcery.com>
27928
27929 * math/gen-libm-test.pl (adjust_arg): New function.
27930 (special_functions): Handle generating output in both functions
27931 and arrays.
27932 (parse_args): Likewise.
27933 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27934 $in_func argument to parse_args.
27935 * math/libm-test.inc (struct test_f_f_data): New type.
27936 (IF_ROUND_INIT_): New macro.
27937 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27938 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27939 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27940 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27941 (ROUND_RESTORE_): Likewise.
27942 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27943 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27944 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27945 (ROUND_RESTORE_FE_UPWARD): Likewise.
27946 (RUN_TEST_LOOP_f_f): New macro.
27947 (acos_test_data): New variable.
27948 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27949 (acos_tonearest_test_data): New variable.
27950 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27951
5c637fe5
SP
279522013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27953
27954 * benchtests/bench-skeleton.c (startup): Fix coding style.
27955
ab2b9461
JM
279562013-05-10 Joseph Myers <joseph@codesourcery.com>
27957
27958 [BZ #6809]
27959 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27960 negative infinity argument.
27961 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27962 negative infinity argument.
27963 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27964 negative infinity argument.
27965 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27966 domain errors.
27967
4c0fe6fe
FW
279682013-05-10 Florian Weimer <fweimer@redhat.com>
27969
27970 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27971 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27972 * iconv/iconv_prog.c (main): Likewise.
27973 * locale/programs/charmap-dir.c (charmap_readdir)
27974 (fopen_uncompressed): Likewise.
27975 * locale/programs/locfile.c (siblings_uncached)
27976 (write_locale_data): Use lstat64 instead of lstat.
27977 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27978 stat.
27979
a3375d29
AJ
279802013-05-10 Andreas Jaeger <aj@suse.de>
27981
27982 [BZ #15395]
27983 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27984 localization.
27985 Include <locale.h>.
27986
36129722
CD
279872013-05-09 Carlos O'Donell <carlos@redhat.com>
27988
27989 * elf/dl-close.c (_dl_close_worker): Add comments.
27990
faa7f811
JM
279912013-05-09 Joseph Myers <joseph@codesourcery.com>
27992
ed41ffef
JM
27993 [BZ #15359]
27994 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27995 high part of pi/2.
27996 (__ieee754_rem_pio2l): Update comments.
27997
d0213cd0
JM
27998 [BZ #15429]
27999 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28000 high part of pi/2.
28001 (__ieee754_rem_pio2l): Update comments.
28002
0d3e777a
JM
28003 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28004 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28005
24f56066
JM
28006 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28007 M_PI_4l.
28008
faa7f811
JM
28009 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28010 (M_PI_34_LOG10El): Likewise.
28011 (M_PI2_LOG10El): Likewise.
28012 (M_PI4_LOG10El): Likewise.
28013 (M_PI_LOG10El): Likewise.
28014
e9a5e0fd
AZ
280152013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28016
28017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28018
d8cd06db
JM
280192013-05-08 Joseph Myers <joseph@codesourcery.com>
28020
a0d9f9d7
JM
28021 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28022 (MINUS_ZERO_INIT): Likewise.
28023 (PLUS_INFTY_INIT): Likewise.
28024 (MINUS_INFTY_INIT): Likewise.
28025 (QNAN_VALUE_INIT): Likewise.
28026 (MAX_VALUE_INIT): Likewise.
28027 (MIN_VALUE_INIT): Likewise.
28028 (MIN_SUBNORM_VALUE_INIT): Likewise.
28029 (plus_zero): Initialize with PLUS_ZERO_INIT.
28030 (minus_zero): Initialize with MINUS_ZERO_INIT.
28031 (plus_infty): Initialize with PLUS_INFTY_INIT.
28032 (minus_infty): Initialize with MINUS_INFTY_INIT.
28033 (qnan_value): Initialize with QNAN_VALUE_INIT.
28034 (max_value): Initialize with MAX_VALUE_INIT.
28035 (min_value): Initialize with MIN_VALUE_INIT.
28036 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28037
ae08db3b
JM
28038 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28039 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28040 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28041 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28042
f44bf14a
JM
28043 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28044 (RUN_TEST_2_f): Likewise.
28045 (RUN_TEST_ff_f): Likewise.
28046 (RUN_TEST_fi_f): Likewise.
28047 (RUN_TEST_fl_f): Likewise.
28048 (RUN_TEST_fff_f): Likewise.
28049 (RUN_TEST_c_f): Likewise.
28050 (RUN_TEST_f_f1): Likewise.
28051 (RUN_TEST_fF_f1): Likewise.
28052 (RUN_TEST_fI_f1): Likewise.
28053 (RUN_TEST_ffI_f1): Likewise.
28054 (RUN_TEST_c_c): Likewise.
28055 (RUN_TEST_cc_c): Likewise.
28056 (RUN_TEST_f_i): Likewise.
28057 (RUN_TEST_f_i_tg): Likewise.
28058 (RUN_TEST_ff_i_tg): Likewise.
28059 (RUN_TEST_f_b): Likewise.
28060 (RUN_TEST_f_b_tg): Likewise.
28061 (RUN_TEST_f_l): Likewise.
28062 (RUN_TEST_f_L): Likewise.
28063 (RUN_TEST_sincos): Likewise.
28064 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28065 whether to show exceptions. Do not include ");\n" in return
28066 value.
28067 (special_functions): Output call to RUN_TEST_sincos instead of
28068 check_float calls. Update calls to new_test.
28069 (parse_args): Output call to single RUN_TEST_* macro instead of
28070 check_* calls and other assignments. Update calls to new_test.
28071
d8cd06db
JM
28072 [BZ #2546]
28073 [BZ #2560]
28074 [BZ #5159]
28075 [BZ #15426]
28076 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28077 input to result for tgamma overflow.
28078 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28079 (gamma_coeff): New variable.
28080 (NCOEFF): New macro.
28081 (gamma_positive): New function.
28082 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28083 underflow here. Use gamma_positive instead of exp (lgamma) for
28084 other arguments.
28085 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28086 (gamma_coeff): New variable.
28087 (NCOEFF): New macro.
28088 (gammaf_positive): New function.
28089 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28090 underflow here. Use gamma_positive instead of exp (lgamma) for
28091 other arguments.
28092 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28093 (gamma_coeff): New variable.
28094 (NCOEFF): New macro.
28095 (gammal_positive): New function.
28096 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28097 underflow here. Use gamma_positive instead of exp (lgamma) for
28098 other arguments.
28099 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28100 (gamma_coeff): New variable.
28101 (NCOEFF): New macro.
28102 (gammal_positive): New function.
28103 (__ieee754_gammal_r): Handle positive infinity, overflow and
28104 underflow here. Handle NaN the same as positive infinity. Remove
28105 check x < 0xffffffff for negative integers. Use gamma_positive
28106 instead of exp (lgamma) for other arguments.
28107 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28108 (gamma_coeff): New variable.
28109 (NCOEFF): New macro.
28110 (gammal_positive): New function.
28111 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28112 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28113 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28114 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28115 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28116 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28117 * sysdeps/generic/math_private.h (__gamma_productf): New
28118 prototype.
28119 (__gamma_product): Likewise.
28120 (__gamma_productl): Likewise.
28121 * math/Makefile (libm-calls): Add gamma_product.
28122 * math/libm-test.inc (tgamma_test): Add more tests.
28123 * sysdeps/i386/fpu/libm-test-ulps: Update.
28124 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28125
bb7cf681
OB
281262013-05-08 Ondřej Bílka <neleai@seznam.cz>
28127
28128 * benchtests/bench-skeleton.c (main): Preheat CPU.
28129
ba853947
AJ
281302013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28131
28132 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28133
8347c74c
RM
281342013-05-07 Roland McGrath <roland@hack.frob.com>
28135
28136 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28137 and _dl_skip_args_internal.
28138
e8dd4791
CD
281392013-05-07 Carlos O'Donell <carlos@redhat.com>
28140
28141 * manual/message.texi (Message Translation): Talk about users.
28142 Message to key mapping impacts design.
28143
c7405830
RM
281442013-05-06 Roland McGrath <roland@hack.frob.com>
28145
a9173057
RM
28146 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28147
976e2f03
RM
28148 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28149
9723ffc5
RM
28150 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28151 * sysdeps/wordsize-64/glob64.c: ... here.
28152
962e6658
RM
28153 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28154 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28155 New macros.
28156
ee586a6d
RM
28157 * debug/getlogin_r_chk.c: Moved to ...
28158 * login/getlogin_r_chk.c: ... here.
28159 * debug/Makefile (routines): Move getlogin_r_chk to ...
28160 * login/Makefile (routines): ... here.
28161 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28162 * login/Versions (libc: GLIBC_2.4): ... here.
28163
355f9165
RM
28164 * io/poll.c (__poll): Renamed from poll.
28165 Add libc_hidden_def.
28166 (poll): Define as weak alias.
28167
bd9ffde6
RM
28168 * debug/ptsname_r_chk.c: Moved to ...
28169 * login/ptsname_r_chk.c: ... here.
28170 * debug/Makefile (routines): Move ptsname_r_chk to ...
28171 * login/Makefile (routines): ... here.
28172 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28173 * login/Versions (libc: GLIBC_2.4): ... here.
28174
8fb16a04
RM
28175 * posix/getlogin.c: Moved to ...
28176 * login/getlogin.c: ... here.
28177 * posix/getlogin_r.c: Moved to ...
28178 * login/getlogin_r.c: ... here.
28179 * posix/getlogin_r.c: Moved to ...
28180 * login/getlogin_r.c: ... here.
28181 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28182 * login/Makefile (routines): ... here.
28183 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28184 * login/Versions (libc: GLIBC_2.0): ... here.
28185
b99b892f
RM
28186 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28187 (setrlimit): Define as weak alias.
28188
c7405830
RM
28189 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28190 Call __ names for open, ftruncate, and close.
28191 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28192 (truncate): Define as weak alias.
28193
5bf96de5
JM
281942013-05-06 Joseph Myers <joseph@codesourcery.com>
28195
9ea3513c
JM
28196 * math/gen-libm-test.pl (parse_args): Initialize x before each
28197 test of frexp, modf and remquo.
28198
5bf96de5
JM
28199 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28200 test signgam value.
28201
16e616a7
AZ
282022013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28203
28204 [BZ #15418]
28205 [BZ #15419]
28206 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28207 internal tests.
28208 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28209
d5e82754
RM
282102013-05-06 Roland McGrath <roland@hack.frob.com>
28211
28212 * elf/dl-writev.h: New file.
28213 * elf/dl-misc.c: Include it.
28214 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28215 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28216
a7548d41
JM
282172013-05-04 Joseph Myers <joseph@codesourcery.com>
28218
b7dab1e4
JM
28219 * math/libm-test.inc (noXFails): Remove variable.
28220 (noXPasses): Likewise.
28221 (BUILD_COMPLEX_INT): Remove macro.
28222 (print_screen): Remove xfail argument.
28223 (print_screen_max_error): Likewise.
28224 (update_stats): Likewise.
28225 (print_max_error): Likewise. Update calls to other affected
28226 functions.
28227 (print_complex_max_error): Likewise.
28228 (test_single_exception): Update calls to print_screen.
28229 (test_single_errno): Likewise.
28230 (check_float_internal): Remove xfail argument. Update calls to
28231 other affected functions.
28232 (check_float): Likewise.
28233 (check_complex): Likewise.
28234 (check_int): Likewise.
28235 (check_long): Likewise.
28236 (check_bool): Likewise.
28237 (check_longlong): Likewise.
28238 (main): Don't print noXFails and noXPasses.
28239 * math/gen-libm-test.pl (top level): Don't mention expected
28240 failure handling in comment.
28241 (new_test): Don't handle expected failures.
28242 (parse_args): Don't mention expected failure handling in comment.
28243 (generate_testfile): Don't handle expected failures.
28244 (parse_ulps): Likewise.
28245 (print_ulps_file): Likewise.
28246 (get_failure): Remove function.
28247 (output_test): Don't handle expected failures.
28248 * make/README.libm-test: Don't mention expected failure handling.
28249
a7548d41
JM
28250 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28251 (minus_zero): Likewise.
28252 (plus_infty): Likewise.
28253 (minus_infty): Likewise.
28254 (qnan_value): Likewise.
28255 (max_value): Likewise.
28256 (min_value): Likewise.
28257 (min_subnorm_value): Likewise.
28258 (initialize): Do not initialize those variables dynamically.
28259
60bfd54c
RM
282602013-05-03 Roland McGrath <roland@hack.frob.com>
28261
cc0e6ed8
RM
28262 * io/open.c (__open_2): Moved to ...
28263 * io/open_2.c: ... this new file.
28264 * io/open64.c (__open64_2): Moved to ...
28265 * io/open64_2.c: ... this new file.
28266 * io/openat.c (__openat_2): Moved to ...
28267 * io/openat_2.c: ... this new file.
28268 * io/openat64.c (__openat64_2): Moved to ...
28269 * io/openat64_2.c: ... this new file.
28270 * io/Makefile (routines): Add them.
28271 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28272 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28273 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28274 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28275 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28276 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28277 (__openat64): Add hidden_ver.
28278 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28279 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28280
60bfd54c
RM
28281 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28282 Separately conditionalize setting of GLRO(dl_sysinfo) so
28283 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28284 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28285
83e7640f
AZ
282862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28287
28288 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28289 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28290 definition.
28291 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28292 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28293 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28294 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28295 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28296
d5dc2af3
JM
282972013-05-03 Joseph Myers <joseph@codesourcery.com>
28298
c31a5b1e
JM
28299 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28300 test signgam value.
28301
d5dc2af3
JM
28302 * math/libm-test.inc (hypot_test): Do not use
28303 IGNORE_ZERO_INF_SIGN.
28304
164fd39d
AJ
283052013-05-03 Andreas Jaeger <aj@suse.de>
28306
28307 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28308 Linux 3.9.
28309 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28310 (PF_MAX): Adjust for VSOCK change.
28311
8237f48c
AZ
283122013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28313
28314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28315
9df02941
CD
283162013-05-02 Carlos O'Donell <carlos@redhat.com>
28317
28318 [BZ #15264]
28319 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28320 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28321 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28322
d422395e
DM
283232013-05-02 David S. Miller <davem@davemloft.net>
28324
28325 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28326
a07c5731
OB
283272013-05-01 Ondřej Bílka <neleai@seznam.cz>
28328
28329 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28330
1324e37f
RM
283312013-05-01 Roland McGrath <roland@hack.frob.com>
28332
28333 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28334
0695940b
RS
283352013-05-01 Richard Smith <richard@metafoo.co.uk>
28336
bb5f27ad 28337 [BZ #14952]
0695940b
RS
28338 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28339 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28340 Use __attribute__ ((__gnu_inline__)).
28341 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28342 Don't use __attribute__ ((__gnu_inline__)).
28343
10de07f5
JM
283442013-05-01 Joseph Myers <joseph@codesourcery.com>
28345
28346 [BZ #15423]
28347 * math/s_catan.c (__catan): Handle small real or imaginary part of
28348 input specially to avoid spurious underflow.
28349 * math/s_catanf.c (__catanf): Likewise.
28350 * math/s_catanh.c (__catanh): Likewise.
28351 * math/s_catanhf.c (__catanhf): Likewise.
28352 * math/s_catanhl.c (__catanhl): Likewise.
28353 * math/s_catanl.c (__catanl): Likewise.
28354 * math/libm-test.inc (catan_test): Add more tests.
28355 (catanh_test): Likewise.
28356 * sysdeps/i386/fpu/libm-test-ulps: Update.
28357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28358
cb4d5414
AZ
283592013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28360
28361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28362
caf84319
JM
283632013-04-30 Joseph Myers <joseph@codesourcery.com>
28364
28365 [BZ #15416]
28366 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28367 accurately for denominator in atan2.
28368 * math/s_catanf.c (__catanf): Likewise.
28369 * math/s_catanh.c (__catanh): Likewise.
28370 * math/s_catanhf.c (__catanhf): Likewise.
28371 * math/s_catanhl.c (__catanhl): Likewise.
28372 * math/s_catanl.c (__catanl): Likewise.
28373 * math/libm-test.inc (catan_test): Add more tests.
28374 (catanh_test): Likewise.
28375 * sysdeps/i386/fpu/libm-test-ulps: Update.
28376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28377
d569c6ee
SP
283782013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28379
6dbe713d
SP
28380 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28381
f0ee064b
SP
28382 * benchtests/Makefile (bench): Remove slow benchmarks.
28383 * benchtests/atan-inputs: Add slow benchmark inputs.
28384 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28385 (BENCH_FUNC): Accept variant offset.
28386 (VARIANT): Define.
28387 * benchtests/bench-skeleton.c (main): Run benchmark for each
28388 variant.
28389 * benchtests/cos-inputs: Add slow benchmark inputs.
28390 * benchtests/exp-inputs: Likewise.
28391 * benchtests/pow-inputs: Likewise.
28392 * benchtests/sin-inputs: Likewise.
28393 * benchtests/slowatan-inputs: Remove.
28394 * benchtests/slowatan.c: Remove.
28395 * benchtests/slowcos-inputs: Remove.
28396 * benchtests/slowcos.c: Remove.
28397 * benchtests/slowexp-inputs: Remove.
28398 * benchtests/slowexp.c: Remove.
28399 * benchtests/slowpow-inputs: Remove.
28400 * benchtests/slowpow.c: Remove.
28401 * benchtests/slowsin-inputs: Remove.
28402 * benchtests/slowsin.c: Remove.
28403 * benchtests/slowtan-inputs: Remove.
28404 * benchtests/slowtan.c: Remove.
28405 * benchtests/tan-inputs: Add slow benchmark inputs.
28406 * scripts/bench.pl: Parse comments and directives.
28407
d569c6ee
SP
28408 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28409 in CPPFLAGS.
28410 ($(objpfx)bench-%.c): Remove *-ITER.
28411 * benchtests/bench-modf.c: Remove definition of ITER.
28412 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28413 (main): Loop for DURATION seconds instead of fixed number of
28414 iterations.
28415 * scripts/bench.pl: Don't expect iterations in parameters.
28416
a6a242fe
RM
284172013-04-29 Roland McGrath <roland@hack.frob.com>
28418
28419 * io/fchdir.c (__fchdir): Renamed from fchdir.
28420 (fchdir): Define as weak alias.
28421
f2da7793
JM
284222013-04-29 Joseph Myers <joseph@codesourcery.com>
28423
28424 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28425 (ERRNO_EDOM): Likewise.
28426 (ERRNO_ERANGE): Likewise.
28427 (noErrnoTests): New variable.
28428 (init_max_error): Set errno to 0.
28429 (test_single_errno): New function.
28430 (test_errno): Likewise.
28431 (check_float_internal): Call test_errno. Set errno to 0.
28432 (check_complex): Refer to errno tests in comment.
28433 (check_int): Call test_errno. Set errno to 0.
28434 (check_long): Likewise.
28435 (check_bool): Likewise.
28436 (check_longlong): Likewise.
28437 (cos_test): Use ERRNO_* flags for errno tests instead of
28438 check_int.
28439 (expm1_test): Likewise.
28440 (fmod_test): Likewise.
28441 (ilogb_test): Likewise.
28442 (lgamma_test): Likewise.
28443 (pow_test): Likewise.
28444 (remainder_test): Likewise.
28445 (sin_test): Likewise.
28446 (tan_test): Likewise.
28447 (yn_test): Likewise.
28448 (initialize): Set errno to 0.
28449 (main): Print number of errno tests.
28450 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28451
b1a36ceb
AJ
284522013-04-29 Andreas Jaeger <aj@suse.de>
28453
c3ed8088
AJ
28454 [BZ #15084]
28455 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28456 and RES_USEVC.
28457
f1a24198
AJ
28458 [BZ #15085]
28459 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28460 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28461 unimplemented.
28462
9ce3b2cb
AJ
28463 [BZ #15380]
28464 * stdlib/random.c (__initstate): Return NULL if
28465 __initstate fails.
28466
f1a24198 28467 [BZ #15086]
b1a36ceb
AJ
28468 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28469 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28470 RES_SNGLKUPREOP.
28471
7e7b6f36
AZ
284722013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28473
28474 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28475
4d14f449
JM
284762013-04-29 Joseph Myers <joseph@codesourcery.com>
28477
28478 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28479 of individual tests.
28480 (casin_test): Likewise.
28481 (casinh_test): Likewise.
28482
5b4217d7
JM
284832013-04-27 Joseph Myers <joseph@codesourcery.com>
28484
28485 [BZ #15409]
28486 * math/s_catan.c (__catan): Handle arguments with large real or
28487 imaginary part separately without squaring.
28488 * math/s_catanf.c (__catanf): Likewise.
28489 * math/s_catanh.c (__catanh): Likewise.
28490 * math/s_catanhf.c (__catanhf): Likewise.
28491 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28492 and redefine.
28493 (__catanhl): Handle arguments with large real or imaginary part
28494 separately without squaring.
28495 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28496 and redefine.
28497 (__catanl): Handle arguments with large real or imaginary part
28498 separately without squaring.
28499 * math/libm-test.inc (catan_test): Add more tests.
28500 (catanh_test): Likewise.
28501 * sysdeps/i386/fpu/libm-test-ulps: Update.
28502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28503
4220c3ef
AJ
285042013-04-27 Andreas Jaeger <aj@suse.de>
28505
28506 [BZ #15007]
28507 * stdlib/stdlib.h: Update guards for qecvt.
28508 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28509 <stdlib.h>.
28510
4721b2d1
AM
285112013-04-27 Allan McRae <allan@archlinux.org>
28512
28513 * sysdeps/i386/fpu/libm-test-ulps: Update.
28514
f0302940
JM
285152013-04-26 Joseph Myers <joseph@codesourcery.com>
28516
9457fd95
JM
28517 [BZ #15406]
28518 * math/s_catan.c: Include <float.h>.
28519 (__catan): Ensure underflow exception occurs for underflowed
28520 result.
28521 * math/s_catanf.c: Include <float.h>.
28522 (__catanf): Ensure underflow exception occurs for underflowed
28523 result.
28524 * math/s_catanh.c: Include <float.h>.
28525 (__catanh): Ensure underflow exception occurs for underflowed
28526 result.
28527 * math/s_catanhf.c: Include <float.h>.
28528 (__catanhf): Ensure underflow exception occurs for underflowed
28529 result.
28530 * math/s_catanhl.c: Include <float.h>.
28531 (__catanhl): Ensure underflow exception occurs for underflowed
28532 result.
28533 * math/s_catanl.c: Include <float.h>.
28534 (__catanl): Ensure underflow exception occurs for underflowed
28535 result.
28536 * math/libm-test.inc (catan_test): Add more tests.
28537 (catanh_test): Likewise.
28538
f0302940
JM
28539 [BZ #15405]
28540 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28541 underflowed result.
28542 * math/s_ccoshf.c (__ccoshf): Likewise.
28543 * math/s_ccoshl.c (__ccoshl): Likewise.
28544 * math/s_csin.c (__csin): Likewise.
28545 * math/s_csinf.c (__csinf): Likewise.
28546 * math/s_csinh.c (__csinh): Likewise.
28547 * math/s_csinhf.c (__csinhf): Likewise.
28548 * math/s_csinhl.c (__csinhl): Likewise.
28549 * math/s_csinl.c (__csinl): Likewise.
28550 * math/libm-test.inc (ccos_test): Add more tests.
28551 (ccosh_test): Likewise.
28552 (csin_test): Likewise.
28553 (csinh_test): Likewise.
28554
aa630f59
AZ
285552013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28556
28557 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28558 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28559 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28560 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28561 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28562 powerpc/power5+/fpu folders.
28563 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28564
28565
1b835983
MT
285662013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28567
28568 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28569
73709b26
JM
285702013-04-25 Joseph Myers <joseph@codesourcery.com>
28571
28572 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28573 additions to variable.
28574 [$(config-machine) = x86_64] (modules-names): Likewise.
28575 ($(objpfx)tst-audit3): Remove dependency.
28576 ($(objpfx)tst-audit3.out): Likewise.
28577 ($(objpfx)tst-audit4): Likewise.
28578 ($(objpfx)tst-audit4.out): Likewise.
28579 ($(objpfx)tst-audit5): Likewise.
28580 ($(objpfx)tst-audit5.out): Likewise.
28581 ($(objpfx)tst-audit6): Likewise.
28582 ($(objpfx)tst-audit6.out): Likewise.
28583 ($(objpfx)tst-audit7): Likewise.
28584 ($(objpfx)tst-audit7.out): Likewise.
28585 (tst-audit3-ENV): Remove variable.
28586 (tst-audit4-ENV): Likewise.
28587 (tst-audit5-ENV): Likewise.
28588 (tst-audit6-ENV): Likewise.
28589 (tst-audit7-ENV): Likewise.
28590 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28591 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28592 addition to variable.
28593 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28594 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28595 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28596 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28597 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28598 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28599 tst-audit3, tst-audit4 and tst-audit5.
28600 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28601 tst-audit6 and tst-audit7.
28602 [$(subdir) = elf] (modules-names): Add audit modules for those
28603 tests.
28604 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28605 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28606 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28607 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28608 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28609 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28610 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28611 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28612 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28613 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28614 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28615 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28616 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28617 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28618 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28619 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28620 Likewise.
28621 [$(subdir) = elf && $(config-cflags-avx) = yes]
28622 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28623 [$(subdir) = elf && $(config-cflags-avx) = yes]
28624 (CFLAGS-tst-auditmod4a.c): Likewise.
28625 [$(subdir) = elf && $(config-cflags-avx) = yes]
28626 (CFLAGS-tst-auditmod4b.c): Likewise.
28627 [$(subdir) = elf && $(config-cflags-avx) = yes]
28628 (CFLAGS-tst-auditmod6b.c): Likewise.
28629 [$(subdir) = elf && $(config-cflags-avx) = yes]
28630 (CFLAGS-tst-auditmod6c.c): Likewise.
28631 [$(subdir) = elf && $(config-cflags-avx) = yes]
28632 (CFLAGS-tst-auditmod7b.c): Likewise.
28633 * elf/tst-audit3.c: Move to ...
28634 * sysdeps/x86_64/tst-audit3.c: ... here.
28635 * elf/tst-audit4.c: Move to ...
28636 * sysdeps/x86_64/tst-audit4.c: ... here.
28637 * elf/tst-audit5.c: Move to ...
28638 * sysdeps/x86_64/tst-audit5.c: ... here.
28639 * elf/tst-audit6.c: Move to ...
28640 * sysdeps/x86_64/tst-audit6.c: ... here.
28641 * elf/tst-audit7.c: Move to ...
28642 * sysdeps/x86_64/tst-audit7.c: ... here.
28643 * elf/tst-auditmod3a.c: Move to ...
28644 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28645 * elf/tst-auditmod3b.c: Move to ...
28646 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28647 * elf/tst-auditmod4a.c: Move to ...
28648 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28649 * elf/tst-auditmod4b.c: Move to ...
28650 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28651 * elf/tst-auditmod5a.c: Move to ...
28652 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28653 * elf/tst-auditmod5b.c: Move to ...
28654 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28655 * elf/tst-auditmod6a.c: Move to ...
28656 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28657 * elf/tst-auditmod6b.c: Move to ...
28658 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28659 * elf/tst-auditmod6c.c: Move to ...
28660 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28661 * elf/tst-auditmod7a.c: Move to ...
28662 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28663 * elf/tst-auditmod7b.c: Move to ...
28664 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28665
1ef74943
PP
286662013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28667
28668 [BZ #15366]
28669 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28670 define unconditionally.
28671 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28672 define unconditionally.
28673 (INT8_C, INT16_C, etc.): Likewise.
28674
93fd48c5
MR
286752013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28676
ae9552cf
MR
28677 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28678 __ehdr_start with hidden visibility.
28679
93fd48c5
MR
28680 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28681
418601aa
CD
286822013-04-24 Carlos O'Donell <carlos@redhat.com>
28683
28684 * math/libm-test.inc (cos_test): Use accurate hex constants.
28685 (sincost_test): Likewise.
28686
2f38fbfe
JM
286872013-04-24 Joseph Myers <joseph@codesourcery.com>
28688
5e221800
JM
28689 * math/libm-test.inc (catan_test): Add more tests.
28690 (catanh_test): Likewise.
28691
77f143fd
JM
28692 * math/s_catanf.c (__catanf): Use suffixed floating-point
28693 constants.
28694 * math/s_catanhf.c (__catanhf): Likewise.
28695 * math/s_catanhl.c (__catanhl): Likewise.
28696 * math/s_catanl.c (__catanl): Likewise.
28697
2f38fbfe
JM
28698 [BZ #15394]
28699 * math/s_catan.c (__catan): Calculate imaginary part of result
28700 with log1p not log unless computing log of number close to 0.
28701 * math/s_catanf.c (__catanf): Likewise.
28702 * math/s_catanl.c (__catanl): Likewise.
28703 * math/s_catanh.c (__catanh): Calculate real part of result with
28704 log1p not log unless computing log of number close to 0.
28705 * math/s_catanhf.c (__catanhf): Likewise.
28706 * math/s_catanhl.c (__catanhl): Likewise.
28707 * math/libm-test.inc (catan_test): Add more tests.
28708 (catanh_test): Likewise.
28709 * sysdeps/i386/fpu/libm-test-ulps: Update.
28710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28711
45d69176
SP
287122013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28713
28714 * benchtests/Makefile: Mention files in which fast and slow
28715 paths of math functions are implemented.
28716
87f51853
RM
287172013-04-23 Roland McGrath <roland@hack.frob.com>
28718
28719 * sysdeps/posix/timespec_get.c: New file.
28720
3c026539
AZ
287212013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28722
28723 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28724 POWER.
28725 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28726 for POWER.
28727 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28728 powerpc/power5/fpu folders.
28729 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28730 * benchtests/Makefile: Add modf testcase.
28731 * benchtests/bench-modf.c: New file: Benchmark test for mo
28732
ff491d14
SP
287332013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28734
28735 [BZ #14888]
28736 * time/Makefile (tests): Add tst-strptime-whitespace.
28737 * time/strptime_l.c (get_number): Use ISSPACE.
28738 (__strptime_internal): Likewise.
28739 * time/tst-strptime-whitespace.c: New test case.
28740
7ed3f4e8
AS
287412013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28742
28743 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28744 member.
28745 (_nss_files_init): Set it here.
28746
5c95f7b6
HC
287472013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28748
28749 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28750 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28751 unsigned.
28752
d34c9158
JBG
287532013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28754
28755 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28756
2169712d
SP
287572013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28758
28759 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28760 size just once.
28761
29c5de99
DM
287622013-04-21 David S. Miller <davem@davemloft.net>
28763
28764 * po/ru.po: Update Russion translation from translation project.
28765
ccdad15d
AC
287662013-04-17 Adam Conrad <adconrad@0c3.net>
28767
28768 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28769 and setfsgid.
28770
0f122b8d
CD
287712013-04-17 Carlos O'Donell <carlos@redhat.com>
28772
5c5b07da 28773 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28774 * configure: Regenerate.
5c5b07da 28775 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28776 Add example to error message.
28777 * sysdeps/i386/configure: Regenerate.
28778
037714dd
SP
287792013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28780
28781 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28782 slowtan.
28783 * benchtests/cos-inputs: New file.
28784 * benchtests/slowcos-inputs: New file.
28785 * benchtests/slowcos.c: New file.
28786 * benchtests/slowtan-inputs: New file.
28787 * benchtests/slowtan.c: New file.
28788 * benchtests/tan-inputs: New file.
28789
e913141d
RM
287902013-04-16 Roland McGrath <roland@hack.frob.com>
28791
28792 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28793 considered kosher.
28794
a2964074
SP
287952013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28796
4856bcd2
SP
28797 * benchtests/Makefile: Include cppflags-iterator.mk to add
28798 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28799
a2964074
SP
28800 * Makefile.in (bench-clean): New target.
28801 * benchtests/Makefile (bench-clean): Likewise.
28802
9fbf9aca
DH
288032013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28804
28805 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28806
207d1e2a
TS
288072013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28808
28809 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28810
306dfba9
AS
288112013-04-15 Andreas Schwab <schwab@suse.de>
28812
28813 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28814 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28815 * nscd/pwdcache.c (cache_addpw): Likewise.
28816 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28817 more than recsize.
28818
206a6699
SP
288192013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28820
28821 * benchtests/Makefile (bench): Write all output to
28822 bench-out.tmp together.
28823
0582f6b3
AS
288242013-04-15 Andreas Schwab <schwab@suse.de>
28825
28826 * nscd/nscd.c (main): Don't fork again after closing files.
28827
acb4325f
SP
288282013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28829
5cb26d0a
SP
28830 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28831
acb4325f
SP
28832 * benchtests/Rules (bench-deps): Collect dependencies into a
28833 single variable. Add Makefile to dependencies.
28834 ($(objpfx)bench-%.c): Depend on bench-deps.
28835
47792506
RM
288362013-04-12 Roland McGrath <roland@hack.frob.com>
28837 Xavier Roche <roche+kml2@exalead.com>
28838
28839 [BZ #15361]
28840 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28841 just that it's a file descriptor.
28842 * manual/llio.texi (Synchronizing AIO Operations): Update description
28843 for EBADF error from aio_fsync.
28844
8fc1bee5
SP
288452013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28846
28847 * Rules (bench): Move target definition...
28848 * benchtests/Makefile: ... here.
28849
aba5e333
CD
288502013-04-11 Carlos O'Donell <carlos@redhat.com>
28851
28852 * math/libm-test.inc (cos_test): Fix PI/2 test.
28853 (sincos_test): Likewise.
28854 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28855 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28856
273cdee8
AS
288572013-04-11 Andreas Schwab <schwab@suse.de>
28858
6ecec3b6
AS
28859 [BZ #13988]
28860 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28861 accept exponent character only when digits were seen.
28862 * stdio-common/Makefile (tests): Add bug26.
28863 * stdio-common/bug26.c: New file.
28864
273cdee8
AS
28865 [BZ #14293]
28866 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28867 non-freeable.
28868
8da491f5
SP
288692013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28870
01dc6df9
SP
28871 * Makeconfig (rtld-prefix): Define built linker prefix.
28872 * Rules (run-bench): Use it.
28873 * math/Makefile (run-regen-ulps): Likewise.
28874
8da491f5
SP
28875 * Rules (bench): Remove eval.
28876
abe7f530
SP
288772013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28878 Roland McGrath <roland@hack.frob.com>
28879 Ondrej Bilka <neleai@seznam.cz>
28880
28881 [BZ #15346]
28882 * time/getdate.c: Include ctype.h and alloca.h.
28883 (__getdate_r): Trim leading and trailing spaces of input.
28884 * time/tst-getdate.c (tests): Add tests with leading and
28885 trailing spaces.
28886
61c23e62
RM
288872013-04-08 Roland McGrath <roland@hack.frob.com>
28888
28889 [BZ #14280]
28890 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28891 when computing value.
28892
7208a313
CD
288932013-04-06 Carlos O'Donell <carlos@redhat.com>
28894
085b2d41
CD
28895 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28896 Use testrun.sh to run libm tests.
28897
7208a313
CD
28898 [BZ #15309]
28899 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28900
872c0acd
MM
289012013-04-06 Marko Myllynen <myllynen@redhat.com>
28902
28903 [BZ #15264]
28904 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28905
26510bdd
CD
289062013-04-06 Carlos O'Donell <carlos@redhat.com>
28907
28908 * Makefile.in (regen-ulps): New target.
28909 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28910 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28911 [ifneq (no,$(PERL)] (regen-ulps): New target.
28912 [ifeq (no,$(PERL)] (regen-ulps): New target.
28913 * math/libm-test.inc (ulps_file_name): Define.
28914 (output_dir): New variable.
28915 (options): Add "output-dir" option.
28916 (parse_opt): Handle 'o' case.
28917 (main): If output_dir is non-NULL use it as a prefix
28918 otherwise use "".
28919 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28920
a01f19c8
CD
289212013-04-06 Carlos O'Donell <carlos@redhat.com>
28922
28923 [BZ #10060, #10062]
28924 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28925 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28926 fail configure if __sync_val_compare_and_swap is not inlined.
28927 * sysdeps/i386/configure: Regenerate.
28928 * configure.in: Build for i686 when configured for i386.
28929 * configure: Regenerate.
28930 * README: Remove i386 reference.
28931
b7a329a5
CD
289322013-04-06 Carlos O'Donell <carlos@redhat.com>
28933
28934 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28935 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28936
bf0f50df
TS
289372013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28938
ee091edf
TS
28939 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28940 (lmsnanval): New variables.
28941 (F): Add conversion tests.
28942 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28943 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28944
a8b792d6
TS
28945 * stdio-common/tstdiomisc.c (F): Properly collect individual
28946 tests' results.
28947
a1cbf437
TS
28948 [BZ #14686, #15336]
28949 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28950 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28951 Instead, use input NaN values or generate a qNaN by arithmetic
28952 operation. Also fix bugs to comply with the standard.
28953 * math/libm-test.inc (remainder_test): Add more tests.
28954
8b43a0c9
TS
28955 [BZ #15335, #15342]
28956 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28957 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28958 input NaN values or generate a qNaN by arithmetic operation.
28959
d91da4ce
TS
28960 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28961 unreachable code.
28962
bf0f50df
TS
28963 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28964 definitions.
28965
05e166c8
JM
289662013-04-03 Joseph Myers <joseph@codesourcery.com>
28967
28968 [BZ #14478]
28969 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28970 underflowed result.
28971 * math/s_cexpf.c (__cexpf): Likewise.
28972 * math/s_cexpl.c (__cexpl): Likewise.
28973 * math/libm-test.inc (cexp_test): Add more tests.
28974
1cef1b19
AS
289752013-04-03 Andreas Schwab <schwab@suse.de>
28976
28977 [BZ #15330]
28978 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28979 order arrays from heap if bigger than alloca cutoff.
28980
74d87055
TS
289812013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28982
28983 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28984 (SNAN_TESTS_double): Refer to GCC PR56831.
28985 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28986 GCC PR56828.
28987
d755bba4
SP
289882013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28989
90d5d5bb
SP
28990 * Rules (bench): Move bench.out after the run is complete.
28991
73e0cd5d
SP
28992 * Rules (bench): Echo currently running benchmark.
28993
64aabd4b
SP
28994 * benchtests/Makefile (bench): Add atan and slowatan.
28995 * benchtests/atan-inputs: New file.
28996 * benchtests/slowatan-inputs: New file.
28997 * benchtests/slowatan.c: New file.
28998
c871eccd
SP
28999 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29000 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29001 its value.
29002
d755bba4
SP
29003 [BZ #15305]
29004 * sysdeps/unix/sysv/linux/kernel-features.h
29005 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29006 __ASSUME_XFS_RESTRICTED_CHOWN.
29007 * sysdeps/unix/sysv/linux/pathconf.c
29008 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29009 Save and restore errno.
29010
52ce4860
JM
290112013-04-02 Joseph Myers <joseph@codesourcery.com>
29012
29013 [BZ #15327]
29014 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29015 arguments using __kernel_casinh.
29016 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29017 arguments using __kernel_casinhf.
29018 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29019 arguments using __kernel_casinhl.
29020 * math/libm-test.inc (cacosh_test): Add more tests.
29021 * sysdeps/i386/fpu/libm-test-ulps: Update.
29022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29023
81f311c2
SP
290242013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29025
e7906a47
SP
29026 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29028
92e3664b
SP
29029 * bench/Makefile (bench): Add sin and slowsin.
29030 * benchtests/sin-inputs: New file.
29031 * benchtests/slowsin-inputs: New file.
29032 * benchtests/slowsin.c: New file.
29033
81f311c2
SP
29034 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29035 (bench): Add slowexp and slowpow.
29036 (exp-ITER): Increase iterations.
29037 (pow-ITER): Likewise.
29038 * benchtests/exp-inputs: Change input.
29039 * benchtests/pow-inputs: Likewise.
29040 * benchtests/slowexp-inputs: New file.
29041 * benchtests/slowexp.c: New file.
29042 * benchtests/slowpow-inputs: New file.
29043 * benchtests/slowpow.c: New file.
29044
ab0f1aa9
AZ
290452013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29046
29047 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29048 instructions.
29049 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29050 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29051 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29052 * benchtests/Makefile: Add rint benchtest.
29053 * benchtests/rint-inputs: Input for rint benchtest.
29054
57267616
TS
290552013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29056
29057 * Versions.def (libm): Add GLIBC_2.18.
29058 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29059 hidden libm prototypes.
29060 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29061 * math/Makefile (libm-calls): Add s_issignaling.
29062 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29063 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29064 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29065 declaration.
29066 * math/math.h [__USE_GNU] (issignaling): New macro.
29067 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29068 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29069 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29071 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29072 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29073 * manual/arith.texi (issignaling): New section.
29074 * manual/libm-err-tab.pl (@all_functions): Update comment.
29075 * math/gen-libm-test.pl (parse_args): Apply special handling for
29076 issignaling.
29077 * math/libm-test.inc (print_float, issignaling_test): New
29078 functions.
29079 (check_float_internal): Add issignaling checks.
29080 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29081 default definition.
29082 * sysdeps/powerpc/math-tests.h: New file.
29083 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29084 tests.
29085 * math/test-snan.c (TEST_FUNC): Likewise.
29086
6142896d
DM
290872013-03-30 David S. Miller <davem@davemloft.net>
29088
29089 * po/de.po: Update from translation team.
29090
ccc8cadf
JM
290912013-03-30 Joseph Myers <joseph@codesourcery.com>
29092
29093 [BZ #10357]
29094 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29095 imaginary part less than 1.0 and real part less than 0.5
29096 specially.
29097 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29098 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29099 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29100 (cacos_test): Add more tests.
29101 (casin_test): Likewise.
29102 (casinh_test): Likewise.
29103 * sysdeps/i386/fpu/libm-test-ulps: Update.
29104 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29105
0f6a8d4b
SP
291062013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29107
0d1029de
SP
29108 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29109 ONE with its value.
29110
c2d94018
SP
29111 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29112 (__pow_mp): Replace ONE and MONE with their values.
29113 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29114 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29115 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29116 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29117 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29118 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29119
27ec37f1
SP
29120 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29121
a64d7e0e
SP
29122 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29123 (__pow_mp): Replace ZERO and MZERO with their values.
29124 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29125 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29126 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29127 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29128 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29129 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29130 (__sqr): Likewise.
29131
d26dd3eb
SP
29132 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29133
0f6a8d4b
SP
29134 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29135
e57b0c61
RM
291362013-03-28 Roland McGrath <roland@hack.frob.com>
29137
29138 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29139 Declare with __attribute__ ((weak)).
29140 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29141 Call __call_tls_dtors only if it's not NULL.
29142
356b3480
RM
291432013-03-28 Roland McGrath <roland@hack.frob.com>
29144
288f7d79
RM
29145 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29146 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29147 magic __ehdr_start linker symbol if it's defined.
29148 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29149 them up here if it was already done.
29150
dc0a0263
RM
29151 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29152 (_dl_aux_init): Use const in cast when setting it.
29153 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29154 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29155 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29156
3d3436ae
RM
29157 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29158 Declare them here.
29159 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29160 * csu/libc-tls.c: Nor here.
29161 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29162
356b3480
RM
29163 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29164 (__libc_message): Never call vsyslog.
29165
b0f1246a
AM
291662013-03-28 Alan Modra <amodra@gmail.com>
29167
29168 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29169 Define as empty.
29170 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29171 Likewise.
29172
fbbe2b9a
AZ
291732013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29174
29175 [BZ #15214]
29176 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29177 underflow.
29178 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29179
1728ab37
SP
291802013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29181
7a86be6e
SP
29182 [BZ #15304]
29183 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29184 Don't add gid passed as argument.
29185
1728ab37
SP
29186 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29187
3a7182a1
JM
291882013-03-27 Joseph Myers <joseph@codesourcery.com>
29189
29190 [BZ #15307]
29191 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29192 imaginary part between 1.0 and 1.5 and real part less than 0.5
29193 specially.
29194 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29195 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29196 * math/libm-test.inc (cacos_test): Add more tests.
29197 (casin_test): Likewise.
29198 (casinh_test): Likewise.
29199 * sysdeps/i386/fpu/libm-test-ulps: Update.
29200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29201
6f2e90e7
SP
292022013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29203
5739f705
SP
29204 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29205 constants.
29206 (norm): Likewise.
29207 (denorm): Likewise.
29208 (__dbl_mp): Likewise.
29209 (add_magnitudes): Likewise.
29210 (sub_magnitudes): Likewise.
29211 (__add): Likewise.
29212 (__sub): Likewise.
29213 (__mul): Likewise.
29214 (__sqr): Likewise.
29215 (__inv): Likewise.
29216 (__dvd): Likewise.
29217
e375e83d
SP
29218 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29219 commented code.
29220 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29221 (__dubcos): Likewise.
29222 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29223 (__ieee754_acos): Likewise.
29224 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29225 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29226 (__exp1): Likewise.
29227 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29228 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29229 (log1): Likewise.
29230 (my_log2): Likewise.
29231 (checkint): Likewise.
29232 * sysdeps/ieee754/dbl-64/e_remainder.c
29233 (__ieee754_remainder): Likewise.
29234 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29235 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29236 (bsloww): Likewise.
29237 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29238
6f2e90e7
SP
29239 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29240 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29241 MANTISSA_STORE_T to store computations on mantissa. Use
29242 macros for rounding and division.
29243 (denorm): Likewise.
29244 (__dbl_mp): Likewise.
29245 (add_magnitudes): Likewise.
29246 (sub_magnitudes): Likewise.
29247 (__mul): Likewise.
29248 (__sqr): Likewise.
29249 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29250 powers of two in terms of TWOPOW macro.
29251 (mp_no): Make type of mantissa as MANTISSA_T.
29252 [!RADIXI]: Define RADIXI.
29253 [!TWO52]: Define TWO52.
29254 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29255
fce14d4e
AZ
292562013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29257
29258 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29259 llroundl symbol when building for PPC32.
29260
9ad027fb
MW
292612013-03-24 Mark H Weaver <mhw@netris.org>
29262
29263 * manual/arith.texi (Normalization Functions): Fix prototypes for
29264 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29265
e42a38dd
AZ
292662013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29267
29268 [BZ #13889]
29269 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29270 high value to check if expl overflow.
29271 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29272 to check for underflow and overflow.
29273 * math/libm-test.inc: Add exp test.
29274
2e0fb521
DL
292752013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29276
29277 [BZ #11120]
29278 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29279 with NOT_IN_libc.
29280
b5784d95
AZ
292812013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29282
29283 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29284 symbol.
29285
5aa4a1a1
TS
292862013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29287
bdef0be7
TS
29288 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29289 wrap blocks consisting of several statements.
29290
5aa4a1a1
TS
29291 * sysdeps/generic/math-tests.h: New file.
29292 * sysdeps/i386/fpu/math-tests.h: Likewise.
29293 * math/test-snan.c: Include it.
29294 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29295
98c48fe5
JM
292962013-03-21 Joseph Myers <joseph@codesourcery.com>
29297
29298 [BZ #15285]
29299 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29300 (__ieee754_j0l): Do not improve calculations using cos of twice
29301 input for inputs above LDBL_MAX / 2.0L.
29302 (__ieee754_y0l): Likewise.
29303 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29304 (__ieee754_j1l): Do not improve calculations using cos of twice
29305 input for inputs above LDBL_MAX / 2.0L.
29306 (__ieee754_y1l): Likewise.
29307 * math/libm-test.inc (j0_test): Add another test.
29308 (j1_test): Likewise.
29309 (y0_test): Likewise.
29310 (y1_test): Likewise.
29311 * sysdeps/i386/fpu/libm-test-ulps: Update.
29312
3775a8bc
SP
293132013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29314
29315 * Rules ($(objpfx)bench-%.c): Include code from a C source
29316 file.
29317
0a1b2ae6
JM
293182013-03-21 Joseph Myers <joseph@codesourcery.com>
29319
29320 [BZ #15287]
29321 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29322 imaginary part 1.0 and real part less than 0.5 specially.
29323 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29324 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29325 * math/libm-test.inc (cacos_test): Add more tests.
29326 (casin_test): Likewise.
29327 (casinh_test): Likewise.
29328 * sysdeps/i386/fpu/libm-test-ulps: Update.
29329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29330
b33d4ce4
SP
293312013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29332
29333 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29334 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29335
bef0b507
JM
293362013-03-20 Joseph Myers <joseph@codesourcery.com>
29337
29338 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29339 * config.make.in (config-cflags-sse4): Remove variable.
29340 (config-cflags-avx): Likewise.
29341 (config-cflags-sse2avx): Likewise.
29342 (config-cflags-novzeroupper): Likewise.
29343 (config-asflags-i686): Likewise.
29344 (have-mfma4): Likewise.
29345 (have-as-vis3): Likewise.
29346 (MIG): Likewise.
29347 * configure.in (MIG): Do not AC_SUBST.
29348 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29349 (libc_cv_cc_sse4): Do not AC_SUBST.
29350 (libc_cv_cc_avx): Likewise.
29351 (libc_cv_cc_sse2avx): Likewise.
29352 (libc_cv_cc_novzeroupper): Likewise.
29353 (libc_cv_cc_fma4): Likewise.
29354 (libc_cv_as_i686): Likewise.
29355 (libc_cv_sparc_as_vis3): Likewise.
29356 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29357 LIBC_CONFIG_VAR.
29358 (config-asflags-i686): Likewise.
29359 (config-cflags-avx): Likewise.
29360 (config-cflags-sse2avx): Likewise.
29361 (have-mfma4): Likewise.
29362 (config-cflags-novzeroupper): Likewise.
29363 * sysdeps/mach/configure.in (MIG): Likewise.
29364 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29365 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29366 LIBC_CONFIG_VAR.
29367 (config-cflags-avx): Likewise.
29368 (config-cflags-sse2avx): Likewise.
29369 (have-mfma4): Likewise.
29370 (config-cflags-novzeroupper): Likewise.
29371 * configure: Regenerated.
29372 * sysdeps/i386/configure: Likewise.
29373 * sysdeps/mach/configure: Likewise.
29374 * sysdeps/sparc/configure: Likewise.
29375 * sysdeps/x86_64/configure: Likewise.
29376
912cc4b3
RM
293772013-03-20 Roland McGrath <roland@hack.frob.com>
29378
29379 [BZ #14812]
29380 * locale/programs/localedef.c (options): Put N_ translation marker
29381 on argument names, not just descriptions.
29382
04eed2b0
MS
293832013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29384
29385 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29386
a065ceff
OB
293872013-03-20 Ondřej Bílka <neleai@seznam.cz>
29388
9bb2a810 29389 [BZ #14176]
a065ceff
OB
29390 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29391
a600e5ce
RM
293922013-03-19 Roland McGrath <roland@hack.frob.com>
29393
29394 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29395 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29396 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29397 [!BEFORE_ABORT] (before_abort): New function.
29398 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29399 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29400 (writev_for_fatal): New function.
29401 (WRITEV_FOR_FATAL): New macro; call that.
29402 (backtrace_and_maps): New function.
29403 (BEFORE_ABORT): New macro; call that.
29404 (struct str_list): Type removed.
29405 (__libc_message, __libc_fatal): Functions removed.
29406 Include <sysdeps/posix/libc_fatal.c> instead.
29407
6b18bea6
JM
294082013-03-19 Joseph Myers <joseph@codesourcery.com>
29409
29410 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29411 constants.
29412 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29413 double constants.
29414
aaa8cb4b
AS
294152013-03-19 Andreas Schwab <schwab@suse.de>
29416
44673770
AS
29417 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29418 * sysdeps/gnu/configure: Regenerate.
29419
aaa8cb4b
AS
29420 * configure.in: Substitute libc_cv_rtlddir.
29421 * configure: Regenerate.
29422 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29423 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29424 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29425 * elf/Makefile (install-others, CFLAGS-interp.c)
29426 (ldso_install, common-ldd-rewrite): Likewise.
29427 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29428 $(inst_slibdir)/$(rtld-installed-name).
29429 * scripts/rellns-sh: Add -p option.
29430 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29431 for source.
29432
d3cfc668
SP
294332013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29434
29435 * manual/nptl.texi: Renamed to ...
29436 * manual/threads.texi: ... this.
29437 * manual/Makefile (chapters): Update.
29438
0e2b9cdd
RM
294392013-03-18 Roland McGrath <roland@hack.frob.com>
29440
29441 [BZ #14812]
29442 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29443 on argument names, not just descriptions.
0e2b9cdd
RM
29444 * malloc/memusagestat.c (options): Likewise.
29445 * nss/getent.c (options): Likewise.
63270c24
RM
29446
294472013-03-18 Benno Schulenberg <bensberg@justemail.net>
29448
29449 [BZ #14812]
29450 * iconv/iconv_prog.c (options): Put N_ translation marker
29451 on argument names, not just descriptions.
29452 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29453
b2e1393c
OB
294542013-03-18 Ondrej Bilka <neleai@seznam.cz>
29455
29456 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29457 implementation which is faster on all x86_64 architectures.
29458 Tested on AMD, Intel Nehalem, SNB, IVB.
29459 * sysdeps/x86_64/strnlen.S: Likewise.
29460
29461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29462 Remove all multiarch strlen and strnlen versions.
29463 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29464 Remove strlen and strnlen related parts.
29465
29466 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29467 Inline strlen part.
29468 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29469
29470 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29471 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29472 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29473 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29474 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29475 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29476
ec4ff04d
CD
294772013-03-17 Carlos O'Donell <carlos@redhat.com>
29478
29479 * manual/memory.texi (Malloc Tunable Parameters):
29480 Sort parameters alphabetically. Add comments for missing entries.
29481
cd18e90a
DM
294822013-03-17 David S. Miller <davem@davemloft.net>
29483
29484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29485
2a185d32
JM
294862013-03-16 Joseph Myers <joseph@codesourcery.com>
29487
d2f9799e
JM
29488 [BZ #15283]
29489 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29490 for arguments at most half maximum finite value.
29491 * math/libm-test.inc (j0_test): Add more tests.
29492 (j1_test): Likewise.
29493 (y0_test): Likewise.
29494 (y1_test): Likewise.
29495 * sysdeps/i386/fpu/libm-test-ulps: Update.
29496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29497
2a185d32
JM
29498 [BZ #14155]
29499 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29500 1 / x and functions P and Q for arguments above 0x1p256L.
29501 (__ieee754_y0l): Likewise.
29502 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29503 (__ieee754_y1l): Likewise.
29504 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29505 (j1_test): Likewise.
29506 (y0_test): Likewise.
29507 (y1_test): Likewise.
29508
6cbec759
TS
295092013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29510
29511 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29512 variable.
29513
bc16e260
RM
295142013-03-15 Roland McGrath <roland@hack.frob.com>
29515
aefc9b8c
RM
29516 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29517 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29518 zero since it's initialized to EXEC_PAGESIZE.
29519
bc16e260
RM
29520 * sysdeps/unix/sysv/linux/ldsodefs.h
29521 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29522 * sysdeps/generic/ldsodefs.h: ... here.
29523
a57da955
TS
295242013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29525
af00a34d
TS
29526 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29527
495ded2c
TS
29528 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29529 math/test-snan.c.
29530 * math/test-snan.c: Renamed from
29531 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29532 * math/Makefile (tests): Add test-snan.
29533 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29534 test-powerpc-snan.
29535
777b0332
TS
29536 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29537 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29538 functions.
29539 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29540 __builtin_nan family of functions.
29541 * math/libm-test.inc (initialize): Initialize qnan_value with
29542 __builtin_nan family of functions.
29543 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29544 Remove variables.
29545 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29546 Remove functions.
29547 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29548 storage class. Initialize qNaN_var and sNaN_var with
29549 __builtin_nan and __builtin_nans families of functions,
29550 respectively.
29551
64d063b8
TS
29552 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29553 (sqrt_test): Remove duplicate test with qNaN input.
29554 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29555 (round_test, signbit_test, significand_test): Note missing +/-Inf
29556 as well as qNaN tests.
29557
67e971f1
TS
29558 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29559 qNaN_var. Fix a few strings, too.
29560 * math/libm-test.inc (nan_value): Rename to qnan_value.
29561 * math/gen-libm-test.pl (%beautify): Adjust to that.
29562 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29563 * math/test-misc.c (main): Likewise.
29564 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29565 to __qnan_bytes, and __qnan_union, respectively.
29566 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29567 Likewise.
29568 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29569 and lqnanval, respectively.
29570 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29571 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29572 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29573 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29574
64487e12
TS
29575 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29576 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29577 doubles.
29578
e015e27b
TS
29579 * math/test-misc.c (main): Fix copy'n'pastos.
29580 * misc/tst-efgcvt.c (special): Likewise.
29581
a57da955
TS
29582 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29583 Remove declarations.
29584
1e380345
SP
295852013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29586
29587 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29588 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29589 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29590 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29591
ef26eece
AZ
295922013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29593
29594 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29595 macro to return vdso values correctly in IFUNC implementations.
29596 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29597 Optimization by using IFUNC.
29598
8cfdb7e0
SP
295992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29600 Richard Henderson <rth@redhat.com>
29601 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29602
29603 * Makefile.in (bench): New target.
29604 * NEWS: Mention the benchmark framework.
29605 * Rules (bench): Likewise.
29606 (binaries-bench): Generate binaries for functions to
29607 benchmark.
29608 * benchtests/Makefile: New makefile for benchmark tests.
29609 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29610 programs.
29611 * benchtests/exp-inputs: New input file for EXP function.
29612 * benchtests/pow-inputs: New input file for POW function.
29613 * scripts/bench.pl: New script to generate source files for
29614 benchmark programs.
29615
bcda9880
SP
296162013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29617
d22ca8cd
SP
29618 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29619 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29620 computations on mantissa. Use macros for rounding and
29621 division.
29622 (denorm): Likewise.
29623 (__dbl_mp): Likewise.
29624 (add_magnitudes): Likewise.
29625 (sub_magnitudes): Likewise.
29626 (__mul): Likewise.
29627 (__sqr): Likewise.
29628 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29629 powers of two in terms of TWOPOW macro.
29630 (mp_no): Make type of mantissa as MANTISSA_T.
29631 [!RADIXI]: Define RADIXI.
29632 [!TWO52]: Define TWO52.
29633 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29634
bcda9880
SP
29635 * manual/nptl.texi (cindex): Modify threads to pthreads.
29636
06d5adfb
JM
296372013-03-15 Joseph Myers <joseph@codesourcery.com>
29638
29639 * sysdeps/x86_64/preconfigure: Regenerated.
29640
41c7328e
JM
296412013-03-14 Joseph Myers <joseph@codesourcery.com>
29642
29643 [BZ #14155]
29644 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29645 0x1p28 and above.
29646 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29647 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29648 0x1p28 and above.
29649 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29650 * math/libm-test.inc (j0_test): Do not allow one spurious
29651 underflow exception.
29652 (y1_test): Likewise.
29653
e25cfa60
SP
296542013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29655
0409959c
SP
29656 * manual/Makefile (chapters): Add nptl.
29657 * manual/debug.texi (Debugging Support): Add link to Threads
29658 chapter.
29659 * manual/nptl.texi: New file.
29660
e25cfa60
SP
29661 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29662
58a1335e
PB
296632013-03-14 Petr Baudis <pasky@ucw.cz>
29664
29665 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29666 for non-NULL pointer before the memory validity test. Pointed
29667 out by Holger Brunck <holger.brunck@keymile.com>.
29668
9dc7c64f
AS
296692013-03-13 Andreas Schwab <schwab@suse.de>
29670
29671 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29672 instead of .os.
29673
54206aa6
JM
296742013-03-13 Joseph Myers <joseph@codesourcery.com>
29675
29676 * timezone/zic.c: Update from tzcode 2013b.
29677
e98cdb38
CD
296782013-03-12 Carlos O'Donell <carlos@redhat.com>
29679
29680 * manual/install.texi (Configuring and compiling):
29681 Mention i686 and i586.
29682 * INSTALL: Regenerate.
29683
9967e003
RM
296842013-03-12 Roland McGrath <roland@hack.frob.com>
29685
29686 * sysdeps/init_array/elf-init.c: New file.
29687 * csu/elf-init.c
29688 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29689 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29690
29691 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29692 __gmon_start__ as global, but as static with a .preinit_array pointer.
29693 * sysdeps/init_array/gmon-start.c: New file. Use that.
29694 * sysdeps/init_array/crti.S: New file, empty except for comments.
29695 * sysdeps/init_array/crtn.S: Likewise.
29696
e6b5a293 296972013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29698
29699 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29700 definining bcopy.
80f844c9
OB
29701 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29702 Remove Prefer_SSE_for_memop.
29703 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29704 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29705 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29706 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29707 memset-x86-64.
80f844c9 29708 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29709 Remove bzero, memset ifunc support.
80f844c9
OB
29710 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29711 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29714
fb6b0fcb
AS
297152013-03-11 Andreas Schwab <schwab@suse.de>
29716
29717 [BZ #15234]
29718 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29719 by SHLIB_COMPAT.
29720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29721 (GLIBC_2.16): Remove pthread_atfork.
29722
3e6bd4b1
PP
297232013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29724
29725 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29726 (ptestcases.h): Likewise.
29727
222d7f00
RM
297282013-03-08 Roland McGrath <roland@hack.frob.com>
29729
29730 * Makeconfig ($(common-objpfx)config.status): Depend on
29731 sysdeps/*/preconfigure{,.in} too.
29732
1ba4f030
JM
297332013-03-08 Joseph Myers <joseph@codesourcery.com>
29734
a222d91a
JM
29735 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29736 (__free_hook): Use void * instead of __malloc_ptr_t.
29737 (__malloc_hook): Likewise.
29738 (__realloc_hook): Likewise.
29739 (__memalign_hook): Likewise.
29740 (__after_morecore_hook): Likewise.
29741 * malloc/arena.c (save_malloc_hook): Likewise.
29742 (save_free_hook): Likewise.
29743 * malloc/hooks.c (malloc_hook_ini): Likewise.
29744 (realloc_hook_ini): Likewise.
29745 (memalign_hook_ini): Likewise.
29746 * malloc/malloc.c (malloc_hook_ini): Likewise.
29747 (realloc_hook_ini): Likewise.
29748 (memalign_hook_ini): Likewise.
29749 (__free_hook): Likewise.
29750 (__malloc_hook): Likewise.
29751 (__realloc_hook): Likewise.
29752 (__memalign_hook): Likewise.
29753 (__libc_malloc): Likewise.
29754 (__libc_free): Likewise.
29755 (__libc_realloc): Likewise.
29756 (__libc_memalign): Likewise.
29757 (__libc_valloc): Likewise.
29758 (__libc_pvalloc): Likewise.
29759 (__libc_calloc): Likewise.
29760 (__posix_memalign): Likewise.
29761 * malloc/morecore.c (__sbrk): Likewise.
29762 (__default_morecore): Likewise.
29763
5cc45e10
JM
29764 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29765
dd54b864
JM
29766 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29767 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29768 __malloc_ptrdiff_t.
29769
1ba4f030
JM
29770 * malloc/malloc.h (__malloc_size_t): Remove macro.
29771 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29772 __malloc_size_t.
29773 (old_memalign_hook): Likewise.
29774 (old_realloc_hook): Likewise.
29775 (struct hdr): Likewise.
29776 (flood): Likewise.
29777 (mallochook): Likewise.
29778 (memalignhook): Likewise.
29779 (reallochook): Likewise.
29780 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29781 (tr_old_realloc_hook): Likewise.
29782 (tr_old_memalign_hook): Likewise.
29783 (tr_mallochook): Likewise.
29784 (tr_reallochook): Likewise.
29785 (tr_memalignhook): Likewise.
29786
edf66e57
AZ
297872013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788
29789 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29790 default_ldbl_pack and using as default implementation.
29791 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29792 implementation.
29793 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29794 redundant definition.
29795 (ldbl_insert_mantissa): Likewise.
29796 (ldbl_canonicalize): Likewise.
29797 (ldbl_nearbyint): Likewise.
29798 (ldbl_pack): Rename to ldbl_pack_ppc.
29799 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29800 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29801 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29802
6d9145d8
SP
298032013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29804
29805 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29806 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29807 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29808 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29809 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29810 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29811 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29812 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29813
4dd4e157
AJ
298142013-03-07 Andreas Jaeger <aj@suse.de>
29815
29816 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29817 bits/mman-linux.h.
29818
adbb8027
SP
298192013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29820
ce544b5b
SP
29821 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29822 Include mpa.h and declare __MPEXP.
29823 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29824 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29825 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29826 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29827 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29828 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29829 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29830
4cc149fd
SP
29831 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29832 (__slowpow): Use long double EXPL and LOGL functions to
29833 compute POW.
29834 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29835 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29836 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29837 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29838 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29839 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29840
e6ebd4a7
SP
29841 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29842 intermediate variable to calculate exponent.
29843 (__sqr): Likewise.
29844 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29845 Likewise.
29846 (__sqr): Likewise.
29847
82a9811d
SP
29848 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29849 [!NO__SQR]: Define __sqr.
29850 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29851 and NO__SQR. Remove all code except __mul and __sqr. Include
29852 sysdeps/ieee754/dbl-64/mpa.c.
29853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29854
adbb8027
SP
29855 [BZ #12723]
29856 * posix/Makefile (tests): Add tst-pathconf.
29857 * posix/tst-pathconf.c: New test case.
29858 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29859 _PC_PIPE_BUF.
29860 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29861
39120df9
PF
298622013-03-06 Patsy Franklin <pfrankli@redhat.com>
29863
29864 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29865
67525cb8
AJ
298662013-03-06 Andreas Jaeger <aj@suse.de>
29867
664a9ce4
AJ
29868 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29869 definition via __MAP_ANONYMOUS.
29870
8e39047d
AJ
29871 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29872 it's not part of Linux headers.
29873
67525cb8
AJ
29874 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29875 (MAP_HUGE_MASK): Define.
29876
29877 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29878 Define.
29879 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29880 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29881 Define.
29882 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29883 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29884 Define.
29885 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29886 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29887 Define.
29888 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29889
29890 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29891 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29892 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29893 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29894 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29895 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29896
29897 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29898 Handle f2fs.
29899
29900 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29901 Handle f2fs and efivarfs.
29902
29903 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29904 f2fs.
29905
29906 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29907 (EFIVARFS_MAGIC): Add.
29908 (F2FS_LINK_MAX): Add.
29909
e1b42695
PP
299102013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29911
29912 * stdio-common/vfprintf.c: Replace __builtin_expect with
29913 __glibc_unlikely.
29914
2d67d91a
JM
299152013-03-06 Joseph Myers <joseph@codesourcery.com>
29916
29917 [BZ #13550]
29918 * sysdeps/generic/bp-sym.h: Remove file.
29919 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29920 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29921 <bp-sym.h> and <bp-asm.h>.
29922 (__longjmp): Don't use BP_SYM.
29923 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29924 and <bp-asm.h>.
29925 (memcpy): Don't use BP_SYM.
29926 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29927 <bp-sym.h> and <bp-asm.h>.
29928 (memcpy): Don't use BP_SYM.
29929 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29930 <bp-asm.h>.
29931 (memcpy): Don't use BP_SYM.
29932 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29933 <bp-asm.h>.
29934 (memset): Don't use BP_SYM.
29935 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29936 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29937 (__bzero): Don't use BP_SYM.
29938 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29939 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29940 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29941 <bp-sym.h> and <bp-asm.h>.
29942 (memcmp): Don't use BP_SYM. Remove comment about bounded
29943 pointers.
29944 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29945 <bp-sym.h> and <bp-asm.h>.
29946 (memcpy): Don't use BP_SYM.
29947 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29948 <bp-sym.h> and <bp-asm.h>.
29949 (memset): Don't use BP_SYM.
29950 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29951 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29952 (__bzero): Don't use BP_SYM.
29953 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29954 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29955 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29956 <bp-sym.h> and <bp-asm.h>.
29957 (strncmp): Don't use BP_SYM. Remove comment about bounded
29958 pointers.
29959 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29960 <bp-sym.h> and <bp-asm.h>.
29961 (memcpy): Don't use BP_SYM.
29962 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29963 <bp-sym.h> and <bp-asm.h>.
29964 (memset): Don't use BP_SYM.
29965 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29966 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29967 (__bzero): Don't use BP_SYM.
29968 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29969 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29970 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29971 <bp-sym.h> and <bp-asm.h>.
29972 (__memchr): Don't use BP_SYM.
29973 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29974 <bp-sym.h> and <bp-asm.h>.
29975 (memcmp): Don't use BP_SYM. Remove comment about bounded
29976 pointers.
29977 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29978 <bp-sym.h> and <bp-asm.h>.
29979 (memcpy): Don't use BP_SYM.
29980 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29981 <bp-sym.h> and <bp-asm.h>.
29982 (__mempcpy): Don't use BP_SYM.
29983 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29984 <bp-sym.h> and <bp-asm.h>.
29985 (__memrchr): Don't use BP_SYM.
29986 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29987 <bp-sym.h> and <bp-asm.h>.
29988 (memset): Don't use BP_SYM.
29989 (__bzero): Likewise.
29990 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29991 <bp-sym.h> and <bp-asm.h>.
29992 (__rawmemchr): Don't use BP_SYM.
29993 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29994 <bp-sym.h> and <bp-asm.h>.
29995 (__STRCMP): Don't use BP_SYM.
29996 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29997 <bp-sym.h> and <bp-asm.h>.
29998 (strchr): Don't use BP_SYM.
29999 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30000 <bp-sym.h> and <bp-asm.h>.
30001 (__strchrnul): Don't use BP_SYM.
30002 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30003 <bp-sym.h> and <bp-asm.h>.
30004 (strlen): Don't use BP_SYM.
30005 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30006 <bp-sym.h> and <bp-asm.h>.
30007 (strncmp): Don't use BP_SYM. Remove comment about bounded
30008 pointers.
30009 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30010 <bp-sym.h> and <bp-asm.h>.
30011 (__strnlen): Don't use BP_SYM.
30012 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30013 <bp-sym.h> and <bp-asm.h>.
30014 (__GI__setjmp): Don't use BP_SYM.
30015 (_setjmp): Likewise.
30016 (__sigsetjmp): Likewise.
30017 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30018 (L(start_addresses)): Don't use BP_SYM.
30019 (_start): Likewise.
30020 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30021 <bp-asm.h>.
30022 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30023 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30024 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30025 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30026 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30027 <bp-asm.h>.
30028 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30029 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30030 about bounded pointers.
30031 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30032 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30033 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30034 <bp-asm.h>.
30035 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30036 about bounded pointers. Remove GKM FIXME comments.
30037 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30038 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30039 <bp-asm.h>.
30040 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30041 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30042 Remove GKM FIXME comments.
30043 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30044 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30045 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30046 <bp-asm.h>.
30047 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30048 about bounded pointers. Remove GKM FIXME comment.
30049 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30050 and <bp-asm.h>.
30051 (strncmp): Don't use BP_SYM. Remove comment about bounded
30052 pointers.
30053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30054 <bp-sym.h> and <bp-asm.h>.
30055 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30057 <bp-sym.h> and <bp-asm.h>.
30058 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30059 comment.
30060
cdcf361f
PP
300612013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30062
30063 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30064 call free(NULL).
30065
3c4a2b15
DM
300662013-03-05 David S. Miller <davem@davemloft.net>
30067
30068 * po/es.po: Update from translation team.
30069
cdcf361f 300702013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30071
30072 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30073 <bits/mman-linux.h>.
30074 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30075 is fine.
30076 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30077 <bits/mman-linux.h> to end of file.
30078 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30079 is fine.
30080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30081 <bits/mman-linux.h> to end of file.
30082 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30083 is fine.
30084 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30085 <bits/mman-linux.h> to end of file.
30086
30087 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30088 (MCL_CURRENT, MCL_FUTURE): Define here.
30089
5f67c04f
AK
300902013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30091
8a4473cc 30092 [BZ #15232]
5f67c04f
AK
30093 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30094 attribute_hidden.
30095 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30096
c3e94a95
AK
300972013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30098
30099 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30100 fourth parameter needed for rt_sigprocmask syscall.
30101 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30102 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30103 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30104 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30105 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30106 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30107
cfb6382a
JM
301082013-03-04 Joseph Myers <joseph@codesourcery.com>
30109
30110 [BZ #13550]
30111 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30112 comment about bounded pointers.
30113 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30114 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30115
539d8e01
AJ
301162013-03-04 Andreas Jaeger <aj@suse.de>
30117
30118 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30119 common definitions.
30120
30121 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30122 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30123 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30124 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30125 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30126 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30127
2e167a70 301282013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30129
30130 [BZ #15055]
30131 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30132 __ieee754_sqrl instead of __sqrl.
30133
68508633
JM
301342013-03-01 Joseph Myers <joseph@codesourcery.com>
30135
30136 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30137 * sysdeps/powerpc/fpu_control.h: ... here.
30138 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30139 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30140 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30141 * sysdeps/powerpc/bits/mathinline.h: ... here.
30142
7775448e
RM
301432013-03-01 Roland McGrath <roland@hack.frob.com>
30144
30145 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30146 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30147 to just [NEED_DL_SYSINFO_DSO].
30148 * elf/dl-support.c: Likewise.
30149 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30150 * elf/rtld.c (dl_main): Likewise.
30151 * elf/setup-vdso.h (setup_vdso): Likewise.
30152 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30153 * sysdeps/unix/sysv/linux/dl-sysdep.c
30154 (_dl_discover_osversion): Likewise.
30155
4e9b5995
CD
301562013-03-01 Carlos O'Donell <carlos@redhat.com>
30157
30158 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30159 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30160
e23872c8
SP
301612013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30162
e5c74c63
SP
30163 * NEWS: Mention libm performance improvements and non-x86 PI
30164 futex support.
30165
e23872c8
SP
30166 * csu/libc-start.c (__pthread_initialize_minimal): Change
30167 function arguments.
30168 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30169
b5510883
JM
301702013-02-28 Joseph Myers <joseph@codesourcery.com>
30171
30172 [BZ #13550]
30173 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30174 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30175 <bp-sym.h> and <bp-asm.h>.
30176 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30177 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30178 and <bp-asm.h>.
30179 (memcpy): Don't use BP_SYM.
30180 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30181 <bp-asm.h>.
30182 (__mpn_add_n): Don't use BP_SYM.
30183 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30184 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30185 and <bp-asm.h>.
30186 (__mpn_addmul_1): Don't use BP_SYM.
30187 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30188 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30189 <bp-sym.h>.
30190 (_setjmp): Don't use BP_SYM.
30191 (__novmx_setjmp): Likewise.
30192 (__GI__setjmp): Likewise.
30193 (__vmx_setjmp): Likewise.
30194 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30195 <bp-sym.h>.
30196 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30197 (__bzero): Don't use BP_SYM.
30198 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30199 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30200 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30201 <bp-sym.h> and <bp-asm.h>.
30202 (memcpy): Don't use BP_SYM.
30203 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30204 <bp-sym.h> and <bp-asm.h>.
30205 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30206 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30207 <bp-sym.h> and <bp-asm.h>.
30208 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30209 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30210 <bp-asm.h>.
30211 (__mpn_lshift): Don't use BP_SYM.
30212 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30213 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30214 <bp-asm.h>.
30215 (memset): Don't use BP_SYM.
30216 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30217 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30218 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30219 <bp-asm.h>.
30220 (__mpn_mul_1): Don't use BP_SYM.
30221 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30222 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30223 <bp-sym.h> and <bp-asm.h>.
30224 (memcmp): Don't use BP_SYM.
30225 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30226 <bp-sym.h> and <bp-asm.h>.
30227 (memcpy): Don't use BP_SYM.
30228 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30229 <bp-sym.h> and <bp-asm.h>.
30230 (memset): Don't use BP_SYM.
30231 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30232 <bp-sym.h> and <bp-asm.h>.
30233 (strncmp): Don't use BP_SYM.
30234 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30235 <bp-sym.h> and <bp-asm.h>.
30236 (memcpy): Don't use BP_SYM.
30237 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30238 <bp-sym.h> and <bp-asm.h>.
30239 (memset): Don't use BP_SYM.
30240 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30241 <bp-sym.h> and <bp-asm.h>.
30242 (__memchr): Don't use BP_SYM.
30243 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30244 <bp-sym.h> and <bp-asm.h>.
30245 (memcmp): Don't use BP_SYM.
30246 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30247 <bp-sym.h> and <bp-asm.h>.
30248 (memcpy): Don't use BP_SYM.
30249 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30250 <bp-sym.h> and <bp-asm.h>.
30251 (__mempcpy): Don't use BP_SYM.
30252 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30253 <bp-sym.h> and <bp-asm.h>.
30254 (__memrchr): Don't use BP_SYM.
30255 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30256 <bp-sym.h> and <bp-asm.h>.
30257 (memset): Don't use BP_SYM.
30258 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30259 <bp-sym.h> and <bp-asm.h>.
30260 (__rawmemchr): Don't use BP_SYM.
30261 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30262 <bp-sym.h> and <bp-asm.h>.
30263 (__STRCMP): Don't use BP_SYM.
30264 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30265 <bp-sym.h> and <bp-asm.h>.
30266 (strchr): Don't use BP_SYM.
30267 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30268 <bp-sym.h> and <bp-asm.h>.
30269 (__strchrnul): Don't use BP_SYM.
30270 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30271 <bp-sym.h> and <bp-asm.h>.
30272 (strlen): Don't use BP_SYM.
30273 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30274 <bp-sym.h> and <bp-asm.h>.
30275 (strncmp): Don't use BP_SYM.
30276 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30277 <bp-sym.h> and <bp-asm.h>.
30278 (__strnlen): Don't use BP_SYM.
30279 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30280 <bp-asm.h>.
30281 (__mpn_rshift): Don't use BP_SYM.
30282 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30283 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30284 <bp-sym.h> and <bp-asm.h>.
30285 (__sigsetjmp): Don't use BP_SYM.
30286 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30287 (L(start_addresses)): Don't use BP_SYM.
30288 (_start): Likewise.
30289 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30290 <bp-asm.h>.
30291 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30292 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30293 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30294 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30295 <bp-asm.h>.
30296 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30297 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30298 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30299 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30300 <bp-asm.h>.
30301 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30302 comments.
30303 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30304 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30305 <bp-asm.h>.
30306 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30307 FIXME comments.
30308 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30309 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30310 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30311 <bp-asm.h>.
30312 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30313 comment.
30314 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30315 and <bp-asm.h>.
30316 (strncmp): Don't use BP_SYM,
30317 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30318 <bp-asm.h>.
30319 (__mpn_sub_n): Don't use BP_SYM.
30320 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30321 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30322 and <bp-asm.h>.
30323 (__mpn_submul_1): Don't use BP_SYM.
30324 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30326 <bp-sym.h> and <bp-asm.h>.
30327 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30329 <bp-sym.h> and <bp-asm.h>.
30330 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30331 comment.
30332
8d19fe64
SP
303332013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30334
30335 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30336 Use ZK to minimize writes to Z.
30337 (sub_magnitudes): Simplify code a bit.
30338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30339 Use ZK to minimize writes to Z.
30340 (sub_magnitudes): Simplify code a bit.
30341
85bd816a
RM
303422013-02-27 Roland McGrath <roland@hack.frob.com>
30343
30344 * csu/gmon-start.c: Add special exception to license text.
30345
b5977bf2
RH
303462013-02-27 Richard Henderson <rth@redhat.com>
30347
30348 * scripts/config.guess: Update from config.git.
30349 * scripts/config.sub: Likewise.
30350
11d6e2f2
SP
303512013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30352
09c14ed2
SP
30353 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30354
a688864e
SP
30355 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30356
6295157a
SP
30357 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30358
b8de2202
SP
30359 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30360
11d6e2f2
SP
30361 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30362
7e80ddb8
RM
303632013-02-26 Roland McGrath <roland@hack.frob.com>
30364
30365 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30366 [$(build-shared = yes].
7e80ddb8 30367
7da6d9ed
SP
303682013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30369
45f05884
SP
30370 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30371 (__mul): Reduce iterations for calculating mantissa.
30372
2236d359
SP
30373 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30374 MPTWO.
30375 (__mpranred): Likewise.
30376
7da6d9ed
SP
30377 [BZ #15160]
30378 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30379 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30380
b7688c42
PE
303812013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30382
30383 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30384 Define __attribute__.
30385
53a5c423
SP
303862013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30387
30388 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30389 unused.
30390 * posix/regex_internal.h (__attribute): Remove.
30391 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30392 (re_string_context_at): Likewise.
30393 (bitset_not): Use __attribute__ and mark function as possibly
30394 unused.
30395 (bitset_merge): Likewise.
30396 (bitset_mask): Likewise.
30397 (re_string_char_size_at): Likewise.
30398 (re_string_wchar_at): Likewise.
30399 (re_string_elem_size_at): Likewise.
30400
60f5a8b5
SP
304012013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30402
2a983a2e
SP
30403 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30404 code.
30405 (cc32): Likewise.
30406
e69804d1
SP
30407 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30408 (__acr): Likewise.
30409 (__cpy): Likewise.
30410 (norm): Likewise.
30411 (denorm): Likewise.
30412 (__dbl_mp): Likewise.
30413 (add_magnitudes): Likewise.
30414 (sub_magnitudes): Likewise.
30415 (__mul): Likewise.
30416 (__inv): Likewise.
30417
2f22a1e8
SP
30418 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30419 style.
30420
8930ddc7
SP
30421 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30422 style.
30423
dc60cb11
SP
30424 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30425 code.
30426
60f5a8b5
SP
30427 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30428 up changes with default code.
30429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30430 Likewise.
30431
b4d1fd33
AM
304322013-02-24 Allan McRae <allan@archlinux.org>
30433
faf6f8bc
AM
30434 * manual/socket.texi (The Internet Namespace): Order menu items
30435 to match that in the file.
30436
b4d1fd33
AM
30437 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30438 node listing of the info page menu.
30439
2366713d
JM
304402013-02-21 Joseph Myers <joseph@codesourcery.com>
30441
30442 [BZ #13550]
30443 * sysdeps/i386/bp-asm.h: Remove file.
30444 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30445 (PARMS): Do not use macros from bp-asm.h.
30446 (S1): Likewise.
30447 (S2): Likewise.
30448 (SIZE): Likewise.
30449 (__mpn_add_n): Do not use BP_SYM
30450 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30451 "bp-asm.h".
30452 (PARMS): Do not use macros from bp-asm.h.
30453 (S1): Likewise.
30454 (SIZE): Likewise.
30455 (__mpn_addmul_1): Do not use BP_SYM
30456 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30457 "bp-asm.h".
30458 (PARMS): Do not use macros from bp-asm.h.
30459 (SIGMSK): Likewise.
30460 (_setjmp): Likewise. Do not use BP_SYM.
30461 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30462 "bp-asm.h".
30463 (PARMS): Do not use macros from bp-asm.h.
30464 (SIGMSK): Likewise.
30465 (setjmp): Likewise. Do not use BP_SYM.
30466 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30467 "bp-asm.h".
30468 (PARMS): Do not use macros from bp-asm.h.
30469 (__frexp): Do not use BP_SYM.
30470 (frexp): Likewise.
30471 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30472 "bp-asm.h".
30473 (PARMS): Do not use macros from bp-asm.h.
30474 (__frexpf): Do not use BP_SYM.
30475 (frexpf): Likewise.
30476 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30477 "bp-asm.h".
30478 (PARMS): Do not use macros from bp-asm.h.
30479 (__frexpl): Do not use BP_SYM.
30480 (frexpl): Likewise.
30481 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30482 "bp-asm.h".
30483 (PARMS): Do not use macros from bp-asm.h.
30484 (__remquo): Do not use BP_SYM.
30485 (remquo): Likewise.
30486 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30487 "bp-asm.h".
30488 (PARMS): Do not use macros from bp-asm.h.
30489 (__remquof): Do not use BP_SYM.
30490 (remquof): Likewise.
30491 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30492 "bp-asm.h".
30493 (PARMS): Do not use macros from bp-asm.h.
30494 (__remquol): Do not use BP_SYM.
30495 (remquol): Likewise.
30496 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30497 "bp-asm.h".
30498 (PARMS): Do not use macros from bp-asm.h.
30499 (DEST): Likewise.
30500 (SRC): Likewise.
30501 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30502 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30503 "bp-asm.h".
30504 (PARMS): Do not use macros from bp-asm.h.
30505 (strlen): Do not use BP_SYM.
30506 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30507 "bp-asm.h".
30508 (PARMS): Do not use macros from bp-asm.h.
30509 (S1): Likewise.
30510 (S2): Likewise.
30511 (SIZE): Likewise.
30512 (__mpn_add_n): Do not use BP_SYM.
30513 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30514 "bp-asm.h".
30515 (PARMS): Do not use macros from bp-asm.h.
30516 (S1): Likewise.
30517 (SIZE): Likewise.
30518 (__mpn_addmul_1): Do not use BP_SYM.
30519 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30520 weak_alias.
30521 (bzero): Likewise.
30522 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30523 "bp-asm.h".
30524 (PARMS): Do not use macros from bp-asm.h.
30525 (S): Likewise.
30526 (SIZE): Likewise.
30527 (__mpn_lshift): Do not use BP_SYM.
30528 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30529 "bp-asm.h".
30530 (PARMS): Do not use macros from bp-asm.h.
30531 (DEST): Likewise.
30532 (SRC): Likewise.
30533 (LEN): Likewise.
30534 (memcpy): Likewise. Do not use BP_SYM.
30535 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30536 libc_hidden_def and weak_alias.
30537 (mempcpy): Do not use BP_SYM in weak_alias.
30538 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30539 "bp-asm.h".
30540 (PARMS): Do not use macros from bp-asm.h.
30541 (DEST): Likewise.
30542 (LEN): Likewise.
30543 [!BZERO_P] (CHR): Likewise.
30544 (memset): Likewise. Do not use BP_SYM.
30545 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30546 "bp-asm.h".
30547 (PARMS): Do not use macros from bp-asm.h.
30548 (S1): Likewise.
30549 (SIZE): Likewise.
30550 (__mpn_mul_1): Do not use BP_SYM.
30551 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30552 "bp-asm.h".
30553 (PARMS): Do not use macros from bp-asm.h.
30554 (S): Likewise.
30555 (SIZE): Likewise.
30556 (__mpn_rshift): Do not use BP_SYM.
30557 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30558 "bp-asm.h".
30559 (PARMS): Do not use macros from bp-asm.h.
30560 (STR): Likewise.
30561 (CHR): Likewise.
30562 (strchr): Likewise. Do not use BP_SYM.
30563 (index): Do not use BP_SYM in weak_alias.
30564 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30565 "bp-asm.h".
30566 (PARMS): Do not use macros from bp-asm.h.
30567 (DEST): Likewise.
30568 (SRC): Likewise.
30569 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30570 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30571 "bp-asm.h".
30572 (PARMS): Do not use macros from bp-asm.h.
30573 (strlen): Do not use BP_SYM.
30574 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30575 "bp-asm.h".
30576 (PARMS): Do not use macros from bp-asm.h.
30577 (S1): Likewise.
30578 (S2): Likewise.
30579 (SIZE): Likewise.
30580 (__mpn_sub_n): Do not use BP_SYM.
30581 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30582 "bp-asm.h".
30583 (PARMS): Do not use macros from bp-asm.h.
30584 (S1): Likewise.
30585 (SIZE): Likewise.
30586 (__mpn_submul_1): Do not use BP_SYM.
30587 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30588 "bp-asm.h".
30589 (PARMS): Do not use macros from bp-asm.h.
30590 (S1): Likewise.
30591 (S2): Likewise.
30592 (SIZE): Likewise.
30593 (__mpn_add_n): Do not use BP_SYM.
30594 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30595 weak_alias.
30596 (bzero): Likewise.
30597 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30598 "bp-asm.h".
30599 (PARMS): Do not use macros from bp-asm.h.
30600 (BLK2): Likewise.
30601 (LEN): Likewise.
30602 (memcmp): Do not use BP_SYM.
30603 (bcmp): Do not use BP_SYM in weak_alias.
30604 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30605 "bp-asm.h".
30606 (PARMS): Do not use macros from bp-asm.h.
30607 (DEST): Likewise.
30608 (SRC): Likewise.
30609 (LEN): Likewise.
30610 (memcpy): Likewise. Do not use BP_SYM.
30611 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30612 "bp-asm.h".
30613 (PARMS): Do not use macros from bp-asm.h.
30614 (DEST): Likewise.
30615 (SRC): Likewise.
30616 (LEN): Likewise.
30617 (memmove): Likewise. Do not use BP_SYM.
30618 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30619 "bp-asm.h".
30620 (PARMS): Do not use macros from bp-asm.h.
30621 (DEST): Likewise.
30622 (SRC): Likewise.
30623 (LEN): Likewise.
30624 (__mempcpy): Likewise. Do not use BP_SYM.
30625 (mempcpy): Do not use BP_SYM in weak_alias.
30626 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30627 "bp-asm.h".
30628 (PARMS): Do not use macros from bp-asm.h.
30629 (DEST): Likewise.
30630 (LEN): Likewise.
30631 [!BZERO_P] (CHR): Likewise.
30632 (memset): Likewise. Do not use BP_SYM.
30633 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30634 "bp-asm.h".
30635 (PARMS): Do not use macros from bp-asm.h.
30636 (STR2): Likewise.
30637 (strcmp): Do not use BP_SYM.
30638 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30639 "bp-asm.h".
30640 (PARMS): Do not use macros from bp-asm.h.
30641 (STR): Likewise.
30642 (DELIM): Likewise.
30643 [USE_AS_STRTOK_R] (SAVE): Likewise.
30644 (FUNCTION): Likewise. Do not use BP_SYM.
30645 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30646 aliases.
30647 (strtok_r): Likewise.
30648 (__GI___strtok_r): Likewise.
30649 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30650 (PARMS): Do not use macros from bp-asm.h.
30651 (S): Likewise.
30652 (SIZE): Likewise.
30653 (__mpn_lshift): Do not use BP_SYM.
30654 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30655 (PARMS): Do not use macros from bp-asm.h.
30656 (STR): Likewise.
30657 (CHR): Likewise.
30658 (__memchr): Do not use BP_SYM.
30659 (memchr): Do not use BP_SYM in weak_alias.
30660 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30661 (PARMS): Do not use macros from bp-asm.h.
30662 (BLK2): Likewise.
30663 (LEN): Likewise.
30664 (memcmp): Do not use BP_SYM.
30665 (bcmp): Do not use BP_SYM in weak_alias.
30666 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30667 (PARMS): Do not use macros from bp-asm.h.
30668 (S1): Likewise.
30669 (SIZE): Likewise.
30670 (__mpn_mul_1): Do not use BP_SYM.
30671 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30672 "bp-asm.h".
30673 (PARMS): Do not use macros from bp-asm.h.
30674 (STR): Likewise.
30675 (CHR): Likewise.
30676 (__rawmemchr): Do not use BP_SYM.
30677 (rawmemchr): Do not use BP_SYM in weak_alias.
30678 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30679 (PARMS): Do not use macros from bp-asm.h.
30680 (S): Likewise.
30681 (SIZE): Likewise.
30682 (__mpn_rshift): Do not use BP_SYM.
30683 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30684 (PARMS): Do not use macros from bp-asm.h.
30685 (SIGMSK): Likewise.
30686 (__sigsetjmp): Likewise. Do not use BP_SYM.
30687 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30688 (_start): Do not use BP_SYM.
30689 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30690 (PARMS): Do not use macros from bp-asm.h.
30691 (DEST): Likewise.
30692 (SRC): Likewise.
30693 (__stpcpy): Likewise. Do not use BP_SYM.
30694 (stpcpy): Do not use BP_SYM in weak_alias.
30695 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30696 "bp-asm.h".
30697 (PARMS): Do not use macros from bp-asm.h.
30698 (DEST): Likewise.
30699 (SRC): Likewise.
30700 (LEN): Likewise.
30701 (__stpncpy): Likewise. Do not use BP_SYM.
30702 (stpncpy): Do not use BP_SYM in weak_alias.
30703 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30704 (PARMS): Do not use macros from bp-asm.h.
30705 (STR): Likewise.
30706 (CHR): Likewise.
30707 (strchr): Likewise. Do not use BP_SYM.
30708 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30709 "bp-asm.h".
30710 (PARMS): Do not use macros from bp-asm.h.
30711 (STR): Likewise.
30712 (CHR): Likewise.
30713 (__strchrnul): Likewise. Do not use BP_SYM.
30714 (strchrnul): Do not use BP_SYM in weak_alias.
30715 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30716 "bp-asm.h".
30717 (PARMS): Do not use macros from bp-asm.h.
30718 (STOP): Likewise.
30719 (strcspn): Do not use BP_SYM.
30720 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30721 "bp-asm.h".
30722 (PARMS): Do not use macros from bp-asm.h.
30723 (STR): Likewise.
30724 (STOP): Likewise.
30725 (strpbrk): Likewise. Do not use BP_SYM.
30726 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30727 "bp-asm.h".
30728 (PARMS): Do not use macros from bp-asm.h.
30729 (STR): Likewise.
30730 (CHR): Likewise.
30731 (strrchr): Likewise. Do not use BP_SYM.
30732 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30733 (PARMS): Do not use macros from bp-asm.h.
30734 (SKIP): Likewise.
30735 (strspn): Do not use BP_SYM.
30736 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30737 (PARMS): Do not use macros from bp-asm.h.
30738 (STR): Likewise.
30739 (DELIM): Likewise.
30740 (SAVE): Likewise.
30741 (FUNCTION): Likewise. Do not use BP_SYM.
30742 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30743 aliases.
30744 (strtok_r): Likewise.
30745 (__GI___strtok_r): Likewise.
30746 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30747 (PARMS): Do not use macros from bp-asm.h.
30748 (S1): Likewise.
30749 (S2): Likewise.
30750 (SIZE): Likewise.
30751 (__mpn_sub_n): Do not use BP_SYM.
30752 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30753 "bp-asm.h".
30754 (PARMS): Do not use macros from bp-asm.h.
30755 (S1): Likewise.
30756 (SIZE): Likewise.
30757 (__mpn_submul_1): Do not use BP_SYM.
30758 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30759 <bp-sym.h>.
30760 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30761 and <bp-asm.h>.
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (FLAGS): Likewise.
30764 (PTID): Likewise.
30765 (TLS): Likewise.
30766 (CTID): Likewise.
30767 (__clone): Do not use BP_SYM.
30768 (clone): Do not use BP_SYM in weak_alias.
30769 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30770 and <bp-asm.h>.
30771 (PARMS): Do not use macros from bp-asm.h.
30772 (LEN): Likewise.
30773 (__mmap64): Do not use BP_SYM.
30774 (mmap64): Do not use BP_SYM in weak_alias.
30775 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30776 <bp-sym.h> and <bp-asm.h>.
30777 (PARMS): Do not use macros from bp-asm.h.
30778 (__posix_fadvise64_l64): Do not use BP_SYM.
30779 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30780 (PARMS): Do not use macros from bp-asm.h.
30781 (NSOPS): Likewise.
30782 (semtimedop): Do not use BP_SYM.
30783 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30784 and <bp-asm.h>.
30785
582a3cff
AM
307862013-02-21 Allan McRae <allan@archlinux.org>
30787
30788 * manual/message.texi (Charset conversion in gettext):
30789 Move @end statement to beginning of line.
30790
bab8a695
SP
307912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30792
80945231
SP
30793 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30794 static.
30795 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30796 Likewise.
30797
bab8a695
SP
30798 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30799 (denorm): Likewise.
30800 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30801 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30802
e21d7aa7
AK
308032013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30804
30805 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30806 tail-call to the resolved function if pltexit isn't needed.
30807
4c7a4263
SP
308082013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30809
30810 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30811 or Y being zero as being unlikely.
30812 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30813 Likewise.
30814
41f49342
CD
308152013-02-20 Carlos O'Donell <carlos@redhat.com>
30816
30817 * manual/nss.texi (System Databases and Name Service Switch):
30818 Remove frobnicate @pxref.
30819
50022a93
TS
308202013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30821
30822 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30823 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30824
08cbd996
PM
308252013-02-20 Petr Machata <pmachata@redhat.com>
30826
30827 * elf/elf.h (R_ARM_TARGET1): New macro.
30828 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30829 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30830 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30831 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30832 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30833 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30834 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30835 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30836 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30837 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30838 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30839 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30840 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30841 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30842 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30843 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30844 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30845 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30846 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30847 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30848 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30849 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30850 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30851 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30852 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30853 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30854 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30855 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30856 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30857 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30858 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30859 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30860 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30861 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30862 (R_ARM_THM_GOT_BREL12): Likewise.
30863 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30864 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30865 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30866 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30867 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30868 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30869 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30870 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30871 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30872
c7b275d6
TS
308732013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30874
30875 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30876 __attribute_used__ to __attribute__ ((unused)).
30877
20cd7fb3
SP
308782013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30879
30880 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30881 powerpc mpa.c.
30882 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30883 comment formatting.
30884 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30885
92945b52
JM
308862013-02-19 Joseph Myers <joseph@codesourcery.com>
30887
30888 [BZ #13550]
30889 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30890 Remove macro.
30891 (ENTER): Remove both macro definitions.
30892 (LEAVE): Likewise.
30893 (CHECK_BOUNDS_LOW): Likewise.
30894 (CHECK_BOUNDS_HIGH): Likewise.
30895 (CHECK_BOUNDS_BOTH): Likewise.
30896 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30897 (RETURN_BOUNDED_POINTER): Likewise.
30898 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30899 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30900 (POP_ERRNO_LOCATION_RETURN): Likewise.
30901 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30902 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30903 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30904 macros.
30905 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30906 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30907 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30908 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30909 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30910 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30911 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30912 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30913 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30914 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30915 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30916 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30917 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30918 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30919 removed macros.
30920 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30921 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30922 macros.
30923 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30924 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30925 * sysdeps/i386/i586/memset.S (memset): Likewise.
30926 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30927 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30928 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30929 macros.
30930 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30931 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30932 Change uses of L(2) to L(out).
30933 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30934 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30935 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30936 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30937 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30938 removed macros.
30939 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30940 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30941 macros.
30942 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30943 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30944 (RETURN): Do not use macro LEAVE.
30945 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30946 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30947 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30948 * sysdeps/i386/i686/memset.S (memset): Likewise.
30949 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30950 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30951 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30952 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30953 Likewise.
30954 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30955 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30956 L(1_2) and L(1_3) into L(1).
30957 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30958 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30959 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30960 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30961 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30962 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30963 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30964 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30965 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30966 macros.
30967 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30968 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30969 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30970 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30971 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30972 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30973 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30974 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30975 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30976 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30977 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30978 * sysdeps/i386/strspn.S (strspn): Likewise.
30979 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30980 conditional code.
30981 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30982 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30983 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30984 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30985 L(1_3) into L(1_1).
30986 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30987 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30988 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30989 macros.
30990 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30991
2389741a
JJ
309922013-02-19 Jakub Jelinek <jakub@redhat.com>
30993
30994 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30995 macro.
30996
2016b3cd
SP
309972013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30998
e4f22324
SP
30999 * math/atest-exp.c (exp_mpn): Remove ROUND.
31000 * math/atest-exp2.c (exp_mpn): Likewise.
31001 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31002
2016b3cd
SP
31003 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31004 * stdlib/tst-tls-atexit-lib.c: Likewise.
31005 * stdlib/tst-tls-atexit.c: Likewise.
31006
4be9b544
MF
310072013-02-18 Mike Frysinger <vapier@gentoo.org>
31008
31009 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31010 and __attribute_alloc_size__.
31011
2f62b9ee
MF
310122013-02-18 Mike Frysinger <vapier@gentoo.org>
31013
31014 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31015 __attribute_alloc_size__.
31016 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31017 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31018
6ff444c4
MF
310192013-02-18 Mike Frysinger <vapier@gentoo.org>
31020
31021 * include/programs/xmalloc.h: New file.
31022 * catgets/gencat.c: Include it.
31023 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31024 * elf/pldd.c: Likewise.
31025 * iconv/iconv_charmap.c: Likewise.
31026 * iconv/iconvconfig.c: Likewise.
31027 * iconv/strtab.c: Likewise.
31028 * locale/programs/locale.c: Likewise.
31029 * locale/programs/localedef.h: Likewise.
31030 * locale/programs/simple-hash.c: Likewise.
31031 * nscd/nscd.h: Likewise.
31032 * nss/makedb.c: Likewise.
31033 * sysdeps/generic/ldconfig.h: Likewise.
31034
be179c8a
SP
310352013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31036
ba384f6e
SP
31037 * Versions.def: Add GLIBC_2.18.
31038 * include/link.h (struct link_map): New member l_tls_dtor_count.
31039 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31040 (__call_tls_dtors): Likewise.
31041 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31042 __cxa_thread_atexit_impl.
31043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31044 Likewise.
31045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31046 Likewise.
31047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31048 Likewise.
31049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31050 Likewise.
31051 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31052 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31053 Likewise.
31054 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31055 Likewise.
31056 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31058 Likewise.
31059 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31060 (tests): Add test case tst-tls-atexit.
31061 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31062 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31063 (GLIBC_PRIVATE): Add __call_tls_dtors.
31064 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31065 for libstdc++.
31066 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31067 * stdlib/tst-tls-atexit.c: New test case.
31068 * stdlib/tst-tls-atexit-lib.c: New test case.
31069
ffaa74cf 31070 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31071
be179c8a
SP
31072 * elf/Versions (ld): Add _dl_find_dso_for_object.
31073 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31074 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31075 (dl_open_worker): Use _dl_find_dso_for_object.
31076 * elf/dl-sym.c (do_sym): Likewise.
31077 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31078
f78b5caa
AK
310792013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31080
31081 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31082 Syntactic changes only.
31083 (_dl_runtime_profile): Do a tail-call to the resolved function.
31084
29691210
JM
310852013-02-17 Joseph Myers <joseph@codesourcery.com>
31086
31087 [BZ #13550]
31088 * sysdeps/x86_64/bp-asm.h: Remove file.
31089 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31090 <bp-sym.h> and <bp-asm.h>.
31091 (__clone): Do not use BP_SYM.
31092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31093 <bp-sym.h> and <bp-asm.h>.
31094 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31095 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31096 "bp-asm.h".
31097 (_setjmp): Do not use BP_SYM.
31098 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31099 "bp-asm.h".
31100 (setjmp): Do not use BP_SYM.
31101 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31102 libc_hidden_def.
31103 (mempcpy): Do not use BP_SYM in weak_alias.
31104 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31105 "bp-asm.h".
31106 (strchr): Do not use BP_SYM.
31107 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31108 "bp-asm.h".
31109 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31110 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31111 (_start): Do not use BP_SYM.
31112 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31113 "bp-asm.h".
31114 (strcat): Do not use BP_SYM.
31115 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31116 "bp-asm.h".
31117 (STRCMP): Do not use BP_SYM.
31118 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31119 "bp-asm.h".
31120 (STRCPY): Do not use BP_SYM.
31121 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31122 "bp-asm.h".
31123 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31124 "bp-asm.h".
31125 (FUNCTION): Do not use BP_SYM.
31126 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31127 weak_alias.
31128 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31129
f238fd19
AJ
311302013-02-17 Andreas Jaeger <aj@suse.de>
31131
31132 * time/Versions: Sort entries.
31133 * string/Versions: Likewise.
31134 * resolv/Versions: Likewise.
31135 * posix/Versions: Likewise.
31136 * iconv/Versions: Likewise.
31137 * elf/Versions: Likewise.
31138 * wcsmbs/Versions: Likewise.
31139
bd07f23c 311402013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31141
22af19f9
SP
31142 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31143 loop termination condition.
31144
4709fe76
SP
31145 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31146 variable to calculate EZ.
31147 (__sqr): Likewise.
2d0e0f29
SP
31148
31149 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31150 the lower precision input.
31151
daaa7713
JM
311522013-02-15 Joseph Myers <joseph@codesourcery.com>
31153
31154 [BZ #13550]
31155 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31156 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31157 (run-via-rtld-prefix): Do not handle %-bp tests.
31158 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31159 (all-object-suffixes): Remove .ob.
31160 (bppfx): Remove variable.
31161 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31162 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31163 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31164 [$(build-bounded) = yes] (libtype.ob): Likewise.
31165 * Makerules (elide-routines.ob): Remove variable.
31166 (do-tests-clean): Do not handle *-bp.out.
31167 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31168 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31169 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31170 (tests): Do not include $(tests-bp.out).
31171 (xtests): Do not include $(xtests-bp.out).
31172 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31173 [$(build-bounded) = yes] ($(addprefix
31174 $(objpfx),$(binaries-bounded))): Remove rule.
31175 ($(objpfx)%-bp.out): Remove rule.
31176 * config.make.in (build-bounded): Remove variable.
31177 * crypt/Makefile [$(build-bounded) = yes]
31178 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31179 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31180 append to variable.
31181 [$(build-bounded) = yes] (install-lib): Likewise.
31182 [$(build-bounded) = yes] (generated): Likewise.
31183 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31184 Remove rule.
31185 * intl/Makefile [$(build-bounded) = yes]
31186 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31187 * math/Makefile [$(build-bounded) = yes]
31188 ($(tests:%=$(objpfx)%-bp): Likewise.
31189 * misc/Makefile [$(build-bounded) = yes]
31190 ($(objpfx)tst-tsearch-bp): Likewise.
31191 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31192 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31193 Remove dependency.
31194 * string/Makefile (o-objects.ob): Remove variable.
31195 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31196 (CFLAGS-.ob): Remove variable.
31197 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31198 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31199 both definitions of variable.
31200 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31201 (ASFLAGS-.ob): Remove variable.
31202
e97ed6dd
JM
312032013-02-14 Joseph Myers <joseph@codesourcery.com>
31204
2bdd4ca6
JM
31205 [BZ #13550]
31206 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31207 Remove __BOUNDED_POINTERS__ from condition.
31208 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31209 * string/bits/string2.h [!__NO_STRING_INLINES &&
31210 !__BOUNDED_POINTERS__]: Likewise.
31211 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31212 Likewise.
31213 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31214 Remove conditional code.
31215 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31216 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31217 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31218 condition.
31219
e97ed6dd
JM
31220 [BZ #13550]
31221 * csu/libc-start.c: Do not include <bp-sym.h>.
31222 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31223 * elf/dl-open.c: Do not include <bp-sym.h>.
31224 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31225 * math/fegetenv.c: Do not include <bp-sym.h>.
31226 (fegetenv): Do not use BP_SYM in versioned symbols.
31227 * nptl/sysdeps/pthread/bits/libc-lockP.h
31228 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31229 <bp-sym.h>.
31230 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31231 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31232 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31233 (__pthread_mutex_destroy): Likewise.
31234 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31235 (__pthread_mutex_lock): Likewise.
31236 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31237 (__pthread_mutex_trylock): Likewise.
31238 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31239 (__pthread_mutex_unlock): Likewise.
31240 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31241 (__pthread_mutexattr_init): Likewise.
31242 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31243 (__pthread_mutexattr_destroy): Likewise.
31244 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31245 (__pthread_mutexattr_settype): Likewise.
31246 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31247 (__pthread_rwlock_init): Likewise.
31248 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31249 (__pthread_rwlock_destroy): Likewise.
31250 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31251 (__pthread_rwlock_rdlock): Likewise.
31252 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31253 (__pthread_rwlock_tryrdlock): Likewise.
31254 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31255 (__pthread_rwlock_wrlock): Likewise.
31256 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31257 (__pthread_rwlock_trywrlock): Likewise.
31258 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31259 (__pthread_rwlock_unlock): Likewise.
31260 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31261 (__pthread_key_create): Likewise.
31262 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31263 (__pthread_setspecific): Likewise.
31264 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31265 (__pthread_getspecific): Likewise.
31266 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31267 Likewise.
31268 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31269 (_pthread_cleanup_push_defer): Likewise.
31270 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31271 (_pthread_cleanup_pop_restore): Likewise.
31272 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31273 (pthread_setcancelstate): Likewise.
31274 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31275 <bp-sym.h>.
31276 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31277 (memchr): Do not use BP_SYM in weak_alias.
31278 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31279 (fegetenv): Do not use BP_SYM in versioned symbols.
31280 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31281 (fesetenv): Do not use BP_SYM in versioned symbols.
31282 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31283 (feupdateenv): Do not use BP_SYM in versioned symbols.
31284 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31285 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31286 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31287 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31288 (open64): Do not use BP_SYM in weak_alias.
31289 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31290 (fegetenv): Do not use BP_SYM in versioned symbols.
31291 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31292 (fesetenv): Do not use BP_SYM in versioned symbols.
31293 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31294 (feupdateenv): Do not use BP_SYM in versioned symbols.
31295 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31296 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31297 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31298 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31299 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31300 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31301 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31302 <bp-sym.h>.
31303 (__libc_start_main): Do not use BP_SYM.
31304
d6752ccd
SP
313052013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31306
cb57ce60
SP
31307 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31308 redundant return line.
31309 (norm): Likewise.
31310 (denorm): Likewise.
31311 (dbl_mp): Likewise.
31312 (sub_magnitudes): Likewise.
31313 (__add): Likewise.
31314 (__sub): Likewise.
31315 (__mul): Likewise.
31316 (__inv): Likewise.
31317 (__dvd): Likewise.
31318 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31319 (norm): Likewise.
31320 (denorm): Likewise.
31321 (dbl_mp): Likewise.
31322 (sub_magnitudes): Likewise.
31323 (__add): Likewise.
31324 (__sub): Likewise.
31325 (__mul): Likewise.
31326 (__inv): Likewise.
31327 (__dvd): Likewise.
31328
f414520d
SP
31329 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31330 instead of __mul.
31331 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31332 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31333 (cc32): Likewise.
31334
d6752ccd
SP
31335 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31336 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31337 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31338 of __mul for squares.
31339 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31340 function
31341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31342 Likewise.
31343 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31344 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31345
70d9946a
JM
313462013-02-13 Joseph Myers <joseph@codesourcery.com>
31347
31348 [BZ #13550]
31349 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31350 code.
31351 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31352 prototype or function definition. Rename ubp_* variables and
31353 parameters. Remove argv definitions conditional on
31354 [__BOUNDED_POINTERS__].
31355 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31356 * elf/dl-runtime.c (_dl_fixup): Likewise.
31357 * include/set-hooks.h (RUN_HOOK): Likewise.
31358 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31359 definition.
31360 * string/strcpy.c (strcpy): Do not use __unbounded.
31361 * sysdeps/generic/frame.h (struct layout): Likewise.
31362 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31363 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31364 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31365 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31366 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31367 (__backtrace): Likewise.
31368 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31369 use __ptrvalue.
31370 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31371 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31372 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31373 Likewise.
31374 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31375 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31376 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31377 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31378 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31379 Do not use __unbounded.
31380 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31381 Rename __unboundedrlimits parameter to rlimits in prototype.
31382 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31383 Do not use __unbounded.
31384 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31385 not use __ptrvalue.
31386 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31387 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31388 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31389 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31390 __ptrvalue or __unbounded.
31391 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31392 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31393 use __unbounded.
31394 (__new_msgctl): Do not use __ptrvalue.
31395 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31396 __unbounded.
31397 (__libc_msgrcv): Do not use __ptrvalue.
31398 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31399 startup_info): Do not use __unbounded.
31400 (__libc_start_main): Likewise. Rename ubp_* variables and
31401 parameters. Remove argv definitions conditional on
31402 [__BOUNDED_POINTERS__].
31403 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31404 __ptrvalue.
31405 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31406 use __unbounded.
31407 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31408 or __ptrvalue.
31409 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31410 use __unbounded.
31411 (__new_shmctl): Do not use __ptrvalue.
31412 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31413 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31414 Likewise.
31415 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31416 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31417 (__libc_sigaction): Likewise.
31418 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31419 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31420 Likewise.
31421 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31422
cc7834d6
OB
314232013-02-13 Ondřej Bílka <neleai@seznam.cz>
31424
ffb1ec7b 31425 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31426
31427 * string/mempcpy.c: Implement by calling memcpy.
31428
bdf02814
SP
314292013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31430
c2af38aa
SP
31431 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31432
4e92d59e
SP
31433 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31434 evaluation.
31435
909279a5
SP
31436 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31437 values in the mantissa.
31438
bdf02814
SP
31439 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31440 minimize writes to Z.
31441 (sub_magnitudes): Simplify code a bit.
31442
cd525923
RM
314432013-02-12 Roland McGrath <roland@hack.frob.com>
31444
31445 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31446 from the message. The linker prefixes all warnings with that already.
31447
7e2f0d2d
AS
314482013-02-12 Andreas Schwab <schwab@suse.de>
31449
a445af0b
AS
31450 [BZ #15078]
31451 * posix/regexec.c (extend_buffers): Add parameter min_len.
31452 (check_matching): Pass minimum needed length.
31453 (clean_state_log_if_needed): Likewise.
31454 (get_subexp): Likewise.
31455 * posix/Makefile (tests): Add bug-regex34.
31456 (bug-regex34-ENV): Define.
31457 * posix/bug-regex34.c: New file.
31458
7e2f0d2d
AS
31459 [BZ #11561]
31460 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31461 elements compare against the byte sequence of it, not its name.
31462 * posix/Makefile (tests): Add bug-regex35.
31463 (bug-regex35-ENV): Define.
31464 * posix/bug-regex35.c: New file.
31465
a175b684
TV
314662013-02-11 Tom de Vries <tom@codesourcery.com>
31467
31468 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31469 comment.
31470 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31471 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31472 (CHECK_EOL): Add undef.
31473
310998fe 314742013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31475
31476 * bits/stdlib-bsearch.h: New file.
31477 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31478 * stdlib/stdlib.h: Likewise.
41eda41d 31479
8ded91fb
RM
314802013-02-11 Roland McGrath <roland@hack.frob.com>
31481
31482 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31483 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31484 declaration.
31485 * manual/search.texi (Array Search Function): Add missing const in
31486 lfind prototype.
31487 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31488 declaration to use rlim_t.
31489 (Basic Scheduling Functions): Remove erroneous const from
31490 sched_getparam prototype. Remove erroneous * from
31491 sched_get_priority_max and sched_get_priority_min prototypes.
31492 (Resource Usage): Fix summary @comment on vtimes to refer to
31493 sys/vtimes.h rather than vtimes.h.
31494 Add missing *s in vtimes prototype.
31495 (Limits on Resources): Fix ulimit prototype to return long int.
31496 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31497 prototypes to use long int rather than double.
31498 (BSD Random): Fix initstate and setstate to use char *, not void *.
31499 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31500 prototype to make second argument 'struct aiocb64 *const[]'.
31501 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31502 (Status of AIO Operations): Remove erroneous const in aio_return and
31503 aio_return64 prototypes.
31504 (Synchronizing I/O): Fix sync prototype to return void.
31505 * manual/startup.texi (Suboptions): Remove an erroneous const in
31506 getsubopt prototype.
31507 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31508 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31509 use size_t rather than int.
31510 (Scanning All Users): Likewise for getpwent_r.
31511 (Setting Groups): Add missing const to setgroups prototype.
31512 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31513 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31514 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31515 'const void *' rather than 'const char *'.
31516 (Host Address Functions): Likewise for inet_ntop.
31517 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31518 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31519 ssize_t for return value.
31520 (Sending Data): Likewise for send, sendto, sendmsg.
31521 (Socket Option Functions): Add a missing const in setsockopt prototype.
31522 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31523 use wchar_t for the argument.
31524 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31525 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31526 take no arguments.
31527 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31528 double/float/long double for second argument.
31529 Fix return types of significand, significandf, significandl.
31530 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31531 argument in fchmod prototype.
31532 (File Owner): Use uid_t and gid_t in fchown prototype.
31533 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31534 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31535 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31536 use 'const struct dirent **' as argument types to CMP function pointer
31537 argument.
31538 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31539 (File Times): Fix summary magic @comment for struct utimbuf and utime
31540 to refer to utime.h, not time.h.
31541 * manual/string.texi (Argz Functions): Add missing const in
31542 argz_extract and argz_next prototypes.
31543 (Finding Tokens in a String): Likewise for basename.
31544 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31545 (Copying and Concatenation): Fix typo in wmemmove prototype.
31546 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31547 (Signal Stack): Remove erroneous const in sigstack prototype.
31548 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31549 prototype.
31550 (Simple Calendar Time): Likewise for stime.
31551 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31552 prototype.
31553 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31554 say sys/sysctl.h instead.
31555 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31556 and vsyslog prototypes.
31557
fe77fe6d
TV
315582013-02-11 Tom de Vries <tom@codesourcery.com>
31559
31560 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31561 Remove.
31562
3a09b620
RM
315632013-02-11 Roland McGrath <roland@hack.frob.com>
31564
31565 * misc/sys/mman.h: Fix typo in mremap comment.
31566
550a0b89
RM
315672013-02-08 Roland McGrath <roland@hack.frob.com>
31568
31569 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31570 the '\0' terminator.
31571
a2da1673
JM
315722013-02-08 Joseph Myers <joseph@codesourcery.com>
31573
31574 [BZ #13550]
31575 * debug/segfault.c: Don't include <bp-checks.h>.
31576 * sysdeps/generic/bp-checks.h: Remove file.
31577 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31578 (__GETDENTS): Don't use CHECK_N.
31579 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31580 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31581 (__getgroups): Don't use CHECK_N.
31582 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31583 (setgroups): Don't use CHECK_N.
31584 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31585 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31586 (__libc_msgrcv): Don't use CHECK_N.
31587 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31588 (__libc_msgsnd): Don't use CHECK_N.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31590 <bp-checks.h>.
31591 (__libc_pread): Don't use CHECK_N.
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31593 include <bp-checks.h>.
31594 (__libc_pread64): Don't use CHECK_N.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31596 include <bp-checks.h>.
31597 (__libc_pwrite): Don't use CHECK_N.
31598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31599 include <bp-checks.h>.
31600 (__libc_pwrite64): Don't use CHECK_N.
31601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31602 <bp-checks.h>.
31603 (__libc_pread): Don't use CHECK_N.
31604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31605 include <bp-checks.h>.
31606 (__libc_pread64): Don't use CHECK_N.
31607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31608 include <bp-checks.h>.
31609 (__libc_pwrite): Don't use CHECK_N.
31610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31611 include <bp-checks.h>.
31612 (__libc_pwrite64): Don't use CHECK_N.
31613 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31614 (do_pread): Don't use CHECK_N.
31615 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31616 (do_pread64): Don't use CHECK_N.
31617 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31618 (do_pwrite): Don't use CHECK_N.
31619 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31620 (do_pwrite64): Don't use CHECK_N.
31621 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31622 (__libc_readv): Don't use CHECK_N.
31623 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31624 (semop): Don't use CHECK_N.
31625 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31626 <bp-checks.h>.
31627 (semtimedop): Don't use CHECK_N.
31628 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31629 (__libc_pread): Don't use CHECK_N.
31630 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31631 <bp-checks.h>.
31632 (__libc_pread64): Don't use CHECK_N.
31633 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31634 <bp-checks.h>.
31635 (__libc_pwrite): Don't use CHECK_N.
31636 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31637 <bp-checks.h>.
31638 (__libc_pwrite64): Don't use CHECK_N.
31639 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31640 <bp-checks.h>.
31641 (__libc_msgrcv): Don't use CHECK_N.
31642 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31643 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31644 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31645 (__libc_writev): Don't use CHECK_N.
31646
b84660a8
RM
316472013-02-08 Roland McGrath <roland@hack.frob.com>
31648
7f3e75f8
RM
31649 * string/strcpy.c: Removed unused variable.
31650
b84660a8
RM
31651 * Makeconfig (+sysdep-includes): Define with := rather than =.
31652 Use an existing include/ subdir of each sysdeps dir before it.
31653
471514d3
CD
316542013-02-08 Carlos O'Donell <carlos@redhat.com>
31655
31656 * nscd/connection.c (register_traced_file): Comment function.
31657 [HAVE_INOTIFY] (union __inev): Define.
31658 [HAVE_INOTIFY] (inotify_check_files): New function.
31659 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31660 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31661 clear_db_cache.
31662 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31663
b2d3c3be
CD
316642013-02-08 Carlos O'Donell <carlos@redhat.com>
31665
31666 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31667 loaded if not already and that a failure is permanent.
31668
b39949d2
CD
316692013-02-08 Carlos O'Donell <carlos@redhat.com>
31670
ddacd1db 31671 [BZ #15006]
b39949d2
CD
31672 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31673 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31674
b2c9eff4
JM
316752013-02-08 Joseph Myers <joseph@codesourcery.com>
31676
f3aae3f3
JM
31677 [BZ #13550]
31678 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31679 (CHECK_1_NULL_OK): Likewise.
31680 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31681 (__fxstat): Do not use CHECK_1.
31682 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31683 <bp-checks.h>.
31684 (___fxstat64): Do not use CHECK_1.
31685 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31686 <bp-checks.h>.
31687 (__fxstatat): Do not use CHECK_1.
31688 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31689 <bp-checks.h>.
31690 (__fxstatat64): Do not use CHECK_1.
31691 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31692 <bp-checks.h>.
31693 (__fxstat): Do not use CHECK_1.
31694 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31695 <bp-checks.h>.
31696 (__fxstatat): Do not use CHECK_1.
31697 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31698 <bp-checks.h>.
31699 (__getresgid): Do not use CHECK_1.
31700 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31701 <bp-checks.h>.
31702 (__getresuid): Do not use CHECK_1.
31703 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31704 <bp-checks.h>.
31705 (__lxstat): Do not use CHECK_1.
31706 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31707 <bp-checks.h>.
31708 (__old_msgctl): Do not use CHECK_1.
31709 (__new_msgctl): Likewise.
31710 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31711 <bp-checks.h>.
31712 (__new_setrlimit): Do not use CHECK_1.
31713 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31714 <bp-checks.h>.
31715 (__old_shmctl): Do not use CHECK_1.
31716 (__new_shmctl): Likewise.
31717 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31718 <bp-checks.h>.
31719 (__xstat): Do not use CHECK_1.
31720 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31721 (__lxstat): Do not use CHECK_1.
31722 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31723 <bp-checks.h>.
31724 (___lxstat64): Do not use CHECK_1.
31725 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31726 (__old_msgctl): Do not use CHECK_1.
31727 (__new_msgctl): Likewise.
31728 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31729 <bp-checks.h>.
31730 (__gettimeofday): Do not use CHECK_1.
31731 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31732 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31733 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31734 <bp-checks.h>.
31735 (__gettimeofday): Do not use CHECK_1.
31736 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31737 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31738 (__new_shmctl): Do not use CHECK_1.
31739 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31740 <bp-checks.h>.
31741 (do_sigtimedwait): Do not use CHECK_1.
31742 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31743 <bp-checks.h>.
31744 (do_sigwaitinfo): Do not use CHECK_1.
31745 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31746 <bp-checks.h>.
31747 (msgctl): Do not use CHECK_1.
31748 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31749 <bp-checks.h>.
31750 (shmctl): Do not use CHECK_1.
31751 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31752 (ustat): Do not use CHECK_1.
31753 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31754 <bp-checks.h>.
31755 (__fxstat): Do not use CHECK_1.
31756 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31757 <bp-checks.h>.
31758 (__fxstatat): Do not use CHECK_1.
31759 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31760 <bp-checks.h>.
31761 (__lxstat): Do not use CHECK_1.
31762 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31763 <bp-checks.h>.
31764 (__xstat): Do not use CHECK_1.
31765 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31766 (__xstat): Do not use CHECK_1.
31767 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31768 (___xstat64): Do not use CHECK_1.
31769
b2c9eff4
JM
31770 [BZ #13550]
31771 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31772 definitions.
31773 (CHECK_BOUNDS_HIGH): Likewise.
31774 * string/strcpy.c: Do not include <bp-checks.h>.
31775 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31776
f1d70dad
RM
317772013-02-07 Roland McGrath <roland@hack.frob.com>
31778
31779 * nscd/nscd-client.h (__nscd_drop_map_ref):
31780 Add __attribute__ ((unused)).
31781 * nis/nss-nisplus.h (niserr2nss): Likewise.
31782
31783 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31784 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31785
31786 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31787 Remove inline keyword.
31788 * include/rounding-mode.h (round_away): Likewise.
31789 * libio/wfileops.c (adjust_wide_data): Likewise.
31790 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31791 (__m128i_strloadu_tolower): Likewise.
31792 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31793 (__m128i_strloadu_tolower): Likewise.
31794 * time/mktime.c (ydhms_diff): Likewise.
31795 * locale/elem-hash.h (elem_hash): Likewise.
31796 * locale/setlocale.c (setdata): Likewise.
31797 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31798 (re_string_wchar_at): Likewise.
31799 (bitset_not, bitset_merge, bitset_mask): Likewise.
31800 [!(__GNUC__ > 3)] (inline): Remove macro.
31801 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31802 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31803 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31804 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31805 * string/memcmp.c (memcmp_bytes): Likewise.
31806 * locale/programs/locarchive.c (compute_hashval): Likewise.
31807 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31808 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31809 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31810 * nss/getent.c (print_rpc, print_protocols): Likewise.
31811 (print_passwd, print_group, print_aliases): Likewise.
31812 * nis/nss-nisplus.h (niserr2nss): Likewise.
31813 * nscd/connections.c (restart_p): Likewise.
31814 Change return type to bool.
31815
eab55bfb
RM
318162013-02-05 Roland McGrath <roland@hack.frob.com>
31817
7bd642f5
RM
31818 * Makeconfig (all-Depend-files): Add existing
31819 $(sorted-subdirs:=/Depend) files.
31820 (all-subdirs): Remove nss.
31821 * sysdeps/unix/inet/Subdirs: Add it here instead.
31822 * hesiod/Depend: New file.
31823
573c29b2
RM
31824 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31825 instead of calling alloca.
31826
b2e25af0
RM
31827 * io/lseek.c (__lseek): Rename to __libc_lseek.
31828 Define __lseek as an alias.
31829
eab55bfb
RM
31830 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31831
9a0d1941
CD
318322013-02-04 Carlos O'Donell <carlos@redhat.com>
31833
31834 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31835 else clause and remove check for non-standard endianness.
31836
b83bbec4
DM
318372013-02-04 David S. Miller <davem@davemloft.net>
31838
31839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31840
6277fdab
JM
318412013-02-04 Joseph Myers <joseph@codesourcery.com>
31842
31843 [BZ #13550]
31844 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31845 (__ubp_memchr): Remove prototype.
31846 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31847 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31848 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31849 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31850 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31851 Remove alias.
31852 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31853 (__ubp_memchr): Likewise.
31854 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31855 (__ubp_memchr): Likewise.
31856 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31857 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31858 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31859 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31860 CHECK_STRING.
31861 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31862 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31863 (__getcwd): Do not use CHECK_STRING.
31864 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31865 <bp-checks.h>.
31866 (__real_chown): Do not use CHECK_STRING.
31867 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31868 <bp-checks.h>.
31869 (fchownat): Do not use CHECK_STRING.
31870 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31871 CHECK_STRING.
31872 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31873 <bp-checks.h>.
31874 (__lchown): Do not use CHECK_STRING.
31875 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31876 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31877 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31878 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31880 include <bp-checks.h>.
31881 (truncate64): Do not use CHECK_STRING.
31882 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31883 <bp-checks.h>.
31884 (__real_chown): Do not use CHECK_STRING.
31885 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31886 <bp-checks.h>.
31887 (__lchown): Do not use CHECK_STRING.
31888 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31889 <bp-checks.h>.
31890 (__chown): Do not use CHECK_STRING.
31891 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31892 <bp-checks.h>.
31893 (truncate64): Do not use CHECK_STRING.
31894 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31895 Likewise.
31896 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31897 (__xmknod): Do not use CHECK_STRING.
31898 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31899 <bp-checks.h>.
31900 (__xmknodat): Do not use CHECK_STRING.
31901 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31902 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31903
903ae060
AS
319042013-02-04 Andreas Schwab <schwab@suse.de>
31905
31906 [BZ #14142]
31907 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31908 * include/netdb.h: Likewise for h_errno.
31909 * elf/tst-stackguard1.c: Include <tls.h>.
31910
542f9466
JK
319112013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31912
31913 * elf/link.h (struct link_map): Extend the l_addr comment.
31914 * include/link.h (struct link_map): Likewise.
31915
e782a927
JM
319162013-02-01 Joseph Myers <joseph@codesourcery.com>
31917
31918 [BZ #13550]
31919 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31920 (BOUNDED_1): Remove macro.
31921 * debug/backtrace.c: Don't include <bp-checks.h>.
31922 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31923 (__backtrace): Likewise.
31924 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31925 <bp-checks.h>.
31926 (__backtrace): Don't use BOUNDED_1.
31927 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31928 <bp-checks.h>.
31929 (__backtrace): Don't use BOUNDED_1.
31930 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31931 (__backtrace): Don't use BOUNDED_1.
31932 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31933 (shmat): Don't use BOUNDED_N.
31934
8cf28c5e
JM
319352013-01-31 Joseph Myers <joseph@codesourcery.com>
31936
3a7ac8a0
JM
31937 [BZ #13550]
31938 * sysdeps/generic/bp-start.h: Remove file.
31939 * csu/libc-start.c: Don't include <bp-start.h>.
31940 (LIBC_START_MAIN): Set up __environ directly instead of using
31941 INIT_ARGV_and_ENVIRON.
31942 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31943 <bp-start.h>.
31944
f3499f95
JM
31945 [BZ #13550]
31946 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31947 definitions.
31948 (CHECK_FCNTL): Likewise.
31949 (CHECK_N_PAGES): Likewise.
31950
32a45bea
JM
31951 [BZ #13550]
31952 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31953 definitions.
31954 (CHECK_SIGSET_NULL_OK): Likewise.
31955 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31956 <bp-checks.h>.
31957 (sigpending): Don't use CHECK_SIGSET.
31958 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31959 <bp-checks.h>.
31960 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31961 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31962 <bp-checks.h>.
31963 (do_sigsuspend): Don't use CHECK_SIGSET.
31964 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31965 use CHECK_SIGSET.
31966 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31967 (do_sigwait): Don't use CHECK_SIGSET.
31968 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31969 use CHECK_SIGSET.
31970 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31971 include <bp-checks.h>.
31972 (sigpending): Don't use CHECK_SIGSET.
31973 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31974 include <bp-checks.h>.
31975 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31976 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31977 <bp-checks.h>.
31978 (sigpending): Don't use CHECK_SIGSET.
31979 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31980 <bp-checks.h>.
31981 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31982
2e8a5c8c
JM
31983 [BZ #13550]
31984 * sysdeps/generic/bp-semctl.h: Remove file.
31985 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31986 <bp-checks.h> and <bp-semctl.h>.
31987 (__old_semctl): Don't use CHECK_SEMCTL.
31988 (__new_semctl): Likewise.
31989 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31990 and <bp-semctl.h>.
31991 (__old_semctl): Don't use CHECK_SEMCTL.
31992 (__new_semctl): Likewise.
31993 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31994 <bp-checks.h> and <bp-semctl.h>.
31995 (__old_semctl): Don't use CHECK_SEMCTL.
31996 (__new_semctl): Likewise.
31997 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31998 <bp-checks.h> and <bp-semctl.h>.
31999 (semctl): Don't use CHECK_SEMCTL.
32000
c2d54929
JM
32001 [BZ #13550]
32002 * Makerules (elide-bp-thunks): Remove variable.
32003 (elide-routines.oS): Don't use $(elide-bp-thunks).
32004 (elide-routines.os): Likewise.
32005 (elide-routines.o): Likewise.
32006 (elide-routines.op): Likewise.
32007 (elide-routines.og): Likewise.
32008 (objects): Don't use $(bp-thunks).
32009 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32010 include.
32011 (common-generated): Do not add s-proto-bp.d.
32012 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32013 (int): Likewise.
32014 (typ): Likewise.
32015 Do not generate makefile rules for bounded-pointer thunks.
32016 * sysdeps/generic/bp-thunks.h: Remove file.
32017 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32018 * sysdeps/unix/s-proto-bp.S: Likewise.
32019
8cf28c5e
JM
32020 [BZ #15062]
32021 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32022 parts of result separately when argument is not close to line from
32023 -i to i and one part of argument is small.
32024 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32025 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32026 * math/libm-test.inc (cacos_test): Add more tests.
32027 (casin_test): Likewise.
32028 (casinh_test): Likewise.
32029 * sysdeps/i386/fpu/libm-test-ulps: Update.
32030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32031
c4e33b8d
DM
320322013-01-31 David S. Miller <davem@davemloft.net>
32033
32034 * po/de.po: Update from translation team.
32035
3b60b421
MK
320362013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32037
32038 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32039
bb931195
TS
320402013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32041
b5a5da23
TS
32042 * configure.in (_AC_PROG_CC_C89): New definition.
32043 * configure: Regenerate.
32044
bb931195
TS
32045 * configure.in (AC_PROG_CPP): New definition.
32046 * configure: Regenerate.
32047
8c53a12c
JM
320482013-01-23 Joseph Myers <joseph@codesourcery.com>
32049
32050 * debug/tst-backtrace.h: New file.
32051 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32052 (ret): Remove variable.
32053 (x): Likewise.
32054 (FAIL): Remove macro.
32055 (NO_INLINE): Likewise.
32056 (fn1): Use match function instead of strstr.
32057 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32058 (ret): Remove variable.
32059 (x): Likewise.
32060 (FAIL): Remove macro.
32061 (NO_INLINE): Likewise.
32062 (fn): Use match function instead of strstr.
32063 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32064 (ret): Remove variable.
32065 (x): Likewise.
32066 (FAIL): Remove macro.
32067 (NO_INLINE): Likewise.
32068 (handle_signal): Use match function instead of strstr.
32069 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32070 (ret): Remove variable.
32071 (x): Likewise.
32072 (FAIL): Remove macro.
32073 (NO_INLINE): Likewise.
32074 (handle_signal): Use match function instead of strstr.
32075
4858fa2a
RM
320762013-01-23 Roland McGrath <roland@hack.frob.com>
32077
32078 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32079
bae8e7f5
DM
320802013-01-23 David S. Miller <davem@davemloft.net>
32081
32082 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32083 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32084 argument of CAS if possible.
32085 * sysdeps/sparc/sparc64/bits/atomic.h
32086 (__arch_compare_and_exchange_val_32_acq): Likewise.
32087 (__arch_compare_and_exchange_val_64_acq): Likewise.
32088
9cbbc4ae
PT
320892013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32090
32091 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32092 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32093 Include <limits.h>.
67b3f58c 32094 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32095
5655a0b5
AC
320962013-01-23 Adam Conrad <adconrad@0c3.net>
32097
32098 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32099 (LDFLAGS-tst-array5): Likewise.
32100
052aff95
JM
321012013-01-23 Joseph Myers <joseph@codesourcery.com>
32102
32103 [BZ #15036]
32104 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32105 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32106 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32107 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32108
7c1e01aa
DM
321092013-01-21 David S. Miller <davem@davemloft.net>
32110
32111 * sysdeps/sparc/backtrace.c: New file.
32112 * sysdeps/sparc/sparc32/backtrace.h: New file.
32113 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32114 * sysdeps/sparc/sparc64/backtrace.h: New file.
32115 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32116 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32117 -funwind-tables.
32118
ab087e0a
AS
321192013-01-21 Andreas Schwab <schwab@suse.de>
32120
32121 [BZ #15020]
32122 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32123 closed its stdout.
32124
ed689c2f
AS
321252013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32126
32127 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32128 "mpa2.h".
32129 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32130
31d470ac
JM
321312013-01-18 Joseph Myers <joseph@codesourcery.com>
32132 Mark Mitchell <mark@codesourcery.com>
32133 Tom de Vries <tom@codesourcery.com>
32134 Paul Pluzhnikov <ppluzhnikov@google.com>
32135
32136 * debug/tst-backtrace2.c: New file.
32137 * debug/tst-backtrace3.c: Likewise.
32138 * debug/tst-backtrace4.c: Likewise.
32139 * debug/tst-backtrace5.c: Likewise.
32140 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32141 (CFLAGS-tst-backtrace3.c): Likewise.
32142 (CFLAGS-tst-backtrace4.c): Likewise.
32143 (CFLAGS-tst-backtrace5.c): Likewise.
32144 (LDFLAGS-tst-backtrace2): Likewise.
32145 (LDFLAGS-tst-backtrace3): Likewise.
32146 (LDFLAGS-tst-backtrace4): Likewise.
32147 (LDFLAGS-tst-backtrace5): Likewise.
32148 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32149 tst-backtrace4 and tst-backtrace5.
32150
90567f30 321512013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32152 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32153
32154 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32155 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32156 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32157 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32158 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32159 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32160 "+r" and remove output regs list as redundant. Add explicit inline
32161 asm to specify register of return val to work around compiler codegen
32162 bug. Remove (int) cast on return value. Add return type parameter to
32163 use in macro so that this macro does not truncate return value for
32164 64-bit values.
32165 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32166 pass to INTERNAL_VSYSCALL_NCS.
32167 (INLINE_VSYSCALL): Add 'long int' as return type to
32168 INTERNAL_VSYSCALL_NCS macro invocation.
32169 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32170 INTERNAL_VSYSCALL_NCS macro invocation.
32171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32172
d3b9ea61
SP
321732013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32174
0b57daeb
SP
32175 [BZ #14496]
32176 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32177 Fix application of SIMD FP exception mask.
32178
caa99d06
SP
32179 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32180 mp_no from a power of two.
32181 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32182 __mpexp_twomm1. Use __pow_mp.
32183
d3b9ea61
SP
32184 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32185 multiplication.
32186
1dbaee3c
DM
321872013-01-17 David S. Miller <davem@davemloft.net>
32188
32189 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32190
728d7b43
JM
321912013-01-17 Joseph Myers <joseph@codesourcery.com>
32192
32193 [BZ #15023]
32194 * include/complex.h: Condition contents on [!_COMPLEX_H].
32195 (__kernel_casinhf): New prototype.
32196 (__kernel_casinh): Likewise.
32197 (__kernel_casinhl): Likewise.
32198 * math/Makefile (libm_calls): Add k_casinh.
32199 * math/k_casinh.c: New file.
32200 * math/k_casinhf.c: Likewise.
32201 * math/k_casinhl.c: Likewise.
32202 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32203 finite nonzero arguments.
32204 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32205 finite nonzero arguments.
32206 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32207 finite nonzero arguments.
32208 * math/s_casinh.c: Do not include <float.h>.
32209 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32210 * math/s_casinhf.c: Do not include <float.h>.
32211 (__casinhf): Move code for finite nonzero arguments to
32212 k_casinhf.c.
32213 * math/s_casinhl.c: Do not include <float.h>.
32214 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32215 redefine.
32216 (__casinhl): Move code for finite nonzero arguments to
32217 k_casinhl.c.
32218 * math/libm-test.inc (cacos_test): Add more tests.
32219 * sysdeps/i386/fpu/libm-test-ulps: Update.
32220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32221
2a26ef3a
PT
322222013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32223
32224 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32225 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32226 [!HAVE_MREMAP]: Remove [defined linux] case.
32227 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32228
a897655d
SP
322292013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32230
32231 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32232
881ebe89 322332013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32234
32235 * elf/elf.h (R_386_SIZE32): New relocation.
32236 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32237 R_386_SIZE32.
32238 (elf_machine_rela): Likewise.
32239 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32240 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32241
59981e9b
JM
322422013-01-17 Joseph Myers <joseph@codesourcery.com>
32243
32244 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32245 (FP_FAST_FMA): Do not define.
32246 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32247 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32248 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32249 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32250 !_SOFT_FLOAT]: Likewise.
32251 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32252 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32253 value.
32254 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32255 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32256 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32257 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32258 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32259 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32260 file.
32261
cfa8054f
AS
322622013-01-16 Andreas Schwab <schwab@suse.de>
32263
32264 [BZ #14327]
32265 * include/stdlib.h (__mktemp): Add declaration.
32266 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32267 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32268
dd930cc5
SP
322692013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32270
881ebe89
SP
32271 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32272 definitions.
32273 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32274 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32275 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32276 definitions here.
32277 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32278 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32279 definitions.
32280 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32281 and ONE.
32282 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32283 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32284 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32285 definitions.
32286 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32287 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32288 definitions.
32289 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32290
dd930cc5
SP
32291 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32292
c19a9f89
DM
322932013-01-15 David S. Miller <davem@davemloft.net>
32294
1aa61767
DM
32295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32296 trunc{,f} to libm-sysdep_routes.
32297 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32299 file.
32300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32302 file.
32303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32304 file.
32305 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32307 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32308 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32309 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32310 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32311 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32312 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32313
c42d5e98
DM
32314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32315 nearbyint{,f} to libm-sysdep_routes.
32316 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32318 New file.
32319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32320 file.
32321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32322 New file.
32323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32324 file.
32325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32327 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32328 file.
32329 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32330 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32331 file.
32332 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32333 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32334 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32335
c19a9f89
DM
32336 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32337 libc_feholdexcept and libc_fesetenv.
32338
357679d2
MF
323392013-01-15 Mike Frysinger <vapier@gentoo.org>
32340
32341 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32342
65a82e3d
DM
323432013-01-14 David S. Miller <davem@davemloft.net>
32344
8b954ab9
DM
32345 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32346 (SPARC_ASM_VIS2_IFUNC): Likewise.
32347 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32349 use of 'siam' instruction.
32350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32351 Likewise.
32352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32353 Likewise.
32354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32355 Likewise.
32356 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32357 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32359 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32361 file.
32362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32363 file.
32364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32365 file.
32366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32367 file.
32368 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32369 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32370 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32371 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32373 new VIS2 routines.
32374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32377 Likewise.
32378 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32379 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32380 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32381 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32383 routines to libm-sysdep_routines.
32384 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32385
65a82e3d
DM
32386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32387 fdim/fdimf to libm-sysdep_routines.
32388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32389 file.
32390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32392 file.
32393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32396 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32397 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32398 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32399 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32400
e34ab705
SP
324012013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32402
2a91b573
SP
32403 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32404 to optimize copies.
32405
1066a534
SP
32406 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32408 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32409
e34ab705
SP
32410 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32411 local variable MPTWO.
32412 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32413 Likewise.
32414
aba5e596
MF
324152013-01-13 Mike Frysinger <vapier@gentoo.org>
32416
32417 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32418 GLOB_NOESCAPE.
32419
e557e9e5
MF
324202013-01-13 Mike Frysinger <vapier@gentoo.org>
32421
32422 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32423
0428cec9
MF
324242013-01-13 Mike Frysinger <vapier@gentoo.org>
32425
32426 * manual/pattern.texi (glob_t): Document gl_flags.
32427 (glob64_t): Likewise.
32428
8794a964
DM
324292013-01-11 David S. Miller <davem@davemloft.net>
32430
66438c3f
RM
32431 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32432 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32433 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32434 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32435 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32436 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32437 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32438 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32439 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32440 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32441 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32442 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32443 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32444
4ae4244d
DM
32445 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32446 sparc V9 rather than using V8 code.
32447 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32448 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32449
8794a964
DM
32450 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32451 Move to...
32452 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32453 Here.
32454
6270516e
RM
324552013-01-11 Roland McGrath <roland@hack.frob.com>
32456
32457 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32458 not in the main loop.
32459 * configure: Regenerated.
32460
6a57d931
JM
324612013-01-11 Joseph Myers <joseph@codesourcery.com>
32462
32463 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32464 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32465 to just #else.
32466 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32467 [!__GLIBC_HAVE_LONG_LONG] case.
32468 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32469 condition to just #else.
32470 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32471 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32472 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32473 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32474 unconditional.
32475 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32476 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32477 #elif condition to just #else.
32478 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32479 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32480 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32481 #elif condition to just #else.
32482
0e8529e9
SE
324832013-01-11 Steve Ellcey <sellcey@mips.com>
32484
32485 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32486 (EF_MIPS_ARCH_64): Fix value.
32487 (EF_MIPS_ARCH_32R2): New.
32488 (EF_MIPS_ARCH_64R2): New.
32489
740b3dbe
L
324902013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32491
32492 * Makeconfig (+link-pie-before-libc): New.
32493 (+link-pie-after-libc): Likewise.
32494 (+link-pie-tests): Likewise.
32495 (+link-pie): Rewritten.
32496 (link-before-libc): Remove $(config-LDFLAGS).
32497 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32498 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32499 (config-LDFLAGS): Renamed to ...
32500 (rtld-LDFLAGS): This.
32501 (rtld-tests-LDFLAGS): New macro.
32502 (link-libc-rpath-link): Likewise.
32503 (link-libc-tests-rpath-link): Likewise.
32504 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32505 (link-libc): Prepand $(link-libc-rpath-link).
32506 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32507 (test-program-prefix): New macro.
32508 (test-via-rtld-prefix): Likewise.
32509 (test-program-cmd): Likewise.
32510 (host-test-program-cmd): Likewise.
32511 * Makefile ($(common-objpfx)testrun.sh): Replace
32512 $(run-program-prefix) with $(test-program-prefix).
32513 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32514 $(rtld-LDFLAGS).
32515 ($(common-objpfx)shlib.lds): Likewise.
32516 (build-module-helper): Likewise.
32517 ($(common-objpfx)format.lds): Likewise.
32518 * Rules (binaries-pie-tests): New.
32519 (binaries-pie-notests): Likewise.
32520 (binaries-pie): Rewritten.
32521 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32522 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32523 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32524 (make-test-out): Replace $(host-built-program-cmd) with
32525 $(host-test-program-cmd).
32526 * config.make.in (build-hardcoded-path-in-tests): New variable.
32527 * configure.in (--enable-hardcoded-path-in-tests): New configure
32528 option.
32529 (hardcoded_path_in_tests): New AC_SUBST.
32530 * configure: Regenerated.
32531 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32532 $(built-program-cmd) with $(test-program-cmd).
32533 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32534 (test_program_cmd): This.
32535 * elf/Makefile ($(objpfx)order.out): Run test with
32536 $(test-program-prefix).
32537 ($(objpfx)order2.out): Likewise.
32538 ($(objpfx)tst-initorder.out): Likewise.
32539 ($(objpfx)tst-initorder2.out): Likewise.
32540 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32541 $(test-program-cmd).
32542 ($(objpfx)tst-array1-static.out): Likewise.
32543 ($(objpfx)tst-array2.out): Likewise.
32544 ($(objpfx)tst-array3.out): Likewise.
32545 ($(objpfx)tst-array4.out): Likewise.
32546 ($(objpfx)tst-array5.out): Likewise.
32547 ($(objpfx)tst-array5-static.out): Likewise.
32548 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32549 $(test-program-cmd).
32550 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32551 $(run-program-prefix) with $(test-program-prefix).
32552 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32553 (test_program_prefix): This.
32554 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32555 $(run-program-prefix) with $(test-program-prefix).
32556 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32557 (test_program_prefix): This.
32558 * iconvdata/tst-tables.sh: Likewise.
32559 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32560 $(run-program-prefix) with $(test-program-prefix).
32561 ($(objpfx)tst-translit.out): Likewise.
32562 ($(objpfx)tst-gettext2.out): Likewise.
32563 ($(objpfx)tst-gettext4.out): Likewise.
32564 ($(objpfx)tst-gettext6.out): Likewise.
32565 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32566 (test_program_prefix): This.
32567 * intl/tst-gettext2.sh: Likewise.
32568 * intl/tst-gettext4.sh Likewise.
32569 * intl/tst-gettext6.sh: Likewise.
32570 * intl/tst-translit.sh: Likewise.
32571 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32572 with $(test-program-cmd).
32573 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32574 $(run-program-prefix) with $(test-program-prefix).
32575 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32576 (test_program_prefix): This.
32577 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32578 $(run-program-prefix) with $(test-program-prefix).
32579 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32580 (test_program_prefix): This.
32581 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32582 * posix/Makefile ($(objpfx)globtest.out): Replace
32583 $(run-via-rtld-prefix) and $(test-wrapper) with
32584 $(test-program-prefix) and $(test-via-rtld-prefix).
32585 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32586 $(test-program-prefix).
32587 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32588 $(host-test-program-cmd).
32589 (tst-spawn-ARGS): Likewise.
32590 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32591 $(test-program-prefix).
32592 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32593 (test_via_rtld_prefix): This.
32594 (test_wrapper): Renamed to ...
32595 (test_program_prefix): This.
32596 (run_program_prefix): Replaced by test_program_prefix.
32597 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32598 (test_program_prefix): This.
32599 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32600 with $(host-test-program-cmd).
32601 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32602 $(run-program-prefix) with $(test-program-prefix).
32603 ($(objpfx)tst-printf.out): Likewise.
32604 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32605 $(test-program-cmd).
32606 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32607 (test_program_prefix): This.
32608 * stdio-common/tst-unbputc.sh: Likewise.
32609 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32610 $(run-program-prefix) with $(test-program-prefix).
32611 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32612 (test_program_prefix): This.
32613 * string/Makefile ($(objpfx)tst-svc.out): Replace
32614 $(built-program-cmd) with $(test-program-cmd).
32615
c6fe55cf
AJ
326162013-01-11 Andreas Jaeger <aj@suse.de>
32617
32618 [BZ #15003]
32619 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32620 value. Sync with Linux 3.7.
32621
9e6919c8
DM
326222013-01-10 David S. Miller <davem@davemloft.net>
32623
32624 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32625 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32626 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32627
1c9f1a02
RM
326282013-01-10 Roland McGrath <roland@hack.frob.com>
32629
32630 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32631 never set.
32632 * configure: Regenerated.
32633
b9de2dde
DM
326342013-01-10 David S. Miller <davem@davemloft.net>
32635
32636 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32637 sparc V9 rather than using V8 code.
32638 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32639 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32640
e7f68ef4
RM
326412013-01-10 Roland McGrath <roland@hack.frob.com>
32642
32643 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32644 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32645 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32646 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32647 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32648 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32649 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32650 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32651 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32652 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32653 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32654 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32655 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32656 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32657 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32658 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32659 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32660 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32661 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32662 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32663 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32664 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32665 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32666 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32667 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32668 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32669 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32670
5a47cc9c
DM
326712013-01-10 David S. Miller <davem@davemloft.net>
32672
32673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32674
4cf8f209
L
326752013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32676
32677 * posix/Makefile (tests-static): New variable.
32678 (tests): Add $(tests-static).
32679 (tst-exec-static-ARGS): New variable.
32680 (tst-spawn-static-ARGS): Likewise.
32681 * posix/tst-exec-static.c: New file.
32682 * posix/tst-spawn-static.c: Likewise.
32683 * posix/tst-exec.c: Support run directly.
32684 * posix/tst-spawn.c: Likewise.
32685
fed0faa1
JM
326862013-01-10 Joseph Myers <joseph@codesourcery.com>
32687
828beb13
JM
32688 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32689 long.
32690 * math/bits/mathcalls.h (llrint): Likewise.
32691 (llround): Likewise.
32692 * stdlib/stdlib.h (struct drand48_data): Likewise.
32693 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32694 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32695 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32696 Likewise.
32697 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32698 Likewise.
32699 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32700 (elf_greg_t): Likewise.
32701 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32702 (__jmp_buf): Likewise.
32703 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32704 definitions.
32705 (llrint): Likewise, for all definitions.
32706 (llrintl): Likewise.
32707
fed0faa1
JM
32708 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32709 Remove [__GNUC__] condition.
32710 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32711 condition to just [__USE_ISOC99].
32712 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32713
1a20cb20
L
327142013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32715
32716 [BZ #14200]
32717 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32718 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32719 defined.
32720 (_POSIX_V6_ILP32_OFF32): Likewise.
32721 (_XBS5_ILP32_OFF32): Likewise.
32722 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32723 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32724
751b85f7
SP
327252013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32726
7490eb81
SP
32727 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32728
751b85f7
SP
32729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32730 doubles __mpexp_twomm1. Adjust usage.
32731 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32732 Remove.
32733
988197f0
AS
327342013-01-10 Andreas Schwab <schwab@suse.de>
32735
32736 [BZ #14964]
32737 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32738 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32739
e83d7298
DM
327402013-01-09 David S. Miller <davem@davemloft.net>
32741
034ed64b 32742 [BZ #15003]
57f41c40
AS
32743 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32744 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32745 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32746 (TCP_FASTOPEN): Define.
e83d7298
DM
32747 (tcp_repair_opt): New structure.
32748 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32749 enum values.
57f41c40
AS
32750 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32751 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32752 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32753 (tcp_cookie_transactions): New structure.
32754
d5e0b9bd
AB
327552013-01-09 Anton Blanchard <anton@samba.org>
32756
32757 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32758 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32759 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32760 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32761
0c07e3ea
JM
327622013-01-09 Joseph Myers <joseph@codesourcery.com>
32763
32764 * include/features.h (__USE_ANSI): Remove.
32765
232f7002
RM
327662013-01-09 Roland McGrath <roland@hack.frob.com>
32767
ad98e30c
RM
32768 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32769
232f7002
RM
32770 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32771
950c99ca
SP
327722013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32773
b5792741
SP
32774 * sysdeps/s390/fpu/libm-test-ulps: Update.
32775
47cf2278
SP
32776 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32777
950c99ca
SP
32778 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32779 (__acr): Likewise.
32780 (__cpy): Likewise.
32781 (norm): Likewise.
32782 (denorm): Likewise.
32783 (__mp_dbl): Likewise.
32784 (__dbl_mp): Likewise.
32785 (add_magnitudes): Likewise.
32786 (sub_magnitudes): Likewise.
32787 (__add): Likewise.
32788 (__sub): Likewise.
32789 (__mul): Likewise.
32790 (__inv): Likewise.
32791 (__dvd): Likewise.
32792 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32793 (__acr): Likewise.
32794 (__cpy): Likewise.
32795 (norm): Likewise.
32796 (denorm): Likewise.
32797 (__mp_dbl): Likewise.
32798 (__dbl_mp): Likewise.
32799 (add_magnitudes): Likewise.
32800 (sub_magnitudes): Likewise.
32801 (__add): Likewise.
32802 (__sub): Likewise.
32803 (__mul): Likewise.
32804 (__inv): Likewise.
32805 (__dvd): Likewise.
32806 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32807 (__acr): Likewise.
32808 (__cpy): Likewise.
32809 (norm): Likewise.
32810 (denorm): Likewise.
32811 (__mp_dbl): Likewise.
32812 (__dbl_mp): Likewise.
32813 (add_magnitudes): Likewise.
32814 (sub_magnitudes): Likewise.
32815 (__add): Likewise.
32816 (__sub): Likewise.
32817 (__mul): Likewise.
32818 (__inv): Likewise.
32819 (__dvd): Likewise.
32820
eede9df9
JM
328212013-01-08 Joseph Myers <joseph@codesourcery.com>
32822
32823 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32824 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32825 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32826 2 && __USE_EXTERN_INLINES]: Likewise.
32827
c40ea3d9
AJ
328282013-01-08 Andreas Jaeger <aj@suse.de>
32829
32830 [BZ# 14985]
32831 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32832 Remove.
32833 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32834 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32835
2ccdea26
AB
328362013-01-07 Anton Blanchard <anton@samba.org>
32837
32838 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32839 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32840 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32841 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32842 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32843 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32844 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32845 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32846 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32847 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32848 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32849 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32850 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32851 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32852 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32853 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32854 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32855 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32856 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32858 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32859 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32860 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32861 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32862 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32863 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32864 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32865 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32866 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32867 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32868 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32870 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32871 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32872 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32873 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32874 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32875 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32876 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32877 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32878 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32879 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32880 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32881
a9708fed
JM
328822013-01-07 Joseph Myers <joseph@codesourcery.com>
32883
375607b9
JM
32884 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32885 (__MALLOC_PMT): Likewise.
32886 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32887 [__GNUC__], only on [_LIBC].
32888 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32889 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32890 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32891 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32892 forward declaration.
32893 (realloc_hook_ini): Likewise.
32894 (memalign_hook_ini): Likewise.
32895 (__libc_memalign): Do not use __MALLOC_PMT in variable
32896 declaration.
32897 (__libc_valloc): Likewise.
32898 (__libc_pvalloc): Likewise.
32899 (__libc_calloc): Likewise.
32900 (__posix_memalign): Likewise.
32901
a9708fed
JM
32902 [BZ #14996]
32903 * math/s_casinh.c: Include <float.h>.
32904 (__casinh): Do not do computation with squaring and square root
32905 for large arguments.
32906 * math/s_casinhf.c: Include <float.h>.
32907 (__casinhf): Do not do computation with squaring and square root
32908 for large arguments.
32909 * math/s_casinhl.c: Include <float.h>.
32910 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32911 (__casinhl): Do not do computation with squaring and square root
32912 for large arguments.
32913 * math/libm-test.inc (casin_test): Add more tests.
32914 (casinh_test): Likewise.
32915 * sysdeps/i386/fpu/libm-test-ulps: Update.
32916 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32917
afec409a
L
329182013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32919
32920 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32921 (__x86_64_raw_data_cache_size): Likewise.
32922 (__x86_64_data_cache_size_half): Likewise.
32923 (__x86_64_raw_data_cache_size_half): Likewise.
32924 (__x86_64_shared_cache_size): Likewise.
32925 (__x86_64_raw_shared_cache_size): Likewise.
32926 (__x86_64_shared_cache_size_half): Likewise.
32927 (__x86_64_raw_shared_cache_size_half): Likewise.
32928 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32929 to ...
32930 (__x86_data_cache_size): This.
32931 (__x86_64_raw_data_cache_size): Renamed to ...
32932 (__x86_raw_data_cache_size): This.
32933 (__x86_64_data_cache_size_half): Renamed to ...
32934 (__x86_data_cache_size_half): This.
32935 (__x86_64_raw_data_cache_size_half): Renamed to ...
32936 (__x86_raw_data_cache_size_half): This.
32937 (__x86_64_shared_cache_size): Renamed to ...
32938 (__x86_shared_cache_size): This.
32939 (__x86_64_raw_shared_cache_size): Renamed to ...
32940 (__x86_raw_shared_cache_size): This.
32941 (__x86_64_shared_cache_size_half): Renamed to ...
32942 (__x86_shared_cache_size_half): This.
32943 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32944 (__x86_raw_shared_cache_size_half): This.
32945 * sysdeps/x86_64/memcpy.S: Updated.
32946 * sysdeps/x86_64/memset.S: Likewise.
32947 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32948 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32949 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32950
0b3986d0
DM
329512013-01-04 David S. Miller <davem@davemloft.net>
32952
32953 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32954
e47686e9
AS
329552013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32956
d643bac1
AS
32957 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32958 1 to avoid redefinition warning.
32959 (__USE_GNU): Don't define.
32960 (init_signaling_nan): Protoize.
32961
e47686e9
AS
32962 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32963
b18decba
SP
329642013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32965
fffb407f
SP
32966 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32967 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32968 (__cpymn): Likewise.
32969 (norm): Remove commented code.
32970 (denorm): Likewise.
32971 (__mp_dbl): Likewise.
32972 (__inv): Likewise.
32973 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32974 (__cpymn): Likewise.
32975 (norm): Remove commented code.
32976 (denorm): Likewise.
32977 (__mp_dbl): Likewise.
32978 (__inv): Likewise.
32979
b18decba
SP
32980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32981 mp_no value for 1.0 and 2.0.
32982 (norm): Use RADIXI instead of radixi.d.
32983 (denorm): Likewise.
32984 (__mul): Use 0.0 instead of zero.d.
32985 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32986 mp_no value for 1.0 and 2.0.
32987 (norm): Use RADIXI instead of radixi.d.
32988 (denorm): Likewise.
32989 (__mul): Use 0.0 instead of zero.d.
32990
cdc1c96f
JM
329912013-01-04 Joseph Myers <joseph@codesourcery.com>
32992
32993 [BZ #14994]
32994 * math/s_casinh.c (__casinh): Reduce finite argument to first
32995 quadrant then set signs of results at the end.
32996 * math/s_casinhf.c (__casinhf): Likewise.
32997 * math/s_casinhl.c (__casinhl): Likewise.
32998 * math/libm-test.inc (casin_test): Add more tests.
32999 (casinh_test): Likewise.
33000 * sysdeps/i386/fpu/libm-test-ulps: Update.
33001 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33002
302913e1
SP
330032013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
33004
6420d207
SP
33005 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33006
a9e48ab4
SP
33007 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33008
b7837264
SP
33009 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33010 declarations.
33011 (denorm): Likewise.
33012 (__mp_dbl): Likewise.
33013 (__inv): Likewise.
33014
f8af25d2
SP
33015 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33016 and adjust the header comment.
33017
302913e1
SP
33018 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33019 variable name from declaration.
33020
5d7dd1ca
L
330212013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33022
33023 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33024 Initialize COMMON_CPUID_INDEX_7 element.
33025 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33026 (CPUID_RTM): Likewise.
33027 (HAS_RTM): Likewise.
33028 (COMMON_CPUID_INDEX_7): New enum.
33029
2f5f40f4
AS
330302013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33031
33032 [BZ #14981]
33033 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33034 size is zero, record memory as freed.
33035
4056f4a0
AJ
330362013-01-03 Andreas Jaeger <aj@suse.de>
33037
33038 * po/ia.po: Add new Interlingua translation.
33039
ab15736f 330402012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33041
33042 * locale/programs/localedef.c: Fix description of '--posix' flag.
33043
568035b7
JM
330442013-01-02 Joseph Myers <joseph@codesourcery.com>
33045
e6898b8d
JM
33046 * NEWS: Update dates in second copyright notice.
33047 * README: Update copyright dates in example.
33048 * manual/libc.texinfo: Update copyright dates.
33049 * scripts/test-installation.pl: Update copyright date in --version
33050 output.
33051
0e2f9562
JM
33052 * hurd/ctty-input.c: Fix copyright notice formatting.
33053 * hurd/ctty-output.c: Likewise.
33054 * hurd/dtable.c: Likewise.
33055 * hurd/hurd-raise.c: Likewise.
33056 * hurd/hurdprio.c: Likewise.
33057 * hurd/msgportdemux.c: Likewise.
33058 * misc/sys/file.h: Likewise.
33059 * misc/sys/ioctl.h: Likewise.
33060 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33061 * sysdeps/mach/hurd/chdir.c: Likewise.
33062 * sysdeps/mach/hurd/fchdir.c: Likewise.
33063 * sysdeps/mach/hurd/rename.c: Likewise.
33064 * sysdeps/mach/hurd/rmdir.c: Likewise.
33065 * sysdeps/mach/hurd/seekdir.c: Likewise.
33066 * sysdeps/mach/hurd/setsid.c: Likewise.
33067 * sysdeps/posix/wait3.c: Likewise.
33068
568035b7
JM
33069 * All files with FSF copyright notices: Update copyright dates
33070 using scripts/update-copyrights.
33071 * intl/plural.c: Regenerated.
33072 * locale/programs/charmap-kw.h: Likewise.
33073 * locale/programs/locfile-kw.h: Likewise.
33074
da08f647
SP
330752013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33076
0f5477af
SP
33077 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33078 four values.
33079
44e0d4c2
SP
33080 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33081 calculation loop and add branch prediction.
33082
4d55b4e5
SP
33083 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33084 check access beyond bounds of m1np.
33085
da08f647
SP
33086 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33087 MPTWO.
33088 (__inv): Remove local variable MPTWO to use the global
33089 constant.
33090 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33091 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33092 variable MPTWO.
33093 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33094 MP3HALFS static const.
33095
8e051029
DM
330962013-01-01 David S. Miller <davem@davemloft.net>
33097
33098 * po/ca.po: Update from translation team.
33099
f4cf5f2d
JM
331002013-01-01 Joseph Myers <joseph@codesourcery.com>
33101
33102 * scripts/update-copyrights: New file.
33103 * Makeconfig: Reformat copyright notice.
33104 * ctype/ctype.h: Likewise.
33105 * debug/swprintf_chk.c: Likewise.
33106 * elf/dl-cache.c: Likewise.
33107 * elf/dl-debug.c: Likewise.
33108 * elf/dl-object.c: Likewise.
33109 * grp/initgroups.c: Likewise.
33110 * hurd/Makefile: Likewise.
33111 * hurd/hurd/signal.h: Likewise.
33112 * hurd/hurdfault.c: Likewise.
33113 * hurd/hurdioctl.c: Likewise.
33114 * hurd/hurdlookup.c: Likewise.
33115 * hurd/intr-msg.c: Likewise.
33116 * iconv/gconv_open.c: Likewise.
33117 * libio/swprintf.c: Likewise.
33118 * locale/lc-ctype.c: Likewise.
33119 * locale/nl_langinfo.c: Likewise.
33120 * mach/Machrules: Likewise.
33121 * mach/Makefile: Likewise.
33122 * malloc/obstack.h: Likewise.
33123 * manual/Makefile: Likewise.
33124 * manual/tsort.awk: Likewise.
33125 * misc/bits/stab.def: Likewise.
33126 * nis/nis_print_group_entry.c: Likewise.
33127 * nis/nis_table.c: Likewise.
33128 * nis/nss_compat/compat-pwd.c: Likewise.
33129 * nis/nss_compat/compat-spwd.c: Likewise.
33130 * po/Makefile: Likewise.
33131 * posix/fnmatch.c: Likewise.
33132 * posix/regex.h: Likewise.
33133 * resolv/Makefile: Likewise.
33134 * resolv/nss_dns/dns-network.c: Likewise.
33135 * resolv/res_hconf.c: Likewise.
33136 * scripts/gen-sorted.awk: Likewise.
33137 * soft-fp/soft-fp.h: Likewise.
33138 * stdio-common/printf.h: Likewise.
33139 * stdlib/monetary.h: Likewise.
33140 * stdlib/random.c: Likewise.
33141 * stdlib/random_r.c: Likewise.
33142 * sysdeps/generic/Makefile: Likewise.
33143 * sysdeps/gnu/Makefile: Likewise.
33144 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33152 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33153 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33154 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33155 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33156 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33157 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33158 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33160 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33161 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33167 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33168 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33170 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33171 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33172 * sysdeps/mach/hurd/errnos.awk: Likewise.
33173 * sysdeps/mach/hurd/fork.c: Likewise.
33174 * sysdeps/mach/hurd/getcwd.c: Likewise.
33175 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33176 * sysdeps/mach/hurd/mmap.c: Likewise.
33177 * sysdeps/mach/hurd/utimes.c: Likewise.
33178 * sysdeps/mach/hurd/xmknod.c: Likewise.
33179 * sysdeps/posix/profil.c: Likewise.
33180 * sysdeps/posix/readdir_r.c: Likewise.
33181 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33182 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33183 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33184 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33186 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33187 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33188 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33189 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33190 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33191 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33192 * sysdeps/pthread/lio_listio.c: Likewise.
33193 * sysdeps/sparc/dl-procinfo.h: Likewise.
33194 * sysdeps/unix/i386/sysdep.S: Likewise.
33195 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33196 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33197 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33198 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33199 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33200 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33201 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33202 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33203 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33204 * sysdeps/wordsize-32/divdi3.c: Likewise.
33205 * time/sys/time.h: Likewise.
33206 * wcsmbs/Makefile: Likewise.
33207
0549fbba
DM
332082013-01-01 David S. Miller <davem@davemloft.net>
33209
a141f1a7
DM
33210 * po/fr.po: Update from translation team.
33211
0549fbba
DM
33212 * catgets/gencat.c: Update copyright year.
33213 * csu/version.c: Likewise.
33214 * debug/catchsegv.sh: Likewise.
33215 * debug/pcprofiledump.c: Likewise.
33216 * debug/xtrace.sh: Likewise.
33217 * elf/ldconfig.c: Likewise.
33218 * elf/ldd.bash.in: Likewise.
33219 * elf/pldd.c: Likewise.
33220 * elf/sotruss.ksh: Likewise.
33221 * elf/sprof.c: Likewise.
33222 * iconv/iconv_prog.c: Likewise.
33223 * iconv/iconvconfig.c: Likewise.
33224 * locale/programs/locale.c: Likewise.
33225 * locale/programs/localedef.c: Likewise.
33226 * login/programs/pt_chown.c: Likewise.
33227 * malloc/memusage.sh: Likewise.
33228 * malloc/memusagestat.c: Likewise.
33229 * malloc/mtrace.pl: Likewise.
33230 * nscd/nscd.c: Likewise.
33231 * nss/getent.c: Likewise.
33232 * nss/makedb.c: Likewise.
33233 * posix/getconf.c: Likewise.
33234
18ea052c
SP
332352012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33236
33237 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33238 numbers.
33239
9c89fca6
MF
332402012-12-30 Mike Frysinger <vapier@gentoo.org>
33241
33242 * math/bits/mathcalls.h (modf): Use __nonnull.
33243
085ec079
SP
332442012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33245
33246 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33247 (split): Use macro CN instead of the bare value.
33248 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33249 could be used.
33250 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33251 instead of the bare value.
33252 (power1): Likewise.
33253
6d9f97e1
SP
332542012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33255
d63f73be
SP
33256 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33257 __ATAN_TWOM.
33258 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33259
6d9f97e1
SP
33260 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33261 their values.
33262 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33263 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33264 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33265 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33266
4c4febf5
AJ
332672012-12-28 Andreas Jaeger <aj@suse.de>
33268
af5843ef
AJ
33269 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33270 values are from Linux 3.7.
33271
4c4febf5
AJ
33272 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33273 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33274
99136f82
SP
332752012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33276
2f216c3c 33277 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33278 TRUE case.
33279
99136f82
SP
33280 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33281 (norm): Likewise.
33282 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33283 variables with preprocessor constants.
33284 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33285 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33286 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33287
7fffbdff
BH
332882012-12-27 Bruno Haible <bruno@clisp.org>
33289
33290 [BZ #14317]
33291 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33292 only if needed.
33293
b76eb5f0
SP
332942012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33295
31a7fe5c
SP
33296 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33297 and use variable directly.
33298 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33299
b76eb5f0
SP
33300 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33301 MPONE.
33302 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33303 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33304 variable MPONE.
33305 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33306 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33307 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33308 include directive. Remove local variable MPONE.
33309 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33310 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33311 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33312
2c8bfe7d
DM
333132012-12-25 David S. Miller <davem@davemloft.net>
33314
33315 * version.h (RELEASE): Set to "development".
33316 (VERSION): Set to "2.17.90".
33317 * NEWS: Add 2.18 section.
33318
147d03b0
DM
333192012-12-21 David S. Miller <davem@davemloft.net>
33320
33321 * po/hr.po: Update from translation team.
33322
a8ebb2b9
AK
333232012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33324
33325 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33326
95b4f1b6
SE
333272012-12-19 Steve Ellcey <sellcey@mips.com>
33328
b2d94007 33329 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33330
cedb2a90
MS
333312012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33332
33333 * manual/contrib.texi (Contributors): Spelling correction.
33334
bbf527d6
DM
333352012-12-15 David S. Miller <davem@davemloft.net>
33336
33337 * po/ru.po: Update from translation team.
33338
bc38c906
DM
333392012-12-13 David S. Miller <davem@davemloft.net>
33340
85429b1a
DM
33341 * NEWS: Mention IFUNC testsuite enhancements.
33342
d283e353
DM
33343 * po/pl.po: Update from translation team.
33344 * po/bg.po: Likewise.
33345
bc38c906
DM
33346 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33347 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33348
a181b0d7
DM
333492012-12-11 David S. Miller <davem@davemloft.net>
33350
4641d57e
DM
33351 * po/sv.po: Update from translation team.
33352
f7bc6495
DM
33353 * po/vi.po: Update from translation team.
33354
6fc9048f
DM
33355 * po/cs.po: Update from translation team.
33356
a181b0d7
DM
33357 * po/de.po: Update from translation team.
33358 * po/eo.po: Likewise.
33359 * po/nl.po: Likewise.
33360
f70bfe80
SP
333612012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33362
3c8b4190
SP
33363 [BZ #14246]
33364 * manual/argp.texi (Argp Helper Functions): Move node to follow
33365 Argp Parsing State.
33366
f70bfe80
SP
33367 [BZ #14872]
33368 * manual/conf.texi (Limits on File System Capacity): Mention if
33369 terminating null is included in the max size.
33370
188f0adf
AJ
333712012-12-10 Andreas Jaeger <aj@suse.de>
33372
33373 * po/cs.po: Update from translation team.
33374
56e7d3ad
SP
333752012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33376
33377 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33378 void pointer and cast to uintptr_t.
33379 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33380 path.
33381 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33382 * sysdeps/s390/s390-64/memset.S: Likewise.
33383
76f2d2ea 333842012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33385
33386 [BZ #14833]
33387 * menual/message.texi (Message Translation): Fix typos.
33388 (Helper programs for gettext): Likewise.
33389
67cbf9a2
AS
333902012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33391
33392 [BZ #14898]
33393 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33394 Change to -1.
33395
682d0e9a
DM
333962012-12-07 David S. Miller <davem@davemloft.net>
33397
33398 * po/libc.pot: Update.
33399
573cd484
RH
334002012-12-07 Richard Henderson <rth@redhat.com>
33401
7e9da188 33402 [BZ #10114]
573cd484
RH
33403 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33404 normal/normal case to before the switch.
33405 (_FP_DIV): Likewise.
33406
e933a943
MF
334072012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33408 Mike Frysinger <vapier@gentoo.org>
33409
33410 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33411 check for __NR_fadvise64_64.
33412
82123268
CM
334132012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33414
33415 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33416 0, not just to plain "0" as a statement.
33417 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33418 with cw.
33419
d9814526
JM
334202012-12-06 Joseph Myers <joseph@codesourcery.com>
33421
33422 * NEWS: Use sourceware.org in Bugzilla URL.
33423
7728c574
SP
334242012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33425
f16946dd
SP
33426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33427 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33428
5704bbcb
SP
33429 * stdio-common/tst-put-error.c (do_test): Add newline to the
33430 padded test to ensure flush.
33431
17aa0516
JL
334322012-12-05 Jeff Law <law@redhat.com>
33433
33434 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33435
363313b5
JM
334362012-12-05 Joseph Myers <joseph@codesourcery.com>
33437
effbd42a
JM
33438 * README: Don't refer to ports add-on as distributed separately.
33439 Mention AArch64 in list of systems supported in the ports add-on.
33440
87600365
JM
33441 * LICENSES: Add more non-FSF copyright and license notices.
33442
a0d7066a
JM
33443 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33444 ((unused)).
33445
66ca5a5b
JM
33446 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33447
363313b5
JM
33448 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33449 10000 as width of padded output.
33450
b37984ad
JM
334512012-12-04 Joseph Myers <joseph@codesourcery.com>
33452
9003570a
JM
33453 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33454
b37984ad
JM
33455 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33456 variable LX with __attribute__ ((unused)).
33457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33458 Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33461 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33462 with __attribute__ ((unused)).
33463
c8df52ec
DM
334642012-12-04 David S. Miller <davem@abraco.davemloft.net>
33465
33466 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33467
b3b099af
JM
334682012-12-04 Joseph Myers <joseph@codesourcery.com>
33469
c33aa6e3
JM
33470 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33471 (CFLAGS-nldbl-acos.c): New variable.
33472 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33473 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33474 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33475 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33476 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33477 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33478 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33479 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33480 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33481 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33482 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33483 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33484 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33485 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33486 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33487 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33488 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33489 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33490 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33491 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33492 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33493 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33494 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33495 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33496 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33497 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33498 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33499 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33500 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33501 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33502 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33503 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33504 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33505 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33506 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33507 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33508 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33509 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33510 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33511 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33512 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33513 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33514 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33515 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33516 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33517 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33518 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33519 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33520 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33521 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33522 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33523 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33524 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33525 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33526 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33527 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33528 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33529 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33530 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33531 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33532 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33533 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33534 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33535 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33536 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33537 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33538 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33539 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33540 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33541 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33542 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33543 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33544 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33545 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33546 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33547 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33548 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33549 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33550 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33551 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33554 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33555 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33556 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33557 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33558 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33559 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33560 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33561 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33562 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33563 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33564 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33565 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33566 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33567 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33568 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33569
20f0018d
JM
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33571 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33572
b3b099af
JM
33573 [BZ #14914]
33574 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33575 whole low double instead of just low 47 bits when splitting values
33576 into two parts.
33577
029264d1
AM
335782012-12-03 Allan McRae <allan@archlinux.org>
33579
33580 * manual/stdio.texi (Predefined Printf Handlers): Remove
33581 @hsep and @vsep usage.
33582
c9d6789e
MF
335832012-12-03 Mike Frysinger <vapier@gentoo.org>
33584
33585 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33586 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33587
4b7634a5
JL
335882012-12-03 Jeff Law <law@redhat.com>
33589
33590 * time/sys/time.h (settimeofday): Do not mark TV argument
33591 as __nonnull.
33592
eb6cbd24
MF
335932012-12-01 Mike Frysinger <vapier@gentoo.org>
33594
33595 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33596 when currently writing and seek to current position when not.
33597 * libio/Makefile (tests): Remove bug-fclose1.
33598 * libio/bug-fclose1.c: Delete.
33599
f638872a
JM
336002012-12-01 Joseph Myers <joseph@codesourcery.com>
33601
33602 * manual/arith.texi (feenableexcept): Fix typo.
33603 (fedisableexcept): Likewise.
33604
48085d14
RM
336052012-11-30 Roland McGrath <roland@hack.frob.com>
33606
33607 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33608 second, differently-typed declaration, rather than a cast.
33609
1a538b9f
SP
336102012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33611
33612 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33613 * include/rpc/svc.h: ... here.
33614
d07f2ff1 336152012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33616
33617 [BZ #13013]
33618 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33619 depending n and resplen2 to catch cases where answer
33620 equals answerp2.
33621
c93ec1f0
CD
336222012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33623
33624 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33625 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33626
37db69de
MF
336272012-11-29 Mike Frysinger <vapier@gentoo.org>
33628
33629 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33630
e10c4e4f
RM
336312012-11-29 Roland McGrath <roland@hack.frob.com>
33632
33633 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33634
2af1b328
JL
336352012-11-28 Jeff Law <law@redhat.com>
33636
33637 [BZ #13761]
33638 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33639 dataset_temporary. Track alloca usage into alloca_used.
33640 If dataset is large allocate and release it via malloc/free.
33641
111db5b1
FW
336422012-06-04 Florian Weimer <fweimer@redhat.com>
33643
f06cc227 33644 [BZ #14197]
111db5b1
FW
33645 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33646
dd694abd
DM
336472012-11-28 David S. Miller <davem@davemloft.net>
33648
33649 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33650
9984dd01
JM
336512012-11-28 Joseph Myers <joseph@codesourcery.com>
33652
33653 [BZ #14803]
33654 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33655 of pi/2 rounded to nearest to 64 bits.
33656 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33657 nearest to 64 bits.
33658 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33659 bits.
33660
14bc93a9
JL
336612012-11-28 Jeff Law <law@redhat.com>
33662 Martin Osvald <mosvald@redhat.com>
33663
33664 [BZ #14889]
33665 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33666 * sunrpc/svc.c: Include time.h.
33667 (__svc_accept_failed): New function.
33668 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33669 any reason other than EINTR, call __svc_accept_failed.
33670 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33671 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33672
e3c6aa3a
AS
336732012-11-28 Andreas Schwab <schwab@suse.de>
33674
33675 * scripts/abilist.awk: Also handle indirect functions in .opd
33676 section.
33677
1bead169
JM
336782012-11-28 Joseph Myers <joseph@codesourcery.com>
33679
33680 [BZ #13881]
33681 * sysdeps/x86/fpu/powl_helper.c: New file.
33682 * sysdeps/x86/fpu/Makefile: Likewise.
33683 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33684 (p3): New object.
33685 (__ieee754_powl): Use __powl_helper for finite arguments except
33686 integer exponents below 8.
33687 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33688 (p3): New object.
33689 (__ieee754_powl): Use __powl_helper for finite arguments except
33690 integer exponents below 8.
33691 * math/libm-test.inc (pow_test): Add more tests and enable some
33692 previously disabled tests.
33693 * sysdeps/i386/fpu/libm-test-ulps: Update.
33694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33695
0817d63d
SP
336962012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33697 Carlos O'Donell <carlos_odonell@mentor.com>
33698
33699 * nss/makedb.c (is_prime): Assert that input is odd and greater
33700 than 4. Note that fact in a comment too.
33701 (next_prime): Add 4 to input.
33702
de2fd463
SP
337032012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33704
33705 [BZ #11741]
33706 * libio/Makefile (tests): Add test case tst-fwrite-error.
33707 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33708 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33709 * libio/tst-fwrite-error.c: New test case.
33710
c515fb51
L
337112012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33712
33713 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33714 before casting to void *.
33715 * include/libc-internal.h (__pointer_type): New macro.
33716 (__integer_if_pointer_type_sub): Likewise.
33717 (__integer_if_pointer_type): Likewise.
33718 (cast_to_integer): Likewise.
33719 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33720 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33721 before casting to atomic64_t.
33722 (atomic_exchange_acq): Likewise.
33723 (__arch_exchange_and_add_body): Likewise.
33724 (__arch_add_body): Likewise.
33725 (atomic_add_negative): Likewise.
33726 (atomic_add_zero): Likewise.
33727
4cf77aa9
JM
337282012-11-26 Joseph Myers <joseph@codesourcery.com>
33729
33730 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33731 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33732 (add_fdes): Likewise.
33733 (linear_search_fdes): Likewise.
33734 (binary_search_unencoded_fdes): Likewise.
33735
d260b3b4
AS
337362012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33737
33738 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33739
67060746
AC
337402012-11-24 Adam Conrad <adconrad@0c3.net>
33741
33742 * configure.in: Autodetect C++ header directories.
33743 * configure: Regenerated.
33744
800938a1
MF
337452012-11-23 Mike Frysinger <vapier@gentoo.org>
33746
33747 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33748
4e6e34e6
AS
337492012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33750
33751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33752
7c7feb47
JM
337532012-11-22 Joseph Myers <joseph@codesourcery.com>
33754
7184dcdf
JM
33755 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33756 LDBL_MANT_DIG == 106]: Disable some tests.
33757 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33758 Likewise.
33759 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33760 Likewise.
33761
0a42601f
JM
33762 [BZ #14871]
33763 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33764 input for small inputs. Return +/- pi/2 for large inputs.
33765 * math/libm-test.inc (atan_test): Add more tests.
33766
79c9b9fe
JM
33767 * sysdeps/generic/unwind-dw2-fde-glibc.c
33768 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33769 __attribute__ ((unused)).
33770
c60d3bf2
JM
33771 [BZ #14645]
33772 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33773 x * y if x and y are nonzero and z is zero.
33774
ef1e0867
JM
33775 [BZ #14811]
33776 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33777 nonzero exponents with absolute value below 0x1p-117 to +/-
33778 0x1p-117.
33779
1468ded3
JM
33780 [BZ #14869]
33781 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33782 up arguments below 2**-450, not just those below 2**-500.
33783 * math/libm-test.inc (hypot_test): Add another test.
33784
8e27e3cc
JM
33785 [BZ #14868]
33786 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33787 Return a+b for ratio over 2**120, not 2**60.
33788 * math/libm-test.inc (hypot_test): Add another test.
33789
c9c0279b
JM
33790 * math/libm-test.inc (clog_test): Use
33791 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33792 (clog10_test): Likewise.
33793
7c7feb47
JM
33794 [BZ #6778]
33795 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33796
fff1530e
AS
337972012-11-22 Andreas Schwab <schwab@suse.de>
33798
33799 * sysdeps/i386/fpu/libm-test-ulps: Update.
33800
94558d30
PT
338012012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33802
33803 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33804 printf output with newline.
33805
7e1be741
L
338062012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33807
6bfea974
L
33808 [BZ #14865]
33809 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33810 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33811 -z nodlopen, -z initfirst and -z execstack support.
33812 * configure: Regenerated.
33813
7e1be741
L
33814 * elf/elf.h (DF_1_NODIRECT): New macro.
33815 (DF_1_IGNMULDEF): Likewise.
33816 (DF_1_NOKSYMS): Likewise.
33817 (DF_1_NOHDR): Likewise.
33818 (DF_1_EDITED): Likewise.
33819 (DF_1_NORELOC): Likewise.
33820 (DF_1_SYMINTPOSE): Likewise.
33821 (DF_1_GLOBAUDIT): Likewise.
33822 (DF_1_SINGLETON): Likewise.
33823 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33824 DT_1_SUPPORTED_MASK bits.
33825 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33826
105ce2ce
CD
338272012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33828
33829 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33830
123be9de
TS
338312012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33832
d072f3f7
TS
33833 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33834 macro.
33835
123be9de
TS
33836 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33837 (sendmmsg): Move declarations...
33838 * socket/sys/socket.h: ... here.
33839 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33840 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33841 include it from...
33842 * socket/recvmmsg.c: ... this new file.
33843 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33844 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33845 definition of __sendmmsg hidden.
33846 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33847 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33848 Move ENOSYS stub into and include it from...
33849 * socket/sendmmsg.c: ... this new file.
33850 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33851 (sysdep_routines): Move recvmmsg and sendmmsg...
33852 * socket/Makefile (routines): ... here.
33853 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33854 (GLIBC_PRIVATE): Add __sendmmsg.
33855 * include/sys/socket.h (__sendmmsg): Add declarations.
33856 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33857 sendmmsg.
33858
cf9a5d18
JM
338592012-11-20 Joseph Myers <joseph@codesourcery.com>
33860
33861 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33862 variable I1 with __attribute__ ((unused)).
33863 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33864
ecd4caf9
JM
338652012-11-19 Joseph Myers <joseph@codesourcery.com>
33866
be14d48f
JM
33867 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33868 DUMMY variables with __attribute__ ((unused)).
33869
ecd4caf9
JM
33870 * bits/byteswap.h: Include <bits/types.h>.
33871 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33872
986cab95
PT
338732012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33874
33875 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33876 string_t. Do not manually set errno.
33877 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33878 length with __strnlen. Make sure to both set errno and return it on
33879 failure.
33880
6d33cc9d
DM
338812012-11-19 David S. Miller <davem@davemloft.net>
33882
33883 With help from Joseph Myers.
33884 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33885 very large arguments properly.
33886 * math/libm-test.inc (atan_test): New tests.
33887 (atan2_test): New tests.
33888 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33889 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33890
ee663277
JM
338912012-11-19 Joseph Myers <joseph@codesourcery.com>
33892
877f2d8e
JM
33893 [BZ #14856]
33894 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33895 Define to 3.
33896
116fc08a
JM
33897 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33898 [POSIX] (EADDRNOTAVAIL): Likewise.
33899 [POSIX] (EAFNOSUPPORT): Likewise.
33900 [POSIX] (EALREADY): Likewise.
33901 [POSIX] (ECONNABORTED): Likewise.
33902 [POSIX] (ECONNREFUSED): Likewise.
33903 [POSIX] (ECONNRESET): Likewise.
33904 [POSIX] (EDESTADDRREQ): Likewise.
33905 [POSIX] (EDQUOT): Likewise.
33906 [POSIX] (EHOSTUNREACH): Likewise.
33907 [POSIX] (EIDRM): Likewise.
33908 [POSIX] (EISCONN): Likewise.
33909 [POSIX] (ELOOP): Likewise.
33910 [POSIX] (EMULTIHOP): Likewise.
33911 [POSIX] (ENETDOWN): Likewise.
33912 [POSIX] (ENETUNREACH): Likewise.
33913 [POSIX] (ENOBUFS): Likewise.
33914 [POSIX] (ENODATA): Likewise.
33915 [POSIX] (ENOLINK): Likewise.
33916 [POSIX] (ENOMSG): Likewise.
33917 [POSIX] (ENOPROTOOPT): Likewise.
33918 [POSIX] (ENOSR): Likewise.
33919 [POSIX] (ENOSTR): Likewise.
33920 [POSIX] (ENOTCONN): Likewise.
33921 [POSIX] (ENOTSOCK): Likewise.
33922 [POSIX] (EOPNOTSUPP): Likewise.
33923 [POSIX] (EOVERFLOW): Likewise.
33924 [POSIX] (EPROTO): Likewise.
33925 [POSIX] (EPROTONOSUPPORT): Likewise.
33926 [POSIX] (EPROTOTYPE): Likewise.
33927 [POSIX] (ESTALE): Likewise.
33928 [POSIX] (ETIME): Likewise.
33929 [POSIX] (ETXTBSY): Likewise.
33930 [POSIX] (EWOULDBLOCK): Likewise.
33931 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33932 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33933 [POSIX] (SEEK_CUR): Likewise.
33934 [POSIX] (SEEK_END): Likewise.
33935 [POSIX || UNIX98] (mode_t): Do not require.
33936 [POSIX] (off_t): Likewise.
33937 [POSIX] (pid_t): Likewise.
33938 [POSIX] (sys/stat.h): Do not allow header.
33939 [POSIX] (unistd.h): Likewise.
33940 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33941 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33942 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33943 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33944 require.
33945 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33946 sigevent): Specify elements.
33947 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33948 entry.
33949 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33950 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33951
a483863f
JM
33952 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33953 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33954 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33955 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33956 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33957 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33958 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33959 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33960 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33961 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33962 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33963 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33964 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33965 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33966 Likewise.
33967 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33968 Likewise.
33969 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33970 Likewise.
33971 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33972 Likewise.
33973 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33974 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33975 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33976 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33978 Specify lower bound on value.
33979 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33985 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33986 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33987 value.
33988 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33989 as optional.
33990 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33991 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33992 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33993 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33994 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34000 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34001 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34006 entry.
34007 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34008 optional.
34009 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34013 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34014 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34015 Likewise.
34016 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34019 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34020 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34021 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34022 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34023 as optional.
34024 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34025 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34026 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34027 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34028 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34029 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34030 specify as optional.
34031 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34032 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34033 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34034 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34035 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34036 [XPG3] (NL_LANGMAX): Likewise.
34037 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34038 [POSIX || XPG3] (NL_NMAX): Likewise.
34039 [POSIX || XPG3] (NL_SETMAX): Likewise.
34040 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34041 [XPG3] (NZERO): Likewise.
34042 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34043 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34044 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34045 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34046 (REG_ERANGE): Expect.
34047 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34048 optional-constant.
34049 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34050 Use (void) in prototype.
34051 [POSIX] (*_t): Allow.
34052 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34053 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34054 (WRDE_BADVAL): Expect.
34055
5ba924e3
JM
34056 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34057 expect.
34058 [XPG3 || XPG4] (O_RSYNC): Likewise.
34059 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34060 Likewise.
34061 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34062 [XPG3 || XPG4] (sigqueue): Likewise.
34063 [XPG3 || XPG4] (sigtimedwait): Likewise.
34064 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34065 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34066 [XPG3 || XPG4] (vsnprintf): Likewise.
34067 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34068 Likewise.
34069 [XPG3 || XPG4] (blksize_t): Likewise.
34070 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34071 Likewise.
34072 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34073 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34074 [XPG3 || XPG4] (struct itimerspec): Likewise.
34075 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34076 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34077 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34078 [XPG3 || XPG4] (clockid_t): Likewise.
34079 [XPG3 || XPG4] (timer_t): Likewise.
34080 [XPG3 || XPG4] (clock_getres): Likewise.
34081 [XPG3 || XPG4] (clock_gettime): Likewise.
34082 [XPG3 || XPG4] (clock_settime): Likewise.
34083 [XPG3 || XPG4] (nanosleep): Likewise.
34084 [XPG3 || XPG4] (timer_create): Likewise.
34085 [XPG3 || XPG4] (timer_delete): Likewise.
34086 [XPG3 || XPG4] (timer_gettime): Likewise.
34087 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34088 [XPG3 || XPG4] (timer_settime): Likewise.
34089 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34090 [XPG3 || XPG4] (getlogin_r): Likewise.
34091 [XPG3 || XPG4] (pread): Likewise.
34092 [XPG3 || XPG4] (pthread_atfork): Likewise.
34093 [XPG3 || XPG4] (pwrite): Likewise.
34094
ee663277
JM
34095 [BZ #14835]
34096 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34097 <bits/siginfo.h>.
34098
942caa16
PT
340992012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34100
e19af380
PT
34101 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34102 finalizing MALLSTREAM.
34103
942caa16
PT
34104 * sysdeps/mach/hurd/syncfs.c: New file.
34105
cfde9b46
SP
341062012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34107
34108 [BZ #14719]
34109 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34110 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34111 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34112 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34113 (_nss_dns_gethostbyname4_r): Likewise.
34114 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34115 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34116
f6da27e5
PH
341172012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34118
34119 [BZ #13763]
34120 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34121
6665d4a2
SM
341222012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34123
1f51ee92
SM
34124 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34125 * elf/cache.c (print_entry): Print ",AArch64" for
34126 FLAG_AARCH64_LIB64
34127
6665d4a2
SM
34128 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34129 * elf/cache.c (print_entry): Print ",hard-float" for
34130 FLAG_ARM_LIBHF.
34131
05b227bd
DM
341322012-11-18 David S. Miller <davem@davemloft.net>
34133
34134 With help from Joseph Myers.
34135 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34136 cutoff to 2**-13.
34137 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34138 cutoff to 2**-25.
34139 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34140 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34141 small.
34142 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34143 * math/libm-test.inc (y0_test): New tests.
34144 (y1_test): New tests.
34145 * sysdeps/i386/fpu/libm-test-ulps: Update.
34146 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34148
786b0b67
AS
341492012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34150
34151 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34152 64-bit targets.
34153 * configure: Regenerated.
34154
8e18b86d
DM
341552012-11-17 David S. Miller <davem@davemloft.net>
34156
34157 [BZ #14811]
34158 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34159 nonzero exponents with absolute value below 0x1p-128 to +/-
34160 0x1p-128.
34161
531f1ae0
JM
341622012-11-17 Joseph Myers <joseph@codesourcery.com>
34163
12df29e2
JM
34164 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34165
150dc1a0
JM
34166 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34167
531f1ae0
JM
34168 * posix/getconf-speclist.c: New file.
34169 * posix/posix-envs.def: Likewise.
34170 * posix/confstr.c (START_ENV_GROUP): New macro.
34171 (END_ENV_GROUP): Likewise.
34172 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34173 (KNOWN_PRESENT_ENV_STRING): Likewise.
34174 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34175 (UNKNOWN_ENVIRONMENT): Likewise.
34176 (confstr): Include posix-envs.def instead of handling
34177 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34178 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34179 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34180 (END_ENV_GROUP): Likewise.
34181 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34182 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34183 (UNKNOWN_ENVIRONMENT): Likewise.
34184 (__sysconf): Include posix-envs.def instead of handling associated
34185 cases directly here.
34186 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34187 preprocessing getconf-speclist.c rather than running getconf or
34188 generating empty file.
34189
a93f9cbc
PT
341902012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34191
34192 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34193
d64d9f87
AL
341942012-11-16 Andrej Lajovic <natrij@gmail.com>
34195
34196 [BZ #14672]
34197 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34198
447885eb
DM
341992012-11-16 David S. Miller <davem@davemloft.net>
34200
34201 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34202 smaller than LDBL_EPSILON/2.0L, just return xm1.
34203
bcbf9830
L
342042012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34205
34206 * elf/tst-array1.c (init): Set constructor priority to 1000.
34207 (fini): Set destructor priority to 1000.
34208 * elf/tst-array2dep.c: Likewise.
34209
2b766585
SP
342102012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34211
34212 [BZ #11741]
34213 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34214 (_IO_new_file_xsputn): Also return EOF if none of the input
34215 data was written when overflow failed.
34216 * libio/iopadn.c (_IO_padn): Likewise.
34217 * libio/iowpadn.c (_IO_wpadn): Likewise.
34218 * stdio-common/tst-put-error.c: Add copyright notice.
34219 (do_test): Add case for printing padded string.
34220 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34221 _IO_padn returned error.
34222 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34223 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34224 return EOF.
34225
b1848fde
SP
342262012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34227
34228 * libio/libioP.h: Add comment note that the references to C++
34229 bits are now obsolete.
34230
2fd89785
MS
342312012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34232
34233 * math/libm-test.inc (check_complex): Use asprintf.
34234
e3ea5409
JM
342352012-11-14 Joseph Myers <joseph@codesourcery.com>
34236
34237 * debug/pcprofiledump.c (print_version): Update copyright year.
34238 * malloc/memusagestat.c (print_version): Likewise.
34239
2e64d265
L
342402012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34241
34242 [BZ #14831]
34243 * elf/Makefile (tests): Add tst-audit8.
34244 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34245 ($(objpfx)tst-audit8.out): New target.
34246 (tst-audit8-ENV): New variable.
34247 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34248 audit if l_reloc_result is NULL.
34249 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34250 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34251 * elf/tst-audit8.c: New file.
34252
c485e4d2
MS
342532012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34254
34255 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34256 * misc/Makefile (CFLAGS-select.c): Define.
34257 * posix/Makefile (CFLAGS-pause.c): Define.
34258
3a0d900a
DM
342592012-11-13 David S. Miller <davem@davemloft.net>
34260
34261 * crypt/Makefile: Move test targets after toplevel Rules
34262 inclusion. Grab any necessary sysdep routines when linking.
34263 * crypt/md5.c (md5_process_block): Remove define, we will always
34264 name it __md5_process_block.
34265 (md5_finish_ctx): Update md5_process_block call.
34266 (md5_stream): Likewise.
34267 (md5_process_bytes): Likewise.
34268 (md5_process_block): Rename to __md5_process_block and move to ...
34269 * crypt/md5-block.c: ... here.
34270 * crypt/sha256.c (sha256_process_block): Move to ...
34271 * crypt/sha256-block.c: ... here.
34272 * crypt/sha512.c (sha512_process_block): Move to ...
34273 * crypt/sha512-block.c: ... here.
34274 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34275 path.
34276 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34277 * sysdeps/sparc/sparc64/multiarch/Makefile
34278 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34279 crypt subdir.
34280 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34281 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34282 multiarch changes.
34283 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34284 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34285 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34286 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34287 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34288 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34289 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34290 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34291 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34292 file.
34293 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34294 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34295 file.
34296 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34297
8ca89318
JM
342982012-11-13 Joseph Myers <joseph@codesourcery.com>
34299
e27d476a
JM
34300 * timezone/tzselect.ksh: Update from tzcode git revision
34301 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34302 * timezone/zdump.c: Likewise.
34303 * timezone/zic.c: Likewise.
34304 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34305 in TZVERSION setting, not $(PKGVERSION).
34306 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34307 REPORT_BUGS_TO settings.
34308
8ca89318
JM
34309 [BZ #14838]
34310 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34311 macro.
34312
47594329
MS
343132012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34314
34315 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34316 detection to immediately after _FP_ROUND().
34317 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34318 bits are 0.
34319
640ac3f1
DM
343202012-11-11 David S. Miller <davem@davemloft.net>
34321
34322 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34323 inttypes.h
34324 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34325 __close rather than their public counterparts.
34326
3d2577bb
JM
343272012-11-10 Joseph Myers <joseph@codesourcery.com>
34328
34329 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34330 file.
34331 [UNIX98] (sem_timedwait): Do not expect.
34332 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34333 [XPG4 || UNIX98] (sockatmark): Do not expect.
34334 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34335 (clock_getcpuclockid): Do not expect.
34336 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34337 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34338 Do not expect.
34339 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34340 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34341 [UNIX98] (vwscanf): Likewise.
34342 [UNIX98] (vswscanf): Likewise.
34343
fb1ae1ee
JM
343442012-11-09 Joseph Myers <joseph@codesourcery.com>
34345
9ec6f8bd
JM
34346 * timezone/version.h: Remove file.
34347 * timezone/README: Do not refer to version.h.
34348 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34349 $(objpfx)version.h.
34350 ($(objpfx)zdump.o): Likewise.
c3f81911 34351 ($(objpfx)version.h): New target.
9ec6f8bd 34352
0aa8f8a1
JM
34353 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34354 2012i.
34355 * timezone/README: Don't mention modification to tzselect.ksh.
34356 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34357 work on unmodified tzselect.ksh. Substitute version numbers in
34358 tzselect.ksh.
34359
4e87147f
JM
34360 * Makefile (format-me): Remove.
34361 (INSTALL): Adjust indentation. Use commands directly instead of
34362 using $(format-me).
34363
8b748aed
JM
34364 * aclocal.m4 (ACX_PKGVERSION): New macro.
34365 (ACX_BUGURL): Likewise.
34366 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34367 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34368 (REPORT_BUGS_TO): Likewise.
34369 * configure: Regenerated.
34370 * config.h.in (PKGVERSION): New macro.
34371 (REPORT_BUGS_TO): Likewise.
34372 * config.make.in (PKGVERSION): New variable.
34373 (PKGVERSION_TEXI): Likewise.
34374 (REPORT_BUGS_TO): Likewise.
34375 (REPORT_BUGS_TEXI): Likewise.
34376 * Makefile (format-me): Use -I$(common-objpfx)manual.
34377 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34378 ($(common-objpfx)manual/%): New target.
34379 (manual/%): Remove target.
34380 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34381 (print_version): Use PKGVERSION.
34382 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34383 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34384 and REPORT_BUGS_TO.
34385 ($(objpfx)xtrace): Likewise.
34386 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34387 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34388 (print_version): Use PKGVERSION.
34389 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34390 (do_version): Use PKGVERSION.
34391 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34392 REPORT_BUGS_TO.
34393 (common-ldd-rewrite): Likewise.
34394 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34395 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34396 (print_version): Use PKGVERSION.
34397 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34398 * elf/pldd.c (argp_program_bug_address): Remove variable.
34399 (more_help): New function.
34400 (argp): Use more_help.
34401 (print_version): Use PKGVERSION.
34402 * elf/sln.c (main): Use PKGVERSION.
34403 (usage): Use REPORT_BUGS_TO.
34404 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34405 (top level): Use PKGVERSION.
34406 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34407 (print_version): Use PKGVERSION.
34408 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34409 (print_version): Use PKGVERSION.
34410 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34411 (print_version): Use PKGVERSION.
34412 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34413 (print_version): Use PKGVERSION.
34414 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34415 (print_version): Use PKGVERSION.
34416 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34417 (print_version): Use PKGVERSION.
34418 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34419 and BUGURL.
34420 ($(objpfx)memusage): Likewise.
34421 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34422 (do_version): Use PKGVERSION.
34423 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34424 (print_version): Use PKGVERSION.
34425 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34426 ($PKGVERSION): New variable.
34427 ($REPORT_BUGS_TO): Likewise.
34428 (usage): Use $REPORT_BUGS_TO.
34429 (top level): Use $PKGVERSION.
34430 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34431 ($(objpfx)pkgvers.texi): New rule.
34432 ($(objpfx)stamp-pkgvers): Likewise.
34433 * manual/install.texi: Include pkgvers.texi.
34434 (--with-pkgversion): Document new configure option.
34435 (--with-bugurl): Likewise.
34436 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34437 than necessarily for this particular distribution. Use
34438 REPORT_BUGS_TO for where to report bugs.
34439 * INSTALL: Regenerated.
34440 * manual/libc.texinfo: Include pkgvers.texi.
34441 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34442 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34443 (print_version): Use PKGVERSION.
34444 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34445 (print_version): Use PKGVERSION.
34446 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34447 (print_version): Use PKGVERSION.
34448 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34449 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34450 macro.
34451 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34452 (print_version): Use PKGVERSION.
34453 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34454 (print_version): Use PKGVERSION.
34455 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34456 and PKGVERSION.
34457
92e4b6a9
JM
34458 * timezone/checktab.awk: Update from tzcode 2012i.
34459 * timezone/ialloc.c: Likewise.
34460 * timezone/private.h: Likewise.
34461 * timezone/scheck.c: Likewise.
34462 * timezone/tzfile.h: Likewise.
34463 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34464 (TZVERSION): Hardcode tzcode version number.
34465 * timezone/zdump.c: Update from tzcode 2012i.
34466 * timezone/zic.c: Likewise.
34467 * timezone/version.h: New file.
34468 * timezone/README: Describe version.h. Update upstream location.
34469
9bde902c
JM
34470 [BZ #14824]
34471 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34472 (mktemp): Enable declaration.
34473 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34474 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34475 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34476 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34477 Likewise.
34478 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34479 Likewise.
34480 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34481 Likewise.
34482 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34483 Likewise.
34484 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34485 Likewise.
34486 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34487 Likewise.
34488
fb1ae1ee
JM
34489 [BZ #14821]
34490 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34491 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34492 for copies of such integer values.
34493 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34494 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34495
2c1adbcb
AJ
344962012-11-09 Andreas Jaeger <aj@suse.de>
34497
34498 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34499 definitions and declarations that are provided by
34500 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34501
d0f8457e
AK
345022012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34503
3a235abb 34504 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34505 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34506 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34507 definition.
34508
57241e26
MS
345092012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34510
34511 * elf/elf.h: Update comment before AArch64 relocations.
34512
60e8270d
DM
345132012-11-07 David S. Miller <davem@davemloft.net>
34514
34515 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34516 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34517 (__start_context): Declare.
34518 (__makecontext_ret): Delete.
34519 (__makecontext): Hook up __start_context instead of
34520 __makecontext_ret.
34521 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34522 (sysdep_routines): Add __start_context when in stdlib.
34523
0fbb0fbc
JM
345242012-11-07 Joseph Myers <joseph@codesourcery.com>
34525
34526 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34527 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34528 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34529 hardcoded "nm".
34530 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34531 (READELF): New variable. Use it instead of hardcoded "readelf".
34532
eb48db7e
L
345332012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34534
34535 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34536 * sysdeps/x86/Makefile: Here.
34537 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34538 * sysdeps/x86/tst-xmmymm.sh: This.
34539
05bcf62a
JM
345402012-11-07 Joseph Myers <joseph@codesourcery.com>
34541
c4b6cf53
JM
34542 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34543 expectations.
34544 [UNIX98] (pthread_barrier_t): Do not expect.
34545 [UNIX98] (pthread_barrierattr_t): Likewise.
34546 [UNIX98] (pthread_spinlock_t): Likewise.
34547 [UNIX98] (pthread_barrier_destroy): Likewise.
34548 [UNIX98] (pthread_barrier_init): Likewise.
34549 [UNIX98] (pthread_barrier_wait): Likewise.
34550 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34551 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34552 [UNIX98] (pthread_barrierattr_init): Likewise.
34553 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34554 [UNIX98] (pthread_getcpuclockid): Likewise.
34555 [UNIX98] (pthread_mutex_timedlock): Likewise.
34556 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34557 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34558 [UNIX98] (pthread_sigmask): Likewise.
34559 [UNIX98] (pthread_spin_destroy): Likewise.
34560 [UNIX98] (pthread_spin_init): Likewise.
34561 [UNIX98] (pthread_spin_lock): Likewise.
34562 [UNIX98] (pthread_spin_trylock): Likewise.
34563 [UNIX98] (pthread_spin_unlock): Likewise.
34564 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34565 Do not expect.
34566 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34567 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34568 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34569 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34570 [XPG3 || XPG4] (pthread_key_t): Likewise.
34571 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34572 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34573 [XPG3 || XPG4] (pthread_once_t): Likewise.
34574 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34575 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34576 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34577 [XPG3 || XPG4] (pthread_t): Likewise.
34578
cbe6e120
JM
34579 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34580 not expect.
34581 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34582
1b126443
JM
34583 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34584 Change function return type to int.
34585
b961a573
JM
34586 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34587 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34588 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34589 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34590 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34591 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34592 [!POSIX] (posix_madvise): Likewise.
34593 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34594 && !UNIX98].
34595 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34596 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34597 (mode_t): Likewise.
34598 (posix_mem_offset): Likewise.
34599 (posix_typed_mem_get_info): Likewise.
34600 (posix_typed_mem_open): Likewise.
34601
9e188909
JM
34602 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34603 Change condition to [XOPEN2K8].
34604
05bcf62a
JM
34605 * conform/conformtest.pl: Preprocess allow-header data with -x c
34606 instead of from stdin.
34607 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34608 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34609 [C99-based standards] (cerfc): Likewise.
34610 [C99-based standards] (cexp2): Likewise.
34611 [C99-based standards] (cexpm1): Likewise.
34612 [C99-based standards] (clog10): Likewise.
34613 [C99-based standards] (clog1p): Likewise.
34614 [C99-based standards] (clog2): Likewise.
34615 [C99-based standards] (clgamma): Likewise.
34616 [C99-based standards] (ctgamma): Likewise.
34617 [C99-based standards] (cerff): Likewise.
34618 [C99-based standards] (cerfcf): Likewise.
34619 [C99-based standards] (cexp2f): Likewise.
34620 [C99-based standards] (cexpm1f): Likewise.
34621 [C99-based standards] (clog10f): Likewise.
34622 [C99-based standards] (clog1pf): Likewise.
34623 [C99-based standards] (clog2f): Likewise.
34624 [C99-based standards] (clgammaf): Likewise.
34625 [C99-based standards] (ctgammaf): Likewise.
34626 [C99-based standards] (cerfl): Likewise.
34627 [C99-based standards] (cerfcl): Likewise.
34628 [C99-based standards] (cexp2l): Likewise.
34629 [C99-based standards] (cexpm1l): Likewise.
34630 [C99-based standards] (clog10l): Likewise.
34631 [C99-based standards] (clog1pl): Likewise.
34632 [C99-based standards] (clog2l): Likewise.
34633 [C99-based standards] (clgammal): Likewise.
34634 [C99-based standards] (ctgammal): Likewise.
34635 * conform/data/inttypes.h-data [C99-based standards]: Include
34636 stdint.h-data. Remove all expectations for stdint.h contents.
34637 [C99-based standards] (PRI*): Do not allow.
34638 [C99-based standards] (SCN*): Likewise.
34639 [C99-based standards] (*_t): Likewise.
34640 [C99-based-standards] (PRId8): Expect macro.
34641 [C99-based-standards] (PRIi8): Likewise.
34642 [C99-based-standards] (PRIo8): Likewise.
34643 [C99-based-standards] (PRIu8): Likewise.
34644 [C99-based-standards] (PRIx8): Likewise.
34645 [C99-based-standards] (PRIX8): Likewise.
34646 [C99-based-standards] (SCNd8): Likewise.
34647 [C99-based-standards] (SCNi8): Likewise.
34648 [C99-based-standards] (SCNo8): Likewise.
34649 [C99-based-standards] (SCNu8): Likewise.
34650 [C99-based-standards] (SCNx8): Likewise.
34651 [C99-based-standards] (PRIdLEAST8): Likewise.
34652 [C99-based-standards] (PRIiLEAST8): Likewise.
34653 [C99-based-standards] (PRIoLEAST8): Likewise.
34654 [C99-based-standards] (PRIuLEAST8): Likewise.
34655 [C99-based-standards] (PRIxLEAST8): Likewise.
34656 [C99-based-standards] (PRIXLEAST8): Likewise.
34657 [C99-based-standards] (SCNdLEAST8): Likewise.
34658 [C99-based-standards] (SCNiLEAST8): Likewise.
34659 [C99-based-standards] (SCNoLEAST8): Likewise.
34660 [C99-based-standards] (SCNuLEAST8): Likewise.
34661 [C99-based-standards] (SCNxLEAST8): Likewise.
34662 [C99-based-standards] (PRIdFAST8): Likewise.
34663 [C99-based-standards] (PRIiFAST8): Likewise.
34664 [C99-based-standards] (PRIoFAST8): Likewise.
34665 [C99-based-standards] (PRIuFAST8): Likewise.
34666 [C99-based-standards] (PRIxFAST8): Likewise.
34667 [C99-based-standards] (PRIXFAST8): Likewise.
34668 [C99-based-standards] (SCNdFAST8): Likewise.
34669 [C99-based-standards] (SCNiFAST8): Likewise.
34670 [C99-based-standards] (SCNoFAST8): Likewise.
34671 [C99-based-standards] (SCNuFAST8): Likewise.
34672 [C99-based-standards] (SCNxFAST8): Likewise.
34673 [C99-based-standards] (PRId16): Likewise.
34674 [C99-based-standards] (PRIi16): Likewise.
34675 [C99-based-standards] (PRIo16): Likewise.
34676 [C99-based-standards] (PRIu16): Likewise.
34677 [C99-based-standards] (PRIx16): Likewise.
34678 [C99-based-standards] (PRIX16): Likewise.
34679 [C99-based-standards] (SCNd16): Likewise.
34680 [C99-based-standards] (SCNi16): Likewise.
34681 [C99-based-standards] (SCNo16): Likewise.
34682 [C99-based-standards] (SCNu16): Likewise.
34683 [C99-based-standards] (SCNx16): Likewise.
34684 [C99-based-standards] (PRIdLEAST16): Likewise.
34685 [C99-based-standards] (PRIiLEAST16): Likewise.
34686 [C99-based-standards] (PRIoLEAST16): Likewise.
34687 [C99-based-standards] (PRIuLEAST16): Likewise.
34688 [C99-based-standards] (PRIxLEAST16): Likewise.
34689 [C99-based-standards] (PRIXLEAST16): Likewise.
34690 [C99-based-standards] (SCNdLEAST16): Likewise.
34691 [C99-based-standards] (SCNiLEAST16): Likewise.
34692 [C99-based-standards] (SCNoLEAST16): Likewise.
34693 [C99-based-standards] (SCNuLEAST16): Likewise.
34694 [C99-based-standards] (SCNxLEAST16): Likewise.
34695 [C99-based-standards] (PRIdFAST16): Likewise.
34696 [C99-based-standards] (PRIiFAST16): Likewise.
34697 [C99-based-standards] (PRIoFAST16): Likewise.
34698 [C99-based-standards] (PRIuFAST16): Likewise.
34699 [C99-based-standards] (PRIxFAST16): Likewise.
34700 [C99-based-standards] (PRIXFAST16): Likewise.
34701 [C99-based-standards] (SCNdFAST16): Likewise.
34702 [C99-based-standards] (SCNiFAST16): Likewise.
34703 [C99-based-standards] (SCNoFAST16): Likewise.
34704 [C99-based-standards] (SCNuFAST16): Likewise.
34705 [C99-based-standards] (SCNxFAST16): Likewise.
34706 [C99-based-standards] (PRId32): Likewise.
34707 [C99-based-standards] (PRIi32): Likewise.
34708 [C99-based-standards] (PRIo32): Likewise.
34709 [C99-based-standards] (PRIu32): Likewise.
34710 [C99-based-standards] (PRIx32): Likewise.
34711 [C99-based-standards] (PRIX32): Likewise.
34712 [C99-based-standards] (SCNd32): Likewise.
34713 [C99-based-standards] (SCNi32): Likewise.
34714 [C99-based-standards] (SCNo32): Likewise.
34715 [C99-based-standards] (SCNu32): Likewise.
34716 [C99-based-standards] (SCNx32): Likewise.
34717 [C99-based-standards] (PRIdLEAST32): Likewise.
34718 [C99-based-standards] (PRIiLEAST32): Likewise.
34719 [C99-based-standards] (PRIoLEAST32): Likewise.
34720 [C99-based-standards] (PRIuLEAST32): Likewise.
34721 [C99-based-standards] (PRIxLEAST32): Likewise.
34722 [C99-based-standards] (PRIXLEAST32): Likewise.
34723 [C99-based-standards] (SCNdLEAST32): Likewise.
34724 [C99-based-standards] (SCNiLEAST32): Likewise.
34725 [C99-based-standards] (SCNoLEAST32): Likewise.
34726 [C99-based-standards] (SCNuLEAST32): Likewise.
34727 [C99-based-standards] (SCNxLEAST32): Likewise.
34728 [C99-based-standards] (PRIdFAST32): Likewise.
34729 [C99-based-standards] (PRIiFAST32): Likewise.
34730 [C99-based-standards] (PRIoFAST32): Likewise.
34731 [C99-based-standards] (PRIuFAST32): Likewise.
34732 [C99-based-standards] (PRIxFAST32): Likewise.
34733 [C99-based-standards] (PRIXFAST32): Likewise.
34734 [C99-based-standards] (SCNdFAST32): Likewise.
34735 [C99-based-standards] (SCNiFAST32): Likewise.
34736 [C99-based-standards] (SCNoFAST32): Likewise.
34737 [C99-based-standards] (SCNuFAST32): Likewise.
34738 [C99-based-standards] (SCNxFAST32): Likewise.
34739 [C99-based-standards] (PRId64): Likewise.
34740 [C99-based-standards] (PRIi64): Likewise.
34741 [C99-based-standards] (PRIo64): Likewise.
34742 [C99-based-standards] (PRIu64): Likewise.
34743 [C99-based-standards] (PRIx64): Likewise.
34744 [C99-based-standards] (PRIX64): Likewise.
34745 [C99-based-standards] (SCNd64): Likewise.
34746 [C99-based-standards] (SCNi64): Likewise.
34747 [C99-based-standards] (SCNo64): Likewise.
34748 [C99-based-standards] (SCNu64): Likewise.
34749 [C99-based-standards] (SCNx64): Likewise.
34750 [C99-based-standards] (PRIdLEAST64): Likewise.
34751 [C99-based-standards] (PRIiLEAST64): Likewise.
34752 [C99-based-standards] (PRIoLEAST64): Likewise.
34753 [C99-based-standards] (PRIuLEAST64): Likewise.
34754 [C99-based-standards] (PRIxLEAST64): Likewise.
34755 [C99-based-standards] (PRIXLEAST64): Likewise.
34756 [C99-based-standards] (SCNdLEAST64): Likewise.
34757 [C99-based-standards] (SCNiLEAST64): Likewise.
34758 [C99-based-standards] (SCNoLEAST64): Likewise.
34759 [C99-based-standards] (SCNuLEAST64): Likewise.
34760 [C99-based-standards] (SCNxLEAST64): Likewise.
34761 [C99-based-standards] (PRIdFAST64): Likewise.
34762 [C99-based-standards] (PRIiFAST64): Likewise.
34763 [C99-based-standards] (PRIoFAST64): Likewise.
34764 [C99-based-standards] (PRIuFAST64): Likewise.
34765 [C99-based-standards] (PRIxFAST64): Likewise.
34766 [C99-based-standards] (PRIXFAST64): Likewise.
34767 [C99-based-standards] (SCNdFAST64): Likewise.
34768 [C99-based-standards] (SCNiFAST64): Likewise.
34769 [C99-based-standards] (SCNoFAST64): Likewise.
34770 [C99-based-standards] (SCNuFAST64): Likewise.
34771 [C99-based-standards] (SCNxFAST64): Likewise.
34772 [C99-based-standards] (PRIdMAX): Likewise.
34773 [C99-based-standards] (PRIiMAX): Likewise.
34774 [C99-based-standards] (PRIoMAX): Likewise.
34775 [C99-based-standards] (PRIuMAX): Likewise.
34776 [C99-based-standards] (PRIxMAX): Likewise.
34777 [C99-based-standards] (PRIXMAX): Likewise.
34778 [C99-based-standards] (SCNdMAX): Likewise.
34779 [C99-based-standards] (SCNiMAX): Likewise.
34780 [C99-based-standards] (SCNoMAX): Likewise.
34781 [C99-based-standards] (SCNuMAX): Likewise.
34782 [C99-based-standards] (SCNxMAX): Likewise.
34783 [C99-based-standards] (PRIdPTR): Likewise.
34784 [C99-based-standards] (PRIiPTR): Likewise.
34785 [C99-based-standards] (PRIoPTR): Likewise.
34786 [C99-based-standards] (PRIuPTR): Likewise.
34787 [C99-based-standards] (PRIxPTR): Likewise.
34788 [C99-based-standards] (PRIXPTR): Likewise.
34789 [C99-based-standards] (SCNdPTR): Likewise.
34790 [C99-based-standards] (SCNiPTR): Likewise.
34791 [C99-based-standards] (SCNoPTR): Likewise.
34792 [C99-based-standards] (SCNuPTR): Likewise.
34793 [C99-based-standards] (SCNxPTR): Likewise.
34794 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34795 allow.
34796 * conform/data/stdint.h-data: Update comments to clarify
34797 requirements.
34798 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34799 type.
34800 [C99-based standards] (INT8_MAX): Likewise.
34801 [C99-based standards] (INT16_MIN): Likewise.
34802 [C99-based standards] (INT16_MAX): Likewise.
34803 [C99-based standards] (INT32_MIN): Likewise.
34804 [C99-based standards] (INT32_MAX): Likewise.
34805 [C99-based standards] (INT64_MIN): Likewise.
34806 [C99-based standards] (INT64_MAX): Likewise.
34807 [C99-based standards] (UINT8_MAX): Likewise.
34808 [C99-based standards] (UINT16_MAX): Likewise.
34809 [C99-based standards] (UINT32_MAX): Likewise.
34810 [C99-based standards] (UINT64_MAX): Likewise.
34811 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34812 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34813 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34814 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34815 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34816 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34817 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34818 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34819 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34820 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34821 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34822 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34823 [C99-based standards] (INT_FAST8_MIN): Likewise.
34824 [C99-based standards] (INT_FAST8_MAX): Likewise.
34825 [C99-based standards] (INT_FAST16_MIN): Likewise.
34826 [C99-based standards] (INT_FAST16_MAX): Likewise.
34827 [C99-based standards] (INT_FAST32_MIN): Likewise.
34828 [C99-based standards] (INT_FAST32_MAX): Likewise.
34829 [C99-based standards] (INT_FAST64_MIN): Likewise.
34830 [C99-based standards] (INT_FAST64_MAX): Likewise.
34831 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34832 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34833 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34834 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34835 [C99-based standards] (INTPTR_MIN): Likewise.
34836 [C99-based standards] (INTPTR_MAX): Likewise.
34837 [C99-based standards] (UINTPTR_MAX): Likewise.
34838 [C99-based standards] (INTMAX_MIN): Likewise.
34839 [C99-based standards] (INTMAX_MAX): Likewise.
34840 [C99-based standards] (UINTMAX_MAX): Likewise.
34841 [C99-based standards] (PTRDIFF_MIN): Likewise.
34842 [C99-based standards] (PTRDIFF_MAX): Likewise.
34843 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34844 [C99-based standards] (SIZE_MAX): Likewise.
34845 [C99-based standards] (WCHAR_MAX): Likewise.
34846 [C99-based standards] (WINT_MAX): Likewise.
34847 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34848 constraint on value.
34849 [C99-based standards] (WCHAR_MIN): Likewise.
34850 [C99-based standards] (WINT_MIN): Likewise.
34851 [C99-based standards] (*_t): Allow.
34852 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34853 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34854 Include math.h-data and complex.h-data. Remove all expectations
34855 of math.h and complex.h contents.
34856 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34857 at end of line.
34858 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34859 (struct tm): Expect tag.
34860 [C99-based-standards] (wcstof): Expect function.
34861 [C99-based-standards] (wcstold): Likewise.
34862 [C99-based-standards] (wcstoll): Likewise.
34863 [C99-based-standards] (wcstoull): Likewise.
34864 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34865 macro-int-constant. Specify type.
34866 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34867 constraint on value.
34868 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34869 Specify type.
34870 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34871 Specify value.
34872 [ISO C standards]: Do not allow headers.
34873 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34874 wcs[abcdefghijklmnopqrstuvwxyz]*.
34875 [ISO C standards] (*_t): Do not allow.
34876 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34877 Expect function.
34878 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34879 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34880 Specify type.
34881 [ISO C standards]: Do not allow headers.
34882 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34883 is[abcdefghijklmnopqrstuvwxyz]*.
34884 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34885 to[abcdefghijklmnopqrstuvwxyz]*.
34886 [ISO C standards] (*_t): Do not allow.
34887 * conform/data/stdalign.h-data: New file.
34888 * conform/data/stdbool.h-data: Likewise.
34889 * conform/data/stdnoreturn.h-data: Likewise.
34890
7514feb8
RM
348912012-11-07 Roland McGrath <roland@hack.frob.com>
34892
34893 [BZ #14815]
34894 * manual/filesys.texi (Directory Entries): Typo fix.
34895 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34896
19b2ecfc
MS
348972012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34898
34899 * elf/elf.h (EM_AARCH64): New macro.
34900 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34901 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34902 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34903 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34904 (R_AARCH64_TLSDESC): Likewise.
34905 (NT_ARM_TLS): Likewise.
34906 (NT_ARM_HW_BREAK): Likewise.
34907 (NT_ARM_HW_WATCH): Likewise.
34908
60e235ee
JM
349092012-11-07 Joseph Myers <joseph@codesourcery.com>
34910
34911 [BZ #14811]
34912 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34913 (__ieee754_powl): Saturate nonzero exponents with absolute value
34914 below 0x1p-79 to +/- 0x1p-79.
34915 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34916 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34917 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34918 nonzero exponents with absolute value below 0x1p-32 to +/-
34919 0x1p-32.
34920 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34921 (__ieee754_powl): Saturate nonzero exponents with absolute value
34922 below 0x1p-79 to +/- 0x1p-79.
34923 * math/libm-test.inc (pow_test): Add more tests.
34924
0ab234b7
AK
349252012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34926
34927 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34928 _dl_s390_cap_flags with kernel. Increase string length.
34929 (_dl_s390_platforms): Add z196 and zEC12.
34930
45832f74
JM
349312012-11-07 Joseph Myers <joseph@codesourcery.com>
34932
34933 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34934 Change XOPEN21K to XOPEN2K.
34935
19218757
MK
349362012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34937
34938 * string/memmove.c: Use memcpy when possible.
34939
c5f45721
AJ
349402012-11-06 Andreas Jaeger <aj@suse.de>
34941
34942 * po/eo.po: Update from translation team.
34943
82477c28
JM
349442012-11-06 Joseph Myers <joseph@codesourcery.com>
34945
34946 [BZ #14793]
34947 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34948 exponent and small x and y exponents, scale x or y up. Increase
34949 by 2 the exponent used in scaling up.
34950 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34951 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34952 * math/libm-test.inc (fma_test): Add more tests.
34953 (fma_test_towardzero): Likewise.
34954 (fma_test_downward): Likewise.
34955 (fma_test_upward): Likewise.
34956
99252c8c
JM
349572012-11-05 Joseph Myers <joseph@codesourcery.com>
34958
acfa885f
JM
34959 [BZ #14805]
34960 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34961 fenv_t *.
34962
99252c8c
JM
34963 [BZ #14801]
34964 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34965 namespace for names of struct fields.
34966 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34967 fenv_t fields.
34968 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34969 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34970
d6d98dea
ST
349712012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34972
34973 [BZ #3665]
34974 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34975
e10bb107
TS
349762012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34977
34978 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34979 PTR_DEMANGLE.
34980
34981 [BZ #5246]
34982 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34983 PTR_DEMANGLE.
34984
a0c2940d
JM
349852012-11-04 Joseph Myers <joseph@codesourcery.com>
34986
34987 [BZ #14797]
34988 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34989 definitely overflow as x * y not x * y + z.
34990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34991 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34992 * math/libm-test.inc (fma_test): Add more tests.
34993 (fma_test_towardzero): Likewise.
34994 (fma_test_downward): Likewise.
34995 (fma_test_upward): Likewise.
34996
b830319d
TS
349972012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34998
34999 [BZ #157]
35000
35001 * include/stub-tag.h: Remove file.
35002 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35003 '#include' of it.
35004 * manual/maint.texi (Porting): Don't reference it.
35005 * Makerules ($(objpfx)stubs): Likewise.
35006 * dirent/closedir.c: Don't include <stub-tag.h>.
35007 * dirent/dirfd.c: Likewise.
35008 * dirent/fdopendir.c: Likewise.
35009 * dirent/getdents.c: Likewise.
35010 * dirent/getdents64.c: Likewise.
35011 * dirent/opendir.c: Likewise.
35012 * dirent/readdir.c: Likewise.
35013 * dirent/readdir64.c: Likewise.
35014 * dirent/readdir64_r.c: Likewise.
35015 * dirent/readdir_r.c: Likewise.
35016 * dirent/rewinddir.c: Likewise.
35017 * dirent/seekdir.c: Likewise.
35018 * dirent/telldir.c: Likewise.
35019 * gmon/profil.c: Likewise.
35020 * grp/setgroups.c: Likewise.
35021 * inet/if_index.c: Likewise.
35022 * io/access.c: Likewise.
35023 * io/chdir.c: Likewise.
35024 * io/chmod.c: Likewise.
35025 * io/chown.c: Likewise.
35026 * io/close.c: Likewise.
35027 * io/dup.c: Likewise.
35028 * io/dup2.c: Likewise.
35029 * io/dup3.c: Likewise.
35030 * io/euidaccess.c: Likewise.
35031 * io/faccessat.c: Likewise.
35032 * io/fchdir.c: Likewise.
35033 * io/fchmod.c: Likewise.
35034 * io/fchmodat.c: Likewise.
35035 * io/fchown.c: Likewise.
35036 * io/fchownat.c: Likewise.
35037 * io/fcntl.c: Likewise.
35038 * io/flock.c: Likewise.
35039 * io/fstatfs.c: Likewise.
35040 * io/fstatfs64.c: Likewise.
35041 * io/fstatvfs.c: Likewise.
35042 * io/fstatvfs64.c: Likewise.
35043 * io/futimens.c: Likewise.
35044 * io/fxstat.c: Likewise.
35045 * io/fxstat64.c: Likewise.
35046 * io/fxstatat.c: Likewise.
35047 * io/fxstatat64.c: Likewise.
35048 * io/getcwd.c: Likewise.
35049 * io/isatty.c: Likewise.
35050 * io/lchmod.c: Likewise.
35051 * io/lchown.c: Likewise.
35052 * io/link.c: Likewise.
35053 * io/linkat.c: Likewise.
35054 * io/lseek.c: Likewise.
35055 * io/lseek64.c: Likewise.
35056 * io/lxstat64.c: Likewise.
35057 * io/mkdir.c: Likewise.
35058 * io/mkdirat.c: Likewise.
35059 * io/mkfifo.c: Likewise.
35060 * io/mkfifoat.c: Likewise.
35061 * io/open.c: Likewise.
35062 * io/open64.c: Likewise.
35063 * io/openat.c: Likewise.
35064 * io/openat64.c: Likewise.
35065 * io/pipe.c: Likewise.
35066 * io/pipe2.c: Likewise.
35067 * io/poll.c: Likewise.
35068 * io/posix_fadvise.c: Likewise.
35069 * io/posix_fadvise64.c: Likewise.
35070 * io/posix_fallocate.c: Likewise.
35071 * io/posix_fallocate64.c: Likewise.
35072 * io/read.c: Likewise.
35073 * io/readlink.c: Likewise.
35074 * io/readlinkat.c: Likewise.
35075 * io/rmdir.c: Likewise.
35076 * io/sendfile.c: Likewise.
35077 * io/sendfile64.c: Likewise.
35078 * io/statfs.c: Likewise.
35079 * io/statfs64.c: Likewise.
35080 * io/statvfs.c: Likewise.
35081 * io/statvfs64.c: Likewise.
35082 * io/symlink.c: Likewise.
35083 * io/symlinkat.c: Likewise.
35084 * io/ttyname.c: Likewise.
35085 * io/ttyname_r.c: Likewise.
35086 * io/umask.c: Likewise.
35087 * io/unlink.c: Likewise.
35088 * io/unlinkat.c: Likewise.
35089 * io/utime.c: Likewise.
35090 * io/utimensat.c: Likewise.
35091 * io/write.c: Likewise.
35092 * io/xmknod.c: Likewise.
35093 * io/xmknodat.c: Likewise.
35094 * io/xstat.c: Likewise.
35095 * io/xstat64.c: Likewise.
35096 * login/getpt.c: Likewise.
35097 * login/grantpt.c: Likewise.
35098 * login/unlockpt.c: Likewise.
35099 * math/e_acoshl.c: Likewise.
35100 * math/e_acosl.c: Likewise.
35101 * math/e_asinl.c: Likewise.
35102 * math/e_atan2l.c: Likewise.
35103 * math/e_atanhl.c: Likewise.
35104 * math/e_coshl.c: Likewise.
35105 * math/e_expl.c: Likewise.
35106 * math/e_fmodl.c: Likewise.
35107 * math/e_gammal_r.c: Likewise.
35108 * math/e_hypotl.c: Likewise.
35109 * math/e_j0l.c: Likewise.
35110 * math/e_j1l.c: Likewise.
35111 * math/e_jnl.c: Likewise.
35112 * math/e_lgammal_r.c: Likewise.
35113 * math/e_log10l.c: Likewise.
35114 * math/e_log2l.c: Likewise.
35115 * math/e_logl.c: Likewise.
35116 * math/e_powl.c: Likewise.
35117 * math/e_rem_pio2l.c: Likewise.
35118 * math/e_sinhl.c: Likewise.
35119 * math/e_sqrtl.c: Likewise.
35120 * math/fclrexcpt.c: Likewise.
35121 * math/fedisblxcpt.c: Likewise.
35122 * math/feenablxcpt.c: Likewise.
35123 * math/fegetenv.c: Likewise.
35124 * math/fegetexcept.c: Likewise.
35125 * math/fegetround.c: Likewise.
35126 * math/feholdexcpt.c: Likewise.
35127 * math/fesetenv.c: Likewise.
35128 * math/fesetround.c: Likewise.
35129 * math/feupdateenv.c: Likewise.
35130 * math/fgetexcptflg.c: Likewise.
35131 * math/fraiseexcpt.c: Likewise.
35132 * math/fsetexcptflg.c: Likewise.
35133 * math/ftestexcept.c: Likewise.
35134 * math/k_cosl.c: Likewise.
35135 * math/k_rem_pio2l.c: Likewise.
35136 * math/k_sinl.c: Likewise.
35137 * math/k_tanl.c: Likewise.
35138 * math/s_asinhl.c: Likewise.
35139 * math/s_atanl.c: Likewise.
35140 * math/s_cbrtl.c: Likewise.
35141 * math/s_erfl.c: Likewise.
35142 * math/s_expm1l.c: Likewise.
35143 * math/s_log1pl.c: Likewise.
35144 * math/s_tanhl.c: Likewise.
35145 * misc/acct.c: Likewise.
35146 * misc/brk.c: Likewise.
35147 * misc/chflags.c: Likewise.
35148 * misc/chroot.c: Likewise.
35149 * misc/fchflags.c: Likewise.
35150 * misc/fgetxattr.c: Likewise.
35151 * misc/flistxattr.c: Likewise.
35152 * misc/fremovexattr.c: Likewise.
35153 * misc/fsetxattr.c: Likewise.
35154 * misc/fsync.c: Likewise.
35155 * misc/ftruncate.c: Likewise.
35156 * misc/futimes.c: Likewise.
35157 * misc/futimesat.c: Likewise.
35158 * misc/getdomain.c: Likewise.
35159 * misc/getdtsz.c: Likewise.
35160 * misc/gethostid.c: Likewise.
35161 * misc/gethostname.c: Likewise.
35162 * misc/getloadavg.c: Likewise.
35163 * misc/getpagesize.c: Likewise.
35164 * misc/getsysstats.c: Likewise.
35165 * misc/getxattr.c: Likewise.
35166 * misc/gtty.c: Likewise.
35167 * misc/ioctl.c: Likewise.
35168 * misc/lgetxattr.c: Likewise.
35169 * misc/listxattr.c: Likewise.
35170 * misc/llistxattr.c: Likewise.
35171 * misc/lremovexattr.c: Likewise.
35172 * misc/lsetxattr.c: Likewise.
35173 * misc/lutimes.c: Likewise.
35174 * misc/madvise.c: Likewise.
35175 * misc/mincore.c: Likewise.
35176 * misc/mlock.c: Likewise.
35177 * misc/mlockall.c: Likewise.
35178 * misc/mmap.c: Likewise.
35179 * misc/mprotect.c: Likewise.
35180 * misc/msync.c: Likewise.
35181 * misc/munlock.c: Likewise.
35182 * misc/munlockall.c: Likewise.
35183 * misc/munmap.c: Likewise.
35184 * misc/preadv.c: Likewise.
35185 * misc/preadv64.c: Likewise.
35186 * misc/ptrace.c: Likewise.
35187 * misc/pwritev.c: Likewise.
35188 * misc/pwritev64.c: Likewise.
35189 * misc/readv.c: Likewise.
35190 * misc/reboot.c: Likewise.
35191 * misc/remap_file_pages.c: Likewise.
35192 * misc/removexattr.c: Likewise.
35193 * misc/revoke.c: Likewise.
35194 * misc/select.c: Likewise.
35195 * misc/setdomain.c: Likewise.
35196 * misc/setegid.c: Likewise.
35197 * misc/seteuid.c: Likewise.
35198 * misc/sethostid.c: Likewise.
35199 * misc/sethostname.c: Likewise.
35200 * misc/setregid.c: Likewise.
35201 * misc/setreuid.c: Likewise.
35202 * misc/setxattr.c: Likewise.
35203 * misc/sstk.c: Likewise.
35204 * misc/stty.c: Likewise.
35205 * misc/swapoff.c: Likewise.
35206 * misc/swapon.c: Likewise.
35207 * misc/sync.c: Likewise.
35208 * misc/syncfs.c: Likewise.
35209 * misc/syscall.c: Likewise.
35210 * misc/truncate.c: Likewise.
35211 * misc/ualarm.c: Likewise.
35212 * misc/usleep.c: Likewise.
35213 * misc/ustat.c: Likewise.
35214 * misc/utimes.c: Likewise.
35215 * misc/vhangup.c: Likewise.
35216 * misc/writev.c: Likewise.
35217 * posix/_exit.c: Likewise.
35218 * posix/alarm.c: Likewise.
35219 * posix/execve.c: Likewise.
35220 * posix/fexecve.c: Likewise.
35221 * posix/fork.c: Likewise.
35222 * posix/fpathconf.c: Likewise.
35223 * posix/getaddrinfo.c: Likewise.
35224 * posix/getegid.c: Likewise.
35225 * posix/geteuid.c: Likewise.
35226 * posix/getgid.c: Likewise.
35227 * posix/getgroups.c: Likewise.
35228 * posix/getlogin.c: Likewise.
35229 * posix/getlogin_r.c: Likewise.
35230 * posix/getpgid.c: Likewise.
35231 * posix/getpid.c: Likewise.
35232 * posix/getppid.c: Likewise.
35233 * posix/getresgid.c: Likewise.
35234 * posix/getresuid.c: Likewise.
35235 * posix/getsid.c: Likewise.
35236 * posix/getuid.c: Likewise.
35237 * posix/glob64.c: Likewise.
35238 * posix/nanosleep.c: Likewise.
35239 * posix/pathconf.c: Likewise.
35240 * posix/pause.c: Likewise.
35241 * posix/posix_madvise.c: Likewise.
35242 * posix/pread.c: Likewise.
35243 * posix/pread64.c: Likewise.
35244 * posix/pwrite.c: Likewise.
35245 * posix/pwrite64.c: Likewise.
35246 * posix/sched_getaffinity.c: Likewise.
35247 * posix/sched_getp.c: Likewise.
35248 * posix/sched_gets.c: Likewise.
35249 * posix/sched_primax.c: Likewise.
35250 * posix/sched_primin.c: Likewise.
35251 * posix/sched_rr_gi.c: Likewise.
35252 * posix/sched_setaffinity.c: Likewise.
35253 * posix/sched_setp.c: Likewise.
35254 * posix/sched_sets.c: Likewise.
35255 * posix/sched_yield.c: Likewise.
35256 * posix/setgid.c: Likewise.
35257 * posix/setlogin.c: Likewise.
35258 * posix/setpgid.c: Likewise.
35259 * posix/setresgid.c: Likewise.
35260 * posix/setresuid.c: Likewise.
35261 * posix/setsid.c: Likewise.
35262 * posix/setuid.c: Likewise.
35263 * posix/sleep.c: Likewise.
35264 * posix/spawni.c: Likewise.
35265 * posix/sysconf.c: Likewise.
35266 * posix/times.c: Likewise.
35267 * posix/wait.c: Likewise.
35268 * posix/wait3.c: Likewise.
35269 * posix/wait4.c: Likewise.
35270 * posix/waitpid.c: Likewise.
35271 * resolv/gai_sigqueue.c: Likewise.
35272 * resource/getpriority.c: Likewise.
35273 * resource/getrlimit.c: Likewise.
35274 * resource/getrusage.c: Likewise.
35275 * resource/nice.c: Likewise.
35276 * resource/setpriority.c: Likewise.
35277 * resource/setrlimit.c: Likewise.
35278 * resource/ulimit.c: Likewise.
35279 * rt/aio_cancel.c: Likewise.
35280 * rt/aio_fsync.c: Likewise.
35281 * rt/aio_read.c: Likewise.
35282 * rt/aio_sigqueue.c: Likewise.
35283 * rt/aio_suspend.c: Likewise.
35284 * rt/aio_write.c: Likewise.
35285 * rt/clock_getres.c: Likewise.
35286 * rt/clock_gettime.c: Likewise.
35287 * rt/clock_nanosleep.c: Likewise.
35288 * rt/clock_settime.c: Likewise.
35289 * rt/lio_listio.c: Likewise.
35290 * rt/mq_close.c: Likewise.
35291 * rt/mq_getattr.c: Likewise.
35292 * rt/mq_notify.c: Likewise.
35293 * rt/mq_open.c: Likewise.
35294 * rt/mq_receive.c: Likewise.
35295 * rt/mq_send.c: Likewise.
35296 * rt/mq_setattr.c: Likewise.
35297 * rt/mq_timedreceive.c: Likewise.
35298 * rt/mq_timedsend.c: Likewise.
35299 * rt/mq_unlink.c: Likewise.
35300 * rt/shm_open.c: Likewise.
35301 * rt/shm_unlink.c: Likewise.
35302 * rt/timer_create.c: Likewise.
35303 * rt/timer_delete.c: Likewise.
35304 * rt/timer_getoverr.c: Likewise.
35305 * rt/timer_gettime.c: Likewise.
35306 * rt/timer_settime.c: Likewise.
35307 * setjmp/__longjmp.c: Likewise.
35308 * setjmp/setjmp.c: Likewise.
35309 * signal/kill.c: Likewise.
35310 * signal/killpg.c: Likewise.
35311 * signal/raise.c: Likewise.
35312 * signal/sigaction.c: Likewise.
35313 * signal/sigaltstack.c: Likewise.
35314 * signal/sigblock.c: Likewise.
35315 * signal/sigignore.c: Likewise.
35316 * signal/sigintr.c: Likewise.
35317 * signal/signal.c: Likewise.
35318 * signal/sigpause.c: Likewise.
35319 * signal/sigpending.c: Likewise.
35320 * signal/sigqueue.c: Likewise.
35321 * signal/sigreturn.c: Likewise.
35322 * signal/sigset.c: Likewise.
35323 * signal/sigsetmask.c: Likewise.
35324 * signal/sigstack.c: Likewise.
35325 * signal/sigsuspend.c: Likewise.
35326 * signal/sigtimedwait.c: Likewise.
35327 * signal/sigvec.c: Likewise.
35328 * signal/sigwait.c: Likewise.
35329 * signal/sigwaitinfo.c: Likewise.
35330 * signal/sysv_signal.c: Likewise.
35331 * socket/accept.c: Likewise.
35332 * socket/accept4.c: Likewise.
35333 * socket/bind.c: Likewise.
35334 * socket/connect.c: Likewise.
35335 * socket/getpeername.c: Likewise.
35336 * socket/getsockname.c: Likewise.
35337 * socket/getsockopt.c: Likewise.
35338 * socket/isfdtype.c: Likewise.
35339 * socket/listen.c: Likewise.
35340 * socket/recv.c: Likewise.
35341 * socket/recvfrom.c: Likewise.
35342 * socket/recvmsg.c: Likewise.
35343 * socket/send.c: Likewise.
35344 * socket/sendmsg.c: Likewise.
35345 * socket/sendto.c: Likewise.
35346 * socket/setsockopt.c: Likewise.
35347 * socket/shutdown.c: Likewise.
35348 * socket/sockatmark.c: Likewise.
35349 * socket/socket.c: Likewise.
35350 * socket/socketpair.c: Likewise.
35351 * stdio-common/ctermid.c: Likewise.
35352 * stdio-common/cuserid.c: Likewise.
35353 * stdio-common/remove.c: Likewise.
35354 * stdio-common/rename.c: Likewise.
35355 * stdio-common/renameat.c: Likewise.
35356 * stdio-common/tempname.c: Likewise.
35357 * stdlib/getcontext.c: Likewise.
35358 * stdlib/makecontext.c: Likewise.
35359 * stdlib/setcontext.c: Likewise.
35360 * stdlib/swapcontext.c: Likewise.
35361 * stdlib/system.c: Likewise.
35362 * streams/fattach.c: Likewise.
35363 * streams/fdetach.c: Likewise.
35364 * streams/getmsg.c: Likewise.
35365 * streams/getpmsg.c: Likewise.
35366 * streams/putmsg.c: Likewise.
35367 * streams/putpmsg.c: Likewise.
35368 * sysdeps/unix/bsd/getpt.c: Likewise.
35369 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35370 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35371 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35373 Likewise.
35374 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35375 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35376 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35377 * sysvipc/msgctl.c: Likewise.
35378 * sysvipc/msgget.c: Likewise.
35379 * sysvipc/msgrcv.c: Likewise.
35380 * sysvipc/msgsnd.c: Likewise.
35381 * sysvipc/semctl.c: Likewise.
35382 * sysvipc/semget.c: Likewise.
35383 * sysvipc/semop.c: Likewise.
35384 * sysvipc/semtimedop.c: Likewise.
35385 * sysvipc/shmat.c: Likewise.
35386 * sysvipc/shmctl.c: Likewise.
35387 * sysvipc/shmdt.c: Likewise.
35388 * sysvipc/shmget.c: Likewise.
35389 * termios/tcdrain.c: Likewise.
35390 * termios/tcflow.c: Likewise.
35391 * termios/tcflush.c: Likewise.
35392 * termios/tcgetattr.c: Likewise.
35393 * termios/tcgetpgrp.c: Likewise.
35394 * termios/tcsendbrk.c: Likewise.
35395 * termios/tcsetattr.c: Likewise.
35396 * termios/tcsetpgrp.c: Likewise.
35397 * time/adjtime.c: Likewise.
35398 * time/clock.c: Likewise.
35399 * time/getitimer.c: Likewise.
35400 * time/gettimeofday.c: Likewise.
35401 * time/setitimer.c: Likewise.
35402 * time/settimeofday.c: Likewise.
35403 * time/stime.c: Likewise.
35404 * time/time.c: Likewise.
35405
354062012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35407
a20492cf
PT
35408 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35409 /usr/old/bin.
35410
72e182e3
PT
35411 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35412 instead of spaces.
35413 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35414
fbeafede
JM
354152012-11-03 Joseph Myers <joseph@codesourcery.com>
35416
5b5b04d6
JM
35417 [BZ #14796]
35418 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35419 FE_TONEAREST before applying Dekker multiplication and Knuth
35420 addition. Clear inexact exceptions and check for exact zero
35421 results afterwards.
35422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35423 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35425 * math/libm-test.inc (fma_test): Add more tests.
35426 (fma_test_towardzero): Likewise.
35427 (fma_test_downward): Likewise.
35428 (fma_test_upward): Likewise.
35429 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35430 function.
35431 (libc_fesetround): New macro.
35432 (libc_fesetroundf): Likewise.
35433 (libc_fesetroundl): Likewise.
35434 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35435 function.
35436 (libc_fesetround_387): Likewise.
35437 (libc_fesetroundf): New macro.
35438 (libc_fesetround): Likewise.
35439 (libc_fesetroundl): Likewise.
35440 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35441 function.
35442 (libc_fesetroundf): New macro.
35443 (libc_fesetround): Likewise.
35444 (libc_fesetroundl): Likewise.
35445 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35446 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35447 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35448 libm_hidden_ver.
35449 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35450 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35451 libm_hidden_def.
35452 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35453 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35454 libm_hidden_ver.
35455 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35456 libm_hidden_def.
35457
fbeafede
JM
35458 [BZ #3439]
35459 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35460 integer constant usable in #if and use that to give value to enum
35461 constant.
35462 (FE_DIVBYZERO): Likewise.
35463 (FE_UNDERFLOW): Likewise.
35464 (FE_OVERFLOW): Likewise.
35465 (FE_INVALID): Likewise.
35466 (FE_INVALID_SNAN): Likewise.
35467 (FE_INVALID_ISI): Likewise.
35468 (FE_INVALID_IDI): Likewise.
35469 (FE_INVALID_ZDZ): Likewise.
35470 (FE_INVALID_IMZ): Likewise.
35471 (FE_INVALID_COMPARE): Likewise.
35472 (FE_INVALID_SOFTWARE): Likewise.
35473 (FE_INVALID_SQRT): Likewise.
35474 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35475 (FE_TONEAREST): Likewise.
35476 (FE_TOWARDZERO): Likewise.
35477 (FE_UPWARD): Likewise.
35478 (FE_DOWNWARD): Likewise.
35479 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35480 (FE_DIVBYZERO): Likewise.
35481 (FE_OVERFLOW): Likewise.
35482 (FE_UNDERFLOW): Likewise.
35483 (FE_INEXACT): Likewise.
35484 (FE_TONEAREST): Likewise.
35485 (FE_DOWNWARD): Likewise.
35486 (FE_UPWARD): Likewise.
35487 (FE_TOWARDZERO): Likewise.
35488 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35489 (FE_UNDERFLOW): Likewise.
35490 (FE_OVERFLOW): Likewise.
35491 (FE_DIVBYZERO): Likewise.
35492 (FE_INVALID): Likewise.
35493 (FE_TONEAREST): Likewise.
35494 (FE_TOWARDZERO): Likewise.
35495 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35496 (FE_OVERFLOW): Likewise.
35497 (FE_UNDERFLOW): Likewise.
35498 (FE_DIVBYZERO): Likewise.
35499 (FE_INEXACT): Likewise.
35500 (FE_TONEAREST): Likewise.
35501 (FE_TOWARDZERO): Likewise.
35502 (FE_UPWARD): Likewise.
35503 (FE_DOWNWARD): Likewise.
35504 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35505 (FE_DIVBYZERO): Likewise.
35506 (FE_OVERFLOW): Likewise.
35507 (FE_UNDERFLOW): Likewise.
35508 (FE_INEXACT): Likewise.
35509 (FE_TONEAREST): Likewise.
35510 (FE_DOWNWARD): Likewise.
35511 (FE_UPWARD): Likewise.
35512 (FE_TOWARDZERO): Likewise.
35513
105ca950
CM
355142012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35515
35516 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35517
a542b389
AS
355182012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35519
35520 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35521 commands. Quote $PWD.
35522 (blacklist_exports): Don't use remove_newlines. Replace "declare
35523 -x" by "export".
35524 (remove_newlines): Remove.
35525
f62c8abc
L
355262012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35527
35528 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35529 * stdlib/stdlib.h (atof): Moved to ...
35530 * include/bits/stdlib-float.h: Here. New file.
35531 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35532 * stdlib/bits/stdlib-float.h: New file.
35533 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35534 -mno-sse -mno-mmx.
35535 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35536 <xmmintrin.h>.
35537
0155d5b2
JM
355382012-11-02 Joseph Myers <joseph@codesourcery.com>
35539
a68d0680
JM
35540 * conform/conformtest.pl (@headers): Add fenv.h.
35541 * conform/data/fenv.h-data: New file.
35542 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35543 include of <math/fenv.h>.
35544
caf7f573
JM
35545 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35546 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35547 && !UNIX98]. Enables tests for XOPEN2K8.
35548 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35549 POSIX2008]: Likewise.
35550
6c073ad6
JM
35551 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35552 (struct rusage): Do not expect type or its members.
35553
0155d5b2
JM
35554 [BZ #3439]
35555 * math/math.h (FP_NAN): Define macro to integer constant usable in
35556 #if and use that to give value to enum constant.
35557 (FP_INFINITE): Likewise.
35558 (FP_ZERO): Likewise.
35559 (FP_SUBNORMAL): Likewise.
35560 (FP_NORMAL): Likewise.
35561
b5dcacb4
AS
355622012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35563
35564 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35565 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35566 arguments.
35567
f7934be8
RM
355682012-11-02 Roland McGrath <roland@hack.frob.com>
35569
35570 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35571 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35572 autoconf-time if not.
35573 * configure.in: Remove AC_PREREQ.
35574
d7d08bde
TMQMF
355752012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35576
35577 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35578 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35579 of the internal implementation.
35580
dcdae19a
JM
355812012-11-02 Joseph Myers <joseph@codesourcery.com>
35582
35583 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35584 except include of <misc/sys/syslog.h>.
35585
d6cffd3e
AS
355862012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35587
35588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35589 function returns with a NULL context exit with zero.
35590
b3563932
TMQMF
355912012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35592
35593 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35594
b288a93d
L
355952012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35596
35597 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35598 (run_program_cmd): This.
35599 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35600 (tst_langinfo): New variable. Use it.
35601
a2421a68
SAS
356022012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35603
35604 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35605 floating point opcodes.
35606
6f796e1b
TS
356072012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35608
7402596b
TS
35609 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35610 variable.
35611
d0d4f868
TS
35612 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35613
6f796e1b
TS
35614 * sysdeps/mach/hurd/powerpc: Remove directory.
35615 * sysdeps/mach/powerpc: Likewise.
35616
4da224a2
AS
356172012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35618
35619 * scripts/check-local-headers.sh: Ignore c++ headers.
35620
341dd673
TS
356212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35622
35623 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35624 __libc_cleanup_region_start argument.
35625
473611b2
JM
356262012-11-01 Joseph Myers <joseph@codesourcery.com>
35627
35628 [BZ #14784]
35629 [BZ #14785]
35630 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35631 x * y using scaling, not as x * y + z.
35632 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35633 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35634 * math/libm-test.inc (fma_test): Add more tests.
35635 (fma_test_towardzero): Likewise.
35636 (fma_test_downward): Likewise.
35637 (fma_test_upward): Likewise.
35638
4078da3d
TS
356392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35640
35641 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35642
903252aa
JM
356432012-10-31 Joseph Myers <joseph@codesourcery.com>
35644
35645 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35646 New variable.
35647
cbc818d0
TS
356482012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35649
35650 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35651
5a03cb1e
AS
356522012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35653
35654 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35655 Fix sort order.
35656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35657 Likewise.
35658
90aff2ff
TMQMF
356592012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35660
35661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35662 Fix the order of the list for glibc 2.17.
35663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35664 Likewise.
35665
1818fcb7
AS
356662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35667
35668 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35669
ef82f4da
JM
356702012-10-31 Joseph Myers <joseph@codesourcery.com>
35671
16a0e2ec
JM
35672 [BZ #14610]
35673 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35674 for low part of x being zero before using __atanl (y).
35675 * math/libm-test.inc (atan2_test): Add another test.
35676
0eb69512
JM
35677 * manual/install.texi (Configuring and compiling): Document
35678 general use of test-wrapper and test-wrapper-env.
35679 * INSTALL: Regenerated.
35680
ef82f4da
JM
35681 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35682 (__fma): Do not extract and scale down low bits on after-rounding
35683 systems when result rounded to normal precision would have normal
35684 exponent.
35685 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35686 (__fmal): Do not extract and scale down low bits on after-rounding
35687 systems when result rounded to normal precision would have normal
35688 exponent.
35689 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35690 (__fmal): Do not extract and scale down low bits on after-rounding
35691 systems when result rounded to normal precision would have normal
35692 exponent.
35693 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35694 macro.
35695 (fma_test): Add more tests.
35696 (fma_test_towardzero): Likewise.
35697 (fma_test_downward): Likewise.
35698 (fma_test_upward): Likewise.
35699
954ef0d9
L
357002012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35701
35702 * sysdeps/i386/tininess.h: Renamed to ...
35703 * sysdeps/x86/tininess.h: This.
35704 * sysdeps/x86_64/tininess.h: Removed.
35705
df61ffb2
JM
357062012-10-30 Joseph Myers <joseph@codesourcery.com>
35707
35708 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35709 input. Use $(build-program-cmd).
35710 ($(objpfx)tst-array1-static.out): Likewise.
35711 ($(objpfx)tst-array2.out): Likewise.
35712 ($(objpfx)tst-array3.out): Likewise.
35713 ($(objpfx)tst-array4.out): Likewise.
35714 ($(objpfx)tst-array5.out): Likewise.
35715 ($(objpfx)tst-array5-static.out): Likewise.
35716
01767843
CM
357172012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35718
47cc1490
CM
35719 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35720 if defined.
35721
01767843
CM
35722 * nss/nsswitch.h (nss_interface_function): Provide new
35723 macro for use with NSS functions.
35724 * grp/initgroups.c: Use new macro.
35725 * nss/getXXbyYY.c: Likewise.
35726 * nss/getXXbyYY_r.c: Likewise.
35727 * nss/getXXent.c: Likewise.
35728 * nss/getXXent_r.c: Likewise.
35729 * sysdeps/posix/getaddrinfo.c: Likewise.
35730
8321aa97
AJ
357312012-10-30 Andreas Jaeger <aj@suse.de>
35732
35733 * po/ru.po: Update Russion translation from translation project.
35734
2a27fd6d
JM
357352012-10-30 Joseph Myers <joseph@codesourcery.com>
35736
8627a232
JM
35737 [BZ #14152]
35738 [BZ #14783]
35739 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35740 result and shift together with sticky bit instead of replicating
35741 round-to-nearest rounding.
35742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35744 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35745 missing underflow exceptions.
35746 (fma_test_towardzero): Add more tests.
35747 (fma_test_downward): Likewise.
35748 (fma_test_upward): Likewise.
35749
2a27fd6d
JM
35750 [BZ #14047]
35751 * sysdeps/generic/tininess.h: New file.
35752 * sysdeps/i386/tininess.h: Likewise.
35753 * sysdeps/sh/tininess.h: Likewise.
35754 * sysdeps/x86_64/tininess.h: Likewise.
35755 * stdlib/tst-strtod-underflow.c: Likewise.
35756 * stdlib/tst-tininess.c: Likewise.
35757 * stdlib/strtod_l.c: Include <tininess.h>.
35758 (round_and_return): Do not set errno for exact underflow cases.
35759 Force an underflow exception when setting errno for underflow.
35760 Determine underflow based on rounding to normal precision if
35761 TININESS_AFTER_ROUNDING.
35762 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35763 ERANGE for exact underflow cases.
35764 * stdlib/Makefile (tests): Add tst-tininess and
35765 tst-strtod-underflow.
35766 ($(objpfx)tst-tininess): Use $(link-libm).
35767 ($(objpfx)tst-strtod-underflow): Likewise.
35768
e7170363
AJ
357692012-10-30 Andreas Jaeger <aj@suse.de>
35770
e5088dc6
AJ
35771 [BZ#14767]
35772 * elf/Makefile (tests): Remove conditional for have-initfini-array
35773 since this is now always required and the variable does not exist
35774 anymore.
35775 (tests-static): Likewise.
35776 (modules-names): Likewise.
35777
e7170363 35778 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35779
35780 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35781 merged with constructor/destructor.
35782 (init_array): Likewise.
35783 * elf/tst-array2dep.c (fini_array): Likewise.
35784 (init_array): Likewise.
35785
60457d8a
MF
357862012-10-29 Mike Frysinger <vapier@gentoo.org>
35787
35788 * manual/message.texi: Delete @cartouche tags.
35789
8bece752
PT
357902012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35791
94ce799f
PT
35792 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35793 EOPNOTSUPP.
35794 * sysdeps/mach/hurd/fsync.c: Likewise.
35795
8bece752
PT
35796 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35797 [_POSIX_REALTIME_SIGNALS]: Change condition to
35798 [_POSIX_REALTIME_SIGNALS > 0].
35799
86ebe6b1
AJ
358002012-10-27 Andreas Jaeger <aj@suse.de>
35801
35802 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35803 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35804 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35805 [__WORDSIZE != 64]: Likewise.
35806
54399c08
L
358072012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35808
35809 * iconvdata/tst-table.sh: Remove ${SHELL}.
35810 * iconvdata/tst-tables.sh: Likewise.
35811
e2211bed
DM
358122012-10-25 David S. Miller <davem@davemloft.net>
35813
35814 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35815 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35816 of strtoull.
35817
f303f97c
DM
35818 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35819 ifunc-impl-list.c
35820 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35821 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35822 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35823 file.
35824
1e9d84cd
RM
358252012-10-25 Roland McGrath <roland@hack.frob.com>
35826
35827 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35828 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35829 __getdirentries.
35830
df381762
JM
358312012-10-25 Joseph Myers <joseph@codesourcery.com>
35832 Jim Blandy <jimb@codesourcery.com>
35833
35834 * scripts/cross-test-ssh.sh: New file.
35835 * manual/install.texi (Configuring and compiling): Document use of
35836 cross-test-ssh.sh.
35837 * INSTALL: Regenerated.
35838
bff64913
PT
358392012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35840
35841 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35842 EOPNOTSUPP.
35843
25fe8932
JM
358442012-10-25 Joseph Myers <joseph@codesourcery.com>
35845
35846 * Makeconfig (run-program-prefix): Fix comment.
35847
cc1290d0
JM
358482012-10-24 Joseph Myers <joseph@codesourcery.com>
35849 Jim Blandy <jimb@codesourcery.com>
35850
35851 * Makeconfig (test-wrapper): New variable,
35852 (test-wrapper-env): Likewise.
35853 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35854 (run-built-tests): Define to yes.
35855 (run-program-prefix): Use $(test-wrapper).
35856 (built-program-cmd): Likewise.
35857 * Rules (make-test-out): Use $(test-wrapper-env) and
35858 $(host-built-program-cmd).
35859 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35860 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35861 tst-pathopt.sh.
35862 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35863 $(test-wrapper-env) to tst-rtld-load-self.sh.
35864 ($(objpfx)order2.out): Use $(test-wrapper).
35865 ($(objpfx)tst-initorder.out): Likewise.
35866 ($(objpfx)tst-initorder2.out): Likewise.
35867 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35868 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35869 (test_wrapper_env): New variable. Use it to run ld.so.
35870 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35871 Use it to run ld.so.
35872 (test_wrapper_env): Likewise.
35873 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35874 $(test-wrapper) to run-iconv-test.sh.
35875 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35876 (ICONV): Use $test_wrapper.
35877 * posix/Makefile ($(objpfx)globtest.out): Pass
35878 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35879 globtest.sh, not $(run-program-prefix).
35880 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35881 (test_wrapper): Likewise.
35882 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35883 set together with run_via_rtld_prefix.
35884 (run_program_prefix): Define in terms of test_wrapper and
35885 run_via_rtld_prefix.
35886
6e6249d0
RM
358872012-10-24 Roland McGrath <roland@hack.frob.com>
35888
35889 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35890 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35891 Targets removed.
35892
35893 [BZ #14743]
35894 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35895 Declare __clock_getres, __clock_gettime, __clock_settime,
35896 __clock_nanosleep, and __clock_getcpuclockid.
35897 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35898 Remove librt_hidden_def (clock_gettime).
35899 * sysdeps/unix/clock_gettime.c: Likewise.
35900 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35901 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35902 * rt/clock_getres.c: Define __clock_getres as an alias.
35903 * sysdeps/posix/clock_getres.c: Likewise.
35904 * rt/clock_settime.c: Define __clock_settime as an alias.
35905 * sysdeps/unix/clock_settime.c: Likewise.
35906 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35907 * sysdeps/unix/clock_nanosleep.c: Likewise.
35908 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35909 * rt/clock-compat.c: New file.
35910 * rt/Makefile (librt-routines): Add clock-compat and move
35911 $(clock-routines) to ...
35912 (routines): ... here, new variable.
35913 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35914 Don't add get_clockfreq here.
35915 * rt/Versions (libc: GLIBC_2.17): New version set.
35916 Add clock_* symbols here.
35917 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35918 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35919 (GLIBC_2.17): Add clock_* symbols.
35920 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35921 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35924 Likewise.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35926 Likewise.
35927 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35928 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35929 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35930 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35931 * NEWS: Mention the move.
35932
35933 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35934 Use __open, __read, __close rather than their public counterparts.
35935 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35936 (__get_clockfreq_via_cpuinfo): Likewise.
35937 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35938 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35939
35940 * config.h.in (HAVE_IFUNC): New #undef.
35941 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35942 was successful.
35943 * configure: Regenerated.
35944
0cae3f4b
MF
359452012-10-24 Mike Frysinger <vapier@gentoo.org>
35946
35947 * configure.in: Move READELF check to start of file.
35948 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35949 libc_cv_asm_gnu_indirect_function in the process.
35950 * configure: Regenerated.
35951
8175a253
MF
359522012-10-24 Mike Frysinger <vapier@gentoo.org>
35953
35954 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35955 send the output to /dev/null.
35956 (libc_cv_cc_with_libunwind): Likewise.
35957 (libc_cv_as_noexecstack): Likewise.
35958 * configure: Regenerate.
35959
0708a7d1
JM
359602012-10-24 Joseph Myers <joseph@codesourcery.com>
35961
10b40d85
JM
35962 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35963
0708a7d1
JM
35964 * posix/globtest.sh (TMPDIR): Do not set.
35965 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35966 (testout): Likewise.
35967
9fddec1a
AJ
359682012-10-24 Andreas Jaeger <aj@suse.de>
35969
3a8db22f
AJ
35970 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35971 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35972 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35973 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35974 posix_fadvise64, posix_fallocate64.
35975
9fddec1a
AJ
35976 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35977 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35978 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35979 Likewise.
35980 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35981 Likewise.
35982 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35983
35984 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35985 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35986 <bits/fcntl-linux.h>.
35987 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35988
35989 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35990 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35991 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35992 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35993 [__WORDSIZE != 64]: Likewise.
35994
ebfd1bbd
JM
359952012-10-23 Joseph Myers <joseph@codesourcery.com>
35996
03ac099f
JM
35997 * Makeconfig (run-built-tests): New variable.
35998 * Rules [$(cross-compiling) = yes]: Change condition to
35999 [$(run-built-tests) = no].
36000 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36001 to [$(run-built-tests) = yes].
36002 * elf/Makefile [$(cross-compiling) = no]: Likewise
36003 * grp/Makefile [$(cross-compiling) = no]: Likewise.
36004 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36005 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36006 * intl/Makefile [$(cross-compiling) = no]: Likewise.
36007 * io/Makefile [$(cross-compiling) = no]: Likewise.
36008 * libio/Makefile [$(cross-compiling) = no]: Likewise.
36009 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36010 * misc/Makefile [$(cross-compiling) = no]: Likewise.
36011 * posix/Makefile [$(cross-compiling) = no]: Likewise.
36012 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36013 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36014 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36015 * string/Makefile [$(cross-compiling) = no]: Likewise.
36016
ebfd1bbd
JM
36017 * posix/Makefile ($(objpfx)globtest.out): Pass
36018 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36019 $(rtld-installed-name).
36020 * posix/globtest.sh (elf_objpfx): Remove variable.
36021 (rtld_installed_name): Likewise.
36022 (library_path): Likewise.
36023 (run_program_prefix): New variable. Use for running globtest
36024 binary.
36025
166bca24
JB
360262012-10-23 Jim Blandy <jimb@codesourcery.com>
36027 Joseph Myers <joseph@codesourcery.com>
36028
36029 * Makeconfig (host-built-program-cmd): New variable.
36030 * elf/Makefile (tst-stackguard1-ARGS): Use
36031 $(host-built-program-cmd).
36032 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36033 (tst-spawn-ARGS): Likewise.
36034 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36035
88866099
JM
360362012-10-23 Joseph Myers <joseph@codesourcery.com>
36037 Jim Blandy <jimb@codesourcery.com>
36038
36039 * Makeconfig (run-via-rtld-prefix): New variable.
36040 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36041 (built-program-cmd): Likewise.
36042
b4b4c296
AJ
360432012-10-22 Andreas Jaeger <aj@suse.de>
36044
36045 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36046 __O_RSYNC if it exists, otherwise to O_SYNC.
36047
6fb54a22
JB
360482012-10-22 Jim Blandy <jimb@codesourcery.com>
36049 Joseph Myers <joseph@codesourcery.com>
36050
36051 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36052 /dev/null.
36053 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36054 from /dev/null
36055 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36056 /dev/null.
36057
481b90b9
AJ
360582012-10-22 Andreas Jaeger <aj@suse.de>
36059
2a0e2669
AJ
36060 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36061 Define always.
36062 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36063
76e38f9a
AJ
36064 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36065 bits/fcntl-linux.h.
36066
7cd37b43
AJ
36067 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36068 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36069
481b90b9
AJ
36070 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36071 to __O_LARGEFILE.
36072 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36073 to __O_LARGEFILE.
36074
aba75984
JB
360752012-10-21 Jim Blandy <jimb@codesourcery.com>
36076 Joseph Myers <joseph@codesourcery.com>
36077
36078 * config.make.in (NM): New variable.
36079
88d4247f
AJ
360802012-10-21 Andreas Jaeger <aj@suse.de>
36081
36082 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36083 definitions and declarations that are provided by
36084 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36085
f2eed205
L
360862012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36087
36088 [BZ #14683]
36089 * elf/Makefile (tests-static): Add tst-leaks1-static.
36090 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36091 ($(objpfx)tst-leaks1-static): New rule.
36092 ($(objpfx)tst-leaks1-static-mem): Likewise.
36093 (tst-leaks1-static-ENV): New macro.
36094 * elf/dl-open.c (dl_open_worker): Check the main application
36095 only if SHARED is defined.
36096 * elf/tst-leaks1-static.c: New file.
36097
335e6931
AJ
360982012-10-20 Andreas Jaeger <aj@suse.de>
36099
36100 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36101 generic values for Linux.
36102 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36103 and declarations that are provided by <bits/fcntl-linux.h> and
36104 include <bits/fcntl-linux.h>.
36105 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36106 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36107
ac5c94d3
RM
361082012-10-20 Roland McGrath <roland@hack.frob.com>
36109
36110 * io/fcntl.h: Move include of <bits/types.h> to the top and
36111 include it unconditionally.
36112
de54b33a
L
361132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36114
228cfb01
L
36115 * wcsmbs/Makefile (tests-ifunc): New variable.
36116 (tests): Add $(tests-ifunc).
36117 * wcsmbs/test-wcschr-ifunc.c: New file.
36118 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36119 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36120 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36121 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36122 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36123
69f07e5f
L
36124 * string/Makefile (tests-ifunc): New variable.
36125 (tests): Add $(tests-ifunc).
36126 * string/test-memccpy.c (TEST_NAME): New macro.
36127 * string/test-memchr.c (TEST_NAME): Likewise.
36128 * string/test-memcmp.c (TEST_NAME): Likewise.
36129 * string/test-memcpy.c (TEST_NAME): Likewise.
36130 * string/test-memmem.c (TEST_NAME): Likewise.
36131 * string/test-memmove.c (TEST_NAME): Likewise.
36132 * string/test-memset.c (TEST_NAME): Likewise.
36133 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36134 * string/test-stpcpy.c (TEST_NAME): Likewise.
36135 * string/test-stpncpy.c (TEST_NAME): Likewise.
36136 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36137 * string/test-strcasestr.c (TEST_NAME): Likewise.
36138 * string/test-strcat.c (TEST_NAME): Likewise.
36139 * string/test-strchr.c (TEST_NAME): Likewise.
36140 * string/test-strcmp.c(TEST_NAME): Likewise.
36141 * string/test-strcpy.c (TEST_NAME): Likewise.
36142 * string/test-strcspn.c (TEST_NAME): Likewise.
36143 * string/test-strlen.c (TEST_NAME): Likewise.
36144 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36145 * string/test-strncmp.c (TEST_NAME): Likewise.
36146 * string/test-strncpy.c (TEST_NAME): Likewise.
36147 * string/test-strnlen.c (TEST_NAME): Likewise.
36148 * string/test-strpbrk.c (TEST_NAME): Likewise.
36149 * string/test-strrchr.c (TEST_NAME): Likewise.
36150 * string/test-strspn.c (TEST_NAME): Likewise.
36151 * string/test-strstr.c (TEST_NAME): Likewise.
36152 * string/test-bcopy-ifunc.c: New file.
36153 * string/test-bzero-ifunc.c: Likewise.
36154 * string/test-memccpy-ifunc.c: Likewise.
36155 * string/test-memchr-ifunc.c: Likewise.
36156 * string/test-memcmp-ifunc.c: Likewise.
36157 * string/test-memcpy-ifunc.c: Likewise.
36158 * string/test-memmem-ifunc.c: Likewise.
36159 * string/test-memmove-ifunc.c: Likewise.
36160 * string/test-mempcpy-ifunc.c: Likewise.
36161 * string/test-memset-ifunc.c: Likewise.
36162 * string/test-rawmemchr-ifunc.c: Likewise.
36163 * string/test-stpcpy-ifunc.c: Likewise.
36164 * string/test-stpncpy-ifunc.c: Likewise.
36165 * string/test-strcasecmp-ifunc.c: Likewise.
36166 * string/test-strcasestr-ifunc.c: Likewise.
36167 * string/test-strcat-ifunc.c: Likewise.
36168 * string/test-strchr-ifunc.c: Likewise.
36169 * string/test-strchrnul-ifunc.c: Likewise.
36170 * string/test-strcmp-ifunc.c: Likewise.
36171 * string/test-strcpy-ifunc.c: Likewise.
36172 * string/test-strcspn-ifunc.c: Likewise.
36173 * string/test-strlen-ifunc.c: Likewise.
36174 * string/test-strncasecmp-ifunc.c: Likewise.
36175 * string/test-strncat-ifunc.c: Likewise.
36176 * string/test-strncmp-ifunc.c: Likewise.
36177 * string/test-strncpy-ifunc.c: Likewise.
36178 * string/test-strnlen-ifunc.c: Likewise.
36179 * string/test-strpbrk-ifunc.c: Likewise.
36180 * string/test-strrchr-ifunc.c: Likewise.
36181 * string/test-strspn-ifunc.c: Likewise.
36182 * string/test-strstr-ifunc.c: Likewise.
36183
de54b33a
L
36184 * debug/Makefile (tests-ifunc): New variable.
36185 (tests): Add $(tests-ifunc).
36186 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36187 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36188 * debug/test-stpcpy_chk-ifunc.c: New file.
36189 * debug/test-strcpy_chk-ifunc.c: Likewise.
36190
88481c16
SP
361912012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36192
36193 [BZ #13601]
36194 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36195 header is not read in.
36196
135948bd
JM
361972012-10-19 Joseph Myers <joseph@codesourcery.com>
36198
89f1c388
JM
36199 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36200 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36201 directly. Pass built executable to script as
36202 $(built-program-cmd).
36203 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36204 $testprogram without using LD_LIBRARY_PATH and $ldso.
36205
e40a0d21
JM
36206 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36207 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36208 $(rtld-installed-name).
36209 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36210 (rtld_installed_name): Likewise.
36211 (library_path): Likewise.
36212 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36213 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36214 $(run-program-prefix) to tst-tables.sh.
36215 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36216 it to run tst-table-from and tst-table-to.
36217 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36218 Pass it to tst-table.sh.
36219 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36220 $(run-program-prefix) to tst-gettext.sh.
36221 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36222 tst-translit.sh.
36223 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36224 tst-gettext2.sh.
36225 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36226 to run tst-gettext.
36227 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36228 to run tst-gettext2.
36229 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36230 to run tst-translit.
36231 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36232 $(run-program-prefix) to tst-mtrace.sh.
36233 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36234 to run tst-mtrace.
36235 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36236 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36237 $(rtld-installed-name).
36238 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36239 (rtld_installed_name): Likewise.
36240 (run_program_prefix): New variable. Use it to run wordexp-test.
36241
728e272a
JM
36242 * Makeconfig (ARCH): Remove all definitions.
36243 (machine): Likewise.
36244 [ARCH]: Remove conditional code.
36245 [!objdir]: Give error.
36246 [!objdir] (objpfx): Remove.
36247 [!objdir] (common-objpfx): Likewise.
36248 [!objdir] (common-objdir): Likewise.
36249 * configure.in (config_makefile): Remove. Hardcode Makefile in
36250 AC_CONFIG_FILES call.
36251 * configure: Regenerated.
36252
d528cdcf
JM
36253 [BZ #13888]
36254 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36255 or TMPDIR.
36256 (testout): Likewise.
36257
135948bd
JM
36258 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36259 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36260 $(rtld-installed-name).
36261 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36262 (rtld_installed_name): Likwise.
36263 (runit): Remove function.
36264 (run_getconf): New variable, Use it for running getconf binary.
36265
38c78296
L
362662012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36267
36268 [BZ #14716]
36269 * string/test-memmem.c (check_result): New function.
36270 (do_one_test): Use it.
36271 (check1): New function.
36272 (test_main): Use it.
36273
d077f65f
MT
362742012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36275
36276 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36277
ced52c71
JM
362782012-10-18 Joseph Myers <joseph@codesourcery.com>
36279
36280 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36281 (_G_LSEEK64): Likewise.
36282 (_G_MMAP64): Likewise.
36283 (_G_FSTAT64): Likewise.
36284 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36285 (_G_LSEEK64): Likewise.
36286 (_G_MMAP64): Likewise.
36287 (_G_FSTAT64): Likewise.
36288 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36289 unconditional. Call __mmap64 directly.
36290 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36291 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36292 __lseek64 directly.
36293 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36294 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36295 __mmap64 directly.
36296 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36297 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36298 __lseek64 directly.
36299 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36300 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36301 __lseek64 directly.
36302 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36303 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36304 __lseek64 directly.
36305 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36306 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36307 __fxstat64 directly.
36308 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36309 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36310 unconditional.
36311 (freopen64) [!_G_OPEN64]: Remove conditional code.
36312 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36313 unconditional.
36314 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36315 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36316 unconditional.
36317 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36318 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36319 unconditional.
36320 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36321 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36322 unconditional.
36323 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36324 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36325 unconditional.
36326 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36327 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36328 unconditional.
36329 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36330 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36331 unconditional.
36332 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36333
b741de23
SP
363342012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36335
36336 [BZ #12140]
36337 * manual/memory.texi (Malloc Tunable Parameters): Add note
36338 about free list pointers overwriting some perturb bytes.
36339 Wording suggested by Roland McGrath.
36340
f9b9d9c9
JM
363412012-10-17 Joseph Myers <joseph@codesourcery.com>
36342
36343 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36344 (lgamma_test): Likewise.
36345 (tgamma_test): Likewise.
36346
172a631a
FW
363472012-10-16 Florian Weimer <fweimer@redhat.com>
36348
36349 [BZ #14700]
36350 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36351 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36352
e9f37252
MK
363532012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36354
36355 * NEWS: Mention BZ #14716.
36356 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36357 when removing AVAILABLE1_USES_J macro.
36358
d394eb74
L
363592012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36360
36361 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36362 (__bswap_64): __uint64_t for unsigned 64-bit int.
36363
ca38dc17
AS
363642012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36365
36366 * include/string.h (memmem): Declare libc hidden alias.
36367 * string/memmem.c (memmem): Define libc hidden alias.
36368 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36369 __read, __close instead of open, read, close.
36370
9a387d1f
L
363712012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36372
ac49ecaf
L
36373 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36374 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36375 global and hidden.
36376 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36377 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36378 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36379 Likewise.
36380 (__rawmemchr_sse2): Likewise.
36381 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36382 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36383 (__strchr_sse2): Likewise.
36384 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36385 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36386 (__strcasecmp_sse2): Likewise.
36387 (__strncasecmp_sse2): Likewise.
36388 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36389 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36390 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36391 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36392 (__strrchr_sse2): Likewise.
36393 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36394 ifunc-impl-list.c.
36395 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36396 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36397 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36398 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36399 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36400 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36401 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36402 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36403 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36404 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36405 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36406 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36407 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36408 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36409 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36410 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36411 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36412 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36413 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36414 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36415 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36416 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36417 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36418 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36419 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36420 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36421 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36422 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36423 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36424 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36425
b090e8ea
L
36426 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36427 global and hidden.
36428 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36429 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36430 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36431 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36432 Likewise.
36433 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36434 Likewise.
36435 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36436 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36437 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36438 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36439 ifunc-impl-list.c.
36440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36441 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36442 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36443 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36444 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36445 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36446 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36447 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36448 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36449 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36450 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36451 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36452 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36453 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36454 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36455 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36456 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36457 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36458 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36459 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36460 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36461 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36462 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36463 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36464 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36465 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36466 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36467 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36468 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36469 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36470 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36471 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36472 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36473 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36474 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36475 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36476 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36477 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36478 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36479 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36480 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36481
11dd4af6
L
36482 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36483 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36484 * include/ifunc-impl-list.h: New file.
36485 * misc/ifunc-impl-list.c: Likewise.
36486 * misc/Makefile (routines): Add ifunc-impl-list.
36487 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36488 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36489 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36490 TEST_NAME]: New variables.
11dd4af6
L
36491 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36492 are defined.
36493 (test_init): Call __libc_ifunc_impl_list to initialize
36494 func_list if TEST_IFUNC and TEST_NAME are defined.
36495
9a387d1f
L
36496 * string/Makefile (strop-tests): Add bcopy and bzero.
36497 * string/test-bcopy.c: New file.
36498 * string/test-bzero.c: Likewise.
36499 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36500 defined.
36501 * string/test-memset.c: Support bzero test if TEST_BZERO is
36502 defined.
36503 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36504 __libc_memmove.
36505 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36506 __libc_memset.
36507 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36508 of memset.
36509
472371b9
JM
365102012-10-10 Joseph Myers <joseph@codesourcery.com>
36511
1e4a9536
JM
36512 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36513 * configure: Regenerated.
36514
d173d12e
JM
36515 * Makeconfig (+link-static-before-libc): Don't include
36516 $(link-static-libc).
36517
472371b9
JM
36518 * libio/libio.h (_IO_pos_t): Remove.
36519
89a3ad0b
AO
365202012-10-10 Alexandre Oliva <aoliva@redhat.com>
36521
36522 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36523 McGrath.
36524
e7451425
AO
365252012-10-10 Alexandre Oliva <aoliva@redhat.com>
36526
36527 * crypt/crypt-entry.c: Include fips-private.h.
36528 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36529 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36530 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36531 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36532
4ba74a35
AO
365332012-10-10 Alexandre Oliva <aoliva@redhat.com>
36534
36535 * crypt/crypt-private.h: Include stdbool.h.
36536 (_ufc_setup_salt_r): Return bool.
36537 * crypt/crypt-entry.c: Include errno.h.
36538 (__crypt_r): Return NULL with EINVAL for bad salt.
36539 * crypt/crypt_util.c (bad_for_salt): New.
36540 (_ufc_setup_salt_r): Check that salt is long enough and within
36541 the specified alphabet.
36542 * crypt/badsalttest.c: New file.
36543 * crypt/Makefile (tests): Add it.
36544 ($(objpfx)badsalttest): New.
36545
f96f1242
MK
365462012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36547
36548 * NEWS: Add entry for BZ #14602.
36549
0e8e0c1c
JM
365502012-10-09 Joseph Myers <joseph@codesourcery.com>
36551
36552 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36553 type-generic.
36554 * math/libm-test.inc: Update comment listing what functions and
36555 macros are tested.
36556 (isgreater_test): New function.
36557 (isgreaterequal_test): Likewise.
36558 (isless_test): Likewise.
36559 (islessequal_test): Likewise.
36560 (islessgreater_test): Likewise.
36561 (isunordered_test): Likewise.
36562 (main): Call the new functions.
36563
273edc5e
RM
365642012-10-09 Roland McGrath <roland@hack.frob.com>
36565
b8493de0
RM
36566 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36567 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36568 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36569 * sysdeps/i386/configure: Regenerated.
36570 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36571 * sysdeps/mach/configure: Regenerated.
36572 * sysdeps/mach/hurd/configure: Regenerated.
36573 * sysdeps/powerpc/configure: Regenerated.
36574 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36575 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36576 * sysdeps/s390/s390-32/configure: Regenerated.
36577 * sysdeps/s390/s390-64/configure: Regenerated.
36578 * sysdeps/sh/configure: Regenerated.
36579 * sysdeps/sparc/configure: Regenerated.
36580 * sysdeps/unix/sysv/linux/configure: Regenerated.
36581 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36582 * sysdeps/x86_64/configure: Regenerated.
36583
273edc5e
RM
36584 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36585 defined. Don't check if MAP is NULL.
36586
c8450f70
JM
365872012-10-09 Joseph Myers <joseph@codesourcery.com>
36588
36589 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36590 (_G_stat64): Likewise.
36591 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36592 (_G_stat64): Likewise.
36593 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36594 instead of struct _G_stat64.
36595 * libio/fileops.c (mmap_remap_check): Likewise.
36596 (decide_maybe_mmap): Likewise.
36597 (_IO_new_file_seekoff): Likewise.
36598 (_IO_file_stat): Likewise.
36599 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36600 _G_off64_t.
36601 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36602 instead of struct _G_stat64.
36603 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36604
57e605ba
MK
366052012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36606
36607 [BZ #14602]
36608 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36609 Replace with ...
36610 (CHECK_EOL): New macro.
36611 (two_way_short_needle): Check beginning of haystack for EOL. Use
36612 CHECK_EOL.
36613 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36614 Replace with CHECK_EOL.
36615 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36616 Replace with CHECK_EOL.
36617
ef1bb361
JM
366182012-10-08 Joseph Myers <joseph@codesourcery.com>
36619
36620 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36621 type-generic.
36622 * math/libm-test.inc: Update comment listing what functions and
36623 macros are tested.
36624 (finite_test): New function.
36625 (isinf_test): Likewise.
36626 (isnan_test): Likewise.
36627 (fpclassify_test): Test subnormal input.
36628 (isfinite_test): Likewise.
36629 (isnormal_test): Likewise.
36630 (main): Call the new functions.
36631
55f11534
JN
366322012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36633
36634 [BZ #14660]
36635 * Makerules (%.dynsym): Force C locale when running
36636 $(OBJDUMP) --dynamic-syms.
36637
1ab29350
AS
366382012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36639
36640 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36641 <stdint.h>.
36642
f1ecb7ef
DM
366432012-10-06 David S. Miller <davem@davemloft.net>
36644
36645 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36646 upper 32-bits of the length value in %o2 since we use branch-on-register
36647 tests which consider the entire 64-bit register.
36648
5d41d91a
L
366492012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36650
36651 * string/test-strstr.c (check2): Add a test for page boundary.
36652
3baddb72
DM
366532012-10-05 David S. Miller <davem@davemloft.net>
36654
36655 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36656 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36657 file.
36658 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36659 sysdep_routines.
36660 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36661 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36662 and bzero when HWCAP_SPARC_CRYPTO is present.
36663
9cee5585
L
366642012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36665
d7e0dab9
L
36666 [BZ #14602]
36667 * string/test-strstr.c (check2): New function.
36668 (test_main): Call check2.
36669
03759f47
L
36670 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36671 and bug-strchr1.
36672 * string/bug-strcasestr1.c (do_test): Moved to ...
36673 * string/test-strcasestr.c (check1): Here. New function.
36674 (do_one_test): Break out result checking code into ...
36675 (check_result): This. New function.
36676 (do_one_test): Call check_result.
36677 (test_main): Call check1.
36678 * string/bug-strchr1.c (do_test): Moved to ...
36679 * string/test-strchr.c (check1): Here. New function.
36680 (do_one_test): Break out result checking code into ...
36681 (check_result): This. New function.
36682 (do_one_test): Call check_result.
36683 (test_main): Call check1.
36684 * string/bug-strstr1.c (main): Moved to ...
046f153e 36685 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36686 (do_one_test): Break out result checking code into ...
36687 (check_result): This. New function.
36688 (do_one_test): Call check_result.
36689 (test_main): Call check1.
36690 * string/bug-strcasestr1.c: Removed.
36691 * string/bug-strchr1.c: Likewise.
36692 * string/bug-strstr1.c: Likewise.
36693
53cea63e
L
36694 * elf/Makefile (dl-routines): Add hwcaps.
36695 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36696 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36697 (_dl_important_hwcaps): Moved to ...
36698 * elf/dl-hwcaps.c: Here. New file.
36699 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36700
9cee5585 36701 [BZ #14557]
bb859b06
L
36702 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36703 if IS_IN_rtld isn't defined.
36704
9cee5585
L
36705 * elf/dl-support.c (_dl_sysinfo_map): New.
36706 Include "get-dynamic-info.h" and "setup-vdso.h".
36707 (_dl_non_dynamic_init): Call setup_vdso.
36708 * elf/dynamic-link.h: Don't include <assert.h>.
36709 (elf_get_dynamic_info): Moved to ...
36710 * elf/get-dynamic-info.h: Here. New file.
36711 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36712 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36713 * elf/setup-vdso.h: Here. New file.
36714 * elf/rtld.c: Include "setup-vdso.h".
36715 (dl_main): Call setup_vdso.
36716
23c31b76
JM
367172012-10-05 Joseph Myers <joseph@codesourcery.com>
36718
28234b07
JM
36719 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36720 creal in comment listing functions tested. List finite, isinf,
36721 isnan, isless, islessequal, isgreater, isgreaterequal,
36722 islessgreater, isunordered, lgamma_r and pow10 as functions and
36723 macros not tested. Mention which functions not tested are aliases
36724 for other functions. Fix typo. Note that signs of NaNs are not
36725 tested.
36726
23c31b76
JM
36727 * scripts/config.guess: Update from config.git.
36728 * scripts/config.sub: Likewise.
36729
9043e228
RM
367302012-10-04 Roland McGrath <roland@hack.frob.com>
36731
36732 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36733 * misc/madvise.c (madvise): Renamed to __madvise.
36734 Make madvise a weak alias.
36735 * include/sys/mman.h: Declare __madvise.
36736 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36737 * sysdeps/unix/syscalls.list
36738 (madvise): Make __madvise the strong name, and madvise a weak alias.
36739 * sysdeps/unix/sysv/linux/syscalls.list
36740 (madvise, mmap): Remove redundant entries.
36741 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36742 * malloc/malloc.c (mtrim): Likewise.
36743 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36744
f57f8055
RM
367452012-10-03 Roland McGrath <roland@hack.frob.com>
36746
36747 * sysdeps/mach/hurd/dl-cache.c: File removed.
36748 * config.h.in (USE_LDCONFIG): New #undef.
36749 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36750 * configure: Regenerated.
36751 * elf/Makefile (dl-routines): Add dl-cache only under
36752 [$(use-ldconfig) = yes].
36753 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36754 cache on [USE_LDCONFIG].
36755 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36756 [USE_LDCONFIG].
36757 * elf/rtld.c (dl_main): Likewise.
36758
5bb0c10a
PT
367592012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36760
36761 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36762 _SC_LEVEL4_CACHE_LINESIZE.
36763
010188c6
RM
367642012-10-03 Roland McGrath <roland@hack.frob.com>
36765
36766 * sysdeps/unix/bsd/confstr.h: File removed.
36767
b6c5ec07
AO
367682012-10-02 Alexandre Oliva <aoliva@redhat.com>
36769
36770 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36771 sys/sdt-config.h.
36772
408223d4
RM
367732012-10-02 Roland McGrath <roland@hack.frob.com>
36774
36775 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36776 Make 'mapoff' field ElfW(Off) rather than off_t.
36777
bb9510dc
DL
367782012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36779
fc997c6e
DL
36780 * nscd/Makefile: Remove nscd-cflags and all its users.
36781 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36782 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36783
bb9510dc
DL
36784 [BZ #10631]
36785 * malloc.c (malloc_printerr): Clarify error message.
36786
05699367
L
367872012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36788
36789 [BZ #14648]
36790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36791 Set bit_FMA_Usable if FMA is supported.
36792 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36793 macro.
36794 (bit_FMA4_Usable): Updated.
36795 (index_FMA_Usable): New macro.
36796 (CPUID_FMA): Likewise
36797 (HAS_FMA): Defined with bit_FMA_Usable.
36798
51367701
RM
367992012-10-01 Roland McGrath <roland@hack.frob.com>
36800
36801 * bits/types.h (__swblk_t): Type removed.
36802 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36803 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36804 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36805 (__SWBLK_T_TYPE): Likewise.
36806 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36807 (__SWBLK_T_TYPE): Likewise.
36808 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36809 (__SWBLK_T_TYPE): Likewise.
36810 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36811 (__SWBLK_T_TYPE): Likewise.
36812
4d57bf63 368132012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36814 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36815
36816 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36817 (xdr_mapname): Use YPMAXMAP as maxsize.
36818 (xdr_peername): Use YPMAXPEER as maxsize.
36819 (xdr_keydat): Use YPAXRECORD as maxsize.
36820 (xdr_valdat): Use YPMAXRECORD as maxsize.
36821
93c65d43
RM
368222012-10-01 Roland McGrath <roland@hack.frob.com>
36823
497a03d6
RM
36824 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36825
93c65d43
RM
36826 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36827 * csu/init-first.c: ... here.
36828 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36829 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36830 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36831 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36832 * sysdeps/i386/init-first.c: File removed.
36833 * sysdeps/sh/init-first.c: File removed.
36834
bec749fd
JM
368352012-10-01 Joseph Myers <joseph@codesourcery.com>
36836
36837 [BZ #14645]
36838 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36839 if x * y might underflow to zero and z is zero.
36840 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36841 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36842 * math/libm-test.inc (min_subnorm_value): New variable.
36843 (fma_test): Add more tests.
36844 (fma_test_towardzero): Likewise.
36845 (fma_test_downward): Likewise
36846 (fma_test_upward): Likewise.
36847 (initialize): Set min_subnorm_value.
36848
8ec5b013
JM
368492012-09-29 Joseph Myers <joseph@codesourcery.com>
36850
36851 [BZ #14638]
36852 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36853 0 + 0.
36854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36855 mode for addition resulting in exact zero.
36856 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36858 exact 0 + 0.
36859 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36860 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36861 * math/libm-test.inc (fma_test): Add more tests.
36862 (fma_test_towardzero): New function.
36863 (fma_test_downward): Likewise.
36864 (fma_test_upward): Likewise.
36865 (main): Call the new functions.
36866
b1fa802e
DM
368672012-09-28 David S. Miller <davem@davemloft.net>
36868
36869 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36870
d3b9fd9e
RM
368712012-09-28 Roland McGrath <roland@hack.frob.com>
36872
ea4d37b3
RM
36873 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36874 instead of SIGALRM.
36875
ac51c949
RM
36876 * sysdeps/gnu/_G_config.h: Moved to ...
36877 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36878 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36879 * sysdeps/generic/_G_config.h: ... here.
36880
28c195f7
RM
36881 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36882
848917f9
RM
36883 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36884
6bacf05b
RM
36885 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36886 Conditionalize target on [libnss_test1.so-version].
36887
91363dbb
RM
36888 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36889
cc87f7d8
RM
36890 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36891 (elfobjdir): Move out of conditionals.
36892
b1c608fe
RM
36893 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36894 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36895 (__nss_lookup_function): Conditionalize label remove_from_tree on
36896 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36897
1d9a6d96
DM
368982012-09-28 David S. Miller <davem@davemloft.net>
36899
36900 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36901 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36902 file.
36903 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36904 sysdep_routines.
36905 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36906 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36907 when HWCAP_SPARC_CRYPTO is present.
36908
72581615
PT
369092012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36910
36911 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36912
715a900c
JL
369132012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36914
36915 [BZ #6530]
36916 * stdio-common/vfprintf.c (process_string_arg): Revert
36917 2000-07-22 change.
36918
369192011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36920
36921 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36922 for testcase.
36923 * stdio-common/tst-sprintf.c: Include <locale.h>
36924 (main): Test sprintf's handling of incomplete multibyte
36925 characters.
36926
9bac1d86
L
369272012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36928
36929 * elf/dl-runtime.c (VERSYMIDX): Removed.
36930 * elf/dl-version.c (VERSYMIDX): Likewise.
36931 * elf/do-rel.h (VERSYMIDX): Likewise.
36932 (VALIDX): Likewise.
36933 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36934 * elf/rtld.c (VALIDX): Likewise.
36935 (ADDRIDX): Likewise.
9bac1d86
L
36936 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36937 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36938 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36939 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36940 (VALIDX): Likewise.
36941 (ADDRIDX): Likewise.
9bac1d86 36942
b31606c0
PT
369432012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36944
36945 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36946
11541177
JL
369472012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36948
36949 [BZ #11438]
36950 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36951 to global scope.
36952 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36953 addresses are in the same scope as 192.0.2/24.
36954 * posix/gai.conf: Document new scope table defaults.
36955
adb26fae
SP
369562012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36957
36958 [BZ #5298]
36959 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36960 for ftell. Compute offsets from write pointers instead.
36961 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36962
4573c6b0
SP
369632012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36964
36965 [BZ #14543]
36966 * libio/Makefile (tests): New test case tst-fseek.
36967 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36968 combination works in wide mode.
36969 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36970 state when the external buffer state changes.
36971
aa9bbfe6
DM
369722012-09-27 David S. Miller <davem@davemloft.net>
36973
36974 [BZ #14376]
36975 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36976 pass reloc->r_addend in as the 'high' argument to
36977 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36978
784421e7
DM
36979 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36980
c39bc8b8
PT
369812012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36982
36983 * rt/tst-aio2.c: Include <pthread.h>.
36984 * rt/tst-aio3.c: Likewise.
36985
1ccc2399
SE
369862012-09-27 Steve Ellcey <sellcey@mips.com>
36987
36988 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36989
31ed4153
L
369902012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36991
25f5f885
L
36992 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36993 contents on [SHARED].
31ed4153 36994
b7bfe116
MP
369952012-09-26 Marek Polacek <polacek@redhat.com>
36996
36997 [BZ #14530]
36998 [BZ #13741]
36999 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37000 for C++ and GCC <4.3 as well as for non GCC compilers.
37001
43c4edba
MT
370022012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
37003
37004 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37005
6a1bf82f
RM
370062012-09-25 Roland McGrath <roland@hack.frob.com>
37007
37008 * Makefile.in (all, install): Declare with .PHONY.
37009 Reported by Michael Hope <michael.hope@linaro.org>.
37010
8ad11b9a
TMQMF
370112012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
37012
37013 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37014 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37015 system header.
37016 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37017 Likewise.
37018 (sydep_routines): Add the new and the internal functions.
37019 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37020 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37022 (GLIBC_2.17): Add the new function.
37023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37024 (GLIBC_2.17): Likewise.
37025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37026 (GLIBC_2.17): Likewise.
37027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37028 (GLIBC_2.17): Likewise.
37029 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37030
7e2fca8d
AM
370312012-09-25 Alan Modra <amodra@gmail.com>
37032
37033 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37034 Add release barrier before setting once_control to say
37035 initialisation is done. Add hints on lwarx. Use macro in
37036 place of isync.
37037 (clear_once_control): Add release barrier.
37038
b87c4b24
JM
370392012-09-25 Joseph Myers <joseph@codesourcery.com>
37040
d032e0d2
JM
37041 [BZ #13629]
37042 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37043 specially.
37044 * math/s_clog10.c (__clog10): Likewise.
37045 * math/s_clog10f.c (__clog10f): Likewise.
37046 * math/s_clog10l.c (__clog10l): Likewise.
37047 * math/s_clogf.c (__clogf): Likewise.
37048 * math/s_clogl.c (__clogl): Likewise.
37049 * math/Makefile (libm-calls): Add x2y2m1.
37050 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37051 (__x2y2m1): Likewise.
37052 (__x2y2m1l): Likewise.
37053 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37054 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37055 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37056 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37057 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37058 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37059 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37060 * sysdeps/i386/fpu/libm-test-ulps: Update.
37061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37062
b87c4b24
JM
37063 [BZ #14621]
37064 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37065 int as type of variable DEPTH.
37066 (glob): Use size_t instead of int as type of variables NEWCOUNT
37067 and OLD_PATHC.
37068
6d3bf199
LD
370692012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37070
22bf5c17
LD
37071 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37072 Add s_sincosf-sse2.
37073 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37074 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37075 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37076 macros for using routine as __sincosf_ia32.
37077 Use macro for function declaration and weak_alias.
37078 * sysdeps/i386/fpu/libm-test-ulps: Update.
37079
37080 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37081 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37082
37083 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37084 subnormal argument.
37085 * math/s_cexpf.c (__cexpf): Likewise.
37086 * math/s_csinf.c (__csinf): Likewise.
37087 * math/s_csinhf.c (__csinhf): Likewise.
37088 * math/s_ctanf.c (__ctanf): Likewise.
37089 * math/s_ctanhf.c (__ctanhf): Likewise.
37090 * math/s_ccosh.c (__ccoshf): Likewise.
37091 * math/s_cexp.c (__cexpl): Likewise.
37092 * math/s_csin.c (__csin): Likewise.
37093 * math/s_csinh.c (__csinh): Likewise.
37094 * math/s_ctan.c (__ctan): Likewise.
37095 * math/s_ctanh.c (ctanh): Likewise.
37096 * math/s_ccoshl.c (__ccoshl): Likewise.
37097 * math/s_cexpl.c (__cexpl): Likewise.
37098 * math/s_csinl.c (__csinl): Likewise.
37099 * math/s_csinhl.c (__csinhl): Likewise.
37100 * math/s_ctanl.c (__ctanl): Likewise.
37101 * math/s_ctanhl.c (__ctanhl): Likewise.
37102
203e5603
JM
371032012-09-25 Joseph Myers <joseph@codesourcery.com>
37104
37105 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37106 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37107 (_IO_off_t): Define to __off_t, not _G_off_t.
37108 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37109 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37110 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37111 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37112 type of __dummy and __dummy2 fields.
37113 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37114 (_G_ssize_t): Likewise.
37115 (_G_off_t): Likewise.
37116 (_G_pid_t): Likewise.
37117 (_G_uid_t): Likewise.
37118 (_G_wchar_t): Likewise.
37119 (_G_wint_t): Likewise.
37120 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37121 (_G_ssize_t): Likewise.
37122 (_G_off_t): Likewise.
37123 (_G_pid_t): Likewise.
37124 (_G_uid_t): Likewise.
37125 (_G_wchar_t): Likewise.
37126 (_G_wint_t): Likewise.
37127 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37128 (_G_ssize_t): Likewise.
37129 (_G_off_t): Likewise.
37130 (_G_pid_t): Likewise.
37131 (_G_uid_t): Likewise.
37132 (_G_wchar_t): Likewise.
37133 (_G_wint_t): Likewise.
37134
9fab36eb
SP
371352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37136
37137 * malloc/arena.c: Include malloc-sysdep.h.
37138 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37139 is sufficient to shrink the heap or an unmap is needed.
37140 * sysdeps/generic/malloc-sysdep.h: New file. Define
37141 new function check_may_shrink_heap.
37142 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37143 new function check_may_shrink_heap.
37144
2b4f00d1
SP
371452012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37146
37147 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37148 comments.
37149
9a9028b1
DL
371502012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37151
57c69bef
DL
37152 * catgets/test-gencat.sh: Add "set -e".
37153 * elf/tst-pathopt.sh: Likewise.
37154 * grp/tst_fgetgrent.sh: Likewise.
37155 * iconvdata/run-iconv-test.sh: Likewise.
37156 * intl/tst-gettext.sh: Likewise.
37157 * intl/tst-gettext2.sh: Likewise.
37158 * intl/tst-gettext4.sh: Likewise.
37159 * intl/tst-gettext6.sh: Likewise.
37160 * intl/tst-translit.sh: Likewise.
37161 * io/ftwtest-sh: Likewise.
37162 * libio/test-freopen.sh: Likewise.
37163 * malloc/tst-mtrace.sh: Likewise.
37164 * posix/globtest.sh: Likewise.
37165 * posix/tst-getconf.sh: Likewise.
37166 * posix/wordexp-tst.sh: Likewise.
37167 * stdio-common/tst-printf.sh: Likewise.
37168 * stdio-common/tst-unbputc.sh: Likewise.
37169 * stdlib/tst-fmtmsg.sh: Likewise.
37170 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37171 * catgets/Makefile: Do not specify -e option when running
37172 testsuite shell scripts.
37173 * elf/Makefile: Likewise.
37174 * grp/Makefile: Likewise.
37175 * iconvdata/Makefile: Likewise.
37176 * intl/Makefile: Likewise.
37177 * io/Makefile: Likewise.
37178 * libio/Makefile: Likewise.
37179 * malloc/Makefile: Likewise.
37180 * posix/Makefile: Likewise.
37181 * stdio-common/Makefile: Likewise.
37182 * stdlib/Makefile: Likewise.
37183 * sysdeps/x86_64/Makefile: Likewise.
37184
9a9028b1
DL
37185 * io/ftwtest-sh: Add copyright header.
37186 * posix/globtest.sh: Likewise.
37187 * posix/tst-getconf.sh: Likewise.
37188 * posix/wordexp-tst.sh: Likewise.
37189 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37190
ced6f16e
L
371912012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37192
94b32c39
L
37193 [BZ #13679]
37194 * Makeconfig (+link): Defined as $(+link-static) if
37195 $(build-shared) isn't yes.
37196 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37197 isn't yes.
37198 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37199
189e935b
L
37200 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37201
ced6f16e
L
37202 [BZ #14562]
37203 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37204 new chunk size with MALLOC_ALIGN_MASK.
37205
a9f8e53a
JM
372062012-09-24 Joseph Myers <joseph@codesourcery.com>
37207
37208 [BZ #5044]
37209 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37210 <rounding-mode.h>.
37211 (__printf_fphex): Determine rounding using get_rounding_mode and
37212 round_away.
37213 * stdio-common/tst-printf-round.c (struct hex_test): New
37214 structure.
37215 (hex_tests): New variable.
37216 (test_hex_in_one_mode): New function.
37217 (do_test): Also run tests for hex float output.
37218
43153109
JM
372192012-09-21 Joseph Myers <joseph@codesourcery.com>
37220
37221 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37222 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37223 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37224 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37225 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37226 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37227 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37228 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37229
8a26625d
JM
372302012-09-20 Joseph Myers <joseph@codesourcery.com>
37231
37232 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37233 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37234 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37235 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37236
f3fd569c
DL
372372012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37238
37239 [BZ #14579]
37240 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37241 mode only.
37242 * elf/tst-rtld-load-self.sh: New test.
37243 * elf/Makefile: Run it.
37244
63bbedd4
JM
372452012-09-18 Joseph Myers <joseph@codesourcery.com>
37246
37247 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37248 (tst-writev-ENV): Remove.
37249 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37250
626f8b6a
CM
372512012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37252
37253 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37254
b7aaa4d6
JM
372552012-09-17 Joseph Myers <joseph@codesourcery.com>
37256
37257 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37258 unconditional.
37259 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37260 Likewise.
37261 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37262 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37263 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37264 Likewise.
37265
65513990
L
372662012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37267
37268 [BZ #14587]
37269 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37270 * config.make.in (have-cpp-asm-debuginfo): Removed.
37271 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37272 * configure: Regenerated.
37273
784761be
JM
372742012-09-14 Joseph Myers <joseph@codesourcery.com>
37275
37276 [BZ #5044]
37277 * stdio-common/printf_fp.c: Include <stdbool.h> and
37278 <rounding-mode.h>.
37279 (___printf_fp): Determine rounding using get_rounding_mode and
37280 round_away.
37281 * stdio-common/tst-printf-round.c: New file.
37282 * stdio-common/Makefile (tests): Add tst-printf-round.
37283 (link-libm): New variable.
37284 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37285
9503345f
L
372862012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37287
37288 [BZ #14576]
37289 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37290 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37291 Likewise.
37292 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37293 Likewise.
37294
ad35fc00
JM
372952012-09-13 Joseph Myers <joseph@codesourcery.com>
37296
37297 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37298 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37299 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37300 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37301
6c9b0f68
JM
373022012-09-12 Joseph Myers <joseph@codesourcery.com>
37303
37304 [BZ #14518]
37305 * include/rounding-mode.h: New file.
37306 * sysdeps/generic/get-rounding-mode.h: Likewise.
37307 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37308 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37309 (MAX_VALUE): New macro.
37310 (MIN_VALUE): Likewise.
37311 (overflow_value): New function.
37312 (underflow_value): Likewise.
37313 (round_and_return): Use overflow_value and underflow_value to
37314 determine return values in overflow and underflow cases. Use
37315 round_away to determine rounding depending on rounding mode.
37316 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37317 determine return values in overflow and underflow cases.
37318 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37319 (struct test_results): New structure.
37320 (struct test): Use struct test_results to store expected results
37321 for all rounding modes.
37322 (TEST): Include expected results for all rounding modes.
37323 (test_in_one_mode): New function.
37324 (do_test): Use test_in_one_mode to compute and check results.
37325 Check results for all rounding modes.
37326 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37327 $(link-libm).
37328
19fcedd5
AM
373292012-12-09 Allan McRae <allan@archlinux.org>
37330
1e9d84cd 37331 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37332
8bbfd2f1
JM
373332012-09-11 Joseph Myers <joseph@codesourcery.com>
37334
37335 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37336 (_G_int32_t): Likewise.
37337 (_G_uint16_t): Likewise.
37338 (_G_uint32_t): Likewise.
37339 (_G_HAVE_BOOL): Likewise.
37340 (_G_HAVE_ATEXIT): Likewise.
37341 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37342 (_G_HAVE_IO_FILE_OPEN): Likewise.
37343 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37344 (_G_int32_t): Likewise.
37345 (_G_uint16_t): Likewise.
37346 (_G_uint32_t): Likewise.
37347 (_G_HAVE_BOOL): Likewise.
37348 (_G_HAVE_ATEXIT): Likewise.
37349 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37350 (_G_HAVE_IO_FILE_OPEN): Likewise.
37351 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37352 (_G_int32_t): Likewise.
37353 (_G_uint16_t): Likewise.
37354 (_G_uint32_t): Likewise.
37355 (_G_HAVE_BOOL): Likewise.
37356 (_G_HAVE_ATEXIT): Likewise.
37357 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37358 (_G_HAVE_IO_FILE_OPEN): Likewise.
37359
b1dc5912
L
373602012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37361
37362 * csu/libc-tls.c: Update copyright years.
37363
0e886ef9
JM
373642012-09-10 Joseph Myers <joseph@codesourcery.com>
37365
28361c5e
JM
37366 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37367 [!_G_USING_THUNKS]: Remove conditional code.
37368 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37369 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37370
0e886ef9
JM
37371 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37372 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37373 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37374 (_G_VTABLE_LABEL_PREFIX): Likewise.
37375 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37376 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37377 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37378 (_G_VTABLE_LABEL_PREFIX): Likewise.
37379 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37380 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37381 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37382 (_G_VTABLE_LABEL_PREFIX): Likewise.
37383 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37384
bcba7aa2
L
373852012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37386
37387 * libio/Makefile: Include ../Makeconfig before tests.
37388 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37389 only if $(build-shared) is yes.
37390
06585ee8
L
37391 * iconv/gconv_db.c: Update copyright years.
37392
80ccd52c
LD
373932012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37394
37395 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37396 unwind info if defined PIC. Fix special cases description.
37397 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37398
37399 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37400 DP_HI_MASK entry.
37401 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37402
691bc9c1
L
374032012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37404
3d9b46b3
L
37405 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37406
de2139a9
L
37407 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37408 is NULL.
37409
5ca78dd0
L
37410 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37411 (LDLIBS-tst-chk4): This.
37412 (LDFLAGS-tst-chk5): Renamed to ...
37413 (LDLIBS-tst-chk5): This.
37414 (LDFLAGS-tst-chk6): Renamed to ...
37415 (LDLIBS-tst-chk6): This.
37416 (LDFLAGS-tst-lfschk4): Renamed to ...
37417 (LDLIBS-tst-lfschk4): This.
37418 (LDFLAGS-tst-lfschk5): Renamed to ...
37419 (LDLIBS-tst-lfschk5): This.
37420 (LDFLAGS-tst-lfschk6): Renamed to ...
37421 (LDLIBS-tst-lfschk6): This.
37422
691bc9c1
L
37423 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37424 on $(common-objpfx)soversions.mk.
37425
65cafb1c
JM
374262012-09-07 Joseph Myers <joseph@codesourcery.com>
37427
37428 [BZ #10014]
37429 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37430 example host name.
37431
c78ab094
SP
374322012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37433
37434 * malloc/arena.c (arena_get_retry): New function that gets
37435 another arena for the caller to try its request on.
37436 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37437 current arena cannot fulfill the request.
37438 (__libc_memalign): Likewise.
37439 (__libc_memalign): Likewise.
37440 (__libc_pvalloc): Likewise.
37441 (__libc_calloc): Likewise.
37442
01f49f59
JT
374432012-09-05 John Tobey <john.tobey@gmail.com>
37444
37445 [BZ #13542]
37446 * manual/arith.texi (Operations on Complex): Fix description
37447 of carg branch cut.
37448
4c23fed5
JM
374492012-09-06 Joseph Myers <joseph@codesourcery.com>
37450
1d3c8572
JM
37451 [BZ #10014]
37452 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37453 host name.
37454
4c23fed5
JM
37455 [BZ #10038]
37456 * manual/memory.texi (Memory): Make order of menu items match
37457 order of sections.
37458
04570aaa
L
374592012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37460
37461 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37462 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37463 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37464
b80af2f4
L
374652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37466
37467 * csu/libc-tls.c (static_dtv): Renamed to ...
37468 (_dl_static_dtv): This. Make it global.
37469 (_dl_initial_dtv): Removed.
37470 (__libc_setup_tls): Updated.
37471 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37472 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37473 DL_INITIAL_DTV.
37474
2abe9f15
PM
374752012-09-06 Petr Machata <pmachata@redhat.com>
37476
37477 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37478 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37479 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37480 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37481
0948c3af
L
374822012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37483
37484 [BZ #14545]
37485 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37486 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37487 freeing dtv[-1].
37488
a5055ad1
L
374892012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37490
37491 [BZ #14544]
37492 * Makeconfig (link-static-before-libc): Replace $(+prector)
37493 with $(+prectorT).
37494 (link-static-after-libc): Replace $(+postctor) with
37495 $(+postctorT).
37496 (link-bounded): Replace $(+prector)/$(+postctor) with
37497 $(+prectorT)/$(+postctorT).
37498 (+prectorT): New macro.
37499 (+postctorT): Likewise.
37500
ed8c2ecd
JM
375012012-09-06 Joseph Myers <joseph@codesourcery.com>
37502
37503 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37504 (round_str): Handle values above the maximum for IBM long double
37505 as inexact.
37506 * stdlib/tst-strtod-round.c (tests): Regenerated.
37507
14c996c8
AK
375082012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37509
37510 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37511 assembler flag.
37512 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37513 zarch_nohighgprs around the zarch optimized routines.
37514 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37515 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37516 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37517 for zarch.
37518
430d6ce6
DM
375192012-09-05 David S. Miller <davem@davemloft.net>
37520
37521 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37522
57f41c40
AS
37523 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37524 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37525 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37526 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37527 entries.
37528
24d4e01b
AO
375292012-09-05 Alexandre Oliva <aoliva@redhat.com>
37530
37531 * malloc/arena.c: Fold copyright years.
37532 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37533
61d58174
AO
375342012-09-05 Alexandre Oliva <aoliva@redhat.com>
37535
37536 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37537
20196a5e
AO
375382012-09-05 Alexandre Oliva <aoliva@redhat.com>
37539
37540 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37541
5c447383
AO
375422012-09-05 Alexandre Oliva <aoliva@redhat.com>
37543
37544 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37545 change internal state upon failure.
37546
fad64255
AO
375472012-09-05 Alexandre Oliva <aoliva@redhat.com>
37548
37549 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37550 * malloc/memusage.c (mmap): Likewise.
37551 (mmap64, mremap): Likewise. Adjust name in comment.
37552
1ffb8c90
SP
375532012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37554
37555 * libio/fileops.c: Fix typos in comments.
37556 * libio/oldfileops.c: Likewise.
37557 * libio/wfileops.c: Likewise.
37558
6ef9cc37
SP
375592012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37560
37561 [BZ #1349]
37562 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37563 (tst-malloc-usable-ENV): Set environment for test case.
37564 * malloc/hooks.c (malloc_check_get_size): New function to get
37565 requested size.
37566 * malloc/malloc.c (musable): Use malloc_check_get_size.
37567 * malloc/tst-malloc-usable.c: New test case.
37568
4d038ae3
AS
375692012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37570
37571 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37572
c4e85184
AM
375732012-09-05 Allan McRae <allan@archlinux.org>
37574
b9dafc56 37575 [BZ #13966]
c4e85184
AM
37576 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37577 determine header location.
37578 * configure: Regenerated.
37579
e1343020
AS
375802012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37581
37582 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37583 float format.
37584 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37585 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37586 format.
e1343020
AS
37587 (test): Regenerate.
37588
0a9f1987
DM
375892012-09-04 David S. Miller <davem@davemloft.net>
37590
37591 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37592 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37593 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37594
29237804
FW
375952012-09-04 Florian Weimer <fweimer@redhat.com>
37596
37597 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37598 failures.
37599
edb3cb88
FW
37600 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37601
60160d83
JM
376022012-09-04 Joseph Myers <joseph@codesourcery.com>
37603
37604 [BZ #9914]
37605 * libio/iogetdelim.c: Include <limits.h>.
37606 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37607 + len + 1 would overflow.
37608
bcd6c8dc
AJ
376092012-09-03 Andreas Jaeger <aj@suse.de>
37610
37611 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37612 * sysdeps/i386/fpu/libm-test-ulps: Update.
37613
4ffffbd2
LD
376142012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37615
37616 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37617 Add s_sinf-sse2, s_conf-sse2.
37618
37619 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37620 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37621 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37622 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37623
37624 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37625 for using routine as __sinf_ia32.
37626 Use macro for function declaration and weak_alias.
37627 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37628 for using routine as __cosf_ia32.
37629 Use macro for function declaration and weak_alias.
37630
37631 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37632 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37633
37634 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37635 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37636 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37637
37638 * math/libm-test.inc (cos_test): Add more test cases.
37639 (sin_test): Likewise.
37640 (sincos_test): Likewise.
37641
511fa286
AK
376422012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37643
37644 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37645 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37646 hidden.
37647 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37648
5f30cfec
L
376492012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37650
37651 [BZ #14538]
37652 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37653 first element of the GOT.
37654 (elf_machine_load_address): Return the difference between
37655 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37656
0786794f
AM
376572012-09-01 Allan McRae <allan@archlinux.org>
37658
5f30cfec
L
37659 [BZ #13412]
37660 * configure.in (AWK): Require gawk version 3.0 or later.
37661 * configure: Regenerated.
0786794f 37662
26889eac
JM
376632012-09-01 Joseph Myers <joseph@codesourcery.com>
37664
37665 * sysdeps/unix/sysv/linux/kernel-features.h
37666 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37667 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37668 [__NR_clock_getres]: Make code unconditional.
37669 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37670 (clock_getcpuclockid): Remove code left unreachable by removal of
37671 conditionals.
37672 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37673 code unconditional.
37674 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37675 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37676 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37677 Make code unconditional.
37678 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37679 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37680 * sysdeps/unix/sysv/linux/clock_settime.c
37681 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37682 conditional code.
37683 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37684 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37685
d22e28b0
L
376862012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37687
37688 [BZ #14476]
37689 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37690 scripts/test-installation.pl.
37691
37692 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37693 and $ld_so_version if it is set.
37694
050af9c4
SP
376952012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37696
37697 [BZ #14516]
37698 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37699 failure if reading from procfs failed.
37700 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37701
ad845c0b
JM
377022012-08-27 Joseph Myers <joseph@codesourcery.com>
37703
37704 * sysdeps/unix/sysv/linux/kernel-features.h
37705 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37706 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37707 Remove conditional code.
37708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37709 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37710 Remove conditional code.
37711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37712 * sysdeps/unix/sysv/linux/i386/fxstat.c
37713 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37714 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37715 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37716 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37717 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37718 * sysdeps/unix/sysv/linux/i386/lxstat.c
37719 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37720 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37721 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37722 Remove conditional code.
37723 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37724 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37725 Remove conditional code.
37726 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37727 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37728 <kernel-features.h>.
37729 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37730 Remove.
37731 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37732 Remove conditional code.
37733 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37734 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37735 Remove conditional.
37736
5dbf56af
MF
377372012-08-27 Mike Frysinger <vapier@gentoo.org>
37738
37739 [BZ #5400]
37740 * NEWS: Add fixed bug number.
37741
d6e70f43
JM
377422012-08-27 Joseph Myers <joseph@codesourcery.com>
37743
7efb4737
JM
37744 [BZ #14519]
37745 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37746 underflowing exponent in case of negative sign.
37747 * stdlib/tst-strtod-round-data: Add more tests.
37748 * stdlib/tst-strtod-round.c (tests): Regenerated.
37749
af92131a
JM
37750 [BZ #3479]
37751 * stdlib/strtod_l.c (NDIG): Remove.
37752 (HEXNDIG): Likewise.
37753 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37754 smallest representable value.
37755 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37756 lie within an exact representation of 1/2 ulp of the result.
37757 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37758 unconditionally.
37759 (TENS_P9_IDX): Define unconditionally.
37760 (TENS_P9_SIZE): Likewise.
37761 (TENS_P10_IDX): Likewise.
37762 (TENS_P10_SIZE): Likewise.
37763 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37764 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37765 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37766 entries for 10^2^13 and 10^2^14.
37767 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37768 (TENS_P13_IDX): Define.
37769 (TENS_P13_SIZE): Likewise.
37770 (TENS_P14_IDX): Likewise.
37771 (TENS_P14_SIZE): Likewise.
37772 (_fpioconst_pow10): Change array size to
37773 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37774 unconditional.
37775 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37776 1024]: Add entries for 10^2^13 and 10^2^14.
37777 [LAST_POW10 > _LAST_POW10]: Remove #error.
37778 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37779 (_fpioconst_pow10): Change array size to
37780 FPIOCONST_POW10_ARRAY_SIZE.
37781 * stdlib/gen-fpioconst.c: New file.
37782 * stdlib/gen-tst-strtod-round.c: Likewise.
37783 * stdlib/tst-strtod-round-data: Likewise.
37784 * stdlib/tst-strtod-round.c: Likewise.
37785 * stdlib/Makefile (tests): Add tst-strtod-round.
37786
d6e70f43
JM
37787 [BZ #14459]
37788 * stdlib/strtod_l.c: Include <stdint.h>.
37789 (NDEBUG): Do not define.
37790 (round_and_return): Change EXPONENT parameter to type intmax_t.
37791 Rearrange calculations to avoid internal overflow possibilities.
37792 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37793 Rearrange calculations to avoid internal overflow possibilities.
37794 Assert that number fits inside MPNSIZE limbs.
37795 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37796 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37797 calculations and add assertions to avoid internal overflow
37798 possibilities. Add casts to avoid signed/unsigned operations.
37799 * stdlib/tst-strtod-overflow.c: New file.
37800 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37801
1f529f7d
MP
378022012-08-25 Marek Polacek <polacek@redhat.com>
37803
37804 * time/time.h: Fix some typos in comments.
37805
59a629f1
RM
378062012-08-23 Roland McGrath <roland@hack.frob.com>
37807
37808 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37809 * posix/tst-rfc3484-2.c: Likewise.
37810 * posix/tst-rfc3484-3.c: Likewise.
37811
d3bafbc9
SM
378122012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37813
37814 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37815 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37816
4efcc022
JM
378172012-08-23 Joseph Myers <joseph@codesourcery.com>
37818
37819 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37820 #include of fxstatat64.c.
37821
3cc3ef96
RM
378222012-08-22 Roland McGrath <roland@hack.frob.com>
37823
f04e2132
RM
37824 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37825 * shadow/getspent_r.c: Likewise.
37826 * shadow/getspnam.c: Likewise.
37827 * shadow/getspnam_r.c: Likewise.
37828 * gshadow/getsgent.c: Likewise.
37829 * gshadow/getsgent_r.c: Likewise.
37830 * gshadow/getsgnam.c: Likewise.
37831 * gshadow/getsgnam_r.c: Likewise.
37832 * inet/getnetbyad.c: Likewise.
37833 * inet/getnetbyad_r.c: Likewise.
37834 * inet/getnetbynm.c: Likewise.
37835 * inet/getnetbynm_r.c: Likewise.
37836 * inet/getnetent.c: Likewise.
37837 * inet/getnetent_r.c: Likewise.
37838 * inet/getproto.c: Likewise.
37839 * inet/getproto_r.c: Likewise.
37840 * inet/getprtent.c: Likewise.
37841 * inet/getprtent_r.c: Likewise.
37842 * inet/getprtname.c: Likewise.
37843 * inet/getprtname_r.c: Likewise.
37844 * inet/getrpcbyname.c: Likewise.
37845 * inet/getrpcbyname_r.c: Likewise.
37846 * inet/getrpcbynumber.c: Likewise.
37847 * inet/getrpcbynumber_r.c: Likewise.
37848 * inet/getrpcent.c: Likewise.
37849 * inet/getrpcent_r.c: Likewise.
37850 * inet/getaliasent.c: Likewise.
37851 * inet/getaliasent_r.c: Likewise.
37852 * inet/getaliasname.c: Likewise.
37853 * inet/getaliasname_r.c: Likewise.
37854 * nscd/getgrgid_r.c: Likewise.
37855 * nscd/getgrnam_r.c: Likewise.
37856 * nscd/gethstbyad_r.c: Likewise.
37857 * nscd/gethstbynm3_r.c: Likewise.
37858 * nscd/getpwnam_r.c: Likewise.
37859 * nscd/getpwuid_r.c: Likewise.
37860 * nscd/getsrvbynm_r.c: Likewise.
37861 * nscd/getsrvbypt_r.c: Likewise.
37862 * nscd/gai.c: Likewise.
37863
c53d909c
RM
37864 * configure.in (build_nscd): New substituted variable, set
37865 by --disable-build-nscd and defaults to $use_nscd.
37866 * configure: Regenerated.
37867 * config.make.in (build-nscd): New substituted variable.
37868 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37869 Change conditional to require [$(build-nscd) = yes] as well.
37870 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37871
3cc3ef96
RM
37872 [BZ# 13696]
37873 * configure.in (use_nscd): New substituted variable, set by
37874 --disable-nscd. If enabled, define USE_NSCD.
37875 * configure: Regenerated.
37876 * config.h.in: Add USE_NSCD.
37877 * config.make.in (use-nscd): New substituted variable.
37878 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37879 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37880 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37881 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37882 (CFLAGS-getgrnam_r.c): Likewise.
37883 (CFLAGS-initgroups.c): Likewise.
37884 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37885 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37886 Variables removed.
37887 * inet/getnetgrent_r.c
37888 (nscd_setnetgrent): New function, broken out of ...
37889 (setnetgrent): ... here. Call it.
37890 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37891 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37892 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37893 * nscd/Makefile (routines, aux): Move definitions after include of
37894 Makeconfig. Conditionalize on [$(use-nscd) != no].
37895 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37896 Conditionalize on [USE_NSCD].
37897 (is_nscd, nscd_init_cb): Likewise.
37898 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37899 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37900 * nss/nss_db/db-init.c: Likewise.
37901 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37902 [USE_NSCD].
37903 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37904 (make_request): Use it.
37905 (cache_valid_p): New function.
37906 (__check_pf): Use it.
37907 * NEWS: Add item for --disable-nscd.
37908
07e51550
DL
379092012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37910
37911 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37912 to support sed >= 4.2.1-20-ga9bf076.
37913 * configure: Regenerated.
37914
35a5b08b
RM
379152012-08-22 Roland McGrath <roland@hack.frob.com>
37916
37917 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37918 Conditionalize whole body on [IREL].
37919
8479f23a
JL
379202012-08-22 Jeff Law <law@redhat.com>
37921
37922 [BZ #14505]
37923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37924 if the family is PF_UNSPEC.
37925
48da0b21
MF
379262012-08-22 Mike Frysinger <vapier@gentoo.org>
37927
37928 * Makerules (lib-version): Rename from V.
37929 (install-lib-nosubdir): Change V to lib-version.
37930
15d0da8c
WS
379312012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37932
37933 [BZ #14252]
37934 * powerpc32/power6/wcschr.c: New file.
37935 * powerpc32/power6/wcscpy.c: New file.
37936 * powerpc32/power6/wcsrchr.c: New file.
37937 * powerpc64/power6/wcschr.c: New file.
37938 * powerpc64/power6/wcscpy.c: New file.
37939 * powerpc64/power6/wcsrchr.c: New file.
37940
bcca0895
MK
379412012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37942
37943 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37944 (two_way_short_needle): Use it.
5a4aaa33
RM
37945 * string/strstr.c (AVAILABLE1_USES_J): Define.
37946 * string/strcasestr.c: Likewise.
99677e57
MK
37947
37948 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37949 array references.
37950 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37951
400726de
MK
37952 [BZ #11607]
37953 * NEWS: Add an entry.
37954 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37955 define their defaults.
37956 (two_way_short_needle): Detect end-of-string on-the-fly.
37957 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37958 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37959 * string/bug-strcasestr1.c: New test.
37960 * string/Makefile: Run it.
37961
20a71f2c
MK
379622012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37963
37964 [BZ #11607]
37965 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37966 the first character.
37967
21ad0558
RM
379682012-08-21 Roland McGrath <roland@hack.frob.com>
37969
37970 * csu/elf-init.c (__libc_csu_irel): Function removed.
37971 * csu/libc-start.c (apply_irel): New function.
37972 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37973
0e1d9911
JM
379742012-08-21 Joseph Myers <joseph@codesourcery.com>
37975
37976 * sysdeps/unix/sysv/linux/kernel-features.h
37977 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37978 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37979 <kernel-features.h>.
37980 [__NR_fadvise64_64]: Make code unconditional.
37981 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37982 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37983 !__NR_fadvise64_64)]: Likewise.
37984 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37985 !__NR_fadvise64_64))]: Likewise.
37986 [__NR_fadvise64]: Make code unconditional.
37987 [!__NR_fadvise64]: Remove conditional code.
37988 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37989 <kernel-features.h>.
37990 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37991 unconditional.
37992 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37993 conditional code.
37994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37995 not include <kernel-features.h>.
37996 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37997 unconditional.
37998 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37999 conditional code.
38000 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38001 include <kernel-features.h>.
38002 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38003 unconditional.
38004 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38005 conditional code.
38006
14a50c9d
WS
380072012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
38008
38009 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38010 slight instruction rearrangements per scrollpipe analysis.
38011 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38012
c0f4faf0
RM
380132012-08-20 Roland McGrath <roland@hack.frob.com>
38014
696da859
RM
38015 * manual/syslog.texi (syslog; vsyslog, closelog):
38016 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38017 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38018
c0f4faf0
RM
38019 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38020 DSOCAPS to match condition on defining it.
38021
348363b2
JM
380222012-08-20 Joseph Myers <joseph@codesourcery.com>
38023
a35cbf28
JM
38024 * sysdeps/unix/sysv/linux/kernel-features.h
38025 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38027 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38028 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38030 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38031 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38033 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38034 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38035
445f7ecd
JM
38036 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38037 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38038
348363b2
JM
38039 * sysdeps/unix/sysv/linux/kernel-features.h
38040 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38041 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38042 unconditional.
38043 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38044 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38045 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38046 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38047 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38048 Make code unconditional.
38049 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38050 (__mmap64) [!__NR_mmap2]: Likewise.
38051 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38052 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38053 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38054 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38055 [__NR_mmap2]: Make code unconditional.
38056 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38057 (__mmap64) [!__NR_mmap2]: Likewise.
38058
bc5bc0e5
AK
380592012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38060
38061 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38062
88d506de
AJ
380632012-08-18 Andreas Jaeger <aj@suse.de>
38064
38065 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38066
493387d2
MF
380672012-08-18 Mike Frysinger <vapier@gentoo.org>
38068
38069 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38070 * include/unistd.h (__have_sock_cloexec): Likewise.
38071 (__have_pipe2): Likewise.
38072 (__have_dup3): Likewise.
38073
a277af22
MF
380742012-08-18 Mike Frysinger <vapier@gentoo.org>
38075
38076 [BZ #9685]
38077 * include/unistd.h (__have_pipe2): Change define into an extern int.
38078 (__have_dup3): Likewise.
38079 * socket/have_sock_cloexec.c: Include fcntl.h.
38080 (__have_pipe2): New variable.
38081 (__have_dup3): Likewise.
38082
fdab8fd3
MF
380832012-08-17 Mike Frysinger <vapier@gentoo.org>
38084
38085 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38086
31035e80
MP
380872012-08-17 Marek Polacek <polacek@redhat.com>
38088
38089 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38090 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38091
3bd9e993
RM
380922012-08-17 Roland McGrath <roland@hack.frob.com>
38093
c91c505f
RM
38094 * configure.in: Add AC_SUBST for sysheaders.
38095 * configure: Regenerated.
38096 * config.make.in (sysheaders): New substituted variable.
38097
7c6f9d53
RM
38098 * sysdeps/unix/mkfifo.c: Moved ...
38099 * sysdeps/posix/mkfifo.c: ... here.
38100 * sysdeps/unix/mkfifoat.c: Moved ...
38101 * sysdeps/posix/mkfifoat.c: ... here.
38102
38103 * sysdeps/unix/utime.c: Moved ...
38104 * sysdeps/posix/utime.c: ... here.
38105
38106 * sysdeps/unix/time.c: Moved ...
38107 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38108 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38109 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38110
38111 * sysdeps/unix/nice.c: Moved ...
38112 * sysdeps/posix/nice.c: ... here.
38113
38114 * sysdeps/unix/alarm.c: Moved ...
38115 * sysdeps/posix/alarm.c: ... here.
38116
3bd9e993
RM
38117 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38118
d1f09384
JL
381192012-08-17 Jeff Law <law@redhat.com>
38120
38121 * intl/Makefile (codeset_mo): New variable.
38122 ($(codeset_mo)): New target.
38123 (tst-codeset.out): Depend on that. Remove explicit rule.
38124 (tst-gettext3.out, tst-gettext5.out): Likewise.
38125 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38126 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38127 * intl/tst-codeset.sh: Remove.
38128 * intl/tst-gettext3.sh: Likewise.
38129 * intl/tst-gettext5.sh: Likewise.
38130
2ae1ae5c
RM
381312012-08-17 Roland McGrath <roland@hack.frob.com>
38132
c31fdb83
RM
38133 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38134 * sysdeps/unix/syscalls.list: ... here.
38135
a0844057
RM
38136 * sysdeps/posix/getaddrinfo.c
38137 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38138 (gaiconf_init, gaiconf_reload): Use them.
38139 [!_STATBUF_ST_NSEC]
38140 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38141 Define using time_t rather than struct timespec.
38142
750c1f2a
RM
38143 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38144 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38145 Macros removed.
38146 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38147 [!NO_THREADS].
38148 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38149 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38150 Likewise.
38151
2ae1ae5c
RM
38152 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38153 __libc_cleanup_push argument.
38154
e66a42f5
RM
38155 * bits/param.h: New file.
38156 * misc/sys/param.h: New file.
38157 * include/sys/param.h: New file.
38158 * misc/Makefile (headers): Add bits/param.h.
38159 * sysdeps/generic/sys/param.h: File removed.
38160 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38161 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38162 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38163 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38164
b7c08a66
RM
38165 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38166 last change.
38167
b2e1c562
RM
38168 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38169 [_IO_MTSAFE_IO].
38170 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38171 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38172 New macros.
38173
c75ccd4c
RM
38174 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38175 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38176 rather than -D_IO_MTSAFE_IO conditionally.
38177 * stdio-common/Makefile (CPPFLAGS): Likewise.
38178 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38179 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38180 Use $(libio-mtsafe).
38181 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38182 of -D_IO_MTSAFE_IO.
38183 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38184 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38185 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38186 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38187 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38188 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38189 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38190 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38191 (CFLAGS-fread_u_chk.c): Likewise.
38192 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38193 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38194 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38195 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38196 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38197 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38198 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38199 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38200 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38201
38202 * libio/Makefile: Test [$(libc-reentrant) = yes]
38203 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38204
38205 * Makeconfig
38206 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38207 * sysdeps/pthread/configure: File removed.
38208 * sysdeps/pthread/Makeconfig: New file.
38209 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38210 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38211
d9195db8
GB
382122012-08-16 Gary Benson <gbenson@redhat.com>
38213
38214 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38215 unmapping the first object in a namespace.
38216
86466cd9
RM
382172012-08-16 Roland McGrath <roland@hack.frob.com>
38218
38219 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38220 (__internal_setnetgrent): ... this. Add internal_function to
38221 definition. Add libc_hidden_def.
38222 (setnetgrent): Update caller.
38223 (internal_endnetgrent): Renamed to ...
38224 (__internal_endnetgrent): ... this. Add internal_function to
38225 definition. Add libc_hidden_def.
38226 (endnetgrent): Update caller.
38227 (internal_getnetgrent_r): Renamed to ...
38228 (__internal_getnetgrent_r): ... this. Add internal_function to
38229 definition. Add libc_hidden_def.
38230 (__getnetgrent_r): Update caller.
38231 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38232
c3c8283c
JM
382332012-08-16 Joseph Myers <joseph@codesourcery.com>
38234
38235 * stdlib/longlong.h: Update from GCC.
38236
db1ee0a8
RM
382372012-08-16 Roland McGrath <roland@hack.frob.com>
38238
38239 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38240 on _QL, which is set by umul_ppmm but never used.
38241 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38242 variables, which are set by GMP macros but never used.
38243 * stdio-common/_itowa.c (_itowa): Likewise.
38244 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38245 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38246
30f69637
CD
382472012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38248
38249 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38250 struct La_sh_regs is not constant.
38251 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38252 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38253 and struct La_sparc64_regs are not constant.
38254
93a78ac4
JM
382552012-08-16 Joseph Myers <joseph@codesourcery.com>
38256
38257 * sysdeps/unix/sysv/linux/kernel-features.h
38258 (__ASSUME_POSIX_TIMERS): Remove.
38259 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38260 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38261 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38262 Make code unconditional.
38263 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38264 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38265 Make code unconditional.
38266 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38267 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38268 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38269 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38270 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38271 Make code unconditional.
38272 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38273 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38274 (__libc_missing_posix_timers): Remove.
38275
dd924cd7
RM
382762012-08-15 Roland McGrath <roland@hack.frob.com>
38277
4b4f2771
RM
38278 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38279 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38280
601c888b
RM
38281 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38282
176790a7
RM
38283 * elf/dl-sym.c: Include <stdlib.h>.
38284
329bc018
RM
38285 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38286 constants, which avoids warnings in 32-bit builds.
38287
e04e272d
RM
38288 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38289 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38290
952bf94a
RM
38291 * misc/lseek.c: File moved to ...
38292 * io/lseek.c: ... here.
38293
7c99b50a
RM
38294 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38295
dd924cd7
RM
38296 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38297 shifting LEN more than 31 bits at once.
38298
b3f479a8
LD
382992012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38300
38301 [BZ #14195]
8c4ae0d4
RM
38302 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38303 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38304 * string/test-strncasecmp.c (check1): Renamed to...
38305 (bz12205): ...this.
38306 (bz14195): Add new testcase for two empty input strings and N > 0.
38307 (test_main): Call new testcase, adapt for renamed function.
38308
9c55864e
AJ
383092012-08-15 Andreas Jaeger <aj@suse.de>
38310
38311 [BZ #14090]
38312 * crypt/md5test2.c: New test, based on test supplied by Serge
38313 Belyshev <belyshev@depni.sinp.msu.ru>.
38314 * crypt/Makefile (xtests): Add md5test-giant..
38315 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38316
02dcb6c5
PE
383172012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38318
38319 [BZ #14090]
38320 * crypt/md5.c (md5_process_block): Don't assume the buffer
38321 length is less than 2**32.
38322 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38323 length is less than 2**64.
38324
a3f95dcc
RM
383252012-08-15 Roland McGrath <roland@hack.frob.com>
38326
be75d758
RM
38327 * string/str-two-way.h: Include <sys/param.h>.
38328 (MAX): Macro removed.
38329
7312ca90
RM
38330 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38331 Move #define and #undef of memmove to just before and after
38332 including <string.h>.
38333
9a0a5486
RM
38334 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38335 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38336 and after including <string.h>. Move declarations of
38337 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38338 to before #include "string/memmove.c".
38339
67cc348d
RM
38340 * include/dirent.h: Declare __getdirentries.
38341
a3f95dcc
RM
38342 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38343 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38344
ca98e171
MF
383452012-08-14 Mike Frysinger <vapier@gentoo.org>
38346
38347 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38348 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38349 * sysdeps/i386/configure: Regenerated.
38350 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38351 STABS_CURRENT_FILE, and STABS_FUN.
38352 (END): Remove call to STABS_FUN_END.
38353 (STABS_CURRENT_FILE1): Delete.
38354 (STABS_CURRENT_FILE): Likewise.
38355 (STABS_FUN): Likewise.
38356 (STABS_FUN_END): Likewise.
38357 (STABS_FUN2): Likewise.
38358 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38359 * sysdeps/x86_64/configure: Regenerated.
38360
5908bf46
RM
383612012-08-14 Roland McGrath <roland@hack.frob.com>
38362
38363 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38364 * elf/dl-lookup.c: Likewise.
5908bf46 38365
f2c05b9e
JM
383662012-08-14 Joseph Myers <joseph@codesourcery.com>
38367
38368 * sysdeps/unix/sysv/linux/kernel-features.h
38369 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38370 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38371 unconditionally.
38372 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38373 unconditionally.
38374 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38375 condition on __ASSUME_CLONE_THREAD_FLAGS.
38376
e11f5155
AJ
383772012-08-14 Andreas Jaeger <aj@suse.de>
38378
38379 * sysdeps/i386/fpu/libm-test-ulps: Update.
38380
51a9ba86
MK
383812012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38382
2fdd4f78
AJ
38383 * include/atomic.h (atomic_exchange_and_add): Split into ...
38384 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38385 New atomic macros.
51a9ba86 38386
ba6cba9e
MT
383872012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38388
38389 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38390
42443a47
JL
383912012-08-13 Jeff Law <law@redhat.com>
38392
38393 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38394 null byte in the output string.
38395
121dce05
JM
383962012-08-10 Joseph Myers <joseph@codesourcery.com>
38397
38398 * sysdeps/unix/sysv/linux/kernel-features.h
38399 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38400 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38401 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38402 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38403 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38404 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38405 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38406
bf51f568
JL
384072012-08-09 Jeff Law <law@redhat.com>
38408
38409 [BZ #13939]
38410 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38411 When avoid_arena is set, don't retry in the that arena. Pick the
38412 next one, whatever it might be.
38413 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38414 (arena_lock): Pass in new parameter to arena_get2.
38415 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38416 arena_get2.
38417 (__libc_malloc): Unify retrying after main arena failure with
38418 __libc_memalign version.
38419 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38420
f85fa270
L
384212012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38422
38423 [BZ #14166]
38424 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38425 to __redirect_strstr.
38426 (__strstr_sse42): Use typeof __redirect_strstr.
38427 (__strstr_ia32): Likewise.
38428 (__libc_strstr): New prototype.
38429 (strstr): Renamed to ...
38430 (__libc_strstr): This.
38431 (strstr): New strong alias of __libc_strstr.
38432 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38433 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38434 __redirect_time.
38435 Include <time.h>.
38436 (__libc_time): New prototype.
38437 (time_ifunc): Replace time with __libc_time.
38438 (time): New strong alias and hidden definition of __libc_time.
38439 (__GI_time): Remove strong alias.
38440 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38441 Include <stddef.h>.
38442 (memmove): Redefined to __redirect_memmove.
38443 (__memmove_sse2): Use typeof __redirect_memmove.
38444 (__memmove_ssse3): Likewise.
38445 (__memmove_ssse3_back): Likewise.
38446 (__libc_memmove): New prototype.
38447 (memmove): Renamed to ...
38448 (__libc_memmove): This.
38449 (memmove): New strong alias of __libc_memmove.
38450
33b4a91e
MS
384512012-08-08 Mark Salter <msalter@redhat.com>
38452
38453 * elf/elf.h
38454 (R_MN10300_TLS_GD): Define.
38455 (R_MN10300_TLS_LD): Likewise.
38456 (R_MN10300_TLS_LDO): Likewise.
38457 (R_MN10300_TLS_GOTIE): Likewise.
38458 (R_MN10300_TLS_IE): Likewise.
38459 (R_MN10300_TLS_LE): Likewise.
38460 (R_MN10300_TLS_DTPMOD): Likewise.
38461 (R_MN10300_TLS_DTPOFF): Likewise.
38462 (R_MN10300_TLS_TPOFF): Likewise.
38463 (R_MN10300_SYM_DIFF): Likewise.
38464 (R_MN10300_ALIGN): Likewise.
38465 (R_MN10300_NUM): Update.
38466
b36137f1
JM
384672012-08-08 Joseph Myers <joseph@codesourcery.com>
38468
38469 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38470 Remove.
38471
cdd915fd
RM
384722012-08-08 Roland McGrath <roland@hack.frob.com>
38473
a2433aac
RM
38474 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38475
cdd915fd
RM
38476 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38477 sysdeps/unix -> sysdeps/posix move.
38478 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38479
bf9b740a
AM
384802012-08-07 Allan McRae <allan@archlinux.org>
38481
38482 [BZ #14303]
38483 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38484 (SUNOS_CPP): Likewise.
38485 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38486 not found.
38487 (open_input): Call CPP using execvp.
38488
93df14ee
JM
384892012-08-07 Joseph Myers <joseph@codesourcery.com>
38490
38491 * sysdeps/unix/sysv/linux/kernel-features.h
38492 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38493 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38494 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38495 (__ASSUME_WAITID_SYSCALL): Likewise.
38496 * sysdeps/unix/sysv/linux/dl-execstack.c
38497 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38498 code unconditional.
38499 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38500 conditional code.
38501 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38502 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38503 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38504 code.
38505 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38506 unconditional.
38507 [__ASSUME_WAITID_SYSCALL]: Likewise.
38508 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38509
d34689de
RM
385102012-08-07 Roland McGrath <roland@hack.frob.com>
38511
a281decc
RM
38512 * sysdeps/unix/closedir.c: Renamed to ...
38513 * sysdeps/posix/closedir.c: ... here.
38514 * sysdeps/unix/dirfd.c: Renamed to ...
38515 * sysdeps/posix/dirfd.c: ... here.
38516 * sysdeps/unix/dirstream.h: Renamed to ...
38517 * sysdeps/posix/dirstream.h: ... here.
38518 * sysdeps/unix/fdopendir.c: Renamed to ...
38519 * sysdeps/posix/fdopendir.c: ... here.
38520 * sysdeps/unix/opendir.c: Renamed to ...
38521 * sysdeps/posix/opendir.c: ... here.
38522 * sysdeps/unix/readdir.c: Renamed to ...
38523 * sysdeps/posix/readdir.c: ... here.
38524 * sysdeps/unix/readdir_r.c: Renamed to ...
38525 * sysdeps/posix/readdir_r.c: ... here.
38526 * sysdeps/unix/rewinddir.c: Renamed to ...
38527 * sysdeps/posix/rewinddir.c: ... here.
38528 * sysdeps/unix/seekdir.c: Renamed to ...
38529 * sysdeps/posix/seekdir.c: ... here.
38530 * sysdeps/unix/telldir.c: Renamed to ...
38531 * sysdeps/posix/telldir.c: ... here.
38532 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38533 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38534 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38535 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38536
22895b47
RM
38537 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38538 * bits/fcntl.h: ... here.
38539
707a53b6
RM
38540 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38541 not 0.
38542 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38543 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38544 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38545 (struct flock): Move l_start, l_len to the beginning.
38546 Use __pid_t for l_pid.
38547 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38548 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38549 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38550 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38551 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38552 [__USE_LARGEFILE64] (struct flock64): New type.
38553 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38554
f0bd3e25
RM
38555 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38556 * bits/dirent.h: ... here.
38557
d34689de
RM
38558 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38559 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38560
6dad2c06
JM
385612012-08-07 Joseph Myers <joseph@codesourcery.com>
38562
38563 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38564 Change from 2.6.0 to 2.6.16.
38565 * sysdeps/unix/sysv/linux/configure: Regenerated.
38566 * sysdeps/unix/sysv/linux/kernel-features.h
38567 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38568 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38569 version.
38570 (__ASSUME_UTIMES): Likewise.
38571 (__ASSUME_CLONE_STOPPED): Remove.
38572 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38573 architectures, not kernel version.
38574 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38575 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38576 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38577 (__ASSUME_WAITID_SYSCALL): Likewise.
38578 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38579 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38580 * README: State 2.6.16 as minimum Linux kernel version. Do not
38581 refer to older versions.
38582
03af9520
RM
385832012-08-06 Roland McGrath <roland@hack.frob.com>
38584
8e49df1d
RM
38585 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38586 Define alphasort64 as an alias.
38587 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38588 Define versionsort64 as an alias.
38589 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38590 Define scandir64 as an alias.
38591 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38592 Define scandirat64 as an alias.
38593 * dirent/alphasort64.c (alphasort64):
38594 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38595 * dirent/versionsort64.c: Likewise.
38596 * dirent/scandir64.c: Likewise.
38597 * dirent/scandirat64.c: Likewise.
38598 * sysdeps/wordsize-64/alphasort.c: File removed.
38599 * sysdeps/wordsize-64/alphasort64.c: File removed.
38600 * sysdeps/wordsize-64/scandir.c: File removed.
38601 * sysdeps/wordsize-64/scandir64.c: File removed.
38602 * sysdeps/wordsize-64/scandirat.c: File removed.
38603 * sysdeps/wordsize-64/scandirat64.c: File removed.
38604 * sysdeps/wordsize-64/versionsort.c: File removed.
38605 * sysdeps/wordsize-64/versionsort64.c: File removed.
38606 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38607 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38608 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38609 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38610 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38611 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38612 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38613 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38614
38615 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38616 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38617 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38618 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38619 [defined __arch64__ || defined __sparcv9]
38620 (__INO_T_MATCHES_INO64_T): New macro.
38621 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38622 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38623 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38624 * sysdeps/unix/sysv/linux/bits/dirent.h
38625 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38626 (_DIRENT_MATCHES_DIRENT64): New macro.
38627
03af9520
RM
38628 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38629 Define lockf64 as an alias.
38630 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38631 Define fseeko64 as an alias.
38632 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38633 Define ftello64 as an alias.
38634 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38635 Define _IO_fgetpos64 and fgetpos64 as aliases.
38636 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38637 Define _IO_fsetpos64 and fsetpos64 as aliases.
38638 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38639 Conditionalize body on this.
38640 * libio/fseeko64.c: Likewise.
38641 * libio/ftello64.c: Likewise.
38642 * libio/iofgetpos64.c: Likewise.
38643 * libio/iofsetpos64.c: Likewise.
38644 * sysdeps/wordsize-64/lockf.c: File removed.
38645 * sysdeps/wordsize-64/lockf64.c: File removed.
38646 * sysdeps/wordsize-64/fseeko.c: File removed.
38647 * sysdeps/wordsize-64/fseeko64.c: File removed.
38648 * sysdeps/wordsize-64/ftello.c: File removed.
38649 * sysdeps/wordsize-64/ftello64.c: File removed.
38650 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38651 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38652 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38653 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38654 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38655 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38656 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38657 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38658 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38659 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38660 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38661 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38662 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38663 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38664
38665 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38666 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38667 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38668 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38669 [defined __arch64__ || defined __sparcv9]
38670 (__OFF_T_MATCHES_OFF64_T): New macro.
38671 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38672 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38673 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38674 (__OFF_T_MATCHES_OFF64_T): New macro.
38675
c5757acd
L
386762012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38677
38678 * stdlib/secure-getenv.c (__secure_getenv): Replace
38679 GLIBC_2_16 with GLIBC_2_17.
38680
3a31811e
L
386812012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38682
38683 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38684 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38685
faa2bccb
DM
386862012-08-03 David S. Miller <davem@davemloft.net>
38687
38688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38689
85fe1997
JM
386902012-08-03 Joseph Myers <joseph@codesourcery.com>
38691
38692 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38693 Remove.
38694 (__ASSUME_CORRECT_SI_PID): Likewise.
38695 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38696 (__ASSUME_TMPFS_NAME): Likewise.
38697 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38698 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38699 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38700 (HAVE_AUX_SECURE): Make definition unconditional.
38701 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38702 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38703
4f75b7a0
RM
387042012-08-03 Roland McGrath <roland@hack.frob.com>
38705
38706 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38707 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38708 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38709 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38710 __eloop_threshold instead of SYMLOOP_MAX.
38711
38712 * sysdeps/generic/eloop-threshold.h: New file.
38713 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38714 of MAXSYMLINKS.
38715 * elf/chroot_canon.c (chroot_canon): Likewise.
38716
7aab07e4
JM
387172012-08-03 Joseph Myers <joseph@codesourcery.com>
38718
38719 [BZ #13717]
38720 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38721 Change to 2.6.0 everywhere.
38722 * sysdeps/unix/sysv/linux/configure: Regenerated.
38723 * sysdeps/unix/sysv/linux/kernel-features.h
38724 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38725 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38726 kernel versions.
38727 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38728 (__ASSUME_FUTEX_REQUEUE): Remove.
38729 (__ASSUME_STATFS64): Define unconditionally.
38730 (__ASSUME_AT_SECURE): Likewise.
38731 (__ASSUME_CORRECT_SI_PID): Likewise.
38732 (__ASSUME_TGKILL): Define without depending on kernel version for
38733 i386.
38734 (__ASSUME_UTIMES): Likewise.
38735 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38736 kernel version.
38737 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38738 (__ASSUME_TMPFS_NAME): Likewise.
38739 * README: Update reference to Linux kernel versions.
38740
b67e9372
MP
387412012-08-02 Marek Polacek <polacek@redhat.com>
38742
1f529f7d 38743 [BZ# 14150]
b67e9372
MP
38744 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38745 libc_cv_asm_type_prefix with %.
38746 * configure: Regenerated.
d2441631
RM
38747 * include/libc-symbols.h: Remove comment about
38748 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38749 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38750 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38751 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38752 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38753 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38754 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38755 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38756 * elf/tst-unique2mod1.c: Likewise.
38757 * elf/tst-unique1mod2.c: Likewise.
38758 * elf/tst-unique1mod1.c: Likewise.
38759 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38760 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38761 Replace ASM_TYPE_DIRECTIVE with .type.
38762 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38763 * sysdeps/i386/sysdep.h: Likewise.
38764 * sysdeps/x86_64/sysdep.h: Likewise.
38765 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38767 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38768 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38769 * sysdeps/powerpc/powerpc32/sysdep.h:
38770 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38771 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38772 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38773 * sysdeps/i386/fpu/e_powf.S: Likewise.
38774 * sysdeps/i386/fpu/e_expl.S: Likewise.
38775 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38776 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38777 * sysdeps/i386/fpu/e_pow.S: Likewise.
38778 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38779 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38780 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38781 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38782 * sysdeps/i386/fpu/e_log2.S: Likewise.
38783 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38784 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38785 * sysdeps/i386/fpu/e_powl.S: Likewise.
38786 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38787 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38788 * sysdeps/i386/fpu/e_logl.S: Likewise.
38789 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38790 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38791 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38792 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38793 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38794 * sysdeps/i386/fpu/e_log.S: Likewise.
38795 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38796 * sysdeps/i386/fpu/e_logf.S: Likewise.
38797 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38798 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38799 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38800 * sysdeps/i386/fpu/e_log10.S: Likewise.
38801 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38802 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38803 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38804 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38805 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38806 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38807 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38808 * sysdeps/i386/i686/strtok.S: Likewise.
38809 * sysdeps/i386/i386-mcount.S: Likewise.
38810 * sysdeps/i386/strtok.S: Likewise.
38811 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38812 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38813 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38814 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38815 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38816 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38817 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38818 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38819 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38820 * sysdeps/x86_64/_mcount.S: Likewise.
38821 * sysdeps/x86_64/strtok.S: Likewise.
38822 * sysdeps/sh/_mcount.S: Likewise.
38823
2747bf9a
RM
388242012-08-01 Roland McGrath <roland@hack.frob.com>
38825
38826 * libio/iofopen.c: Include <fcntl.h>.
38827 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38828 (_IO_fopen64, fopen64): Define as aliases.
38829 * libio/iofopen64.c: Include <fcntl.h>.
38830 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38831 Conditionalize body on this.
38832 * sysdeps/wordsize-64/iofopen.c: File removed.
38833 * sysdeps/wordsize-64/iofopen64.c: File removed.
38834
3fb791b8
MP
388352012-08-01 Marek Polacek <polacek@redhat.com>
38836
38837 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38838 Use dlfcn directly instead of a variable.
38839 (binfmt-subdir): Do not define.
38840 (dlfcn): Likewise.
38841
a9f1039f
JM
388422012-08-01 Joseph Myers <joseph@codesourcery.com>
38843
23bddc06
JM
38844 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38845 Remove all definitions.
38846 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38847 <kernel-features.h>.
38848 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38849 (miss_F_GETOWN_EX): Remove all definitions.
38850 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38851 macro definition.
38852 [!__ASSUME_FCNTL64]: Remove conditional code.
38853 [__ASSUME_FCNTL64]: Make code unconditional.
38854 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38855 <kernel-features.h>.
38856 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38857 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38858 (lockf64) [__NR_fcntl64]: Make code unconditional.
38859 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38860
a9f1039f
JM
38861 * sysdeps/unix/sysv/linux/kernel-features.h
38862 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38863 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38864 Make code unconditional.
38865 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38866 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38868 [__NR_vfork]: Make code unconditional.
38869 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38870 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38872 [__NR_vfork]: Make code unconditional.
38873 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38874 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38875
09c0ee5f
RM
388762012-08-01 Roland McGrath <roland@hack.frob.com>
38877
48aec5b9
RM
38878 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38879 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38880
cd97c966
RM
38881 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38882 Define mkstemp64 as an alias.
3f55550c
RM
38883 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38884 Define mkstemps64 as an alias.
cd97c966
RM
38885 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38886 Define mkostemp64 as an alias.
b8625cfc
RM
38887 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38888 Define mkostemps64 as an alias.
cd97c966
RM
38889 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38890 Conditionalize body on this.
38891 * misc/mkostemp64.c: Likewise.
b8625cfc 38892 * misc/mkostemps64.c: Likewise.
3f55550c 38893 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38894 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38895 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38896 * sysdeps/wordsize-64/mkostemp.c: File removed.
38897 * sysdeps/wordsize-64/mkstemp.c: File removed.
38898 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38899 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38900 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38901 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38902
09c0ee5f
RM
38903 [BZ #14138]
38904 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38905 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38906 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38907 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38908
38909 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38910 compat_symbol macros from <shlib-compat.h> rather than the underlying
38911 default_symbol_version and symbol_version macros, so that DEFAULT
38912 lines in shlib-versions are respected.
38913 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38914
7e66ee51
FW
389152012-08-01 Florian Weimer <fweimer@redhat.com>
38916
38917 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38918 Declare with warn_unused_result.
38919 (setgid, setregid, setegid, setresgid): Likewise.
38920 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38921 Likewise.
38922 * WUR-REPORT: Remove set*id functions.
38923
d2a54255
PT
389242012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38925
38926 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38927
7ecdb005
RM
389282012-07-31 Roland McGrath <roland@hack.frob.com>
38929
b4180a5e 38930 [BZ #10191]
789bd351
RM
38931 * include/sys/socket.h (__libc_accept, __libc_accept4):
38932 Add attribute_hidden.
38933 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38934
40ce302d
RM
38935 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38936 use of PTR_MANGLE.
38937 * inet/getnetgrent_r.c (setup): Likewise.
38938
7ecdb005
RM
38939 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38940
e2eabb2c
DM
389412012-07-31 David S. Miller <davem@davemloft.net>
38942
38943 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38944
d0419dbf
JM
389452012-07-31 Joseph Myers <joseph@codesourcery.com>
38946
38947 [BZ #13629]
38948 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38949 value between 1.0 and 2.0 and smaller part has absolute value less
38950 than 1.0.
38951 * math/s_clog10.c (__clog10): Likewise.
38952 * math/s_clog10f.c (__clog10f): Likewise.
38953 * math/s_clog10l.c (__clog10l): Likewise.
38954 * math/s_clogf.c (__clogf): Likewise.
38955 * math/s_clogl.c (__clogl): Likewise.
38956 * math/libm-test.inc (clog_test): Add more tests.
38957 (clog10_test): Likewise.
38958 * sysdeps/i386/fpu/libm-test-ulps: Update.
38959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38960
2bc13872
FW
389612012-07-31 Florian Weimer <fweimer@redhat.com>
38962
38963 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38964 Exit with zero in case no suitable GID is found, and write a
38965 message to standard error.
38966
bea9b193
RM
389672012-07-30 Roland McGrath <roland@hack.frob.com>
38968
38969 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38970 rather than to 1.
38971 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38972 (MAXPATHLEN): Removed.
38973 (NOGROUP, NODEV): New macros.
38974 (setbit, clrbit, isset, isclr): New macros.
38975 (howmany, roundup, powerof2): New macros.
38976 (DEV_BSIZE): New macro.
38977
38978 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38979 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38980
38981 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38982 definition on [!__NO_LONG_DOUBLE_MATH].
38983
38984 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38985 PTR_MANGLE and PTR_DEMANGLE.
38986
38987 * socket/accept4.c (accept4): Rename to __libc_accept4.
38988 Define accept4 as a weak alias.
38989
38990 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38991 on [_DIRENT_HAVE_D_TYPE].
38992 * io/ftw.c (ftw_dir): Likewise.
38993
38994 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38995
38996 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38997
38998 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38999 Use the BSD numbers rather than the arbitrary ones we had.
39000 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39001 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39002 (SIGXCPU, SIGXFSZ): New macros.
39003 (_NSIG): Now 32.
39004
39005 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39006 initializer on [_LIBC_REENTRANT].
39007
39008 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39009 definitions inside [_POSIX_MAPPED_FILES].
39010
39011 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39012
39013 * dirent/opendir.c: Include <fcntl.h>.
39014
39015 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39016 (__libc_getspecific): Likewise.
39017 (__libc_key_create): Likewise.
39018
39019 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39020 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39021 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39022 (tmpfile64): Define as alias.
39023 * sysdeps/wordsize-64/tmpfile.c: File removed.
39024 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39025 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39026 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39027
39028 * stdio-common/vfscanf.c: Include <stdbool.h>.
39029 * nss/makedb.c: Likewise.
39030 * stdio-common/_i18n_number.h: Likewise.
39031 * argp/argp-help.c: Likewise.
39032 * posix/wordexp.c: Likewise.
39033 * sysdeps/posix/spawni.c: Likewise.
39034 * nss/nss_files/files-initgroups.c: Likewise.
39035 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39036 * nss/nss_files/files-initgroups.c: Likewise.
39037 * nss/nss_db/db-netgrp.c: Likewise.
39038 * nss/nss_db/db-initgroups.c: Likewise.
39039 * io/fchmodat.c: Include <sys/stat.h>.
39040
39041 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39042 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39043
39044 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39045 [HAVE_MMAP].
39046
39047 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39048 Add multiple inclusion protection.
39049
e5abc686
DM
390502012-07-27 David S. Miller <davem@davemloft.net>
39051
39052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39053
815e6fa3
GB
390542012-07-27 Gary Benson <gbenson@redhat.com>
39055
39056 [BZ #14298]
39057 * elf/rtld.c: Include <stap-probe.h>.
39058 (dl_main): Added static probes "init_start" and "init_complete".
39059 * elf/dl-load.c: Include <stap-probe.h>.
39060 (lose): Take new parameter "nsid".
39061 Added static probe "map_failed".
39062 (_dl_map_object_from_fd): Pass namespace id to lose.
39063 Added static probe "map_start".
39064 (open_verify): Pass namespace id to lose.
39065 * elf/dl-open.c: Include <stap-probe.h>.
39066 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39067 and "reloc_complete".
39068 * elf/dl-close.c: Include <stap-probe.h>.
39069 (_dl_close_worker): Added static probes "unmap_start" and
39070 "unmap_complete".
39071 * elf/rtld-debugger-interface.txt: New file documenting the above.
39072
9f98c16c
RM
390732012-07-26 Roland McGrath <roland@hack.frob.com>
39074
39075 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39076 rather than a string variable.
39077 * sunrpc/rpc_main.c (h_output): Likewise.
39078 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39079
f3c22df3
PT
390802012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39081
39082 * inet/check_native.c: New file.
39083
3129cfc6
JM
390842012-07-26 Joseph Myers <joseph@codesourcery.com>
39085
da865e95
JM
39086 [BZ #13629]
39087 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39088 if larger part has absolute value 1.0.
39089 * math/s_clog10.c (__clog10): Likewise.
39090 * math/s_clog10f.c (__clog10f): Likewise.
39091 * math/s_clog10l.c (__clog10l): Likewise.
39092 * math/s_clogf.c (__clogf): Likewise.
39093 * math/s_clogl.c (__clogl): Likewise.
39094 * math/libm-test.inc (clog_test): Add more tests.
39095 (clog10_test): Likewise.
39096 * sysdeps/i386/fpu/libm-test-ulps: Update.
39097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39098
3129cfc6
JM
39099 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39100 (pltexit): Likewise.
39101 (La_regs): Likewise.
39102 (La_retval): Likewise.
39103 (int_retval): Likewise.
39104 Update #error for removed macros to refer only to definitions in
39105 tst-audit.h.
39106 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39107 macro.
39108 (pltexit): Likewise.
39109 (La_regs): Likewise.
39110 (La_retval): Likewise.
39111 (int_retval): Likewise.
39112 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39113 macro.
39114 (pltexit): Likewise.
39115 (La_regs): Likewise.
39116 (La_retval): Likewise.
39117 (int_retval): Likewise.
39118 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39119 macro.
39120 (pltexit): Likewise.
39121 (La_regs): Likewise.
39122 (La_retval): Likewise.
39123 (int_retval): Likewise.
39124 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39125 macro.
39126 (pltexit): Likewise.
39127 (La_regs): Likewise.
39128 (La_retval): Likewise.
39129 (int_retval): Likewise.
39130 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39131 macro.
39132 (pltexit): Likewise.
39133 (La_regs): Likewise.
39134 (La_retval): Likewise.
39135 (int_retval): Likewise.
39136 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39137 macro.
39138 (pltexit): Likewise.
39139 (La_regs): Likewise.
39140 (La_retval): Likewise.
39141 (int_retval): Likewise.
39142 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39143 macro definitions in tst-audit.h.
39144 * sysdeps/i386/tst-audit.h: New file.
39145 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39146 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39147 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39148 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39149 * sysdeps/sh/tst-audit.h: Likewise.
39150 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39151 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39152 * sysdeps/x86_64/tst-audit.h: Likewise.
39153
bfc07087
AJ
391542012-07-26 Andreas Jaeger <aj@suse.de>
39155
b1b2aaf8
AJ
39156 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39157 ptrace.
39158
39159 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39160 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39161 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39162 PTRACE_O_MASK.
39163 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39164 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39165 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39166
bfc07087
AJ
39167 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39168 value.
39169
39170 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39171 _sigsys.
39172 (si_call_addr, si_syscall, si_arch): Define new macro.
39173 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39174 _sigsys.
39175 (si_call_addr, si_syscall, si_arch): Define new marcro.
39176 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39177 _sigsys.
39178 (si_call_addr, si_syscall, si_arch): Define new macro.
39179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39180 _sigsys.
39181 (si_call_addr, si_syscall, si_arch): Define new macro.
39182
89b4b02f
JM
391832012-07-25 Joseph Myers <joseph@codesourcery.com>
39184
39185 [BZ #13717]
39186 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39187 Change to 2.4.21 where previously 2.4.1.
39188 * sysdeps/unix/sysv/linux/configure: Regenerated.
39189 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39190 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39191 Linux kernel version.
39192 (__ASSUME_STD_AUXV): Remove.
39193 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39194 kernel version.
39195 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39196 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39197 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39198 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39199 (__ASSUME_NETLINK_SUPPORT): Likewise.
39200 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39201 (__no_netlink_support): Remove conditional definition.
39202 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39203 Remove.
39204 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39205 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39206 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39207 (if_nameindex_ioctl): Remove.
39208 (if_nameindex_netlink): Do not handle __no_netlink_support.
39209 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39210 code.
39211 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39212 Remove conditional code.
39213 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39214 code.
39215 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39216 unconditional.
39217 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39218 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39219 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39220 Remove.
39221 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39222 [!__ASSUME_STD_AUXV]: Remove conditional code.
39223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39224 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39225 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39227 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39228 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39229 code.
39230 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39232 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39233 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39234 conditional code.
39235 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39237 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39238 code.
39239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39240 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39241 conditional code.
39242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39243 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39244 code unconditional.
39245 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39246 conditional code.
39247 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39248 unconditional.
39249 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39250 conditional code.
39251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39252 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39253 unconditional.
39254 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39255 conditional code.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39257 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39258 code unconditional.
39259 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39260 conditional code.
39261 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39262 unconditional.
39263 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39264 conditional code.
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39266 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39267 code unconditional.
39268 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39269 conditional code.
39270 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39271 unconditional.
39272 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39273 conditional code.
39274
842a39cd
AS
392752012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39276
39277 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39278 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39279 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39280 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39281 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39282 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39283 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39284 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39285 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39286 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39287 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39288 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39289 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39290 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39291 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39292 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39293 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39294 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39295 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39296 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39297 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39298 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39299 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39300
84b3fd84
FW
393012012-07-25 Florian Weimer <fweimer@redhat.com>
39302
39303 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39304 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39305 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39306 Introduce __libc_secure_getenv.
0c7936d5
FW
39307 * stdlib/Versions (2.17): Add secure_getenv
39308 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39309 * stdlib/secure-getenv.c: Rename __secure_getenv to
39310 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39311 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39312 * stdlib/tst-secure-getenv.c: New.
39313 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39314 * manual/startup.texi (Environment Access): Document
39315 secure_getenv.
84b3fd84
FW
39316 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39317 __libc_secure_getenv.
39318 * inet/ruserpass.c (ruserpass): Likewise.
39319 * malloc/mtrace.c (mtrace): Likewise.
39320 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39321 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39322 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39323 * sysdeps/posix/tempname.c: Likewise. Evaluate
39324 HAVE_SECURE_GETENV.
39325 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39326 __secure_getenv to __libc_secure_getenv.
84b3fd84 39327 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39329 Likewise.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39331 Likewise.
39332 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39333 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39336 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39339
56e49b71
JM
393402012-07-25 Joseph Myers <joseph@codesourcery.com>
39341
39342 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39343 (struct La_i86_retval): Likewise.
39344 (struct La_x86_64_regs): Likewise.
39345 (struct La_x86_64_retval): Likewise.
39346 (struct La_x32_regs): Likewise.
39347 (struct La_x32_retval): Likewise.
39348 (struct La_ppc32_regs): Likewise.
39349 (struct La_ppc32_retval): Likewise.
39350 (struct La_ppc64_regs): Likewise.
39351 (struct La_ppc64_retval): Likewise.
39352 (struct La_sh_regs): Likewise.
39353 (struct La_sh_retval): Likewise.
39354 (struct La_s390_32_regs): Likewise.
39355 (struct La_s390_32_retval): Likewise.
39356 (struct La_s390_64_regs): Likewise.
39357 (struct La_s390_64_retval): Likewise.
39358 (struct La_sparc32_regs): Likewise.
39359 (struct La_sparc32_retval): Likewise.
39360 (struct La_sparc64_regs): Likewise.
39361 (struct La_sparc64_retval): Likewise.
39362 (struct audit_ifaces): Remove architecture-specific pltenter and
39363 pltexit members.
39364 * sysdeps/i386/ldsodefs.h: New file.
39365 * sysdeps/powerpc/ldsodefs.h: Likewise.
39366 * sysdeps/s390/ldsodefs.h: Likewise.
39367 * sysdeps/sh/ldsodefs.h: Likewise.
39368 * sysdeps/sparc/ldsodefs.h: Likewise.
39369 * sysdeps/x86_64/ldsodefs.h: Likewise.
39370
354691b7
MP
393712012-07-25 Marek Polacek <polacek@redhat.com>
39372
39373 [BZ #6808]
39374 * math/libm-test.inc (yn_test): Add another test.
39375 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39376 to ERANGE when the result is +-Inf.
39377 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39378 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39379 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39380 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39381
bf9e2071
JM
393822012-07-24 Joseph Myers <joseph@codesourcery.com>
39383
39384 * conform/data/time.h-data (NULL): Use macro-constant. Require
39385 equal to 0.
39386 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39387 clock_t.
39388 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39389
57633811
TS
393902012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39391
39392 * configure.in <sysdeps resolving>: Correct printing
39393 Implies_before.
39394 * configure: Regenerate.
39395
c23c33b0
TS
393962012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39397
39398 * math/w_ilogb.c: Include <limits.h>.
39399 * math/w_ilogbl.c: Likewise.
39400
b5982523
JM
394012012-07-20 Joseph Myers <joseph@codesourcery.com>
39402
39403 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39404 va_copy. Document allowing for unavailable va_copy only as
39405 pre-C99 compatibility.
39406 * manual/string.texi (Copying and Concatenation): Use va_copy
39407 instead of __va_copy in concat example.
39408
ac4ea442
PT
394092012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39410
39411 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39412 (__sendto): Use create_address_port. Initialize APORT and deallocate
39413 it if not null.
39414
f98eafbd
PT
39415 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39416 with O_NOLINK passed to __file_name_lookup.
39417
898c7aab
PT
39418 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39419 with O_NOLINK passed to __file_name_lookup.
39420
0ced335a
PT
39421 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39422 negative N or less than NGIDS.
39423
b3404dbd
PT
39424 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39425 type to string_t. Set ERANGE as errno and return it if NAME is not big
39426 enough. Use memcpy instead of strncpy.
39427
0f48659e
JM
394282012-07-20 Joseph Myers <joseph@codesourcery.com>
39429
39430 * elf/Makefile (check-data): Remove.
39431 (localplt.data): New vpath directive.
39432 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39433 instead of $(check-data).
39434 * scripts/data/localplt-generic.data: Move to ...
39435 * sysdeps/generic/localplt.data: ... here.
39436 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39437 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39438 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39440 ... here.
39441 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39443 ... here.
39444 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39445 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39446 ... here.
39447 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39449 ... here.
39450 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39452 ... here.
39453 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39454 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39455 ... here.
39456
d37cbdaa
AZ
394572012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39458
39459 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39460 PPC32 and PPC64 files.
39461 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39462 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39463
46f85fc2
AK
394642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39465
39466 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39467 __makecontext_ret to ...
39468 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39469 ... here and call exit if uc_link is NULL. New file.
39470 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39471 __makecontext_ret.S.
39472 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39473 __makecontext_ret to ...
39474 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39475 ... here and call exit if uc_link is NULL. New file.
39476 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39477 __makecontext_ret.S.
39478
08f43f9b
AK
394792012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39480
39481 * elf/elf.h (R_390_IRELATIVE): New definition.
39482 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39483 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39484 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39485 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39486 (elf_machine_lazy_rel): Likewise.
39487 * sysdeps/s390/dl-irel.h: New file.
39488 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39489 * sysdeps/s390/s390-64/memset.S: New asm code.
39490 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39491 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39492 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39493 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39494 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39495 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39496 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39497 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39498 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39499 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39500 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39501 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39502 * sysdeps/s390/s390-32/memset.S: New asm code.
39503 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39504
3b05db33
MP
395052012-07-17 Marek Polacek <polacek@redhat.com>
39506
39507 [BZ #14349]
39508 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39509 * sysdeps/s390/s390-64/configure.in: Likewise.
39510 * sysdeps/sparc/configure.in: Likewise.
39511 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39512 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39513 * sysdeps/i386/configure.in: Likewise.
39514 * sysdeps/x86_64/configure.in: Likewise.
39515 * sysdeps/sh/configure.in: Likewise.
39516 * sysdeps/s390/s390-32/configure: Regenerated.
39517 * sysdeps/s390/s390-64/configure: Likewise.
39518 * sysdeps/x86_64/configure: Likewise.
39519 * sysdeps/sh/configure: Likewise.
39520 * sysdeps/powerpc/powerpc64/configure: Likewise.
39521 * sysdeps/powerpc/powerpc32/configure: Likewise.
39522 * sysdeps/sparc/configure: Likwise.
39523 * sysdeps/i386/configure: Likewise.
39524
a66877c6
MP
39525 * elf/dl-open.c: Comment fixes.
39526
cfc82fd8
JM
395272012-07-17 Joseph Myers <joseph@codesourcery.com>
39528
bd29910a
JM
39529 * Makefile [CXX] (check-data): Remove.
39530 [CXX] (c++-types.data): New vpath directive.
39531 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39532 vpath. Do not allow for C++ type data being missing.
39533 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39534 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39535 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39536 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39537 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39538 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39539 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39540 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39541 ... here.
39542 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39544 ... here.
39545 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39546 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39547 ... here.
39548 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39549 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39550 ... here.
39551 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39552 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39553 ... here.
39554 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39556 ... here.
39557 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39558 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39559 ... here.
39560 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39561 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39562
cfc82fd8
JM
39563 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39564 definitions to architecture-specific files.
39565 (TLS_IE): Likewise.
39566 (TLS_LD): Likewise.
39567 (TLS_GD): Likewise.
39568 * sysdeps/i386/tls-macros.h: New file.
39569 * sysdeps/powerpc/tls-macros.h: Likewise.
39570 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39571 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39572 * sysdeps/sh/tls-macros.h: Likewise.
39573 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39574 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39575 * sysdeps/x86_64/tls-macros.h: Likewise.
39576
f7db3170
TS
395772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39578
07cbfc23
TS
39579 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39580 zero value for regular exit case.
39581
f7db3170
TS
39582 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39583 (__start_context): Preserve zero value for regular exit case.
39584
dc97c227
TS
395852012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39586 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39587
39588 * manual/setjmp.texi (setcontext): Clarify normal process
39589 termination when uc_link is the null pointer.
39590 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39591 exit call.
39592
d0cd7d02
AS
395932012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39594
39595 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39596 preprocessor. Test for each exception mask separately.
39597
dd318934
AJ
395982012-07-16 Andreas Jaeger <aj@suse.de>
39599
39600 * po/ru.po: Update from translation team.
39601
8048311a
JM
396022012-07-15 Joseph Myers <joseph@codesourcery.com>
39603
39604 * conform/data/string.h-data (NULL): Use macro-constant. Require
39605 equal to 0.
39606 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39607 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39608 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39609 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39610 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39611
b637d46e
AJ
396122012-07-13 Andreas Jaeger <aj@suse.de>
39613
39614 * po/fr.po: Update from translation team.
39615
541428fe
MP
396162012-07-12 Marek Polacek <polacek@redhat.com>
39617
39618 [BZ #14173]
39619 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39620 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39621 loop condition.
39622
ec332e94
JM
396232012-07-12 Joseph Myers <joseph@codesourcery.com>
39624
39625 [BZ #13717]
39626 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39627 Change to 2.4.1 where previously 2.4.0.
39628 * sysdeps/unix/sysv/linux/configure: Regenerated.
39629 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39630 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39631 version.
39632 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39633 (__ASSUME_AT_CLKTCK): Remove.
39634 (__ASSUME_AT_PAGESIZE): Likewise.
39635 (__ASSUME_AT_XID): Likewise.
39636 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39637 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39638 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39639 unconditionally.
39640 (HAVE_AUX_PAGESIZE): Likewise.
39641 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39642 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39643 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39644
7b6e99be
JB
396452012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39646
39647 [BZ #14307]
39648 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39649 the temporary buffer used to invoke __gethostbyname2_r,
39650 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39651 host_data / struct gaih_addrtuple.
39652 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39653 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39654 header file nss/nsswitch.h.
39655 * nss/nsswitch.h (global scope): Add definition of implementation
39656 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39657 resolv/nss_dns/dns-host.c).
39658
608404eb
AJ
396592012-07-11 Andreas Jaeger <aj@suse.de>
39660
39661 * po/fr.po: Update from translation team.
39662
71220aca
AJ
39663 * po/sv.po: Update from translation team
39664 * po/fr.po: Another update from translation team.
39665
28cfe843
AZ
396662012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39667
39668 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39669 for subnormals or multiply small sinh result by itself.
39670 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39671 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39672
6b90f981
DM
396732012-07-11 David S. Miller <davem@davemloft.net>
39674
39675 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39676
c6825772
AS
396772012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39678
39679 [BZ #14347]
39680 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39681 (INTERNAL_MARK): Shift it here.
39682
7b8e0d49
MP
396832012-07-10 Marek Polacek <polacek@redhat.com>
39684
39685 [BZ #14151]
39686 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39687 libc_cv_asm_global_directive with .globl.
39688 * configure: Regenerated.
39689 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39690 with .globl.
39691 * sysdeps/i386/configure: Regenerated.
39692 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39693 with .globl.
39694 * sysdeps/x86_64/configure: Regenerated.
39695 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39696 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39697 * elf/tst-unique2mod2.c: Likewise.
39698 * elf/tst-unique2mod1.c: Likewise.
39699 * elf/tst-unique1mod2.c: Likewise.
39700 * elf/tst-unique1mod1.c: Likewise.
39701 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39702 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39703 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39704 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39705 * sysdeps/mach/sysdep.h: Likewise.
39706 * sysdeps/i386/sysdep.h: Likewise.
39707 * sysdeps/i386/i386-mcount.S: Likewise.
39708 * sysdeps/x86_64/_mcount.S: Likewise.
39709 * sysdeps/x86_64/sysdep.h: Likewise.
39710 * sysdeps/sh/_mcount.S: Likewise.
39711 * sysdeps/sh/sysdep.h: Likewise.
39712 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39713 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39714 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39715 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39716 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39717 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39718 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39719 * locale/localeinfo.h: Likewise.
39720 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39721 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39722
6c55cda3
RM
397232012-07-09 Roland McGrath <roland@hack.frob.com>
39724
39725 [BZ #14336]
39726 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39727 system".
39728 * manual/message.texi (The Uniforum approach): Likewise.
39729 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39730 (glibc iconv Implementation): Likewise.
39731
638a572e
JM
397322012-07-09 Joseph Myers <joseph@codesourcery.com>
39733
39734 [BZ #14337]
39735 * math/s_clog.c (__clog): Avoid scaling a value down where that
39736 could result in underflow.
39737 * math/s_clog10.c (__clog10): Likewise.
39738 * math/s_clog10f.c (__clog10f): Likewise.
39739 * math/s_clog10l.c (__clog10l): Likewise.
39740 * math/s_clogf.c (__clogf): Likewise.
39741 * math/s_clogl.c (__clogl): Likewise.
39742 * math/libm-test.inc (clog_test): Add more tests.
39743 (clog10_test): Likewise.
39744 * sysdeps/i386/fpu/libm-test-ulps: Update.
39745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39746
261f4859
AS
397472012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39748
0abaf3e4
AS
39749 [BZ #14283]
39750 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39751 by 7 not 8 to examine high bit of fractional part.
39752
261f4859
AS
39753 [BZ #14042]
39754 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39755 for call to __mcount_internal.
39756 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39757 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39758 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39759
f17ac40d
JM
397602012-07-06 Joseph Myers <joseph@codesourcery.com>
39761
9ad63c23
JM
39762 [BZ #14154]
39763 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39764 approximation for values within 0x1p-13f of an odd multiple of
39765 pi/4.
39766 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39767 exception. Add more tests.
39768 * sysdeps/i386/fpu/libm-test-ulps: Update.
39769
f17ac40d
JM
39770 [BZ #6778]
39771 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39772 inputs and return -1 for them. Do not check for +Inf in case not
39773 reachable for +Inf.
39774 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39775 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39776 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39777 and return -1 for them. Do not check for +Inf in case not
39778 reachable for +Inf.
39779 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39780 define.
39781 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39782 and return -1 for them. Do not check for +Inf in case not
39783 reachable for +Inf.
39784 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39785 spurious underflow.
39786 * sysdeps/i386/fpu/libm-test-ulps: Update.
39787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39788
fb21f89b
MF
397892012-07-06 Mike Frysinger <vapier@gentoo.org>
39790
39791 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39792
cdfe2c5e
JM
397932012-07-05 Joseph Myers <joseph@codesourcery.com>
39794
39795 [BZ #14157]
39796 [BZ #14331]
39797 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39798 could result in spurious underflow. Scale down values above
39799 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39800 * math/s_csqrtf.c (__csqrtf): Likewise.
39801 * math/s_csqrtl.c (__csqrtl): Likewise.
39802 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39803 spurious underflow.
39804 * sysdeps/i386/fpu/libm-test-ulps: Update.
39805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39806
70d35b67
AS
398072012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39808
704bc459
AS
39809 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39810 xopen-msg.sed.
39811 * catgets/xopen-msg.awk: New file.
39812 * catgets/xopen-msg.sed: Removed.
39813
70d35b67
AS
39814 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39815 po2text.sed.
39816 * intl/po2test.awk: New file.
39817 * intl/po2test.sed: Removed.
39818
ca61cf32
JM
398192012-07-04 Joseph Myers <joseph@codesourcery.com>
39820
39821 [BZ #14328]
39822 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39823 or multiply small sinh result by itself.
39824 * math/s_ctanf.c (__ctanf): Likewise.
39825 * math/s_ctanh.c (__ctanh): Likewise.
39826 * math/s_ctanhf.c (__ctanhf): Likewise.
39827 * math/s_ctanhl.c (__ctanhl): Likewise.
39828 * math/s_ctanl.c (__ctanl): Likewise.
39829 * math/libm-test.inc (ctan_test_tonearest): New function.
39830 (ctan_test_towardzero): Likewise.
39831 (ctan_test_downward): Likewise.
39832 (ctan_test_upward): Likewise.
39833 (ctanh_test_tonearest): Likewise.
39834 (ctanh_test_towardzero): Likewise.
39835 (ctanh_test_downward): Likewise.
39836 (ctanh_test_upward): Likewise.
39837 (main): Call these new functions.
39838 * sysdeps/i386/fpu/libm-test-ulps: Update.
39839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39840
ca48a46a
MF
398412012-07-03 Mike Frysinger <vapier@gentoo.org>
39842
39843 * .gitignore: Delete /ports entry.
39844
9d63d37d
AJ
398452012-07-03 Andreas Jaeger <aj@suse.de>
39846
39847 * po/bg.po: Update from translation team.
39848 * po/cs.po: Likewise.
39849 * po/de.po: Likewise.
39850 * po/hr.po: Likewise.
39851 * po/nl.pl: Likewise.
39852 * po/pl.po: Likewise.
39853 * po/vi.po: Likewise.
39854
370ca3d2
JM
398552012-07-03 Joseph Myers <joseph@codesourcery.com>
39856
95f5a9a8
JM
39857 * Makeconfig [!+link] (+link-before-libc): New variable.
39858 [!+link] (+link-after-libc): Likewise.
39859 [!+link] (+link-tests): Likewise.
39860 [!+link] (+link): Define in terms of $(+link-before-libc) and
39861 $(+link-after-libc).
39862 [!+link-static] (+link-static-before-libc): New variable.
39863 [!+link-static] (+link-static-after-libc): Likewise.
39864 [!+link-static] (+link-static-tests): Likewise.
39865 [!+link-static] (+link-static): Define in terms of
39866 $(+link-static-before-libc) and $(+link-static-after-libc).
39867 [build-shared] (link-libc-before-gnulib): New variable.
39868 [build-shared] (link-libc-tests): Likewise.
39869 [build-shared] (link-libc): Define in terms of
39870 $(link-libc-before-gnulib).
39871 [!build-shared] (link-libc-tests): New variable.
39872 (link-libc-static-tests): New variable.
39873 [!gnulib] (gnulib-arch): New variable.
39874 [!gnulib] (gnulib-tests): Likewise.
39875 [!gnulib] (static-gnulib-arch): Likewise.
39876 [!gnulib] (static-gnulib-tests): Likewise.
39877 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39878 Define with "=" instead of ":=".
39879 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39880 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39881 * Rules (binaries-all-notests): New variable.
39882 (binaries-all-tests): Likewise.
39883 (binaries-static-notests): Likewise.
39884 (binaries-static-tests): Likewise.
39885 (binaries-all): Define using $(binaries-all-notests) and
39886 $(binaries-all-tests).
39887 (binaries-static): Define using $(binaries-static-notests) and
39888 $(binaries-static-tests).
39889 (binaries-shared-tests): New variable.
39890 (binaries-shared-notests): Likewise.
39891 (binaries-shared): Remove variable.
39892 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39893 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39894 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39895 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39896 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39897 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39898 * elf/Makefile (sln-modules): New variable.
39899 (extra-objs): Add $(sln-modules:=.o).
39900 (ldconfig-modules): Add static-stubs.
39901 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39902 * elf/static-stubs.c: New file.
39903
7a845b2c
JM
39904 [BZ #14283]
39905 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39906 by 7 not 8 to examine high bit of fractional part. Use volatile
39907 variables when splitting into final array of floats if
39908 __FLT_EVAL_METHOD__ != 0.
39909 * math/libm-test.inc (cos_test): Add another test.
39910 (sin_test): Likewise.
39911 * sysdeps/i386/fpu/libm-test-ulps: Update.
39912
e2283f38
JM
39913 [BZ #14273]
39914 * math/libm-test.inc (cosh_test): Add more tests.
39915
370ca3d2
JM
39916 * version.h (RELEASE): Set to "development".
39917 (VERSION): Set to "2.16.90".
39918
ee9247c3
CD
399192012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39920
39921 * NEWS: Update copyright. Remove last-updated date.
39922 Mention math library bug fixes and timezone data changes.
39923 * README: Mention GNU/Hurd, x32, and HPPA support status.
39924
4648c381
TS
399252012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39926
39927 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39928
aac78a43
AJ
399292012-06-27 Andreas Jaeger <aj@suse.de>
39930
39931 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39932
ed3dbfad
AJ
399332012-06-25 Andreas Jaeger <aj@suse.de>
39934
39935 * sysdeps/s390/fpu/libm-test-ulps: Update.
39936
4d0ee855
AS
399372012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39938 Thomas Schwinge <thomas@codesourcery.com>
39939
39940 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39941 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39942 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39943 fanotify_mark.
39944
af1bce34
TS
399452012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39946
a9fa33ba
TS
39947 * sysdeps/mach/start.c: Remove file.
39948 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39949 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39950 * sysdeps/sh/init-first.c: Likewise.
39951
58f902b8
TS
39952 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39953 registers for frame unwinding purposes, add CFI directives.
39954 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39955 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39956 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39957 Likewise.
39958
1518f58b
TS
39959 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39960 __fortify_fail returning.
39961 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39962
db9b5059
TS
39963 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39964 sysdeps/sh/____longjmp_chk.S.
39965 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39966 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39967 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39968 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39969
967705fe
TS
39970 * sysdeps/sh/abort-instr.h: New file.
39971 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39972 process in case exit returns.
39973
a9def8c4
TS
39974 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39975 initialize the GOT register before use.
39976
2a649725
TS
39977 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39978 calculation of ARGC > 4.
39979
af1bce34
TS
39980 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39981 meaningful names to some local labels.
39982
d230f50a
KK
399832012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39984 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39985
39986 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39987 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39988 (__arch_compare_and_exchange_val_16_acq): Likewise.
39989 (__arch_compare_and_exchange_val_32_acq): Likewise.
39990 (atomic_exchange_and_add): Fix gUSA sequence.
39991 (atomic_add): Likewise.
39992 (atomic_add_negative): Likewise.
39993 (atomic_add_zero): Likewise.
39994 (atomic_bit_test_set): Likewise.
39995
0479b305
AS
399962012-06-22 Andreas Schwab <schwab@redhat.com>
39997
39998 [BZ #13579]
39999 * include/link.h (struct link_map): Add l_free_initfini.
40000 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40001 l_initfini.
40002 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40003 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40004 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40005 set.
40006
0e3933b9
CD
400072012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
40008
40009 * configure.in: Use AC_LANG_SOURCE.
40010 * configure: Regenerate.
40011
4248b1b1
RM
400122012-06-22 Roland McGrath <roland@hack.frob.com>
40013
40014 * configure.in (libc_cv_localstatedir): New substituted variable.
40015 * configure: Regenerated.
40016 * config.make.in (localstatedir): New variable, substituted from
40017 libc_cv_localstatedir.
40018 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40019 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40020 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40021 * sysdeps/gnu/configure: Regenerated.
40022
006dd861
JL
400232012-06-21 Jeff Law <law@redhat.com>
40024
40025 [BZ #14277]
40026 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40027 free. Simplify list management for _LIBC case.
40028
79662d42
JM
400292012-06-21 Joseph Myers <joseph@codesourcery.com>
40030
b7abb4bf
JM
40031 [BZ #14273]
40032 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40033 Clear sign bit of 64-bit integer value before comparing against
40034 overflow value.
40035
79662d42
JM
40036 * sysdeps/mach/configure: Regenerated.
40037
1f150908
L
400382012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40039
40040 [BZ #14278]
40041 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40042
28363bbf
JL
400432012-06-21 Jeff Law <law@redhat.com>
40044
40045 [BZ #13882]
40046 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40047 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40048 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40049 * elf/dl-open.c (dl_open_worker): Likewise.
40050
09615db4
CD
400512012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40052
40053 * scripts/list-sources.sh: Scan PORTS for translations.
40054 * po/libc.pot: Regenerated.
40055
2174c6dd
AJ
400562012-06-21 Andreas Jaeger <aj@suse.de>
40057
40058 [BZ #12194]
40059 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40060 warning.
40061 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40062 * bits/byteswap-16.h (__bswap_16): Likewise.
40063 * bits/byteswap.h (__bswap_constant_16): Likewise.
40064
3ee947b1
L
400652012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40066
40067 [BZ #14117]
a2f34833
L
40068 * sysdeps/i386/fpu_control.h: Removed.
40069 * sysdeps/x86_64/fpu_control.h: Moved to ...
40070 * sysdeps/x86/fpu_control.h: Here.
40071
3ee947b1
L
40072 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40073 (_FPU_SETCW): Likewise.
40074
ed1825f8
L
400752012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40076
25f1282a
L
40077 [BZ #14117]
40078 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40079 * sysdeps/x86/fpu/bits/mathinline.h: This.
40080 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40081
ed1825f8
L
40082 [BZ #14050]
40083 [BZ #14117]
40084 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40085 functions if __x86_64__ is defined.
40086
36d54b74
CLT
400872012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40088
40089 * string/endian.h: Add !__ASSEMBLER__ condition for including
40090 conversion interfaces.
40091
10285c21
JM
400922012-06-15 Joseph Myers <joseph@codesourcery.com>
40093
40094 [BZ #14241]
40095 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40096 of ABS(x) in calculating zero to negative powers other than odd
40097 integers.
40098 * math/libm-test.inc (pow_test): Add more tests.
40099
06c5abbd
AJ
401002012-06-15 Andreas Jaeger <aj@suse.de>
40101
40102 * manual/contrib.texi (Contributors): Update entry of Liubov
40103 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40104 Machado Filho.
40105
a3aeac40
CH
401062012-06-15 Cyril Hrubis <metan@ucw.cz>
40107
40108 * string/string.h: Add __wur to GNU version of strerror_r.
40109
49bdf4c1
L
401102012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40111
40112 [BZ #14229]
40113 * string/Makefile (tests): Add tst-strtok_r.
40114 * string/tst-strtok_r.c: New file.
40115 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40116 RAX_LP/RDX_LP on SAVE_PTR.
40117
834f9b8d
RM
401182012-06-14 Roland McGrath <roland@hack.frob.com>
40119
40120 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40121
75fa1921
JM
401222012-06-14 Joseph Myers <joseph@codesourcery.com>
40123
40124 * libm_test.inc (csqrt_test): Allow more spurious underflow
40125 exceptions.
40126 (j0_test): Likewise.
40127 (j1_test): Likewise.
40128 (y0_test): Likewise.
40129 (y1_test): Likewise.
40130
771766df
CD
401312012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40132
40133 * po/Makefile (libc.pot): Use UTF-8 charset.
40134
ceb9e56b
PP
401352012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40136
40137 [BZ #14210]
40138 Suppress sign-conversion warning from FD_SET.
40139 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40140 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40141 not unsigned long int.
40142 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40143
ddb28975
L
401442012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40145
40146 [BZ #14050]
40147 [BZ #14117]
40148 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40149 __extern_always_inline instead of __extern_inline.
40150 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40151 (__signbit): Likewise.
40152 (__signbitl): Support C++ namespace.
40153 (lrintf): New inline function.
40154 (lrint): Likewise.
40155 (llrintf): Likewise.
40156 (llrint): Likewise.
40157 (fmaxf): Likewise.
40158 (fmax): Likewise.
40159 (fminf): Likewise.
40160 (fmin): Likewise.
40161 (rint): Likewise.
40162 (rintf): Likewise.
40163 (ceil): Likewise.
40164 (ceilf): Likewise.
40165 (floor): Likewise.
40166 (floorf): Likewise.
40167 (nearbyint): Likewise.
40168 (nearbyintf): Likewise.
40169
d7b4fb26
TS
401702012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40171
40172 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40173 non-default versions.
40174
eb55f5c2
RM
401752012-06-11 Roland McGrath <roland@hack.frob.com>
40176
40177 [BZ #14218]
40178 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40179
366af02c
TS
401802012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40181
99ff6e5c
TS
40182 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40183 (FE_UPWARD, FE_DOWNWARD): Don't define.
40184 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40185 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40186
366af02c
TS
40187 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40188 reading it.
40189 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40190 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40191
793ea851
KK
401922012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40193
40194 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40195 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40196 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40197 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40198
a728a38f
L
401992012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40200
40201 [BZ #14117]
c08010c7
L
40202 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40203 * sysdeps/i386/fpu/Implies: New file.
40204 * sysdeps/x86_64/fpu/Implies: Likewise.
40205 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40206 * sysdeps/x86/fpu/bits/fenv.h: This.
40207
a728a38f
L
40208 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40209 __SSE_MATH__.
40210
6e230d11
SP
402112012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40212
40213 [BZ #14134]
40214 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40215 character 0xffff that matches the last element of the
40216 conversion table.
40217
1b671feb
AZ
402182012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40219
40220 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40221 fmodl commit.
40222
6043738b
AZ
402232012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40224
40225 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40226 values higher than 25.6283.
40227
34ae0b32
AZ
402282012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40229
40230 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40231 subnormal exponent extraction and add some __builtin_expect.
40232 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40233 Fix for subnormal mantissa calculation.
40234
1214ec8f
MF
402352012-06-04 Mike Frysinger <vapier@gentoo.org>
40236
40237 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40238 cpu2 is -1 and errno is not ENOSYS.
40239
f3d1f93c
L
402402012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40241
40242 [BZ #14117]
0e4a3cd7
L
40243 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40244 * sysdeps/x86/bits/string.h: This.
40245 * sysdeps/x86_64/bits/string.h: Removed.
40246
6704c645
L
40247 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40248 if not compiling for x86-64, but compiling for >= i486.
40249
48495318
L
40250 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40251 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40252
14adcbfc
L
40253 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40254 New macro from Linux kernel 3.4.0.
40255 (FP_XSTATE_MAGIC2): Likewise.
40256 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40257 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40258 (struct _fpx_sw_bytes): New struct.
40259 (struct _xsave_hdr): Likewise.
40260 (struct _ymmh_state): Likewise.
40261 (struct _xstate): Likewise.
40262
68e408ab
L
40263 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40264 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40265 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40266 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40267 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40268 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40269
f3d1f93c
L
40270 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40271 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40272 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40273 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40274 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40275 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40276
d9dc34cd
TMQMF
402772012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40278
40279 [BZ #13743]
40280 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40281 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40282 (sysdep_headers): Include sys/platform/ppc.h.
40283 * sysdeps/powerpc/test-gettimebase.c: Test for
40284 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40285 * manual/Makefile (appendices): Include platform.texi.
40286 * manual/contrib.texi (Contributors): Update @node pointers.
40287 * manual/maint.texi (Maintenance): Likewise.
40288 (Platform): New node.
40289 * manual/platform.texi: New file. Document the new features.
40290
4af3879c
SP
402912012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40292 Jakub Jelinek <jakub@redhat.com>
40293
40294 [BZ #14188]
40295 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40296 where __builtin_expect is unavailable.
40297
2fd6ff13
DM
402982012-06-03 David S. Miller <davem@davemloft.net>
40299
40300 * stdlib/longlong.h: Updated from GCC.
40301
173f7220
AS
403022012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40303
40304 [BZ #14042]
40305 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40306 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40307 __mcount_internal.
40308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40309 (GLIBC_2.16): Likewise.
40310
f34a1c6f
L
403112012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40312
40313 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40314
88a4576f
JM
403152012-06-01 Joseph Myers <joseph@codesourcery.com>
40316
ea32bcdd
JM
40317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40318 (default-abi): New variable.
40319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40320 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40321 variable.
40322 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40323 Likewise.
40324 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40325 Likewise.
40326 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40327 Likewise.
40328
88a4576f
JM
40329 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40330 definition. Document in comment.
40331
402fe938
DM
403322012-06-01 David S. Miller <davem@davemloft.net>
40333
40334 * stdlib/longlong.h: Updated from GCC.
40335
3553723f
L
403362012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40337
40338 [BZ #14117]
3bd872c4
L
40339 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40340 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40341 sys/debugreg.h sys/io.h here.
40342 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40343 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40344 sys/io.h.
40345 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40346 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40347 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40348 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40349 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40350 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40351
3553723f
L
40352 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40353 Define only if __x86_64__ is defined.
40354
4842e4fe
JM
403552012-06-01 Joseph Myers <joseph@codesourcery.com>
40356
c5bfe3d5
JM
40357 [BZ #14048]
40358 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40359 Use int64_t for variable i.
40360 * math/libm-test.inc (fmod_test): Add more tests.
40361
4842e4fe
JM
40362 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40363 z computation is not scheduled after fetestexcept.
40364 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40365 Use math_force_eval instead of asm to ensure calculation scheduled
40366 before exception test.
40367 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40368 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40369
efb73488
AJ
403702012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40371
40372 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40373 computation is not scheduled after fetestexcept.
40374
29bcce7c
L
403752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40376
40377 [BZ #14117]
40378 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40379 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40380
73a68f94
AZ
403812012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40382
40383 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40384 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40385
67b6df78
L
403862012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40387
edf2933a 40388 [BZ #14117]
ebc64a18
L
40389 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40390 <bits/wordsize.h>.
40391 (__WCHAR_MIN): Support __WORDSIZE == 64.
40392 (__WCHAR_MAX): Likewise.
40393
edf2933a
L
40394 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40395 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40396
57c6cf40
L
40397 [BZ #14183]
40398 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40399 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40400
67b6df78 40401 [BZ #14117]
8eb6281e
L
40402 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40403 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40404
aac639f4
L
40405 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40406 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40407
67b6df78
L
40408 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40409 Defined to 1 if __x86_64__ isn't defined.
40410 (_STAT_VER_LINUX_OLD): New.
40411 (st_atime): Remove duplicate.
40412 (st_mtime): Likewise.
40413 (st_ctime): Likewise.
40414
1c2cfe81
DM
404152012-05-31 David S. Miller <davem@davemloft.net>
40416
40417 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40418 entries.
40419
5be8418c
AS
404202012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40421
e7725326
AS
40422 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40423 gen-libm-test.pl.
40424
5be8418c
AS
40425 [BZ #14132]
40426 * elf/dl-reloc.c: Include <_itoa.h>.
40427 (_dl_reloc_bad_type): Remove use of INTUSE.
40428 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40429 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40430 * stdio-common/psiginfo.c (psiginfo): Likewise.
40431 * stdio-common/psignal.c (psignal): Likewise.
40432 * string/strsignal.c (strsignal): Likewise.
40433 * include/signal.h (_sys_siglist): Declare hidden proto.
40434 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40435 INTVARDEF with libc_hidden_data_def.
40436 * stdio-common/itoa-udigits.c: Likewise.
40437 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40438 (_itoa_lower_digits_internal): Remove declaration.
40439 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40440 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40441 (_sys_sigabbrev_internal): Remove aliases.
40442 (_sys_siglist): Define hidden alias.
40443
507352f1
MT
404442012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40445
40446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40447 bits/sysctl.h.
40448
42bbb1c3
L
404492012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40450
40451 [BZ #14117]
6bd784b6
L
40452 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40453 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40454
8bca20f0
L
40455 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40456 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40457 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40458 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40459 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40460 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40461
f9e890a9
L
40462 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40463 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40464 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40465
471101a1
L
40466 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40467 with __addr.
40468 (insw): Likewise.
40469 (insl): Likewise.
40470 (outsb): Likewise.
40471 (outsw): Likewise.
40472 (outsl): Likewise.
40473
6451c862
L
40474 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40475 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40476 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40477
a254b8c9
L
40478 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40479 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40480 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40481 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40482 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40483 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40484
b8dfdd92
L
40485 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40486 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40487
578cd270
L
40488 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40489 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40490
de662f5f
L
40491 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40492 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40493 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40494
25653439
L
40495 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40496 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40497 to ...
40498 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40499
6bad24a0
L
40500 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40501 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40502 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40503
42bbb1c3
L
40504 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40505 for x86-64.
40506 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40507
2d10d547
JM
405082012-05-31 Joseph Myers <joseph@codesourcery.com>
40509
40510 * math/math.h (M_El): Use two more decimal places.
40511 (M_LOG2El): Likewise.
40512 (M_LOG10El): Likewise.
40513 (M_LN2l): Likewise.
40514 (M_LN10l): Likewise.
40515 (M_PIl): Likewise.
40516 (M_PI_2l): Likewise.
40517 (M_PI_4l): Likewise.
40518 (M_1_PIl): Likewise.
40519 (M_2_PIl): Likewise.
40520 (M_2_SQRTPIl): Likewise.
40521 (M_SQRT2l): Likewise.
40522 (M_SQRT1_2l): Likewise.
40523
f230c29b
DM
405242012-05-31 David S. Miller <davem@davemloft.net>
40525
40526 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40527 values between float registers.
40528 * sysdeps/sparc/sparc64/memset.S: Likewise.
40529 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40530
fed806c3
MF
405312012-05-31 Mike Frysinger <vapier@gentoo.org>
40532
40533 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40534 -D_FORTIFY_SOURCE=1.
40535 (CPPFLAGS-tst-longjmp_chk.c): Define.
40536 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40537 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40538 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40539 CFLAGS-tst-wchar-h.c.
40540
30917259
MP
405412012-05-31 Marek Polacek <polacek@redhat.com>
40542
40543 [BZ #14132]
40544 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40545 __endmntent_internal): Remove declaration.
40546 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40547 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40548 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40549
1c58d5dc
DM
405502012-05-30 David S. Miller <davem@davemloft.net>
40551
40552 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40553 (___Q_simulate_exceptions): Use real FP ops rather than writing
40554 into the %fsr.
40555 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40556 Likewise.
40557
7dc00e0d
L
405582012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40559
40560 [BZ #14117]
0bd53985
L
40561 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40562 * sysdeps/x86/bits/xtitypes.h: This.
40563
3a257e66
L
40564 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40565 * sysdeps/x86/bits/wordsize.h: This.
40566
62f62904
L
40567 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40568 * sysdeps/x86/bits/huge_vall.h: This.
40569
404fe9d9
L
40570 * sysdeps/i386/bits/select.h: Removed.
40571 * sysdeps/x86_64/bits/select.h: Renamed to ...
40572 * sysdeps/x86/bits/select.h: This.
40573
d48d0446
L
40574 * sysdeps/i386/bits/setjmp.h: Removed.
40575 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40576 * sysdeps/x86/bits/setjmp.h: This.
40577
7dc00e0d
L
40578 * sysdeps/i386/bits/mathdef.h: Removed.
40579 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40580 * sysdeps/x86/bits/mathdef.h: This.
40581
03277f8f
AS
405822012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40583
40584 [BZ #14132]
40585 * include/sys/socket.h (__connect_internal)
40586 (__libc_sa_len_internal): Remove declaration.
40587 (__connect, __libc_sa_len): Declare hidden_proto.
40588 (SA_LEN): Remove use of INTUSE.
40589 * socket/connect.c: Add libc_hidden_def.
40590 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40591 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40592 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40593 alias.
40594 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40595 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40596 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40597 of adding _internal alias.
40598
13764867
L
405992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40600
40601 [BZ #14117]
6bd97696
L
40602 * sysdeps/i386/bits/link.h: Removed.
40603 * sysdeps/i386/bits/linkmap.h: Likewise.
40604 * sysdeps/x86_64/bits/link.h: Renamed to ...
40605 * sysdeps/x86/bits/link.h: This.
40606 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40607 * sysdeps/x86/bits/linkmap.h: This.
40608
f726f0bb
L
40609 * sysdeps/i386/bits/endian.h: Removed.
40610 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40611 * sysdeps/x86/bits/endian.h: This.
40612
13764867
L
40613 * sysdeps/i386/bits/byteswap.h: Removed.
40614 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40615 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40616 * sysdeps/x86/bits/byteswap.h: This.
40617 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40618 * sysdeps/x86/bits/byteswap-16.h: This.
40619 * sysdeps/i386/Implies: Add x86.
40620 * sysdeps/x86_64/Implies: Likewise.
40621
ae251b0b
DM
406222012-05-30 David S. Miller <davem@davemloft.net>
40623
40624 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40625 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40626 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40627 (FP_TRAPPING_EXCEPTIONS): Define.
40628 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40629 (FP_TRAPPING_EXCEPTIONS): Define.
40630 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40631 subnormals only when inexact has been signalled or underflow
40632 exceptions are enabled.
40633 (_FP_PACK_CANONICAL): Likewise.
40634
d5c90867
L
406352012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40636
40637 [BZ #14183]
40638 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40639 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40640
63f1549e
RH
406412012-05-30 Richard Henderson <rth@twiddle.net>
40642
8d8f2279
RH
40643 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40644 with #ifndef NOT_IN_libc.
40645
63f1549e
RH
40646 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40647 marked to avoid plt entry.
40648
0ab0291b
L
406492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40650
40651 [BZ #14112]
40652 * Makeconfig (default-abi): New macro.
40653 (abi-includes): Likewise.
40654 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40655 $(abi-$(default-abi)-lib-soname) for soname if defined.
40656 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40657 abi-variants.
40658 * Makefile (installed-stubs): Likewise.
40659 * include/stubs-biarch.h: Removed.
40660 * scripts/lib-names.awk: Only handle one library at a time.
40661 * scripts/soversions.awk: Remove WORDSIZE support.
40662 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40663 entries.
40664 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40665 Removed.
40666 (syscall-list-default-condition): Likewise.
40667 (syscall-list-default-condition): Likewise.
40668 (syscall-list-includes): Likewise.
40669 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40670 syscall-list-* with abi-*. Handle undefined abi-variants.
40671 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40672 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40673 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40674 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40675 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40676 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40677 Removed.
40678 (syscall-list-32-options): Likewise.
40679 (syscall-list-32-condition): Likewise.
40680 (syscall-list-64-options): Likewise.
40681 (syscall-list-64-condition): Likewise.
40682 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40683 macro.
40684 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40685 Renamed to ...
40686 (abi-*): This.
40687 (abi-64-ld-soname): New macro.
40688 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40689 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40690 Renamed to ...
40691 (abi-*): This.
40692 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40693 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40694
4da0431d
JM
406952012-05-30 Joseph Myers <joseph@codesourcery.com>
40696
3a85279c
JM
40697 * sysdeps/unix/sysv/linux/kernel-features.h
40698 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40699 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40700 include <kernel-features.h>.
40701 [!__NR_ftruncate64]: Remove conditional code.
40702 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40703 [__NR_ftruncate64]: Make code unconditional.
40704 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40705 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40706 include <kernel-features.h>.
40707 [!__NR_ftruncate64]: Remove conditional code.
40708 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40709 [__NR_ftruncate64]: Make code unconditional.
40710 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40712 include <kernel-features.h>.
40713 [!__NR_ftruncate64]: Remove conditional code.
40714 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40715 [__NR_ftruncate64]: Make code unconditional.
40716 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40718 include <kernel-features.h>.
40719 [!__NR_ftruncate64]: Remove conditional code.
40720 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40721 [__NR_ftruncate64]: Make code unconditional.
40722 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40723
4da0431d
JM
40724 * configure.in (libc_cv_fpie): Weaken to a compile test using
40725 LIBC_TRY_CC_OPTION.
40726 * configure: Regenerated.
40727
11ef492c
AK
407282012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40729
40730 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40731 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40732 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40734 Refreshed.
40735 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40736 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40737 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40738 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40740 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40741 Refreshed.
40742
d66ef399
DM
407432012-05-27 David S. Miller <davem@davemloft.net>
40744
40745 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40746 (___Q_zero): New.
40747 (__Q_simulate_exceptions): Return void. Change to simulate
40748 exceptions by writing into the %fsr.
40749 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40750 (__Qp_handle_exceptions): Likewise.
40751 (numbers): Delete.
40752 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40753 __Qp_handle_exceptions.
40754 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40755 __Qp_handle_exceptions.
40756 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40757 as unused and give dummy FP_RND_NEAREST initializer.
40758 (FP_INHIBIT_RESULTS): Define.
40759 (___Q_simulate_exceptions): Update declaration.
40760 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40761 formatting.
40762 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40763 as unused and give dummy FP_RND_NEAREST initializer.
40764 (__Qp_handle_exceptions): Update declaration.
40765 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40766 formatting.
40767
04fb54b5
TS
407682012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40769
40770 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40771 the temporary FPU control word.
40772 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40773 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40774 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40775 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40776 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40777 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40778 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40779 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40780 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40781 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40782 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40783
3f99608f
KK
407842012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40785
40786 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40787 fields.
40788
65a4de4e
CLT
407892012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40790
40791 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40792 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40793 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40794 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40795 Likewise.
40796 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40797 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40798 Likewise.
40799
15749d40
UD
408002012-05-27 Ulrich Drepper <drepper@gmail.com>
40801
40802 * po/h.po: Update from translation team.
40803
25dbcb27
AS
408042012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40805
3d3f8e55
AS
40806 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40807
25dbcb27
AS
40808 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40809 handling of denormals.
40810 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40811 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40812 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40813 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40814 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40815 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40816 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40817 Likewise.
40818
7ad47a80 408192012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40820
40821 [BZ #14152]
40822 * math/libm-test.inc (fma_test): Don't always expect underflow
40823 exception.
40824
9c6ea9fa
SP
408252012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40826
40827 [BZ #12416]
40828 * elf/tst-execstack.c: Include stackinfo.h.
40829 (do_test): Adjust test case to ensure that pthread_getattr_np
40830 behaviour remains the same after marking stack executable.
40831
a8239222
JM
408322012-05-25 Joseph Myers <joseph@codesourcery.com>
40833
40834 * sysdeps/unix/sysv/linux/kernel-features.h
40835 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40836 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40837 kernel-features.h.
40838 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40839 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40840 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40841 kernel-features.h.
40842 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40843 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40844
918b5606
L
408452012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40846
40847 * configure.in: Define the default includes to being none.
40848 * configure: Regenerated.
40849
3a097cc7
RM
408502012-05-25 Roland McGrath <roland@hack.frob.com>
40851
8422c9a5
RM
40852 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40853 * sysdeps/x86_64/setjmp.S: Likewise.
40854 * sysdeps/i386/bsd-setjmp.S: Likewise.
40855 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40856 * sysdeps/i386/setjmp.S: Likewise.
40857 * sysdeps/i386/__longjmp.S: Likewise.
40858 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40859 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40860
3a097cc7
RM
40861 * include/stap-probe.h: New file.
40862 * configure.in: Handle --enable-systemtap.
40863 * configure: Regenerated.
40864 * config.h.in (USE_STAP_PROBE): New #undef.
40865 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40866 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40867 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40868
21708942
JM
408692012-05-25 Joseph Myers <joseph@codesourcery.com>
40870
40871 [BZ #13717]
40872 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40873 to 2.4.0 where earlier.
40874 * sysdeps/unix/sysv/linux/configure: Regenerated.
40875 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40876 <kernel-features.h>.
40877 [__ASSUME_32BITUIDS]: Make code unconditional.
40878 [!__ASSUME_32BITUIDS]: Remove conditional code.
40879 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40880 <kernel-features.h>.
40881 [__ASSUME_32BITUIDS]: Make code unconditional.
40882 [!__ASSUME_32BITUIDS]: Remove conditional code.
40883 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40884 [__ASSUME_32BITUIDS]: Make code unconditional.
40885 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40886 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40887 <kernel-features.h>.
40888 [__ASSUME_32BITUIDS]: Make code unconditional.
40889 [!__ASSUME_32BITUIDS]: Remove conditional code.
40890 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40891 <kernel-features.h>.
40892 [__ASSUME_32BITUIDS]: Make code unconditional.
40893 [!__ASSUME_32BITUIDS]: Remove conditional code.
40894 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40895 <kernel-features.h>.
40896 [__ASSUME_32BITUIDS]: Make code unconditional.
40897 [!__ASSUME_32BITUIDS]: Remove conditional code.
40898 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40899 <kernel-features.h>.
40900 [__ASSUME_32BITUIDS]: Make code unconditional.
40901 [!__ASSUME_32BITUIDS]: Remove conditional code.
40902 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40903 <kernel-features.h>.
40904 [__ASSUME_32BITUIDS]: Make code unconditional.
40905 [!__ASSUME_32BITUIDS]: Remove conditional code.
40906 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40907 <kernel-features.h>.
40908 [__ASSUME_32BITUIDS]: Make code unconditional.
40909 [!__ASSUME_32BITUIDS]: Remove conditional code.
40910 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40911 <kernel-features.h>.
40912 [__ASSUME_32BITUIDS]: Make code unconditional.
40913 [!__ASSUME_32BITUIDS]: Remove conditional code.
40914 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40915 <kernel-features.h>.
40916 [__ASSUME_32BITUIDS]: Make code unconditional.
40917 [!__ASSUME_32BITUIDS]: Remove conditional code.
40918 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40919 <kernel-features.h>.
40920 [__ASSUME_32BITUIDS]: Make code unconditional.
40921 [!__ASSUME_32BITUIDS]: Remove conditional code.
40922 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40923 <kernel-features.h>.
40924 [__ASSUME_32BITUIDS]: Make code unconditional.
40925 [!__ASSUME_32BITUIDS]: Remove conditional code.
40926 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40927 <kernel-features.h>.
40928 [__NR_setresgid] (__setresgid): Do not declare.
40929 [__ASSUME_32BITUIDS]: Make code unconditional.
40930 [!__ASSUME_32BITUIDS]: Remove conditional code.
40931 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40932 <kernel-features.h>.
40933 [__NR_setresuid] (__setresuid): Do not declare.
40934 [__ASSUME_32BITUIDS]: Make code unconditional.
40935 [!__ASSUME_32BITUIDS]: Remove conditional code.
40936 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40937 <kernel-features.h>.
40938 [__ASSUME_32BITUIDS]: Make code unconditional.
40939 [!__ASSUME_32BITUIDS]: Remove conditional code.
40940 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40941 <kernel-features.h>.
40942 [__ASSUME_32BITUIDS]: Make code unconditional.
40943 [!__ASSUME_32BITUIDS]: Remove conditional code.
40944 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40945 <kernel-features.h>.
40946 [__ASSUME_32BITUIDS]: Make code unconditional.
40947 [!__ASSUME_32BITUIDS]: Remove conditional code.
40948 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40949 <kernel-features.h>.
40950 [__ASSUME_32BITUIDS]: Make code unconditional.
40951 [!__ASSUME_32BITUIDS]: Remove conditional code.
40952 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40953 <kernel-features.h>.
40954 [__ASSUME_32BITUIDS]: Make code unconditional.
40955 [!__ASSUME_32BITUIDS]: Remove conditional code.
40956 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40957 <kernel-features.h>.
40958 [__ASSUME_32BITUIDS]: Make code unconditional.
40959 [!__ASSUME_32BITUIDS]: Remove conditional code.
40960 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40961 <kernel-features.h>.
40962 [__ASSUME_32BITUIDS]: Make code unconditional.
40963 [!__ASSUME_32BITUIDS]: Remove conditional code.
40964 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40965 <kernel-features.h>.
40966 [__ASSUME_32BITUIDS]: Make code unconditional.
40967 [!__ASSUME_32BITUIDS]: Remove conditional code.
40968 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40969 <kernel-features.h>.
40970 [__ASSUME_32BITUIDS]: Make code unconditional.
40971 [!__ASSUME_32BITUIDS]: Remove conditional code.
40972 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40973 <kernel-features.h>.
40974 [__ASSUME_32BITUIDS]: Make code unconditional.
40975 [!__ASSUME_32BITUIDS]: Remove conditional code.
40976 * sysdeps/unix/sysv/linux/kernel-features.h
40977 (__ASSUME_SETRESUID_SYSCALL): Remove.
40978 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40979 (__ASSUME_32BITUIDS): Likewise.
40980 (__ASSUME_LDT_WORKS): Likewise.
40981 (__ASSUME_O_DIRECTORY): Likewise.
40982 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40983 architecture but not kernel version.
40984 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40985 (__ASSUME_MMAP2_SYSCALL): Likewise.
40986 (__ASSUME_STAT64_SYSCALL): Likewise.
40987 (__ASSUME_IPC64): Likewise.
40988 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40989 <kernel-features.h>.
40990 [__ASSUME_32BITUIDS]: Make code unconditional.
40991 [!__ASSUME_32BITUIDS]: Remove conditional code.
40992 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40993 <kernel-features.h>.
40994 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40995 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40996 132096]: Remove conditional code.
40997 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40998 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40999 <kernel-features.h>.
41000 [__ASSUME_32BITUIDS]: Make code unconditional.
41001 [!__ASSUME_32BITUIDS]: Remove conditional code.
41002 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41003 <kernel-features.h>.
41004 [__ASSUME_32BITUIDS]: Make code unconditional.
41005 [!__ASSUME_32BITUIDS]: Remove conditional code.
41006 * sysdeps/unix/sysv/linux/setegid.c: Do not include
41007 <kernel-features.h>.
41008 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41009 unconditional.
41010 (__setresgid): Do not declare.
41011 [__ASSUME_32BITUIDS]: Make code unconditional.
41012 [!__ASSUME_32BITUIDS]: Remove conditional code.
41013 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41014 <kernel-features.h>.
41015 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41016 unconditional.
41017 (__setresuid): Do not declare.
41018 [__ASSUME_32BITUIDS]: Make code unconditional.
41019 [!__ASSUME_32BITUIDS]: Remove conditional code.
41020 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41021 <kernel-features.h>.
41022 [__ASSUME_32BITUIDS]: Make code unconditional.
41023 [!__ASSUME_32BITUIDS]: Remove conditional code.
41024 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41025 <kernel-features.h>.
41026 [__ASSUME_32BITUIDS]: Make code unconditional.
41027 [!__ASSUME_32BITUIDS]: Remove conditional code.
41028
a386f1cc
RH
410292012-05-25 Richard Henderson <rth@twiddle.net>
41030
41031 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41032 dl_hwcap to ifunc resolver.
41033 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41034 elf_ifunc_invoke.
41035 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41036 dl_hwcap to ifunc resolver.
41037 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41038
b6550497
JM
410392012-05-24 Joseph Myers <joseph@codesourcery.com>
41040
41041 [BZ #14153]
41042 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41043 for |x| <= 2**-26, not 2**-57.
41044 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41045 exception.
41046
b0bc23a1
JL
410472012-05-24 Jeff Law <law@redhat.com>
41048
41049 * stdio-common/Makefile (tests): Add bug25.
41050 * stdio-common/bug25.c: New test.
41051
347c92e9
L
410522012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41053
41054 [BZ #13576]
41055 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41056 multiple of MALLOC_ALIGNMENT in size.
41057 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41058
6bcc8b3f
JM
410592012-05-24 Joseph Myers <joseph@codesourcery.com>
41060
41061 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41062 Require >= 256.
41063 (FILENAME_MAX): Use macro-int-constant.
41064 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41065 (_IOFBF): Use macro-int-constant.
41066 (_IOLBF): Likewise.
41067 (_IONBF): Likewise.
41068 (SEEK_CUR): Likewise.
41069 (SEEK_END): Likewise.
41070 (SEEK_SET): Likewise.
41071 (TMP_MAX): Likewise.
41072 (EOF): Use macro-int-constant. Require < 0.
41073 (NULL): Use macro-constant. Require == 0.
41074 (stdin): Require type to be FILE *.
41075 (stdout): Likewise.
41076 (stderr): Likewise.
41077 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41078 macro-int-constant.
41079 (EXIT_SUCCESS): Likewise.
41080 (NULL): Use macro-constant. Require == 0.
41081 (RAND_MAX): Use macro-int-constant.
41082 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41083 [C99-based standards] (strtof): Require function.
41084 [C99-based standards] (strtold): Likewise.
41085 [C99-based standards] (strtoll): Likewise.
41086 [C99-based standards] (strtoull): Likewise.
41087 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41088 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41089 [ISO || ISO99 || ISO11] (math.h): Likewise.
41090 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41091 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41092 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41093
d18ea0c5
AS
410942012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41095
41096 [BZ #14132]
56d25bb8
AS
41097 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41098 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41099 * intl/dgettext.c (DCGETTEXT): Likewise.
41100 * intl/gettext.c (DCGETTEXT): Likewise.
41101 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41102 * posix/regex_internal.h (gettext): Likewise.
41103 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41104 Remove declaration.
41105 * include/argz.h (__argz_count_internal)
41106 (__argz_stringify_internal): Remove declaration.
41107 (__argz_count, __argz_stringify): Declare hidden proto.
41108 * intl/dcgettext.c: Remove use of INTDEF.
41109 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41110 * string/argz-stringify.c: Likewise.
41111 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41112 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41113 Declare hidden proto.
d18ea0c5
AS
41114 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41115 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41116 Declare hidden proto.
41117 * include/stdio.h (__asprintf_internal): Don't declare.
41118 (__asprintf): Don't define as macro. Declare hidden proto.
41119 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41120 (__fsetlocking): Declare hidden proto.
41121 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41122 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41123 hidden proto.
41124 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41125 (_IO_setlinebuf): Remove use of INTUSE.
41126 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41127 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41128 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41129 Remove declaration.
41130 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41131 (_IO_do_flush): Remove use of INTUSE.
41132 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41133 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41134 (_IO_adjust_column, _IO_least_wmarker)
41135 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41136 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41137 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41138 (_IO_default_doallocate, _IO_wdefault_doallocate)
41139 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41140 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41141 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41142 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41143 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41144 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41145 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41146 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41147 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41148 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41149 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41150 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41151 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41152 proto.
41153 (_IO_flush_all_internal, _IO_adjust_column_internal)
41154 (_IO_default_uflow_internal, _IO_default_finish_internal)
41155 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41156 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41157 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41158 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41159 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41160 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41161 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41162 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41163 (_IO_file_close_internal, _IO_file_close_it_internal)
41164 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41165 (_IO_file_init_internal, _IO_file_attach_internal)
41166 (_IO_file_fopen_internal, _IO_file_read_internal)
41167 (_IO_file_sync_internal, _IO_file_seek_internal)
41168 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41169 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41170 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41171 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41172 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41173 (_IO_list_all_internal, _IO_link_in_internal)
41174 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41175 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41176 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41177 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41178 (_IO_do_write_internal, _IO_padn_internal)
41179 (_IO_getline_info_internal, _IO_getline_internal)
41180 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41181 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41182 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41183 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41184 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41185 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41186 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41187 with libc_hidden_ver, remove use of INTUSE.
41188 * libio/genops.c: Likewise.
41189 * libio/freopen.c: Likewise.
41190 * libio/freopen64.c: Likewise.
41191 * libio/iofclose.c: Likewise.
41192 * libio/iofdopen.c: Likewise.
41193 * libio/iofflush.c: Likewise.
41194 * libio/iofflush_u.c: Likewise.
41195 * libio/iofgets.c: Likewise.
41196 * libio/iofgets_u.c: Likewise.
41197 * libio/iofopen.c: Likewise.
41198 * libio/iofopncook.c: Likewise.
41199 * libio/iofread.c: Likewise.
41200 * libio/iofread_u.c: Likewise.
41201 * libio/ioftell.c: Likewise.
41202 * libio/iofwrite.c: Likewise.
41203 * libio/iogetline.c: Likewise.
41204 * libio/iogets.c: Likewise.
41205 * libio/iogetwline.c: Likewise.
41206 * libio/iopadn.c: Likewise.
41207 * libio/iopopen.c: Likewise.
41208 * libio/ioseekoff.c: Likewise.
41209 * libio/ioseekpos.c: Likewise.
41210 * libio/iosetbuffer.c: Likewise.
41211 * libio/iosetvbuf.c: Likewise.
41212 * libio/ioungetc.c: Likewise.
41213 * libio/ioungetwc.c: Likewise.
41214 * libio/iovdprintf.c: Likewise.
41215 * libio/iovsprintf.c: Likewise.
41216 * libio/iovsscanf.c: Likewise.
41217 * libio/memstream.c: Likewise.
41218 * libio/obprintf.c: Likewise.
41219 * libio/oldfileops.c: Likewise.
41220 * libio/oldiofclose.c: Likewise.
41221 * libio/oldiofdopen.c: Likewise.
41222 * libio/oldiofopen.c: Likewise.
41223 * libio/oldiopopen.c: Likewise.
41224 * libio/oldstdfiles.c: Likewise.
41225 * libio/putc.c: Likewise.
41226 * libio/setbuf.c: Likewise.
41227 * libio/setlinebuf.c: Likewise.
41228 * libio/stdfiles.c: Likewise.
41229 * libio/strops.c: Likewise.
41230 * libio/vasprintf.c: Likewise.
41231 * libio/vscanf.c: Likewise.
41232 * libio/vsnprintf.c: Likewise.
41233 * libio/vswprintf.c: Likewise.
41234 * libio/wfiledoalloc.c: Likewise.
41235 * libio/wfileops.c: Likewise.
41236 * libio/wgenops.c: Likewise.
41237 * libio/wmemstream.c: Likewise.
41238 * libio/wstrops.c: Likewise.
41239 * libio/__fpurge.c: Likewise.
41240 * libio/__fsetlocking.c: Likewise.
41241 * assert/assert.c: Likewise.
41242 * debug/fgets_chk.c: Likewise.
41243 * debug/fgets_u_chk.c: Likewise.
41244 * debug/fread_chk.c: Likewise.
41245 * debug/fread_u_chk.c: Likewise.
41246 * debug/gets_chk.c: Likewise.
41247 * debug/obprintf_chk.c: Likewise.
41248 * debug/vasprintf_chk.c: Likewise.
41249 * debug/vdprintf_chk.c: Likewise.
41250 * debug/vsnprintf_chk.c: Likewise.
41251 * debug/vsprintf_chk.c: Likewise.
41252 * malloc/mtrace.c: Likewise.
41253 * misc/error.c: Likewise.
41254 * misc/syslog.c: Likewise.
41255 * stdio-common/asprintf.c: Likewise.
41256 * stdio-common/fxprintf.c: Likewise.
41257 * stdio-common/getw.c: Likewise.
41258 * stdio-common/isoc99_fscanf.c: Likewise.
41259 * stdio-common/isoc99_scanf.c: Likewise.
41260 * stdio-common/isoc99_vfscanf.c: Likewise.
41261 * stdio-common/isoc99_vscanf.c: Likewise.
41262 * stdio-common/isoc99_vsscanf.c: Likewise.
41263 * stdio-common/printf-prs.c: Likewise.
41264 * stdio-common/printf_fp.c: Likewise.
41265 * stdio-common/printf_fphex.c: Likewise.
41266 * stdio-common/printf_size.c: Likewise.
41267 * stdio-common/putw.c: Likewise.
41268 * stdio-common/scanf.c: Likewise.
41269 * stdio-common/sprintf.c: Likewise.
41270 * stdio-common/tmpfile.c: Likewise.
41271 * stdio-common/vfprintf.c: Likewise.
41272 * stdio-common/vfscanf.c: Likewise.
41273 * stdlib/strfmon_l.c: Likewise.
41274 * sunrpc/openchild.c: Likewise.
41275 * sunrpc/xdr_stdio.c: Likewise.
41276 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41277 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41278
d6c33fda
RM
412792012-05-24 Roland McGrath <roland@hack.frob.com>
41280
c1487492
RM
41281 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41282
41283 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41284 in the third column, to generate for the shared library an IFUNC
41285 that uses _dl_vdso_vsym.
41286 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41287 * Makeconfig (object-suffixes-noshared): New variable.
41288
41289 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41290 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41291 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41292 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41293
d6c33fda
RM
41294 [BZ #14132]
41295 * include/sys/time.h (__gettimeofday): Remove macro.
41296 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41297 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41298 Remove INTDEF.
41299 (__gettimeofday): Add libc_hidden_def.
41300 (gettimeofday): Add libc_hidden_weak.
41301 * sysdeps/mach/gettimeofday.c: Likewise.
41302 * sysdeps/posix/gettimeofday.c: Likewise.
41303 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41304 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41305 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41306 (__gettimeofday_internal): Remove strong_alias.
41307 (__gettimeofday): Add libc_hidden_def.
41308 (gettimeofday): Add libc_hidden_weak.
41309 * sysdeps/unix/syscalls.list (gettimeofday):
41310 Remove __gettimeofday_internal alias.
41311
b5a2bbe6
L
413122012-05-24 Daniel Jacobowitz <drow@false.org>
41313 H.J. Lu <hongjiu.lu@intel.com>
41314
41315 [BZ #12495]
41316 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41317 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41318 (largebin_index_32_big): New.
41319 (largebin_index): Use it for 16-byte alignment.
41320 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41321 correction with front_misalign.
41322
cfba4fda
L
413232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41324
7f907421
L
41325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41326 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41327 Likewise.
41328 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41329 Likewise.
41330 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41331 Likewise.
41332 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41333 Likewise.
41334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41335 Likewise.
41336 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41337 Likewise.
41338 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41339 Likewise.
41340 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41341 Likewise.
41342 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41343 Likewise.
41344 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41345 Likewise.
41346 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41347 Likewise.
41348 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41349 Likewise.
41350
cfba4fda
L
41351 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41352 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41353
80bad0cc
JM
413542012-05-24 Joseph Myers <joseph@codesourcery.com>
41355
7a25eb06
JM
41356 [BZ #10846]
41357 [BZ #14036]
41358 * math/libm-test.inc (exp_test): Add test from bug 14036.
41359 (pow_test): Add test from bug 10846.
41360
795405f9
JM
41361 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41362 and other flags.
41363 (special_function): Do not include flags in test name.
41364 (parse_args): Likewise.
41365 * sysdeps/i386/fpu/libm-test-ulps: Update.
41366 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41367 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41368 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41370
80bad0cc
JM
41371 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41372 exceptions.
41373 * math/libm-test.inc ("Philosophy"): Update comment about
41374 exception testing.
41375 (UNDERFLOW_EXCEPTION): New macro.
41376 (UNDERFLOW_EXCEPTION_OK): Likewise.
41377 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41378 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41379 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41380 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41381 (INVALID_EXCEPTION_OK): Update value.
41382 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41383 (OVERFLOW_EXCEPTION_OK): Likewise.
41384 (IGNORE_ZERO_INF_SIGN): Likewise.
41385 (test_exceptions): Handle underflow exceptions.
41386 (acos_test): Update for underflow exception expectations.
41387 (cexp_test): Likewise.
41388 (clog_test): Likewise.
41389 (clog10_test): Likewise.
41390 (csqrt_test): Likewise.
41391 (ctan_test): Likewise.
41392 (ctanh_test): Likewise.
41393 (exp_test): Likewise.
41394 (exp10_test): Likewise.
41395 (exp2_test): Likewise.
41396 (expm1_test): Likewise.
41397 (fma_test): Likewise.
41398 (j0_test): Likewise.
41399 (jn_test): Likewise.
41400 (nexttoward_test): Likewise.
41401 (pow_test): Likewise.
41402 (scalbn_test): Likewise.
41403 (scalbln_test): Likewise.
41404 (tan_test): Likewise.
41405 (y1_test): Likewise.
41406 * sysdeps/i386/fpu/libm-test-ulps: Update.
41407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41408
9e0e3d0b
DM
414092012-05-23 David S. Miller <davem@davemloft.net>
41410
41411 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41412 (__libc_sigaction): Remove unused local variables.
41413
ccd0a08f
L
414142012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41415
41416 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41417
62bdf9a6
PE
414182012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41419
f8591f80
PE
41420 mktime: avoid signed integer overflow
41421 * time/mktime.c (__mktime_internal): Do not mishandle the case
41422 where diff == INT_MIN.
41423
94c7d826
PE
41424 mktime: simplify computation of average
41425 * time/mktime.c (ranged_convert): Use new time_t_avg function
41426 instead of rolling our own (probably-slower) code.
41427
ce73d683
PE
41428 mktime: do not assume signed right shift propagates sign bit
41429 * time/mktime.c (isdst_differ): New static function.
41430 (__mktime_internal): No need to normalize tm_isdst now.
41431 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41432 tm_isdst values.
41433
72a22e59
PE
41434 mktime: merge another wrapv change from gnulib
41435 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41436 from some compilers.
41437
68605433
PE
41438 mktime: remove incorrect attempt at unusual arithmetics
41439 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41440 The code didn't really work on such machines anyway.
41441 (TYPE_MINIMUM): Assume two's complement.
41442 (twos_complement_arithmetic): Verify that long_int and time_t
41443 are two's complement (or unsigned, in the latter case).
41444
03cf7fe3
PE
41445 mktime: check signed shifts on long_int and time_t, too
41446 * time/mktime.c (SHR): Check that shifts work as desired
41447 on the types long_int and time_t too, as SHR is used on
41448 such types.
41449
f04dfbc2
PE
41450 mktime: do not assume 'long' is wide enough
41451 * time/mktime.c (verify): Move decl up.
41452 (long_int): New type.
41453 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41454 to remove assumption in the code that 'long' is wide enough to
41455 store year values. This assumption is not true on x32 and on
41456 some non-glibc platforms.
41457
62bdf9a6
PE
41458 mktime: merge wrapv change from gnulib
41459 * time/mktime.c (WRAPV): New macro.
41460 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41461 (guess_time_tm, __mktime_internal): Do not assume that signed
41462 integer overflow wraps around; modern compilers generate code
41463 where this assumption is no longer valid.
41464
5e292e4f
L
414652012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41466
41467 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41468 Replace "jmp L(pseudo_end)" with "ret".
41469 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41470 Likewise.
41471
8caf8c87
AJ
414722012-05-23 Andreas Jaeger <aj@suse.de>
41473
41474 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41475 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41476
1a09dc56
AJ
414772012-05-23 Andreas Jaeger <aj@suse.de>
41478 Maximilian Attems <max@stro.at>
41479
41480 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41481 New macros.
41482
1c87aba0
L
414832012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41484
41485 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41486 code so that pseudo_end is just ret and the stack pointer is
41487 correct also for static library in error case.
41488
40e45bd5
JM
414892012-05-23 Joseph Myers <joseph@codesourcery.com>
41490
c2670533
JM
41491 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41492 move to syscalls.list.
41493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41497
40e45bd5
JM
41498 * manual/install.texi (Running make install): Do not mention Linux
41499 kernel version for which pt_chown is not needed.
41500 (Linux): Do not mention problems with nscd with 2.0 kernels.
41501 * INSTALL: Regenerated.
41502
be08eda5
AJ
415032012-05-23 Andreas Jaeger <aj@suse.de>
41504
41505 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41506 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41507 macro.
41508 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41509 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41510 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41511 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41512 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41513 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41514 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41515 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41516 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41517 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41518 * sysdeps/unix/sysv/linux/bits/in.h
41519 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41520
a6a056bb
RM
415212012-05-22 Roland McGrath <roland@hack.frob.com>
41522
41523 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41524 (PREPARE_VERSION): Just use assert instead, it will be elided
41525 under [NDEBUG] anyway.
41526
c9009328
L
415272012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41528
41529 * sysdeps/unix/sysv/linux/Makefile: Include
41530 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41531 (sysdep_routines): Remove sysctl.
c9009328
L
41532 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41533 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41534 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41535 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41536 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41537
73338355
AJ
415382012-05-22 Andreas Jaeger <aj@suse.de>
41539
41540 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41541 that pseudo_end is just ret and the stack pointer is correct also
41542 for static library in error case.
41543
d44638b0
PP
415442012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41545
41546 [BZ #14122]
41547 * nss/nsswitch.c (defconfig_entries): New variable.
41548 (__nss_database_lookup): Don't leak defconfig entries.
41549 (nss_parse_service_list): Don't leak on error paths.
41550 (free_database_entries): New function.
41551 (free_defconfig): New function.
41552 (free_mem): Move common code to free_database_entries.
41553
31a39bd8
L
415542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41555
da0331a8
L
41556 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41557 Add arch_prctl.
41558 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41559
31a39bd8
L
41560 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41561 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41562 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41563 New macro.
41564 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41565 (INTERNAL_SYSCALL_TYPES): Likewise.
41566 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41567 (LOAD_REGS_TYPES_[1-6]): Likewise.
41568 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41569 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41570
45470df3
AZ
415712012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41572
41573 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41574 copysignl for GLIBC_2_0.
41575 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41576 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41577 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41578 logbl for GLIBC_2_0.
41579 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41580 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41581
98a61bcb
L
415822012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41583
a4f6e481
L
41584 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41585 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41586
f63d5db6
L
41587 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41588 Use "neg %eax".
41589
98a61bcb
L
41590 * time/mktime.c: Update copyright years.
41591
95770f14
PE
415922012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41593
6226efbd
PE
41594 mktime: merge comment-quoting-style change from gnulib
41595 * time/mktime.c: Quote 'like this' in comments.
41596 The GNU coding standards suggest that we no longer quote `like this',
41597 as "`" and "'" are typically rendered asymmetrically nowadays.
41598 The typical gnulib style is to quote 'like this' when quoting
41599 code, and "like this" when quoting English.
41600
b99e4f78
PE
41601 * time/mktime.c (compile-command): Add "-I.".
41602
643e01e6
PE
41603 mktime: merge mktime-internal.h change from gnulib
41604 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41605
2554247d
PE
41606 mktime: merge time_r change from gnulib
41607 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41608
826dd0ab
PE
41609 mktime: merge DEBUG change from gnulib
41610 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41611 case system <time.h> has a #define.
41612
bd83aabe
PE
41613 mktime: merge <sys/types.h> change from gnulib
41614 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41615 since <time.t> is now guaranteed to define time_t.
41616
95770f14
PE
41617 mktime: merge HAVE_CONFIG_H change from gnulib
41618 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41619
5e1a27a9
L
416202012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41621
0e44a77e
L
41622 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41623 Use "neg %eax".
41624
5e1a27a9
L
41625 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41626 __rlim_t cast.
41627 (struct rusage): Use anonymous union to pad each field to
41628 __syscall_slong_t.
41629
46259bec
DM
416302012-05-21 David S. Miller <davem@davemloft.net>
41631
41632 * Makefules (o-iterator): Remove .s cases.
41633 (compile-command.s): Delete.
41634 (COMPILE.s): Delete.
41635 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41636
59f0c22e
JM
416372012-05-21 Joseph Myers <joseph@codesourcery.com>
41638
41639 * configure.in (libc_cv_predef_stack_protector): Only consider
41640 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41641 * configure: Regenerated.
41642
20c07380
L
416432012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41644
bbb3154b
L
41645 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41646 New macro. Use R*LP on int and pointer.
41647 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41648 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41649 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41650 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41651
20c07380
L
41652 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41653 [__WORDSIZE_TIME64_COMPAT32] instead of
41654 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41655 (struct utmp): Likewise.
41656 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41657 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41658 Renamed to ...
41659 (__WORDSIZE_TIME64_COMPAT32): This.
41660 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41661 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41662 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41663 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41664 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41665 (__WORDSIZE_TIME64_COMPAT32): New macro.
41666
d8d1017e
AJ
416672012-05-21 Andreas Jaeger <aj@suse.de>
41668
41669 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41670 only if [SHARED]. Add prototype for __wcschr_ia32.
41671
6c7fb145
RM
416722012-05-21 Roland McGrath <roland@hack.frob.com>
41673
41674 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41675 of %rbp unmolested in the jmp_buf while mangling the low bits.
41676 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41677 unmolested high bits of %rbp while demangling the low bits.
41678 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41679
66274218
AJ
416802012-05-21 Andreas Jaeger <aj@suse.de>
41681
07c58f8f
AJ
41682 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41683 * sunrpc/svc_simple.c: Use it for registerrpc.
41684 * sunrpc/xcrypt.c: Use it for passwd2des.
41685
66274218
AJ
41686 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41687
61f65140
L
416882012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41689
41690 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41691 Don't define if [__SYSCALL_WORDSIZE != 32].
41692 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41693 New macro.
41694
5fefb436
AJ
416952012-05-21 Bruno Haible <bruno@clisp.org>
41696 Andreas Jaeger <aj@suse.de>
41697
41698 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41699 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41700 inptr and inend for must_buffer_ch.
41701 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41702 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41703 * stdio-common/Makefile (tests): Remove bug15.
41704 (bug15-ENV): Remove macro.
41705 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41706 anymore.
41707
d8e272ab
AJ
417082012-05-19 Andreas Jaeger <aj@suse.de>
41709 Roland McGrath <roland@hack.frob.com>
41710
41711 * manual/contrib.texi: Completely rewritten. It contains now an
41712 alphabetical list of contributors and their contributions.
41713
4a56a162
RH
417142012-05-21 Richard Henderson <rth@twiddle.net>
41715
41716 * misc/getauxval.c (__getauxval): Use unsigned long int.
41717 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41718 (getauxval): Use unsigned long int.
41719
d024d23c
L
417202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41721
41722 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41723
cbc00a03
RM
417242012-05-21 Roland McGrath <roland@hack.frob.com>
41725
41726 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41727 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41728 __alignof__ (long double).
41729
478143fa
AZ
417302012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41731
41732 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41733
c7683a6d
RH
417342012-05-20 Richard Henderson <rth@twiddle.net>
41735
41736 * misc/getauxval.c: New file.
41737 * misc/sys/auxv.h: New file.
41738 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41739 (routines): Add getauxval.
41740 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41741 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41742 * elf/dl-sysdep.c (_dl_auxv): Remove.
41743 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41744 * elf/dl-support.c (_dl_auxv): New variable.
41745 (_dl_aux_init): Initialize it.
41746 * manual/startup.texi (Auxiliary Vector): New node.
41747 * sysdeps/generic/bits/hwcap.h: New file.
41748 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41749 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41750 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41751 * sysdeps/sparc/sysdep.h: ... here. Include it.
41752 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41753 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41755 Update.
c7683a6d
RH
41756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41758 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41759 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41760 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41761 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41762 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41763 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41764
a6f1845d
AZ
417652012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41766
41767 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41768
cbcbe830
DM
417692012-05-19 David S. Miller <davem@davemloft.net>
41770
41771 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41772
e0b16cc2
JM
417732012-05-19 Joseph Myers <joseph@codesourcery.com>
41774
41775 [BZ #14123]
41776 * math/s_ccosh.c: Include <float.h>
41777 (__ccosh): Avoid internal overflow calculating sinh and cosh
41778 values before multiplying by sin and cos values.
41779 * math/s_ccoshf.c: Likewise.
41780 * math/s_ccoshl.c: Likewise.
41781 * math/s_csin.c: Likewise.
41782 * math/s_csinf.c: Likewise.
41783 * math/s_csinl.c: Likewise.
41784 * math/s_csinh.c: Likewise.
41785 * math/s_csinhf.c: Likewise.
41786 * math/s_csinhl.c: Likewise.
41787 * math/libm-test.inc (ccos_test): Add more tests.
41788 (ccosh_test): Likewise.
41789 (csin_test): Likewise.
41790 (csinh_test): Likewise.
41791 * sysdeps/i386/fpu/libm-test-ulps: Update.
41792 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41793
6ad13e08
L
417942012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41795
f66f0ce8
L
41796 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41797 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41798
6ad13e08
L
41799 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41800
b1d072a7
JM
418012012-05-19 Joseph Myers <joseph@codesourcery.com>
41802
41803 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41804 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41805 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41806 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41807 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41808 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41809 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41810 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41811 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41812 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41813 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41814 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41815 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41816 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41817 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41818 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41819 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41820 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41821 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41822 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41823 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41824 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41825 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41826 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41827 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41828 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41829 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41830 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41831 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41832 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41833 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41834
9eae47cb
AJ
418352012-05-18 Andreas Jaeger <aj@suse.de>
41836
41837 * csu/.gitignore: Delete.
41838
bb07f69f
L
418392012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41840
41841 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41842 (timex): Use __syscall_slong_t.
41843
e6bdb741
AJ
418442012-05-18 Andreas Jaeger <aj@suse.de>
41845 Carlos O'Donell <carlos_odonell@mentor.com>
41846
41847 * manual/install.texi (Configuring and compiling): Update
41848 description about files modified in the source directory.
d6c33fda 41849 * INSTALL: Regenerated.
e6bdb741 41850
1b74487e
L
418512012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41852
41853 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41854 value. Use "or" to set return value to -1.
41855 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41856 negate return value.
41857
a88b64b9
TMQMF
418582012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41859
57f41c40
AS
41860 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41861 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41862 failure if the compiler has Graphite support disabled.
41863 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41864 Likewise.
57f41c40
AS
41865 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41866 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41867 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41868 Likewise.
41869
3707636e
L
418702012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41871
610b8622
L
41872 * sysdeps/x86_64/x32/_itoa.h: New file.
41873
7cd195df
L
41874 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41875 getdents system call only if kernel and user dirents have the
41876 same d_ino and d_off.
41877
94b07d20
L
41878 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41879 LLONG_MAX != LONG_MAX.
41880 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41881 (_fitoa_word): Likewise.
41882
18298070
L
41883 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41884 years.
41885 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41886 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41887 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41888
553c7ea4
L
41889 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41890 include <bits/wordsize.h>. Check __x86_64__ instead of
41891 __WORDSIZE.
41892 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41893 if __x86_64__ is defined. Use anonymous union on fpstate.
41894
3707636e
L
41895 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41896 anonymous union.
41897
b53ef01a
AS
418982012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41899
37fb1dc0
AS
41900 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41901 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41902 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41903 Refer to _rtld_local_ro instead of _rtld_global_ro.
41904 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41905 Likewise.
41906 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41907 Likewise.
41908 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41909 Likewise.
41910 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41911 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41912 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41913
b53ef01a
AS
41914 * sysdeps/powerpc/powerpc32/dl-machine.c
41915 (__elf_machine_runtime_setup) [PROF]: Don't reference
41916 _dl_prof_resolve.
41917
7a185db2
AJ
419182012-05-18 Andreas Jaeger <aj@suse.de>
41919
41920 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41921 function only available for GCCs before 3.4 since GCC 3.4
41922 introduced a builtin.
41923 (lrint): Likewise.
41924 (llrintf): Likewise.
41925 (llrint): Likewise.
41926 (fmaxf): Likewise.
41927 (fmax): Likewise.
41928 (fminf): Likewise.
41929 (fmin): Likewise.
41930 (rint): Likewise.
41931 (rintf): Likewise.
41932 (nearbyint): Likewise.
41933 (nearbyintf): Likewise.
41934 (ceil): Likewise.
41935 (ceilf): Likewise.
41936 (floor): Likewise.
41937 (floorf): Likewise.
41938
3e5aef87
L
419392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41940
428bd707
L
41941 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41942 on both fields and cast pointer to __syscall_ulong_t.
41943
3e5aef87
L
41944 * bits/types.h (__fsword_t): New type.
41945 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41946 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41947 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41948 (__FSWORD_T_TYPE): Likewise.
41949 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41950 (__FSWORD_T_TYPE): Likewise.
41951 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41952 (__FSWORD_T_TYPE): Likewise.
41953 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41954 (__FSWORD_T_TYPE): Likewise.
41955 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41956 __SWORD_TYPE with __fsword_t.
41957 (statfs64): Likewise.
41958
1ba7c3dc
DM
419592012-05-17 David S. Miller <davem@davemloft.net>
41960
41961 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41962
59910343
AJ
419632012-05-17 Andreas Jaeger <aj@suse.de>
41964
41965 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41966 warning.
41967
2e4c1e9e
L
419682012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41969
41970 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41971
de7f5ce7
AJ
419722012-05-17 Andreas Jaeger <aj@suse.de>
41973
41974 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41975 when it is used.
41976
286abc3d
CM
419772012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41978
41979 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41980
477cc68e
L
419812012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41982
41983 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41984 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41985
1a0994f5
CD
419862012-05-17 Andreas Jaeger <aj@suse.de>
41987 Carlos O'Donell <carlos_odonell@mentor.com>
41988
41989 [BZ #14059]
41990 * sysdeps/x86_64/multiarch/init-arch.h
41991 (bit_YMM_Usable): Rename to...
41992 (bit_AVX_Usable): ... this.
41993 (bit_FMA4_Usable): New macro.
41994 (bit_XMM_state): New macro.
41995 (bit_YMM_state): New macro.
41996 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41997 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41998 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41999 (CPUID_OSXSAVE): New macro.
42000 (CPUID_AVX): New macro.
42001 (CPUID_FMA4): New macro.
42002 (index_YMM_Usable): Rename to...
42003 (index_AVX_Usable): ... this.
42004 (HAS_AVX): Use HAS_ARCH_FEATURE.
42005 (HAS_FMA4): Likewise.
42006 (HAS_YMM_USABLE): Remove.
42007 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42008 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42009 are present.
42010 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42011 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42012 * sysdeps/x86_64/multiarch/Makefile: Likewise.
42013 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42014 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42015
0af797de
CM
420162012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42017
42018 * math/libm-test.c: Support platforms without multiple rounding modes.
42019 * math/bug-nextafter.c: Support platforms without FP exceptions.
42020 * math/bug-nexttoward.c: Likewise.
42021 * math/test-fenv.c: Likewise.
42022 * math/test-misc.c: Likewise.
42023 * stdlib/bug-getcontext.c: Likewise.
42024
e39745ff
AJ
420252012-05-17 Andreas Jaeger <aj@suse.de>
42026
42027 * manual/examples/search.c (critter_cmp): Change signature to
42028 avoid warnings.
42029 * manual/string.texi (Collation Functions): Likewise.
42030
48970aba
L
420312012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42032
42033 * bits/types.h: Fold copyright years.
42034 * bits/typesizes.h: Likewise.
42035 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42036 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42037 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42038 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42039 * time/time.h: Likewise.
42040
bedee953
PP
420412012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42042
42043 [BZ #208]
42044 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42045 in instead of returning them. Return void.
42046 (__libc_mallinfo): Accumulate over all arenas.
42047 (__malloc_stats): Adjust for change in int_mallinfo interface.
42048
61653dfb
RM
420492012-05-16 Roland McGrath <roland@hack.frob.com>
42050
30b99d79
RM
42051 [BZ #10375]
42052 * configure.in (NM): Add AC_CHECK_TOOL for it.
42053 (libc_extra_cflags): New substituted variable.
42054 Check for -fstack-protector being used implicitly.
42055 * configure: Regenerated.
42056 * config.make.in (config-extra-cflags): New variable,
42057 gets @libc_extra_cflags@.
42058 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42059
61653dfb
RM
42060 [BZ #10375]
42061 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42062 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42063 * configure: Regenerated.
42064 * config.make.in (CPPUNDEFS): New substituted variable.
42065 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42066 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42067 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42068
661768bb
L
420692012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42070
42071 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42072 (mq_attr): Use __syscall_slong_t.
42073
d4261567
L
420742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42075
42076 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42077 Check __x86_64__ instead of __WORDSIZE.
42078 (_STAT_VER_LINUX): Likewise.
42079 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42080 __syscall_ulong_t and __syscall_slong_t.
42081 (stat64): Likewise.
42082
cf3ff365
L
420832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42084
42085 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42086
76cf3e4d
L
420872012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42088
42089 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42090
a637753a
L
420912012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42092
42093 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42094 __syscall_ulong_t.
42095
d5e05119
L
42096 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42097 include <bits/wordsize.h>. Check __x86_64__ instead of
42098 __WORDSIZE.
42099 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42100 defined.
42101 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42102
f62ee380
L
42103 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42104 include <bits/wordsize.h>. Check __x86_64__ instead of
42105 __WORDSIZE.
42106 (user_regs_struct): Use "__extension__ unsigned long long"
42107 instead of "unsigned long" if __x86_64__ is defined.
42108 (user): Likewise. Pad after pointer field if __ILP32__ is
42109 defined.
42110
4e124ced
JM
421112012-05-16 Joseph Myers <joseph@codesourcery.com>
42112
6a3951a0
JM
42113 * configure.in (makeinfo): Require version 4.5 or later. Allow
42114 versions 5 to 9.
42115 * configure: Regenerated.
42116 * manual/install.texi (texinfo): Increase version requirement to
42117 4.5 or later.
42118 * INSTALL: Regenerated.
42119
4e124ced
JM
42120 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42121
953ca31a
L
421222012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42123
42124 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42125
617aca05
L
42126 * sysdeps/x86_64/x32/ffs.c: New file.
42127
5762f7ae
L
42128 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42129 __syscall_ulong_t.
42130 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42131 defined. Use __syscall_ulong_t.
42132 (shminfo): Use __syscall_ulong_t.
42133 (shm_info): Likewise.
42134
a26b6856
L
42135 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42136 __syscall_ulong_t.
42137
cb2b9ef7
L
42138 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42139 <bits/wordsize.h>.
42140 (msgqnum_t): Use __syscall_ulong_t.
42141 (msglen_t): Likewise.
42142 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42143 __syscall_ulong_t.
42144
34683bb0
L
42145 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42146 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42147
84a68786
L
42148 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42149
48baa5f1
L
42150 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42151 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42152
180be88b
L
42153 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42154 __syscall_slong_t.
42155
5e90c8ad
L
42156 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42157 include <bits/wordsize.h>. Check __x86_64__ instead of
42158 __WORDSIZE.
42159
23dfb58b
L
42160 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42161 "unsigned long long int" if __x86_64__ is defined.
42162 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42163
ce5d54b0
L
42164 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42165 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42166 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42167
13dc9eac
L
42168 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42169 <stdint.h>.
42170 (GET_PC): Cast to uintptr_t first.
42171 (GET_FRAME): Likewise.
42172 (GET_STACK): Likewise.
42173
a7895d15
L
42174 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42175 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42176 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42177 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42178 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42179 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42180 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42181 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42182 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42183 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42184 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42185 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42186 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42187 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42188 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42189 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42190 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42191 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42192 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42193 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42194 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42195 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42196 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42197 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42198 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42199 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42200 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42201 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42202 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42203
656416c9
AS
422042012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42205
5bd66283
AS
42206 * Makerules (+depfiles): Also collect depfiles from .oS in
42207 $(extra-objs).
42208 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42209 .oS, $(libnldbl-routines)).
42210
656416c9
AS
42211 * Makerules (native-compile-mkdep-flags): Define.
42212 * sunrpc/Makefile (extra-objs): Add $(addprefix
42213 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42214 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42215 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42216 calling $(make-target-directory).
42217
a46f2169
L
422182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * bits/types.h (__snseconds_t): Removed.
42221 * time/time.h (struct timespec): Replace __snseconds_t with
42222 __syscall_slong_t.
42223 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42224 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42225 Likewise.
42226 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42227 (__SNSECONDS_T_TYPE): Likewise.
42228 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42229 (__SNSECONDS_T_TYPE): Likewise.
42230 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42231 (__SNSECONDS_T_TYPE): Likewise.
42232
6af6528b
L
422332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42234
42235 * sysdeps/mach/hurd/bits/typesizes.h
42236 (__SYSCALL_SLONG_TYPE): New macro.
42237 (__SYSCALL_ULONG_TYPE): Likewise.
42238
de986b56
L
422392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42240
42241 * bits/types.h (__syscall_slong_t): New type.
42242 (__syscall_ulong_t): Likewise.
42243
42244 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42245 (__SYSCALL_ULONG_TYPE): Likewise.
42246 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42247 (__SYSCALL_SLONG_TYPE): Likewise.
42248 (__SYSCALL_ULONG_TYPE): Likewise.
42249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42250 (__SYSCALL_SLONG_TYPE): Likewise.
42251 (__SYSCALL_ULONG_TYPE): Likewise.
42252 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42253 (__SYSCALL_SLONG_TYPE): Likewise.
42254 (__SYSCALL_ULONG_TYPE): Likewise.
42255
85736dc7
L
422562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42257
42258 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42259 Add sigaltstack-offsets.sym.
42260 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42261 <sigaltstack-offsets.h>.
42262 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42263 longjmp_msg pointer.
42264 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42265 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42266 signal stack.
42267 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42268
cc03b296
JM
422692012-05-15 Joseph Myers <joseph@codesourcery.com>
42270
a9538892
JM
42271 * elf/stackguard-macros.h: Remove file.
42272 * sysdeps/generic/stackguard-macros.h: New file.
42273 * sysdeps/i386/stackguard-macros.h: Likewise.
42274 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42275 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42276 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42277 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42278 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42279 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42280 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42281 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42282 <elf/stackguard-macros.h>.
42283
cc03b296
JM
42284 [BZ #14109]
42285 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42286 __aligned__ in attribute.
42287 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42288 (gregset_t): Likewise.
42289
93171016
L
422902012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42291
42292 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42293 * sysdeps/x86_64/64/Implies-after: Here. New file.
42294 * sysdeps/x86_64/x32/Implies-after: New file.
42295
d86813a0
L
422962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42297
42298 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42299 and access return value for _dl_profile_fixup. Use R10_LP to
42300 load frame size.
42301
2953ec75
L
423022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42303
42304 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42305
3b550e9e
L
423062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42307
42308 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42309 * sysdeps/x86_64/x32/sysdep.h: New file.
42310
eda41706
L
423112012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42312
42313 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42314 * sysdeps/x86_64/setjmp.S: Likewise.
42315
9ea01d93
AZ
423162012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42317
42318 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42319 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42320 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42321 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42322 remove unused global constant.
42323
02a91938
CM
423242012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42325
42326 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42327 include of <not-cancel.h>.
42328
6540185f
RM
423292012-05-15 Roland McGrath <roland@hack.frob.com>
42330
42331 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42332
509072a0
AJ
423332012-05-15 Jeff Law <law@redhat.com>
42334 Andreas Jaeger <aj@suse.de>
42335
42336 [BZ #13594]
42337 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42338 out from...
42339 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42340 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42341 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42342 code changing __hst_map_handle.map.
42343
ba75122d
RM
423442012-05-15 Roland McGrath <roland@hack.frob.com>
42345
42346 * configure.in (sysnames): Look for Implies-before and Implies-after
42347 files.
42348 * configure: Regenerated.
42349
890d8bd8
L
423502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42351
42352 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42353 8-byte data alignment with LP_SIZE alignment.
42354
f6ee6623
L
423552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42356
42357 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42358 into R10_LP.
42359
ea2626f6
L
423602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42361
42362 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42363
085f715e
L
423642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42365
42366 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42367 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42368 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42369 Likewise.
42370 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42371
be8498fc
L
423722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42373
42374 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42375 (stackinfo_sub_sp): Likewise.
42376
70bc83b9
L
423772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42378
42379 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42380 RAX_LP.
42381
9bc0b730
L
423822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42383
42384 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42385 into R*_LP.
42386
6d2850e7
L
423872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42388
42389 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42390 sizes into R*_LP.
42391
3cb84561
L
423922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42393
42394 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42395
54e2ed81
L
423962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42397
42398 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42399 into R11_LP and load __x86_64_shared_cache_size_half into
42400 R8_LP.
42401
8a17f349
L
424022012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42403
42404 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42405 R8_LP.
42406
777b1eea
AZ
424072012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42408
42409 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42410 logb for POWER7.
42411 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42412 logbf for POWER7.
42413 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42414 logbl for POWER7.
42415 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42416 powerpc32/power7/fpu/s_logb.c via #include.
42417 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42418 powerpc32/power7/fpu/s_logbf.c via #include.
42419 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42420 powerpc32/power7/fpu/s_logbl.c via #include.
42421
d20d4ac2
JM
424222012-05-15 Joseph Myers <joseph@codesourcery.com>
42423
42424 * README.libm: Remove file.
42425
6cdef1ab
L
424262012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42427
42428 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42429 count for x32. Use R*_LP and omit operand-size suffix.
42430
0b254d8f
L
424312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42432
42433 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42434 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42435 * sysdeps/x86_64/x32/shlib-versions: New file.
42436
ceb809dc
RM
424372012-05-14 Roland McGrath <roland@hack.frob.com>
42438
42439 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42440 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42441 Use _dl_fatal_printf instead.
42442
37f1abd4
JM
424432012-05-14 Joseph Myers <joseph@codesourcery.com>
42444
42445 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42446 set if not set by the user. Do not allow for being unset.
42447 * sysdeps/unix/sysv/linux/configure: Regenerated.
42448
11de3a33
L
424492012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42450
42451 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42452 the `q' suffix from lea and replace .quad with ASM_ADDR.
42453
e02f153a
L
424542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42455
42456 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42457 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42458 instead of $17.
42459 (PTR_DEMANGLE): Likewise.
42460
520ae0fd
L
424612012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42462
42463 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42464 (LP_OP): Likewise.
42465 (ASM_ADDR): Likewise.
42466 (RAX_LP): Likewise.
42467 (RBP_LP): Likewise.
42468 (RBX_LP): Likewise.
42469 (RCX_LP): Likewise.
42470 (RDI_LP): Likewise.
42471 (RSI_LP): Likewise.
42472 (RSP_LP): Likewise.
42473 (R8_LP): Likewise.
42474 (R9_LP): Likewise.
42475 (R10_LP): Likewise.
42476 (R10_LP): Likewise.
42477 (R11_LP): Likewise.
42478 (R12_LP): Likewise.
42479 (R13_LP): Likewise.
42480 (R14_LP): Likewise.
42481 (R15_LP): Likewise.
42482
b985be81
L
424832012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42484
42485 * sysdeps/x86_64/x32/dl-machine.h: New file.
42486
6a4888ff
AJ
424872012-05-14 Andreas Jaeger <aj@suse.de>
42488
42489 * manual/Makefile (subdir): Remove export of subdir.
42490 (all): Remove target.
42491 (.PHONY): Remove all from list.
42492 (mkinstalldirs): Remove.
42493 (.PHONY): Remove installdirs from list.
42494 ($(inst_infodir)/libc.info): Use make-target-directory.
42495 (installdirs): Remove.
42496 (subdir_%): Remove.
42497 (glibc-targets): Remove.
42498 (lib): Remove.
42499 (stubs): Remove.
42500 ($(objpfx)stubs ../po/manual.pot): Remove.
42501 ($(objpfx)stamp%): Remove.
42502 (make-target-directory): Remove.
42503 (subdir_install): Remove.
42504 (routines): Remove.
42505 (aux): Remove.
42506 (sources): Remove.
42507 (objects): Remove.
42508 (headers): Remove.
42509
42510 [BZ #13750]
42511 * manual/.gitignore: Remove, it's not needed anymore.
42512 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42513 all files in it.
42514 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42515 directory.
42516 (texis): Renamed to $(objpfx)texis.
42517 (texis-path): New, contains path to generated files.
42518 (chapters.%): Use texis-path for complete path, add extra argument
42519 libc-texinfo.sh.
42520 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42521 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42522 (summary,texi, stamp-summary): Use complete path of
42523 files. Generate files in build dir.
42524 (dir-add.texi): Build in build dir.
42525 (libm-err.texi,stamp-libm-err): Likewise.
42526 (version.texi, stamp-version): Likewise.
42527 (.%c.texi): Likewise.
42528 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42529 (mostlyclean): Remove target.
42530 (realclean): Remove target.
42531 (generated): Add new variable with contents from mostlyclean and
42532 realclean, remove entries duplicated in common-mostlyclean, add
42533 stamp-libm-err and stamp-version.
42534 (generated-dirs): Add libc directory.
42535 ($(inst_infodir)/libc.info): Install files from build dir.
42536
42537 * manual/install.texi (Configuring and compiling): Adjust since
42538 the info files are not part of the tar ball anymore.
42539
7ac77294
AJ
425402012-05-14 Andreas Jaeger <aj@suse.de>
42541
42542 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42543 variable.
42544
ffb7875d
JM
425452012-05-14 Joseph Myers <joseph@codesourcery.com>
42546
42547 [BZ #13717]
42548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42549 to 2.2.0 where earlier.
42550 * sysdeps/unix/sysv/linux/configure: Regenerated.
42551 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42552 Remove conditional code.
42553 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42554 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42555 Remove conditional code.
42556 [!__NR_lchown]: Likewise.
42557 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42558 [__NR_lchown]: Likewise.
42559 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42560 comment referencing __ASSUME_LCHOWN_SYSCALL.
42561 * sysdeps/unix/sysv/linux/i386/sigaction.c
42562 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42563 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42564 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42565 Remove conditional code.
42566 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42567 (__protocol_available): Remove #if 0 code.
42568 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42569 conditional code.
42570 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42571 * sysdeps/unix/sysv/linux/kernel-features.h
42572 (__ASSUME_GETCWD_SYSCALL): Don't define.
42573 (__ASSUME_REALTIME_SIGNALS): Likewise.
42574 (__ASSUME_PREAD_SYSCALL): Likewise.
42575 (__ASSUME_PWRITE_SYSCALL): Likewise.
42576 (__ASSUME_POLL_SYSCALL): Likewise.
42577 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42578 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42579 non-SPARC.
42580 (__ASSUME_SIOCGIFNAME): Don't define.
42581 (__ASSUME_MSG_NOSIGNAL): Likewise.
42582 (__ASSUME_SENDFILE): Define unconditionally.
42583 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42584 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42585 conditional code.
42586 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42587 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42588 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42589 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42590 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42591 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42592 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42594 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42597 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42598 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42603 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42604 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42606 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42609 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42610 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42612 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42613 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42615 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42616 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42617 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42618 Remove conditional code.
42619 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42620 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42621 Remove conditional code.
42622 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42623 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42624 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42625 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42626 Remove conditional code.
42627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42628 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42629 Remove conditional code.
42630 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42631 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42632 Remove conditional code.
42633 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42634 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42635 Remove conditional code.
42636 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42637 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42638 Remove conditional code.
42639 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42640 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42641 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42642 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42643 * sysdeps/unix/sysv/linux/sigaction.c
42644 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42645 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42646 * sysdeps/unix/sysv/linux/sigpending.c
42647 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42648 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42649 * sysdeps/unix/sysv/linux/sigprocmask.c
42650 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42651 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42652 * sysdeps/unix/sysv/linux/sigsuspend.c
42653 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42654 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42655 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42656 (__libc_missing_rt_sigs): Remove.
42657 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42658 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42659 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42660 Remove conditional code.
42661 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42662 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42663 return 1.
42664 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42665 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42666 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42667 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42668
1bfb7291
AJ
426692012-05-14 Andreas Jaeger <aj@suse.de>
42670
caae5a81
AJ
42671 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42672 it's not used in glibc.
42673 (__coshm1): Likewise.
42674 (__acosh1p): Likewise.
42675 (__sgn): Likewise.
42676
1bfb7291
AJ
42677 * manual/string.texi (Copying and Concatenation): Add missing
42678 variable in concat example.
42679 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42680
c044d724
L
426812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42682
144c5467 42683 [BZ #14103]
c044d724
L
42684 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42685 __builtin_clzl with __builtin_clzll.
42686
2523c62b
L
426872012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42688
42689 [BZ #14104]
42690 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42691 libc_freeres_ptr.
42692
d7bb4c42
LD
426932012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42694
42695 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42696 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42697 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42698 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42699
9dc4e1fb
MF
427002012-05-14 Mike Frysinger <vapier@gentoo.org>
42701
42702 * NEWS: Update ia64 info.
42703
c7df0112
AS
427042012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42705
42706 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42707 used as bcopy.
42708
dc70356c
TS
427092012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42710
42711 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42712 * sysdeps/unix/syscalls.list (dup3): Likewise.
42713 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42714 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42715
9fb1a21f
L
427162012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42717
42718 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42719 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42720
4822a2a5
L
427212012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42722
42723 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42724 thread pointer.
42725 (TLS_IE): Use mov/add instead of movq/addq to load thread
42726 pointer.
42727 (TLS_GD_PREFIX): New.
42728 (TLS_GD): Use it.
42729
842b81d6
DM
427302012-05-11 David S. Miller <davem@davemloft.net>
42731
42732 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42733 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42734 (_FPU_SETCW): Likewise.
42735
1cf463cd
L
427362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42737
42738 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42739 is 32-byte aligned.
42740
60cc4a18
AS
427412012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42742
42743 [BZ #11837]
42744 * iconvdata/gb18030.c: Update tables.
42745 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42746 characters specially.
42747 (BODY for TO_LOOP): Add encoding of missing ranges.
42748
febb44a4
TS
427492012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42750
42751 [BZ #13673]
42752 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42753 * sysdeps/mach/hurd/dup3.c: Likewise.
42754 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42755 * sysdeps/powerpc/memmove.c:: Likewise.
42756
0a10fb9e
L
427572012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42758
42759 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42760 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42761
df8a552f
L
427622012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42763
42764 * elf/elf.h (R_X86_64_RELATIVE64): New.
42765 (R_X86_64_NUM): Updated.
42766 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42767 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42768 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42769 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42770 tst-quad1pie tst-quad2pie
42771 (modules-names): Add tst-quadmod1 tst-quadmod2.
42772 ($(objpfx)tst-quad1): New dependency.
42773 ($(objpfx)tst-quad2): Likewise.
42774 ($(objpfx)tst-quad1pie): Likewise.
42775 ($(objpfx)tst-quad2pie): Likewise.
42776 * sysdeps/x86_64/tst-quad1.c: New file.
42777 * sysdeps/x86_64/tst-quad1pie.c: New file.
42778 * sysdeps/x86_64/tst-quad2.c: Likewise.
42779 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42780 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42781 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42782 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42783 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42784
f34d6f84
ST
427852012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42786
f42d41d1
ST
42787 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42788 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42789 * streams/stropts.h (t_scalar_t): Define type.
42790
3c3571fc
ST
42791 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42792 (_PATH_PRESERVE): Set to "/var/lib".
42793 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42794
61f06bd3
ST
42795 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42796 instead of int.
42797
918d4d71
ST
42798 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42799 if __dir_mkfile succeeded.
42800
f34d6f84
ST
42801 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42802 checking for _hurd_dtablesize. Unlock it right after having
42803 finished _hurd_dtable allocation.
42804
10589b4a
TS
428052012-05-10 Thomas Schwinge <thomas@schwinge.name>
42806
674cdbc7
TS
42807 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42808 * sysdeps/mach/hurd/configure: Regenerated.
42809 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42810 special-casing to...
42811 * sysdeps/gnu/configure.in: ... this new file.
42812 * sysdeps/unix/sysv/linux/configure: Regenerated.
42813 * sysdeps/gnu/configure: New generated file.
42814
8e41b99f
TS
42815 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42816 for Linux: use nsec instead of usec, as well as:
42817 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42818 members of type struct timespec.
42819 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42820 New macros.
42821 (struct stat64): Likewise.
42822 (_STATBUF_ST_NSEC): New macro.
42823 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42824
10589b4a
TS
42825 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42826 __strtoul_internal rather than strtoul.
42827
63643c85
PT
428282012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42829
42830 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42831 and reject them.
42832
3faebe6a
ST
428332012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42834
42835 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42836 which preserves existing values.
42837 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42838
c6474b07
PT
428392012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42840
42841 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42842 TIMEOUT values. Return EINVAL for NFDS values either negative or
42843 greater than FD_SETSIZE.
42844
1043890b
ST
428452012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42846
42847 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42848 allocated, call __vm_protect to finish enabling the existing space, and
42849 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42850 allocate the remainder.
42851
37ed8b9b
PT
428522012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42853
42854 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42855 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42856
db653660
ST
428572012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42858
37ed8b9b
PT
42859 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42860 sysdeps/mach/hurd/readlink.c.
b29d4053 42861
db653660
ST
42862 * posix/tst-sysconf.c (posix_options): Only use
42863 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42864 _POSIX_SYNCHRONIZED_IO when they are defined
42865 * sysdeps/mach/hurd/bits/posix_opt.h:
42866 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42867 (_XOPEN_REALTIME): Undefine macro.
42868 (_XOPEN_REALTIME_THREADS): Undefine macro.
42869 (_XOPEN_SHM): Undefine macro.
42870 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42871 macro to -1.
42872 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42873 macro to -1.
42874 (_POSIX_ASYNC_IO): Undefine macro.
42875 (_POSIX_PRIORITIZED_IO): Undefine macro.
42876 (_POSIX_SPIN_LOCKS): Define macro to -1.
42877
ee16e894
ST
42878 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42879 SA_NODEFER, SA_RESETHAND.
42880 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42881 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42882 F_DUPFD_CLOEXEC.
42883
6103ae3b
TS
428842012-05-10 Thomas Schwinge <thomas@schwinge.name>
42885
42886 * elf/Makefile (pldd-modules): Define unconditionally.
42887
80b4e5f3
TS
428882012-05-10 Thomas Schwinge <thomas@schwinge.name>
42889
42890 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42891
edadcbd6
ST
428922012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42893
42894 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42895 Return ENOENT when name is empty.
42896 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42897
80694780
TS
428982012-05-10 Thomas Schwinge <thomas@schwinge.name>
42899
1792c087
TS
42900 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42901
80694780
TS
42902 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42903
6b645f0d
ST
429042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42905
80694780
TS
42906 Fix mlock in all cases except non-readable pages.
42907 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42908 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42909
6b645f0d
ST
42910 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42911 (__mkdir): When path is `/', just fail with EEXIST.
42912 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42913
e468f8a3
TS
429142012-05-10 Thomas Schwinge <thomas@schwinge.name>
42915
42916 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42917 <sys/uio.h> (for writev).
42918 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42919 and <sys/param.h> (for MIN).
42920
a4186cff
PT
429212012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42922
42923 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42924 REQUESTED_TIME. Properly set the remaining time and return EINTR
42925 if interrupted.
42926
510bbf14
TS
429272012-05-10 Thomas Schwinge <thomas@schwinge.name>
42928
42929 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42930 Depend on against $(link-rpcuserlibs).
42931
5d5722e8
ST
429322012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42933
a4186cff
PT
42934 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42935 (__libc_stack_end): Do not use attribute_relro.
42936 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42937 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42938 to libthread-provided value.
a4186cff
PT
42939 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42940 attribute_relro.
5d5722e8 42941
37233df9
TS
429422012-05-10 Thomas Schwinge <thomas@schwinge.name>
42943
be971a2b
TS
42944 [BZ #3748]
42945 * bits/libc-lock.h (__libc_once_get): New macro.
42946 * sysdeps/mach/bits/libc-lock.h: Likewise.
42947 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42948 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42949 instead of using implementation details.
42950
37233df9
TS
42951 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42952 * libio/freopen.c: Likewise.
42953 * libio/freopen64.c: Likewise.
42954 * misc/syslog.c: Likewise.
42955 * nscd/connections.c: Likewise.
42956 * nscd/netgroupcache.c: Likewise.
42957 * sysdeps/posix/getcwd.c: Likewise.
42958
38de94a5
RM
429592012-05-10 Roland McGrath <roland@hack.frob.com>
42960
42961 * math/w_ilogbf.c: Add #include <limits.h>.
42962
67530489
ST
429632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42964
a4186cff 42965 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42966 path instead of returning without unlocking.
42967
67530489
ST
42968 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42969 immediate-write ioctls.
42970 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42971
5aa3a74a
TS
429722012-05-10 Thomas Schwinge <thomas@schwinge.name>
42973
18bad2ae
TS
42974 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42975 __builtin_frame_address instead of making assumptions about the
42976 location of the return address relative to DATA. Force early load of
42977 the return address.
42978 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42979 __builtin_frame_address.
42980
5aa3a74a
TS
42981 dup3 for GNU Hurd.
42982 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42983 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42984 implement dup3 and do some further code clean-ups.
42985 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42986 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42987
ecd0de9a
ST
429882012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42989
cd9fa985
ST
42990 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42991
a4186cff
PT
42992 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42993 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42994 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42995 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42996 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42997 d->port.lock.
802ca5a5 42998
a4186cff
PT
42999 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43000 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
43001 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 43002
bcf55240
TS
430032012-05-10 Thomas Schwinge <thomas@schwinge.name>
43004
6960eb42
TS
43005 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43006 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43007 definitions.
43008
eb43375f
TS
43009 accept4 for GNU Hurd.
43010 * include/sys/socket.h (__libc_accept4): New prototype.
43011 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
43012 to implement __libc_accept4.
43013 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43014 __libc_accept4.
43015 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43016
bcf55240
TS
43017 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43018 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43019 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43020 signal-defines.sym.
43021
6178c55b
ST
430222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43023
a4186cff 43024 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43025
6f080c2f
TS
430262012-05-10 Thomas Schwinge <thomas@schwinge.name>
43027
43028 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43029 assertion on O_CLOEXEC flag.
43030 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43031 * hurd/intern-fd.c: Likewise.
43032 * hurd/port2fd.c: Likewise.
43033
bcfe3a54
ST
430342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43035
43036 [BZ #3906]
43037 * bits/in.h (IPV6_PKTINFO): Define new macro.
43038 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43039
89c9aa49
AZ
430402012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43041
43042 [BZ #13954]
43043 [BZ #13955]
43044 [BZ #13956]
43045 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43046 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43047 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43048 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43049 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43050 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43051 * math/libm-test.inc (logb_test) : Additional logb tests.
43052
021db4be
AJ
430532012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43054 Andreas Jaeger <aj@suse.de>
43055
43056 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43057 * configure: Regenerated.
43058 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43059 * config.make.in (link-obsolete-rpc): New substituted variable.
43060 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43061 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43062 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43063 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43064 so that libc.a contains the symbols.
43065 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43066 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43067 * sunrpc/auth_none.c: Likewise.
43068 * sunrpc/auth_unix.c: Likewise.
43069 * sunrpc/authdes_prot.c: Likewise.
43070 * sunrpc/authuxprot.c: Likewise.
43071 * sunrpc/clnt_gen.c: Likewise.
43072 * sunrpc/clnt_perr.c: Likewise.
43073 * sunrpc/clnt_raw.c: Likewise.
43074 * sunrpc/clnt_simp.c: Likewise.
43075 * sunrpc/clnt_tcp.c: Likewise.
43076 * sunrpc/clnt_udp.c: Likewise.
43077 * sunrpc/clnt_unix.c: Likewise.
43078 * sunrpc/des_crypt.c: Likewise.
43079 * sunrpc/des_soft.c: Likewise.
43080 * sunrpc/get_myaddr.c: Likewise.
43081 * sunrpc/key_call.c: Likewise.
43082 * sunrpc/key_prot.c: Likewise.
43083 * sunrpc/netname.c: Likewise.
43084 * sunrpc/pm_getmaps.c: Likewise.
43085 * sunrpc/pm_getport.c: Likewise.
43086 * sunrpc/pmap_clnt.c: Likewise.
43087 * sunrpc/pmap_prot.c: Likewise.
43088 * sunrpc/pmap_prot2.c: Likewise.
43089 * sunrpc/pmap_rmt.c: Likewise.
43090 * sunrpc/publickey.c: Likewise.
43091 * sunrpc/rpc_cmsg.c: Likewise.
43092 * sunrpc/rpc_common.c: Likewise.
43093 * sunrpc/rpc_dtable.c: Likewise.
43094 * sunrpc/rpc_prot.c: Likewise.
43095 * sunrpc/rpc_thread.c: Likewise.
43096 * sunrpc/rtime.c: Likewise.
43097 * sunrpc/svc.c: Likewise.
43098 * sunrpc/svc_auth.c: Likewise.
43099 * sunrpc/svc_raw.c: Likewise.
43100 * sunrpc/svc_run.c: Likewise.
43101 * sunrpc/svc_tcp.c: Likewise.
43102 * sunrpc/svc_udp.c: Likewise.
43103 * sunrpc/svc_unix.c: Likewise.
43104 * sunrpc/svcauth_des.c: Likewise.
43105 * sunrpc/xcrypt.c: Likewise.
43106 * sunrpc/xdr.c: Likewise.
43107 * sunrpc/xdr_array.c: Likewise.
43108 * sunrpc/xdr_float.c: Likewise.
43109 * sunrpc/xdr_intXX_t.c: Likewise.
43110 * sunrpc/xdr_mem.c: Likewise.
43111 * sunrpc/xdr_rec.c: Likewise.
43112 * sunrpc/xdr_ref.c: Likewise.
43113 * sunrpc/xdr_sizeof.c: Likewise.
43114 * sunrpc/xdr_stdio.c: Likewise.
43115
b5c086a2
RM
431162012-05-10 Roland McGrath <roland@hack.frob.com>
43117
43118 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43119 change. Update copyright years.
43120
6d74dd09
JM
431212012-05-10 Joseph Myers <joseph@codesourcery.com>
43122
43123 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43124
28e72501
MK
431252012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43126 Joseph Myers <joseph@codesourcery.com>
43127 Paul Pluzhnikov <ppluzhnikov@google.com>
43128
43129 [BZ #14012]
43130 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43131 requiring rpcgen.
43132 [cross-compiling] (extra-libs): Likewise.
43133 [cross-compiling] (extra-libs-others): Likewise.
43134 [cross-compiling] (librpcsvc-routines): Likewise.
43135 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43136 [cross-compiling] (omit-deps): Likewise.
43137 (sunrpc-CPPFLAGS): New variable.
43138 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43139 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43140 (cross-rpcgen-objs): New variable.
43141 (extra-objs): Append $(cross-rpcgen-objs).
43142 ($(cross-rpcgen-objs)): New rule.
43143 ($(objpfx)cross-rpcgen): Likewise.
43144 (rpcgen-cmd): Define to use $(built-program-file). Expand
43145 comment.
43146 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43147 ($(objpfx)x%.stmp): Likewise.
43148 * sunrpc/proto.h [IS_IN_build] (_): Define.
43149 [IS_IN_build] (_libc_intl_domainname): Likewise.
43150
c8c59454
L
431512012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43152
43153 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43154 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43155 and R_X86_64_TPOFF64.
43156
6f27cd16
JM
431572012-05-10 Joseph Myers <joseph@codesourcery.com>
43158
43159 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43160 sysdeps/unix/sysv/syscalls.list.
43161 (stime): Likewise.
43162 (utime): Likewise.
43163 * sysdeps/unix/sysv/syscalls.list: Remove file.
43164
02467e1c
PE
431652012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43166
43167 [BZ #3440]
43168 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43169 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43170 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43171 (__LC_IDENTIFICATION): Make these macros useful in #if
43172 expressions, as required by C99.
43173
da392631
AS
431742012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43175
43176 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43177 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43178 after this.
43179
8115f29b
L
431802012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43181
43182 * stdlib/longlong.h: Updated from GCC.
43183
bdd74070
AJ
431842012-05-09 Andreas Jaeger <aj@suse.de>
43185
edfe0dbe
AJ
43186 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43187 default is first entry.
43188 (run_mode): Set type.
43189 (main): Remove informal message about syslog.
43190 (options): Fix typo.
43191
bcfe3a54
ST
43192 [BZ #14053]
43193 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43194 to asm.
bcfe3a54
ST
43195 (lrint): Likewise.
43196 (llrintf): Likewise.
43197 (llrint): Likewise.
43198 (rint): Likewise.
43199 (rintf): Likewise.
43200 (nearbyint): Likewise.
43201 (nearbyintf): Likewise.
bdd74070 43202
91d8d69e
AJ
432032012-05-09 Andreas Jaeger <aj@suse.de>
43204 Pedro Alves <palves@redhat.com>
43205
43206 * nscd/nscd.c (run_mode): Use enum.
43207 (main): Cleanup coding style issue.
43208
bb90b80b
AJ
432092012-05-09 Alexandre Oliva <aoliva@redhat.com>
43210 Andreas Jaeger <aj@suse.de>
43211
bcfe3a54
ST
43212 * nscd/nscd.c (go_background): Replaced with...
43213 (run_mode): ... this.
bb90b80b 43214 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43215 (options): Add -F --foreground.
43216 (main): Implement it.
43217 (parse_opt): Parse it.
bb90b80b 43218
1a4b75a1
AJ
432192012-05-09 Andreas Jaeger <aj@suse.de>
43220
43221 [BZ #14083]
43222 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43223 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43224 -Wconversion warning.
43225 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43226 Likewise.
43227
b1cc2472
JM
432282012-05-09 Joseph Myers <joseph@codesourcery.com>
43229
43230 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43231 == 0.
43232 (LC_ALL): Use macro-int-constant.
43233 (LC_COLLATE): Likewise.
43234 (LC_CTYPE): Likewise.
43235 (LC_MESSAGES): Likewise.
43236 (LC_MONETARY): Likewise.
43237 (LC_NUMERIC): Likewise.
43238 (LC_TIME): Likewise.
43239 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43240 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43241 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43242 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43243 Specify type.
43244 [C99-based standards] (float_t): Expect type.
43245 [C99-based standards] (double_t): Expect type.
43246 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43247 type.
43248 [C99-based standards] (HUGE_VALL): Likewise.
43249 [C99-based standards] (INFINITY): Likewise.
43250 [C99-based standards] (NAN): Likewise.
43251 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43252 [C99-based standards] (FP_NAN): Likewise.
43253 [C99-based standards] (FP_NORMAL): Likewise.
43254 [C99-based standards] (FP_SUBNORMAL): Likewise.
43255 [C99-based standards] (FP_ZERO): Likewise.
43256 [C99-based standards] (FP_FAST_FMA): Use
43257 optional-macro-int-constant. Specify type. Require == 1.
43258 [C99-based standards] (FP_FAST_FMAF): Likewise.
43259 [C99-based standards] (FP_FAST_FMAL): Likewise.
43260 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43261 [C99-based standards] (FP_ILOGBNAN): Likewise.
43262 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43263 Specify type.
43264 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43265 [C99-based standards] (math_errhandling): Specify type.
43266 [ISO99 || ISO11] (signgam): Do not allow.
43267 [non-C99-based standards] (copysignf): Do not allow.
43268 [non-C99-based standards] (exp2f): Likewise.
43269 [non-C99-based standards] (log2f): Likewise.
43270 [non-C99-based standards] (modff): Allow.
43271 [non-C99-based standards] (erff): Do not allow.
43272 [non-C99-based standards] (erfcf): Likewise.
43273 [non-C99-based standards] (gammaf): Likewise.
43274 [non-C99-based standards] (hypotf): Likewise.
43275 [non-C99-based standards] (j0f): Likewise.
43276 [non-C99-based standards] (j1f): Likewise.
43277 [non-C99-based standards] (jnf): Likewise.
43278 [non-C99-based standards] (lgammaf): Likewise.
43279 [non-C99-based standards] (tgammaf): Likewise.
43280 [non-C99-based standards] (y0f): Likewise.
43281 [non-C99-based standards] (y1f): Likewise.
43282 [non-C99-based standards] (ynf): Likewise.
43283 [non-C99-based standards] (isnanf): Likewise.
43284 [non-C99-based standards] (acoshf): Likewise.
43285 [non-C99-based standards] (asinhf): Likewise.
43286 [non-C99-based standards] (atanhf): Likewise.
43287 [non-C99-based standards] (cbrtf): Likewise.
43288 [non-C99-based standards] (expm1f): Likewise.
43289 [non-C99-based standards] (ilogbf): Likewise.
43290 [non-C99-based standards] (log1pf): Likewise.
43291 [non-C99-based standards] (logbf): Likewise.
43292 [non-C99-based standards] (nextafterf): Likewise.
43293 [non-C99-based standards] (remainderf): Likewise.
43294 [non-C99-based standards] (rintf): Likewise.
43295 [non-C99-based standards] (scalbf): Likewise.
43296 [non-C99-based standards] (copysignl): Likewise.
43297 [non-C99-based standards] (exp2l): Likewise.
43298 [non-C99-based standards] (log2l): Likewise.
43299 [non-C99-based standards] (modfl): Allow.
43300 [non-C99-based standards] (erfl): Do not allow.
43301 [non-C99-based standards] (erfcl): Likewise.
43302 [non-C99-based standards] (gammal): Likewise.
43303 [non-C99-based standards] (hypotl): Likewise.
43304 [non-C99-based standards] (j0l): Likewise.
43305 [non-C99-based standards] (j1l): Likewise.
43306 [non-C99-based standards] (jnl): Likewise.
43307 [non-C99-based standards] (lgammal): Likewise.
43308 [non-C99-based standards] (tgammal): Likewise.
43309 [non-C99-based standards] (y0l): Likewise.
43310 [non-C99-based standards] (y1l): Likewise.
43311 [non-C99-based standards] (ynl): Likewise.
43312 [non-C99-based standards] (isnanl): Likewise.
43313 [non-C99-based standards] (acoshl): Likewise.
43314 [non-C99-based standards] (asinhl): Likewise.
43315 [non-C99-based standards] (atanhl): Likewise.
43316 [non-C99-based standards] (cbrtl): Likewise.
43317 [non-C99-based standards] (expm1l): Likewise.
43318 [non-C99-based standards] (ilogbl): Likewise.
43319 [non-C99-based standards] (log1pl): Likewise.
43320 [non-C99-based standards] (logbl): Likewise.
43321 [non-C99-based standards] (nextafterl): Likewise.
43322 [non-C99-based standards] (remainderl): Likewise.
43323 [non-C99-based standards] (rintl): Likewise.
43324 [non-C99-based standards] (scalbl): Likewise.
43325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43326 [non-C99-based standards] (FP_*): Do not allow.
43327 [C99-based standards] (FP_*): Change to
43328 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43329 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43330 allow.
43331 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43332 (SIG_ERR): Likewise.
43333 [X/Open-based standards] (SIG_HOLD): Likewise.
43334 (SIG_IGN): Likewise.
43335 (SIGABRT): Use macro-int-constant. Specify type. Require
43336 positive value.
43337 (SIGFPE): Likewise.
43338 (SIGILL): Likewise.
43339 (SIGINT): Likewise.
43340 (SIGSEGV): Likewise.
43341 (SIGTER): Likewise.
43342 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43343 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43344 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43345 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43346 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43347 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43348 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43349 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43350 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43351 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43352 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43353 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43354 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43355 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43356 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43357 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43358 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43359 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43360 [X/Open-based standards] (SIGTRAP): Likewise.
43361 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43362 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43363 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43364 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43365 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43366 allow.
43367
b9f1922d
IW
433682012-05-08 Ian Wienand <ianw@vmware.com>
43369
43370 [BZ #14080]
43371 * time/tzset.c (__tzset_parse_tz): Update default rules for
43372 daylight time changes in the Energy Policy Act of 2005.
43373
1db86e88
AJ
433742012-05-09 Andreas Jaeger <aj@suse.de>
43375
43376 [BZ #13983]
43377 * elf/ldconfig.c (parse_conf): Change string to make clear that
43378 ldconfig only issued a warning if ld.so.conf does not exist.
43379
dee4a4e3
DM
433802012-05-08 David S. Miller <davem@davemloft.net>
43381
ee0db190
DM
43382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43383 movxtod instead of popping the value on the stack.
43384
dee4a4e3
DM
43385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43386
6a43ec98
CD
433872012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43388
43389 * config.h.in: Add HAVE_ARM_PCS_VFP.
43390
05c2c961
RMG
433912012-05-08 Roland Mc Grath <roland@hack.frob.com>
43392
bcfe3a54
ST
43393 [BZ #13979]
43394 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43395 checking but the checks are disabled for any reason.
05c2c961 43396
4b30f61a
L
433972012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43398
43399 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43400 and ELF64_R_TYPE with ELFW(R_TYPE).
43401
eee2bc67
JM
434022012-05-08 Joseph Myers <joseph@codesourcery.com>
43403
7ea5391a
JM
43404 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43405 (ulimit): Likewise.
43406
eee2bc67
JM
43407 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43408 (settimeofday): Likewise.
43409
abb66a67
MF
434102012-05-08 Mike Frysinger <vapier@gentoo.org>
43411
43412 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43413 a struct th_u2 inside the union, and move tu_block/tu_code into
43414 a new th_u3 union of tu_block/tu_code inside of that. Move
43415 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43416 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43417 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43418 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43419 (th_stuff): Change to th_u1.tu_stuff.
43420 (th_data): Define.
43421 (th_msg): Change to th_u1.th_u2.tu_data.
43422
7f18b530
DM
434232012-05-07 David S. Miller <davem@davemloft.net>
43424
05760585
DM
43425 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43426
7f18b530
DM
43427 [BZ #14074]
43428 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43429 (SETUP_PIC_REG): Use it.
43430 (SETUP_PIC_REG_LEAF): Use it.
43431
495fd99f
JM
434322012-05-07 Joseph Myers <joseph@codesourcery.com>
43433
43434 [BZ #13885]
43435 [BZ #13923]
43436 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43437 USE_AS_EXPM1L.
43438 (EXPL_FINITE): Likewise.
43439 (FLDLOG): Likewise.
43440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43441 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43442 e_expl.S.
43443 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43444 USE_AS_EXPM1L.
43445 (EXPL_FINITE): Likewise.
43446 (FLDLOG): Likewise.
43447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43448 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43449 e_expl.S.
43450 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43451 test of -max_value argument for long double.
43452 * sysdeps/i386/fpu/libm-test-ulps: Update.
43453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43454
6693d694
DM
434552012-05-06 David S. Miller <davem@davemloft.net>
43456
43457 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43458 quad soft-float symbols whose references which are compiler
43459 generated.
43460 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43461
6c23e11c
JM
434622012-05-06 Joseph Myers <joseph@codesourcery.com>
43463
d8b82cad
JM
43464 [BZ #13884]
43465 [BZ #13914]
43466 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43467 USE_AS_EXP10L.
43468 (EXPL_FINITE): Likewise.
43469 (FLDLOG): Likewise.
43470 (c0): Likewise.
43471 (c1): Likewise.
43472 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43473 Adjust comments for base varying.
43474 (__expl_finite): Change alias to EXPL_FINITE.
43475 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43476 e_expl.S.
43477 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43478 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43479 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43480 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43481 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43482 USE_AS_EXP10L.
43483 (EXPL_FINITE): Likewise.
43484 (FLDLOG): Likewise.
43485 (c0): Likewise.
43486 (c1): Likewise.
43487 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43488 Adjust comments for base varying.
43489 (__expl_finite): Change alias to EXPL_FINITE.
43490 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43491 tests for bugs.
43492 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43493
6c23e11c
JM
43494 [BZ #14064]
43495 * math/libm-test.inc (check_float_internal): Correct ulp
43496 calculation for subnormal expected results.
43497
29ba805c
AJ
434982012-05-06 Andreas Jaeger <aj@suse.de>
43499
43500 * Makeconfig (+math-flags): New, set to -frounding-math.
43501 (+cflags): Add +math-flags so that all of glibc gets compiled with
43502 it.
43503
43504 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43505
7b17aeda
JM
435062012-05-05 Joseph Myers <joseph@codesourcery.com>
43507
5779f134
JM
43508 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43509 Disable one test.
43510
41498f4d
JM
43511 [BZ #13787]
43512 [BZ #13922]
43513 [BZ #14036]
43514 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43515 (__ieee754_expl): Allow for and saturate large arguments.
43516 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43517 (u_threshold): Likewise.
43518 (__exp): Call __ieee754_exp before checking for overflow and
43519 underflow.
43520 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43521 (u_threshold): Likewise.
43522 (__expf): Call __ieee754_expf before checking for overflow and
43523 underflow.
43524 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43525 (u_threshold): Likewise.
43526 (__expl): Call __ieee754_expl before checking for overflow and
43527 underflow.
43528 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43529 (__ieee754_expl): Allow for and saturate large arguments.
43530 * math/libm-test.inc (exp_test): Add another test. Do not allow
43531 missing overflow exception on overflow.
43532 (expm1_test): Do not allow missing overflow exception on overflow.
43533
6698b8bf
JM
43534 * sysdeps/i386/fpu/e_expl.c: Move to ...
43535 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43536 rather than using inline asm.
43537 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43538 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43539 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43540
7b17aeda
JM
43541 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43542 (nice): Likewise.
43543 (poll): Likewise.
43544 (signal): Likewise.
43545 (time): Likewise.
43546 (times): Likewise.
43547
f7c85819
JM
435482012-05-04 Joseph Myers <joseph@codesourcery.com>
43549
43550 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43551 sysdeps/unix/common/syscalls.list.
43552 (fchmod): Likewise.
43553 (fchown): Likewise.
43554 (ftruncate): Likewise.
43555 (getrusage): Likewise.
43556 (gettimeofday): Likewise.
43557 (setpgid): Likewise.
43558 (setregid): Likewise.
43559 (setreuid): Likewise.
43560 (sigaction): Likewise.
43561 (truncate): Likewise.
43562 (vhangup): Likewise.
43563 * sysdeps/unix/common/syscalls.list: Remove file.
43564 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43565 * sysdeps/unix/sysv/linux/Implies: Likewise.
43566
336270d0
L
435672012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43568
43569 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43570 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43571 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43572 Moved to ...
43573 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43574 Here.
43575 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43576 to ...
43577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43578 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43579 to ...
43580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43581 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43582 to ...
43583 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43584 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43585 to ...
43586 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43587 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43588 to ...
43589 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43590 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43591 to ...
43592 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43593 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43594 to ...
43595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43596 Here.
43597 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43598 to ...
43599 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43600 Here.
43601 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43602 to ...
43603 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43604 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43605 Moved to ...
43606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43607 Here.
43608 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43609 to ...
43610 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43611
d128e450
JM
436122012-05-04 Joseph Myers <joseph@codesourcery.com>
43613
fa8ee516
JM
43614 * sysdeps/unix/common/bits/dirent.h: Remove file.
43615 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43616
d128e450
JM
43617 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43618 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43619 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43620 * sysdeps/unix/bsd/isatty.c: Likewise.
43621 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43622 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43623 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43624
ff8faaf0 436252012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43626
62881be4 43627 [BZ #13563]
31dc8730
AZ
43628 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43629 long double comparison inaccuracies.
43630 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43632
6fef930c
AS
436332012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43634
43635 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43636 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43637
8f203e6c
JM
436382012-05-04 Joseph Myers <joseph@codesourcery.com>
43639
43640 [BZ #14049]
43641 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43642 nonzero digits before rounding a hex value.
43643 * stdlib/tst-strtod.c (tests): Add another test.
43644
5197d9c2
AK
436452012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43646
43647 * sysdeps/s390/fpu/libm-test-ulps: Update.
43648
f0c1dedf
AJ
436492012-05-03 Andreas Jaeger <aj@suse.de>
43650
43651 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43652 does not get optimized out.
43653 (malloc_opt_barrier): New.
43654
a65ef2ae 436552012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43656 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43657
2b942cb7 43658 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43659 intermediate file deletion.
2b942cb7 43660 (generated): Add .symlist files.
a65ef2ae 43661
54b71e02
JM
436622012-05-03 Joseph Myers <joseph@codesourcery.com>
43663
43664 [BZ #13775]
43665 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43666 Redirect under this condition.
43667 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43668 [__USE_GNU] (__dprintf_chk): Not under this condition.
43669 [__USE_GNU] (__vdprintf_chk): Likewise.
43670 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43671 under this condition.
43672 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43673 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43674 [__USE_XOPEN2K8] (vdprintf): Likewise.
43675 [__USE_GNU] (__dprintf_chk): Not under this condition.
43676 [__USE_GNU] (__vdprintf_chk): Likewise.
43677 [__USE_GNU] (dprintf): Likewise.
43678 [__USE_GNU] (vdprintf): Likewise.
43679
d3dfcc41
RM
436802012-05-03 Roland McGrath <roland@hack.frob.com>
43681
43682 * elf/Makefile (common-generated): Set this instead of generated for
43683 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43684 $(all-built-dso)-derived lists.
43685
7ac30cc5
AJ
436862012-05-03 Andreas Jaeger <aj@suse.de>
43687
0c51e550
AJ
43688 * sysdeps/i386/fpu/libm-test-ulps: Update.
43689
7ac30cc5
AJ
43690 * FAQ: Removed.
43691 * FAQ.in: Likewise.
43692 * scripts/gen-FAQ.pl: Likewise.
43693 * manual/install.texi (Installation): Point to online location of
43694 FAQ.
43695 * Makefile (files-for-dist): Remove FAQ.
43696 (FAQ): Remove.
43697
d4c2917f
AM
436982012-05-02 Allan McRae <allan@archlinux.org>
43699
43700 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43701 (LDFLAGS-reldepmod5.so): Likewise.
43702 (LDFLAGS-reldep6mod1.so): Likewise.
43703 (LDFLAGS-reldep6mod4.so): Likewise.
43704 (LDFLAGS-reldep8mod3.so): Likewise.
43705 (LDFLAGS-unload4mod1.so): Likewise.
43706 (LDFLAGS-unload4mod2.so): Likewise.
43707 (LDFLAGS-tst-initorder): Likewise.
43708 (LDFLAGS-tst-initordera2.so): Likewise.
43709 (LDFLAGS-tst-initordera3.so): Likewise.
43710 (LDFLAGS-tst-initordera4.so): Likewise.
43711 (LDFLAGS-tst-initorderb2.so): Likewise.
43712 (LDFLAGS-noload): Likewise.
43713 (LDFLAGS-next): Likewise.
43714 (LDFLAGS-order2mod1.so): Likewise.
43715 (LDFLAGS-order2mod2.so): Likewise.
43716 (LDFLAGS-tst-initorder2): Likewise.
43717 (LDFLAGS-tst-initorder2a.so): Likewise.
43718 (LDFLAGS-tst-initorder2b.so): Likewise.
43719 (LDFLAGS-tst-initorder2c.so): Likewise.
43720 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43721
d77f993f
DM
437222012-05-02 David S. Miller <davem@davemloft.net>
43723
43724 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43725
171a70b4
PP
437262012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43727
43728 [BZ #14055]
43729 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43730
0be196ad
AJ
437312012-05-02 Andreas Jaeger <aj@suse.de>
43732
43733 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43734 since we manipulate rounding mode.
43735 (CPPFLAGS-test-idouble.c): Likewise.
43736 (CPPFLAGS-test-ifloat.c): Likewise.
43737 (CFLAGS-test-ldouble.c): Likewise.
43738 (CFLAGS-test-double.c): Likewise.
43739 (CFLAGS-test-float.c): Likewise.
43740 (CFLAGS-test-misc.c): Likewise.
43741 (CFLAGS-test-test-fenv.c): Likewise.
43742
4f9d04aa
AZ
437432012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43744
2b942cb7
RM
43745 [BZ #2550]
43746 [BZ #2570]
43747 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43748 comparisons to determine direction to adjust input.
4f9d04aa 43749
82a79e7d
RM
437502012-05-01 Roland McGrath <roland@hack.frob.com>
43751
f5a01ca9
RM
43752 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43753 output to the target.
43754
90fe4186
RM
43755 * scripts/localplt.awk: New file.
43756 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43757 (check-localplt-CFLAGS): Variable removed.
43758 ($(all-built-dso:=.jmprel)): New static pattern rule.
43759 (generated): Add those targets.
43760 (localplt-built-dso): New variable.
43761 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43762
43763 * elf/check-localplt.c: File removed.
43764
82397ed6
RM
43765 * scripts/check-execstack.awk: New file.
43766 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43767 (check-execstack-CFLAGS): Variable removed.
43768 ($(objpfx)check-execstack.h): Target removed.
43769 ($(objpfx)execstack-default): New target.
43770 (generated): Add that instead of check-execstack.h.
43771 ($(all-built-dso:=.phdr)): New static pattern rule.
43772 (generated): Add those targets.
43773 * elf/check-execstack.c: File removed.
43774
82a79e7d
RM
43775 * scripts/check-textrel.awk: New file.
43776 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43777 (check-textrel-CFLAGS): Variable removed.
43778 (all-built-dso): Use := to define.o
43779 ($(all-built-dso:=.dyn)): New static pattern rule.
43780 (generated): Add those targets.
43781 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43782 * config.make.in (READELF): New substituted variable.
43783 * elf/check-textrel.c: File removed.
43784
62fde54f 437852012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43786
615605c9
JM
43787 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43788 allow.
43789 * conform/data/ctype.h-data [C99-based standards] (isblank):
43790 Expect function.
43791 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43792 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43793 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43794 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43795 Specify type. Require positive value.
43796 (EILSEQ): Likewise.
43797 (ERANGE): Likewise.
43798 [ISO || POSIX] (EILSEQ): Do not expect.
43799 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43800 Specify type. Require positive value.
43801 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43802 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43804 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43806 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43807 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43808 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43809 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43810 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43811 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43812 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43813 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43814 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43815 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43816 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43817 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43818 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43819 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43820 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43821 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43822 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43823 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43824 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43825 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43826 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43827 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43828 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43829 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43830 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43831 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43832 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43833 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43834 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43835 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43836 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43837 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43838 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43839 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43848 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43860 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43861 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43862 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43863 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43864 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43865 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43866 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43867 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43868 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43869 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43870 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43871 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43872 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43873 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43874 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43875 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43876 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43877 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43878 Require >= 2.
43879 (FLT_ROUNDS): Expect as macro, not constant.
43880 (FLT_MANT_DIG): Use macro-int-constant.
43881 (DBL_MANT_DIG): Likewise.
43882 (LDBL_MANT_DIG): Likewise.
43883 (FLT_DIG): Likewise.
43884 (DBL_DIG): Likewise.
43885 (LDBL_DIG): Likewise.
43886 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43887 (DBL_MIN_EXP): Likewise.
43888 (LDBL_MIN_EXP): Likewise.
43889 (FLT_MAX_EXP): Use macro-int-constant.
43890 (DBL_MAX_EXP): Likewise.
43891 (LDBL_MAX_EXP): Likewise.
43892 (FLT_MAX_10_EXP): Likewise.
43893 (DBL_MAX_10_EXP): Likewise.
43894 (LDBL_MAX_10_EXP): Likewise.
43895 (FLT_MAX): Use macro-constant.
43896 (DBL_MAX): Likewise.
43897 (LDBL_MAX): Likewise.
43898 (FLT_EPSILON): Use macro-constant. Give upper bound.
43899 (DBL_EPSILON): Likewise.
43900 (LDBL_EPSILON): Likewise.
43901 (FLT_MIN): Likewise.
43902 (DBL_MIN): Likewise.
43903 (LDBL_MIN): Likewise.
43904 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43905 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43906 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43907 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43908 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43909 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43910 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43911 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43912 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43913 [ISO11] (FLT_TRUE_MIN): Likewise.
43914 [ISO11] (LDBL_TRUE_MIN): Likewise.
43915 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43916 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43917 (SCHAR_MIN): Use macro-int-constant. Specify type.
43918 (SCHAR_MAX): Likewise.
43919 (UCHAR_MAX): Likewise.
43920 (CHAR_MIN): Likewise.
43921 (CHAR_MAX): Likewise.
43922 (MB_LEN_MAX): Use macro-int-constant.
43923 (SHRT_MIN): Use macro-int-constant. Specify type.
43924 (SHRT_MAX): Likewise.
43925 (USHRT_MAX): Likewise.
43926 (INT_MAX): Likewise.
43927 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43928 bound negative.
43929 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43930 bound with "U".
43931 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43932 bound with "L".
43933 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43934 bound negative. Suffix upper bound with "L".
43935 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43936 bound with "UL".
43937 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43938 Specify type.
43939 [C99-based standards] (LLONG_MAX): Likewise.
43940 [C99-based standards] (ULLONG_MAX): Likewise.
43941 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43942 == 0.
43943 [ISO11] (max_align_t): Require type.
43944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43945
c9140a62
JM
43946 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43947 from $CFLAGS, without defining away __attribute__ calls.
43948 (checknamespace): Use $CFLAGS_namespace.
43949
9af0bf29
JM
43950 * conform/conformtest.pl (@keywords): Only include C99 keywords
43951 for standards based on C99 or C11.
43952
343222a2
JM
43953 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43954 Disable tests.
43955 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43956 UNIX98]: Likewise.
43957
661f8cf0
JM
43958 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43959 usability of symbols in #if.
43960
ee74b9cb
JM
43961 * conform/conformtest.pl: If macro or constant types start
43962 "promoted:", expect the symbol to be of the following type
43963 promoted by the integer promotions.
62fde54f 43964
aafc49b3
JM
43965 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43966 in one place. Also handle "macro-constant".
43967
fefdf574
JM
43968 * conform/conformtest.pl: Only accept expected macro values with
43969 "==". Parse all "macro" lines in one place.
43970 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43971
f2d922fe
JM
43972 * conform/conformtest.pl: Handle braced types on "constant" lines
43973 instead of handling "typed-constant".
43974 * conform/data/signal.h-data: Use "constant" instead of
43975 "typed-constant".
43976
d22956c9
JM
43977 * conform/conformtest.pl: Handle "optional-" at start of lines in
43978 one place rather than duplicating several cases. Handle each
43979 format of "macro" line with initial "optional-".
43980
028e2e38
JM
43981 * conform/conformtest.pl: Only accept expected constant or
43982 optional-constant values with "==". Parse all "constant" lines in
43983 one place. Parse all "optional-constant" lines in one place.
43984 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43985 * conform/data/fmtmsg.h-data: Likewise.
43986 * conform/data/netinet/in.h-data: Likewise.
43987 * conform/data/tar.h-data: Likewise.
43988 * conform/data/limits.h-data: Use "==" form on "constant" and
43989 "optional-constant" lines.
43990
1b8f2850
JM
43991 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43992 Use -std=c99 for XOPEN2K.
43993 (@knownproblems): Remove.
43994 (newtoken): Don't check %isknown.
43995
a05a144b
JM
43996 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43997 Do not expect macro.
43998 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43999 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44000 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44001 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44002 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44003 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44004 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44005 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44006 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44007 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44008 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44009 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44010 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44011 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44012 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44013 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44014 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44015 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44016 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44017 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44018 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44019 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44020 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44021 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44022 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44023 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44024 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44025 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44026 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44027 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44028 [XPG3] (acosh): Likewise.
44029 [XPG3] (asinh): Likewise.
44030 [XPG3] (atanh): Likewise.
44031 [XPG3] (cbrt): Likewise.
44032 [XPG3] (expm1): Likewise.
44033 [XPG3] (ilogb): Likewise.
44034 [XPG3] (log1p): Likewise.
44035 [XPG3] (logb): Likewise.
44036 [XPG3] (nextafter): Likewise.
44037 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44038 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44039 [XPG3] (remainder): Likewise.
44040 [XPG3] (rint): Likewise.
44041 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44042 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44043 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44044 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44045 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44046 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44047 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44048 [UNIX98 || XOPEN2K] (scalb): Expect.
44049 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44050 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44051 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44052 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44053 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44054 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44055 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44056 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44057 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44058 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44059 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44060 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44061 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44062 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44063 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44064 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44065 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44066 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44067 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44068 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44069 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44070 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44071 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44072 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44073 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44074 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44075 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44076 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44077 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44089 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44090 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44171 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44172 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44173 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44174 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44175 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44176 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44177 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44178 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44179 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44180 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44181 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44182 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44183 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44184 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44185 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44186
73c5ebe3
JM
44187 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44188 _XOPEN_SOURCE_EXTENDED for XPG4.
44189
39c33b6c
JM
44190 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44191
62fde54f
JM
44192 * Makeconfig (localtime): Remove variable.
44193 (inst_localtime-file): Likewise.
44194
0741d64c
AS
441952012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44196
44197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44198 Update.
44199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44200 Update.
44201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44202 Update.
44203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44204 Update.
44205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44206 Update.
44207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44208 Update.
44209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44210 Update.
44211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44212 Update.
44213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44214 Update.
44215
7cb029ee
JM
442162012-05-01 Joseph Myers <joseph@codesourcery.com>
44217
44218 [BZ #2550]
44219 [BZ #2570]
44220 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44221 comparisons to determine direction to adjust input.
44222 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44223 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44224 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44225 Likewise.
44226 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44227 Likewise.
44228 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44229 Likewise.
44230 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44231 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44232 Likewise.
44233 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44234 Likewise.
44235 * math/libm-test.inc (nexttoward_test): Add more tests.
44236
412bd966
AS
442372012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44238
44239 [BZ #14040]
44240 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44241 in version GLIBC_2.1, not GLIBC_2.0.
44242 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44243 Likewise.
44244
9568c0c2
JM
442452012-04-30 Joseph Myers <joseph@codesourcery.com>
44246
adfbc8ac
JM
44247 [BZ #13942]
44248 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44249 (1 - x) * (1 + x).
44250 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44251 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44252 * math/libm-test.inc (acos_test): Add more tests.
44253 (asin_test): Likewise.
44254 * sysdeps/i386/fpu/libm-test-ulps: Update.
44255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44256
5ba3cc69
JM
44257 [BZ #14034]
44258 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44259 of square root.
44260 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44261 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44262 * math/libm-test.inc (acos_test_tonearest): New function.
44263 (acos_test_towardzero): Likewise.
44264 (acos_test_downward): Likewise.
44265 (acos_test_upward): Likewise.
44266 (asin_test_tonearest): Likewise.
44267 (asin_test_towardzero): Likewise.
44268 (asin_test_downward): Likewise.
44269 (asin_test_upward): Likewise.
44270 (main): Call the new functions.
44271 * sysdeps/i386/fpu/libm-test-ulps: Update.
44272 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44273
9568c0c2
JM
44274 [BZ #13884]
44275 [BZ #13924]
44276 * math/e_exp10.c: Include <float.h>.
44277 (__ieee754_exp10): Handle underflow here rather than multiplying
44278 large negative argument by M_LN10.
44279 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44280 of __ieee754_expf.
44281 * math/e_exp10l.c: Include <float.h>.
44282 (__ieee754_exp10l): Handle underflow here rather than multiplying
44283 large negative argument by M_LN10l.
44284 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44285 spurious overflow exception on underflow.
44286
5ac3ea17
MP
442872012-04-29 Marek Polacek <polacek@redhat.com>
44288
44289 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44290 (__fortify_function): New macro.
44291 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44292 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44293 __extern_always_inline.
44294 * libio/bits/stdio2.h: Likewise.
44295 * libio/bits/stdio.h: Likewise.
44296 * string/string.h: Likewise.
44297 * string/bits/string3.h: Likewise.
44298 * include/stdio.h: Likewise.
44299 * stdlib/bits/stdlib.h: Likewise.
44300 * stdlib/stdlib.h: Likewise.
44301 * rt/bits/mqueue2.h: Likewise.
44302 * rt/mqueue.h: Likewise.
44303 * posix/bits/unistd.h: Likewise.
44304 * posix/unistd.h: Likewise.
44305 * io/bits/poll2.h: Likewise.
44306 * io/bits/fcntl2.h: Likewise.
44307 * io/fcntl.h: Likewise.
44308 * io/sys/poll.h: Likewise.
44309 * misc/bits/syslog.h: Likewise.
44310 * misc/bits/syslog-ldbl.h: Likewise.
44311 * misc/sys/syslog.h: Likewise.
44312 * socket/bits/socket2.h: Likewise.
44313 * socket/sys/socket.h: Likewise.
44314 * debug/tst-chk1.c: Likewise.
44315 * wcsmbs/bits/wchar2.h: Likewise.
44316 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44317 * wcsmbs/wchar.h: Likewise.
44318
ecf0ebfb
AJ
443192012-04-29 Andreas Jaeger <aj@suse.de>
44320
44321 * Makerules (tests): Remove enable-check-abi protection.
44322 (check-abi-warn): Remove.
44323 (check-abi-%): Remove check-abi-warn usage.
44324
44325 * configure.in: Remove check-abi configure option.
44326 * configure: Regenerated.
44327 * config.make.in (enable-check-abi): Remove.
44328
6d5c57fa
AS
443292012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44330
24c5d07e 44331 [BZ #14033]
ded5180a
AS
44332 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44333 double functions to double *_finite functions.
44334
7e0d315d
AS
44335 [BZ #13941]
44336 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44337 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44338 LDBL_MIN_EXP.
44339 * stdio-common/Makefile (tests): Add tst-sprintf3.
44340 * stdio-common/tst-sprintf3.c: New file.
44341
6d5c57fa
AS
44342 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44343 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44344
0749ff8b
JM
443452012-04-28 Joseph Myers <joseph@codesourcery.com>
44346
44347 * conform/conformtest.pl: Remove duplicate typed-constant
44348 handling.
44349
8dbd5d7b
DM
443502012-04-28 David S. Miller <davem@davemloft.net>
44351
44352 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44353 (check-abi-%): Remove AWK script prerequisite and explicit
44354 abilist directory.
44355 (check-abi): Rewrite to just diff the symlist with the abilist.
44356 (config-tls, config-abi-config): Delete, no longer used.
44357 (update-abi-%): Remove AWK script and explicit abilist directory.
44358 (update-abi): Rewrite to simply compare and conditionally copy the
44359 symlist and the sysdep abilist file. Remove update-abi-config
44360 checks.
44361 * abilist/ld.abilist: Remove.
44362 * abilist/libBrokenLocale.abilist: Remove.
44363 * abilist/libanl.abilist: Remove.
44364 * abilist/libcrypt.abilist: Remove.
44365 * abilist/libdl.abilist: Remove.
44366 * abilist/librt.abilist: Remove.
44367 * abilist/libthread_db.abilist: Remove.
44368 * abilist/libutil.abilist: Remove.
44369 * scripts/extract-abilist.awk: Remove.
44370 * scripts/merge-abilist.awk: Remove.
44371 * sysdeps/generic/libcidn.abilist: New file.
44372 * sysdeps/generic/libnss_compat.abilist: New file.
44373 * sysdeps/generic/libnss_db.abilist: New file.
44374 * sysdeps/generic/libnss_dns.abilist: New file.
44375 * sysdeps/generic/libnss_files.abilist: New file.
44376 * sysdeps/generic/libnss_hesiod.abilist: New file.
44377 * sysdeps/generic/libnss_nis.abilist: New file.
44378 * sysdeps/generic/libnss_nisplus.abilist: New file.
44379 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44380 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44381 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44382 file.
44383 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44384 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44385 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44386 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44387 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44388 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44389 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44390 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44391 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44392 file.
44393 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44394 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44395 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44396 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44397 file.
44398 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44399 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44400 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44401 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44402 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44403 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44404 file.
44405 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44406 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44407 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44408 file.
44409 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44410 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44411 New file.
44412 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44413 New file.
44414 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44415 New file.
44416 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44417 New file.
44418 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44419 New file.
44420 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44421 New file.
44422 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44423 New file.
44424 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44425 New file.
44426 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44427 New file.
44428 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44429 New file.
44430 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44431 New file.
44432 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44433 New file.
44434 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44435 New file.
44436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44437 file.
44438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44439 New file.
44440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44441 New file.
44442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44443 file.
44444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44445 New file.
44446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44447 New file.
44448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44449 file.
44450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44451 New file.
44452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44453 New file.
44454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44455 New file.
44456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44457 New file.
44458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44459 New file.
44460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44461 New file.
44462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44464 file.
44465 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44466 New file.
44467 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44468 file.
44469 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44470 file.
44471 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44472 file.
44473 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44474 file.
44475 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44476 file.
44477 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44478 New file.
44479 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44480 file.
44481 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44482 file.
44483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44484 New file.
44485 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44486 file.
44487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44488 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44489 file.
44490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44491 New file.
44492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44493 file.
44494 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44495 file.
44496 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44497 file.
44498 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44499 file.
44500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44501 file.
44502 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44503 New file.
44504 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44505 file.
44506 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44507 file.
44508 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44509 New file.
44510 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44511 file.
44512 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44513 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44514 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44515 file.
44516 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44517 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44518 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44519 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44520 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44521 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44522 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44523 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44524 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44525 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44527 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44528 file.
44529 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44530 New file.
44531 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44532 file.
44533 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44534 file.
44535 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44536 file.
44537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44538 file.
44539 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44540 file.
44541 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44542 New file.
44543 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44544 New file.
44545 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44546 file.
44547 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44548 New file.
44549 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44550 file.
44551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44552 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44553 file.
44554 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44555 New file.
44556 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44557 file.
44558 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44559 file.
44560 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44561 file.
44562 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44563 file.
44564 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44565 file.
44566 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44567 New file.
44568 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44569 New file.
44570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44571 file.
44572 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44573 New file.
44574 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44575 file.
44576
41d73a1b
JM
445772012-04-28 Joseph Myers <joseph@codesourcery.com>
44578
44579 * conform/conformtest.pl: Fix typo in handling typed-constant from
44580 allow-header.
44581
28aeeda4
JM
445822012-04-27 Joseph Myers <joseph@codesourcery.com>
44583
adae8f5e
JM
44584 * README: Cut down references to pre-2.6 Linux kernels and
44585 Linuxthreads. Update lists of configurations in libc and ports
44586 and sort alphabetically. Say "or newer" with Linux kernel version
44587 requirements.
44588
28aeeda4
JM
44589 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44590
a462cb63
RA
445912012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44592
44593 [BZ #887]
44594 * math/libm-test.inc (logb_test_downward): New test to expose
44595 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44596 rounding mode.
44597
6ad3493e
JM
445982012-04-27 Joseph Myers <joseph@codesourcery.com>
44599
44600 [BZ #14027]
44601 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44602 to be done.
44603 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44604 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44605
2ce4f015
JM
446062012-04-26 Joseph Myers <joseph@codesourcery.com>
44607
5aeb141a
JM
44608 * sysdeps/unix/i386/brk.S: Remove file.
44609 * sysdeps/unix/i386/dl-brk.S: Likewise.
44610 * sysdeps/unix/i386/pipe.S: Likewise.
44611 * sysdeps/unix/i386/sigreturn.S: Likewise.
44612 * sysdeps/unix/i386/syscall.S: Likewise.
44613 * sysdeps/unix/i386/vfork.S: Likewise.
44614 * sysdeps/unix/i386/wait.S: Likewise.
44615
7143acae
JM
44616 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44617 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44618
2ce4f015
JM
44619 * configure.in (arm*-none*): Do not allow without
44620 --enable-hacker-mode.
44621 (netbsd*): Remove case setting base_os.
44622 (386bsd*): Likewise.
44623 (freebsd*): Likewise.
44624 (bsdi*): Likewise.
44625 (osf*): Likewise.
44626 (sunos*): Likewise.
44627 (ultrix*): Likewise.
44628 (newsos*): Likewise.
44629 (dynix*): Likewise.
44630 (*bsd*): Likewise.
44631 (sysv*): Likewise.
44632 (isc*): Likewise.
44633 (esix*): Likewise.
44634 (sco*): Likewise.
44635 (minix*): Likewise.
44636 (irix4*): Likewise.
44637 (irix6*): Likewise.
44638 (solaris[2-9]*): Likewise.
44639 (none): Likewise.
44640 * configure: Regenerated.
44641
0ac229c8
AZ
446422012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44643
44644 [BZ #11521]
44645 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44646 overflow or cancellation in calculating denominator.
44647 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44648 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44649 down expression to avoid unexpected rounding in newer GCCs.
44650 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44651
33f244f4
DM
446522012-04-26 David S. Miller <davem@davemloft.net>
44653
44654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44655 long-double compat symbols.
44656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44657 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44663 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44664 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44665 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44666 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44667 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44668 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44669
cfa1f3e8
DM
446702012-04-25 David S. Miller <davem@davemloft.net>
44671
44672 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44673 HWCAP_* values only after the memory barriers have been defined.
44674 (atomic_full_barrier): Define.
44675 (atomic_read_barrier): Define.
44676 (atomic_write_barrier): Define.
44677
6e236b92
SP
446782012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44679
44680 * shlib-versions: Add libgcc_s version information.
44681 * sysdeps/generic/libgcc_s.h: Remove.
44682 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44683 libgcc_s.h.
44684 * sysdeps/gnu/unwind-resume.c: Likewise.
44685 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44686
aab39a09
DM
446872012-04-25 David S. Miller <davem@davemloft.net>
44688
44689 * sysdeps/unix/sparc/brk.S: Delete.
44690 * sysdeps/unix/sparc/dl-brk.S: Delete.
44691 * sysdeps/unix/sparc/pipe.S: Delete.
44692 * sysdeps/unix/sparc/sysdep.S: Delete.
44693 * sysdeps/unix/sparc/sysdep.h: Delete.
44694 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44695 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44696 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44697 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44698 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44699 (JUMPTARGET): Remove.
44700 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44701 sysdeps/unix/sparc/sysdep.h
44702 (ENTRY, END): Remove.
44703 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44704
a3cc4f48
JM
447052012-04-25 Joseph Myers <joseph@codesourcery.com>
44706
2ed8cda2
JM
44707 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44708 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44709 -DIS_IN_build.
44710
35d76d59
JM
44711 * timezone/README: Update upstream location and email address for
44712 tzcode and tzdata.
44713 * timezone/zdump.c: Update from tzcode 2012b.
44714 * timezone/zic.c: Likewise.
44715
a3cc4f48
JM
44716 * configure.in (libc_cv_as_needed): Remove test.
44717 * configure: Regenerated.
44718 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44719 conditional definition.
44720 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44721 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44722 * config.make.in (have-as-needed): Remove variable.
44723
ceab42c3
SP
447242012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44725 Paul Pluzhnikov <ppluzhnikov@google.com>
44726
44727 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44728 strings correctly.
44729
3ce2865f
CLT
447302012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44731
44732 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44733 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44734 * sysdeps/sh/strlen.S: Likewise.
44735
f37e0d68
JM
447362012-04-24 Joseph Myers <joseph@codesourcery.com>
44737
ae186e9a
JM
44738 * sysdeps/unix/fork.S: Remove file.
44739 * sysdeps/unix/i386/fork.S: Likewise.
44740 * sysdeps/unix/sparc/fork.S: Likewise.
44741
b96914af
JM
44742 * sysdeps/unix/system.c: Remove file.
44743 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44744
f37e0d68
JM
44745 * sysdeps/unix/getegid.S: Remove file.
44746 * sysdeps/unix/geteuid.S: Likewise.
44747
87ef29ca
RM
447482012-04-24 Roland McGrath <roland@hack.frob.com>
44749
83bcd236
RM
44750 * scripts/check-localplt.awk: New file.
44751 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44752 of diff.
44753 * scripts/data/localplt-generic.data: Add a comment.
44754
87ef29ca
RM
44755 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44756 NODE when __dir_mkfile failed.
44757 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44758 Reported by Ludovic Courtès <ludo@gnu.org>.
44759
e5a6e567
AJ
447602012-04-24 Andreas Jaeger <aj@suse.de>
44761
44762 * Makerules (common-clean): Also remove gen-as-const-headers
44763 files.
44764
c1820385
JM
447652012-04-24 Joseph Myers <joseph@codesourcery.com>
44766
44767 * Makerules (native-compile): Do not change working directory for
44768 build. Use $(OUTPUT_OPTION) in command.
44769 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44770
94e02fc4
AZ
447712012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44772
44773 [BZ #13886]
44774 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44775 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44776 * math/libm-test.inc (floor_test): Add more tests.
44777 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44778
3a533ca3
JM
447792012-04-24 Joseph Myers <joseph@codesourcery.com>
44780
940ab4b3
JM
44781 * sysdeps/unix/getdents.c: Remove file.
44782 * sysdeps/unix/sysv/getdents.c: Likewise.
44783 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44784
90e037bd
JM
44785 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44786 sysdeps/unix/mman/syscalls.list.
44787 (mmap): Likewise.
44788 (mprotect): Likewise.
44789 (msync): Likewise.
44790 (munmap): Likewise.
44791 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44792 * sysdeps/unix/mman/syscalls.list: Remove.
44793 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44794
3a533ca3
JM
44795 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44796 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44797 * configure: Regenerated.
44798 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44799 $(libgcc_s_suffix).
44800 * config.make.in (libgcc_s_suffix): Remove variable.
44801
1ad743de
JM
448022012-04-23 Joseph Myers <joseph@codesourcery.com>
44803
4ad451e2
JM
44804 * sysdeps/unix/sysv/gethostname.c: Move to ...
44805 * sysdeps/posix/gethostname.c: ... here.
44806
5e37ce39
JM
44807 * sysdeps/unix/execve.S: Remove file.
44808
1ad743de
JM
44809 * sysdeps/unix/_exit.S: Remove file.
44810
4e681b5b
AJ
448112012-04-23 Andreas Jaeger <aj@suse.de>
44812
44813 [BZ #13739]
44814 * manual/Makefile: Remove make dist support, there's no
44815 need for a stand-alone documentation tar ball.
44816 (TEXI2DVI): Define always, it's not in Makeconfig.
44817 (dist): Removed.
44818 (tar-it): Removed.
44819 (edition): Removed.
44820 (glibc-doc-$(edition).tar): Removed
44821 (%.Z): Removed.
44822 (%.gz): Removed.
44823 (%.uu): Removed.
44824 (ETAGS): Remove, it's in Makeconfig.
44825 (move-if-change): Remove, it's in Makeconfig.
44826
38686a03 448272012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44828
44829 [BZ #13970]
44830 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44831 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44832 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44833 (strtod_l, strtof_l, strtold_l): Remove __wur.
44834 It is not necessarily an error to ignore strtol's return value.
44835 One can reliably look at the stored endptr to decide whether
44836 the number had valid syntax.
44837
7c0616fa
AJ
448382012-04-21 Andreas Jaeger <aj@suse.de>
44839
803cb6b7 44840 [BZ #13739]
7c0616fa
AJ
44841 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44842
b0fe253f
JM
448432012-04-21 Joseph Myers <joseph@codesourcery.com>
44844
44845 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44846 * sysdeps/unix/sysv/Versions: Remove file.
44847
8280f22d
MT
448482012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44849
44850 [BZ #13927]
44851 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44852
75ce411f 448532012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44854
44855 [BZ #7064]
44856 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44857 version from __vm86.
44858
097d59fa
JM
448592012-04-20 Joseph Myers <joseph@codesourcery.com>
44860
a90f3bcb
JM
44861 * sysdeps/unix/common/lxstat.c: Remove file.
44862 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44863
edc7ea78
JM
44864 * sysdeps/unix/sysv/Makefile: Remove file.
44865
cb78c221
JM
44866 * sysdeps/unix/sysv/direct.h: Remove file.
44867
efa6a45f
JM
44868 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44869 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44870 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44871 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44872 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44873 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44874 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44875
9c9f2d0c
JM
44876 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44877
4541c83b
JM
44878 * sysdeps/unix/xmknod.c: Remove file.
44879 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44880
f5d153a0
JM
44881 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44882
aa746595
JM
44883 * sysdeps/unix/sysv/i386/time.S: Remove file.
44884
cce5905e
JM
44885 * sysdeps/unix/fxstat.c: Remove file.
44886 * sysdeps/unix/xstat.c: Likewise.
44887 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44888
37fa3841
JM
44889 * sysdeps/unix/sysv/sigaction.c: Remove file.
44890
ff1962a3
JM
44891 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44892 (sysdep_headers): Remove variable.
44893 [termio.h not in sysdep_headers] (generated): Likewise.
44894 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44895 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44896 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44897 * sysdeps/unix/sysv/tcflow.c: Likewise.
44898 * sysdeps/unix/sysv/tcflush.c: Likewise.
44899 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44900 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44901 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44902 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44903 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44904
e7740d31
JM
44905 * sysdeps/unix/siglist.c: Remove file.
44906
ee06f18b
JM
44907 * sysdeps/unix/getppid.S: Remove file.
44908
097d59fa
JM
44909 * sysdeps/unix/mkdir.c: Remove file.
44910 * sysdeps/unix/rmdir.c: Likewise.
44911
ff3d51ec
AS
449122012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44913
44914 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44915 ERR_MAX value.
44916 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44917 errlist-compat value.
44918
50f81fd7
DM
449192012-04-18 David S. Miller <davem@davemloft.net>
44920
44921 * sysdeps/generic/memcopy.h (reg_char): Delete.
44922 * debug/strcat_chk.c: Use char, not reg_char.
44923 * debug/strcpy_chk.c: Likewise.
44924 * debug/strncat_chk.c: Likewise.
44925 * debug/strncpy_chk.c: Likewise.
44926 * string/memchr.c: Likewise.
44927 * string/memrchr.c: Likewise.
44928 * string/rawmemchr.c: Likewise.
44929 * string/strcat.c: Likewise.
44930 * string/strchr.c: Likewise.
44931 * string/strchrnul.c: Likewise.
44932 * string/strcmp.c: Likewise.
44933 * string/strcpy.c: Likewise.
44934 * string/strncat.c: Likewise.
44935 * string/strncmp.c: Likewise.
44936 * string/strncpy.c: Likewise.
44937
8ff41c46
WS
449382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44939
44940 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44941 __builtin_memcopy is called when src and dest ranges are known to not
44942 overlap.
44943
6b652f46
WS
449442012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44945
44946 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44947 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44948 fwd_align_merge macro call.
44949 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44950 bwd_align_merge macro call.
44951 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44952
b282631e
WS
449532012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44954
44955 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44956 bwd_align_merge macros.
44957 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44958 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44959 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44960
95aa737c
DM
449612012-04-18 David S. Miller <davem@davemloft.net>
44962
44963 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44964
7a99a614
AJ
449652012-04-18 Andreas Jaeger <aj@suse.de>
44966
44967 [BZ# 6794]
44968 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44969 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44970 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44971
44972 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44973 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44974 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44975
44976 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44977 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44978 Adjust for changed ldbl-128 files.
44979
44980 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44981 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44982 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44983
e5270c23
DM
449842012-04-17 David S. Miller <davem@davemloft.net>
44985
44986 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44987
fb5e92c9
AS
449882012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44989
44990 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44991 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44992 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44993 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44994 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44995 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44996
76da7265
AZ
449972012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44998
44999 [BZ #6794]
45000 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45001 * math/libm-test.inc: Add ilogb errno and exception tests.
45002 * math/w_ilogb.c: New file: ilogb wrapper.
45003 * math/w_ilogbf.c: New file: ilogbf wrapper.
45004 * math/w_ilogbl.c: New file: ilogbl wrapper.
45005 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45006 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45007 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45008 exception being thrown with 0.0 as argument.
45009 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45010 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45011 exception being thrown with 0.0 as argument.
45012 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45013 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45014 exception being thrown with 0.0 as argument.
45015 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45016 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45017 exception being thrown with 0.0 as argument.
45018 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45019 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45020 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45021 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45022 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45023 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45024 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45025 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45026 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45027
0396e69d
PB
450282012-04-17 Petr Baudis <pasky@ucw.cz>
45029
45030 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45031 with altivec.
45032
750b5926
MP
450332012-04-16 Marek Polacek <polacek@redhat.com>
45034
45035 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45036
751728a1
MP
450372012-04-16 Marek Polacek <polacek@redhat.com>
45038
45039 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45040 operands of fdivp instruction.
45041
34a27407
L
450422012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45043
45044 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45045 * elf/tst-auditmod3b.c: Likewise.
45046 * elf/tst-auditmod4b.c: Likewise.
45047 * elf/tst-auditmod5b.c: Likewise.
45048 * elf/tst-auditmod6b.c: Likewise.
45049 * elf/tst-auditmod6c.c: Likewise.
45050 * elf/tst-auditmod7b.c: Likewise.
45051 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45052 * sysdeps/x86_64/preconfigure.in: Likewise.
45053 * sysdeps/x86_64/preconfigure: Regenerated.
45054
7e73e17d
L
450552012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45056
45057 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45058 __ILP32__.
45059
c7a6ab72
AB
450602012-04-13 Antoine Balestrat <merkil33@gmail.com>
45061
45062 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45063 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45064
a9e8e0e0
CL
450652012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45066
45067 [BZ #13973]
45068 * locale/iso-639.def: Fix gl language name. Spotted by
45069 Yaron Shahrabani.
45070
ec98af7d
RM
450712012-04-12 Roland McGrath <roland@hack.frob.com>
45072
45073 [BZ #2074]
45074 * libio/libio.h (__io_write_fn): Update comment.
45075
247c3ede
PB
450762012-04-12 Petr Baudis <pasky@ucw.cz>
45077
45078 [BZ #2074]
45079 * stdio.texi (Hook Functions): The user provided writer function
45080 is not allowed to return -1.
45081
55939d6d
DM
450822012-04-11 David S. Miller <davem@davemloft.net>
45083
45084 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45085
90020f5a
MF
450862012-04-11 Mike Frysinger <vapier@gentoo.org>
45087
45088 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45089 Add a leading slash to rtkaio.
45090
288f9098
JM
450912012-04-11 Jim Meyering <meyering@redhat.com>
45092
90020f5a
MF
45093 [BZ #11959]
45094 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45095 It is not necessarily an error to ignore fwrite's return
45096 value. One can reliably use ferror to test for errors after
45097 the fact.
288f9098 45098
4be2b570
L
450992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45100
45101 * bits/types.h (__snseconds_t): New type.
45102 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45103
45104 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45105 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45106 (__SNSECONDS_T_TYPE): Likewise.
45107 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45108 (__SNSECONDS_T_TYPE): Likewise.
45109 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45110 (__SNSECONDS_T_TYPE): Likewise.
45111
288f9098 451122012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45113
45114 [BZ #2636]
45115 * manual/time.texi (Processor Time): Return type of times is
45116 elapsed real time since an arbitrary point in the past.
45117 (CPU Time): Move CLK_TCK from here...
45118 (Processor Time): ...to here. Correct description.
45119 * manual/conf.texi (Constants for Sysconf): Correct description of
45120 _SC_CLK_TCK.
45121
d7dd4413
DM
451222012-04-10 David S. Miller <davem@davemloft.net>
45123
45124 [BZ #13967]
45125 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45126 where the is a gap between DT_REL(A) and DT_JMPREL.
45127
b46068fc
L
451282012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45129
45130 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45131 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45132 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45133
73d65cc3
SP
451342012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45135
45136 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45137 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45138 (dl_main): Handle --inhibit-cache.
45139 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45140 _dl_inhibit_cache.
45141 * elf/dl-load.c (_dl_map_object): Use it.
45142 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45143
bcc8d661
JM
451442012-04-09 Joseph Myers <joseph@codesourcery.com>
45145
8f9a2fae
JM
45146 [BZ #13872]
45147 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45148 (__ieee754_powl): Saturate large exponents rather than testing for
45149 overflow of y*log2(x).
45150 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45151 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45152 exceptions.
45153
bcc8d661
JM
45154 [BZ #11521]
45155 * math/s_ctan.c: Include <float.h>.
45156 (__ctan): Avoid internal overflow or cancellation in calculating
45157 denominator.
45158 * math/s_ctanf.c: Likewise.
45159 * math/s_ctanl.c: Likewise.
45160 * math/s_ctanh.c: Likewise.
45161 * math/s_ctanhf.c: Likewise.
45162 * math/s_ctanhl.c: Likewise.
45163 * math/libm-test.inc (ctan_test): Add more tests.
45164 (ctanh_test): Likewise.
45165 * sysdeps/i386/fpu/libm-test-ulps: Update.
45166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45167
823fbbb4
AJ
451682012-04-09 Andreas Jaeger <aj@suse.de>
45169
03879793
AJ
45170 [BZ #6894]
45171 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45172 is an optional BSD extension.
45173
823fbbb4
AJ
45174 [BZ #10254]
45175 * manual/stdio.texi (Opening Streams): Document additional fopen
45176 parameters.
45177
8de131cb
RM
451782012-04-09 Roland McGrath <roland@hack.frob.com>
45179
45180 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45181 %eax without telling the compiler.
45182
c0ed9d7d
CD
451832012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45184
45185 [BZ # 13963]
45186 * manual/install.texi: Use sourceware.org.
45187
c483f6b4
JM
451882012-04-09 Joseph Myers <joseph@codesourcery.com>
45189
d7dd9453
JM
45190 [BZ #13873]
45191 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45192 (__ieee754_pow): Generate overflow and underflow using huge*huge
45193 and tiny*tiny rather than just returning constant infinity or zero
45194 for large exponents.
45195 * math/libm-test.inc (pow_test): Require overflow exceptions for
45196 applicable cases of large exponents.
45197
c483f6b4
JM
45198 [BZ #706]
45199 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45200 (__ieee754_pow): Use iterative multiplication algorithm only for
45201 integer exponents with absolute value below 1024. Check for odd
45202 integer exponents when using algorithm for real exponents.
45203 * math/libm-test.inc (pow_test): Add more tests.
45204 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45205
d2de7579
JM
452062012-04-08 Joseph Myers <joseph@codesourcery.com>
45207
45208 [BZ #13705]
45209 * math/libm-test.inc (exp_test): Do not allow overflow exception
45210 on underflow test.
45211
f77f1232
AJ
452122012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45213
45214 [BZ #13705]
45215 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45216 instead of __kernel_standard_f.
45217
3884932b
MF
452182012-04-08 Mike Frysinger <vapier@gentoo.org>
45219
45220 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45221 * sysdeps/x86_64/memset_chk.S: Likewise.
45222
54472e9c
AJ
452232012-04-08 Andreas Jaeger <aj@suse.de>
45224
6ab0fbfc
AJ
45225 [BZ #10153]
45226 * manual/startup.texi (Environment Access): Describe return value
45227 for putenv and setenv.
45228
61efba8c
AJ
45229 [BZ #6895]
45230 * manual/filesys.texi (Directory Entries): Add description for
45231 DT_LNK.
45232
95c3f29a
AJ
45233 [BZ #6890]
45234 * manual/filesys.texi (Directory Entries): Clarify that it's file
45235 system not operating system in the description of DT_UNKNOWN.
45236
54472e9c
AJ
45237 [BZ #6578]
45238 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45239
624254b1
SC
452402012-04-08 Stephen Compall <s11@member.fsf.org>
45241
45242 [BZ #6649]
45243 * manual/llio.texi (Opening and Closing Files): Add cross
45244 reference to explain mode argument.
45245
1e4920e0
MF
452462012-04-07 Mike Frysinger <vapier@gentoo.org>
45247
45248 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45249 * sysdeps/x86_64/memset_chk.S: Likewise.
45250
5ed848f3
DM
452512012-04-07 David S. Miller <davem@davemloft.net>
45252
45253 * elf/elf.h (R_SPARC_WDISP10): Define.
45254 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45255 R_SPARC_SIZE32.
45256 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45257 R_SPARC_SIZE64 and R_SPARC_H34.
45258
96154cd8
CD
452592012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45260
45261 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45262 conditions and remove no longer applicable assertion.
45263
9904dc47
L
452642012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45265
45266 * bits/byteswap.h: Include <features.h>.
45267 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45268 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45269
f8887d0a
L
452702012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45271
45272 * bits/byteswap.h (__bswap_16): Removed.
45273 Include <bits/byteswap-16.h> to get __bswap_16.
45274 * sysdeps/i386/bits/byteswap.h: Likewise.
45275 * sysdeps/s390/bits/byteswap.h: Likewise.
45276 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45277 * bits/byteswap-16.h: New file.
45278 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45279 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45280 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45281 * string/Makefile (headers): Add bits/byteswap-16.h.
45282
62470f60
PP
452832012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45284
45285 [BZ #13895]
45286 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45287 extra indirection.
45288 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45289 * nss/tst-nss-static.c: New.
45290
4dad7bab
RM
452912012-04-06 Robert Millan <rmh@gnu.org>
45292
45293 [BZ #6486]
45294 * manual/llio.texi (File Position Primitive): lseek
45295 refers to WHENCE when it really means OFFSET.
45296
e9142a17
AJ
452972012-04-06 Andreas Jaeger <aj@suse.de>
45298
2c040eff
AJ
45299 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45300 strncmp declarations.
45301
e9142a17
AJ
45302 * abilist/libc.abilist: Add __poll and __ppoll.
45303
ff9f1c5f
DM
453042012-04-05 David S. Miller <davem@davemloft.net>
45305
dcd2ae90
DM
45306 * scripts/check-local-headers.sh: Accept a host triplet in the
45307 path matched by the exclude regexp.
45308
993eb054
DM
45309 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45310 definition.
45311 * sysdeps/powerpc/powerpc32/dl-machine.h
45312 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45313 * sysdeps/s390/s390-32/dl-machine.h
45314 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45315 * sysdeps/sparc/sparc32/dl-machine.h
45316 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45317 * sysdeps/sparc/sparc64/dl-machine.h
45318 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45319
ff9f1c5f
DM
45320 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45321 lazy binding.
48e2e132 45322 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45323 undefined symbol errors.
45324
48e2e132 45325 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45326 DT_NEEDED entries.
45327
e80d6f94
MM
453282012-04-05 Michael Matz <matz@suse.de>
45329
45330 [BZ #13592]
45331 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45332
349fa79f
AJ
453332012-04-05 Andreas Jaeger <aj@suse.de>
45334
45335 [BZ #13908]
45336 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45337 comment.
45338
f402708f
KK
453392012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45340
45341 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45342 which ROUND is no valid rounding mode.
45343
2ecccfc9
KK
453442012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45345
45346 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45347 read again.
45348 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45349
8a53f50f
KK
453502012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45351
45352 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45353 an exception using FPU order intentionally.
45354
453552012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45356
45357 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45358 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45359 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45360 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45361
d653abb7
SJ
453622012-04-05 Simon Josefsson <simon@josefsson.org>
45363
45364 [BZ #12340]
45365 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45366 EINVAL when BUFLEN is too smal.
45367
c3b1bf7d
TS
453682012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45369
45370 [BZ #13553]
45371 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45372 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45373
b1aa60f3
AJ
453742012-04-03 Andreas Jaeger <aj@suse.de>
45375
c3b1bf7d 45376 [BZ #13938]
67f60a26
AJ
45377 * manual/setjmp.texi (System V contexts): Fix sentence.
45378
b1aa60f3
AJ
45379 [BZ #13926]
45380 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45381 New macro for this case.
45382 [!__GNUC__] (__bswap_64): New inline function for this case.
45383 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45384 * bits/byteswap.h: Likewise.
45385 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45386 ull, guard with __GLIBC_HAVE_LONG_LONG.
45387
45388 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45389 __GLIBC_HAVE_LONG_LONG.
45390
45391 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45392 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45393
39c59c35
TMQMF
453942012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45395
45396 [BZ #13691]
45397 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45398 inptr and inend, rather than using last_ch.
45399
135ffda8
DM
454002012-04-02 David S. Miller <davem@davemloft.net>
45401
45402 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45403 * stdio-common/printf-parse.h (read_int): Change return type to
45404 'int', return -1 on INT_MAX overflow.
45405 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45406 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45407 overflows INT_MAX. Check for overflow of in-format-string precision
45408 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45409 SIZE_MAX not INT_MAX for integer overflow test.
45410 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45411 skip the construct in the format string but do not record anything.
45412 * stdio-common/bug22.c: Adjust to test both width/prevision
45413 INT_MAX overflow as well as total length INT_MAX overflow. Check
45414 explicitly for proper errno values.
45415
228c019e
TS
454162012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45417
302cadd3
TS
45418 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45419 CHAR_MAX.
45420 * string/test-strcmp.c [! WIDE]: Likewise.
45421 * time/tst-mktime2.c: Likewise for INT_MAX.
45422 * string/test-string.h: #include <sys/param.h> for MIN.
45423
228c019e
TS
45424 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45425 * sysdeps/i386/init-first.c (init): Likewise.
45426 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45427 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45428 * sysdeps/sh/init-first.c (init): Likewise.
45429
cfa633f5
UD
454302012-04-01 Ulrich Drepper <drepper@gmail.com>
45431
45432 * po/ru.po: Update from translation team.
d1635ef8 45433 * po/vi.po: Likewise.
cfa633f5 45434
6cd0a5ea
SP
454352012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45436
45437 * resolv/nss_dns/dns-host.c: Merge copyright years.
45438
4b43400f
LD
454392012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45440
45441 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45442 Optimize memcpy with prefetch if
45443 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45444 src, dst pointers have unequal 16 byte alignments.
45445
48c41d04
SP
454462012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45447
45448 [BZ #13928]
45449 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45450 from a CNAME entry and return the minimum ttl for the query.
45451 (gaih_getanswer_slice): Likewise.
45452
b8dc394d
JL
454532012-03-30 Jeff Law <law@redhat.com>
45454
45455 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45456 due to long keys.
45457 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45458 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45459
2f5a5ed0
JL
45460 * resolv/nss_dns/dns-host.c: Update copyright year.
45461
1d39e359
UD
454622012-03-30 Ulrich Drepper <drepper@gmail.com>
45463
c030f70c 45464 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45465 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45466
1d39e359
UD
45467 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45468 comments for sendmmsg.
45469
454702012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45471
45472 [BZ #13691]
45473 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45474 with only 1 character between 0x0041 and 0x01b0.
45475 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45476 * wcsmbs/tst-mbsnrtowcs.c: New file.
45477
20fde227
DM
454782012-03-29 David S. Miller <davem@davemloft.net>
45479
45480 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45481 small copies by hand.
45482
984a4237
JL
454832012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45484
45485 [BZ #13761]
57f41c40
AS
45486 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45487 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45488 group memberships.
984a4237 45489
18c9d62b
DM
454902012-03-28 David S. Miller <davem@davemloft.net>
45491
88d85d4f
DM
45492 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45493 that branches into memcpy.
45494 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45495 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45496 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45497 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45499 bits.
45500 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45501 implementation too.
45502 * sysdeps/sparc/mempcpy.S: New file.
45503
e5aa83e1
DM
45504 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45505 the IFUNC routine in the libc case.
45506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45507
88570753
DM
45508 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45509 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45510 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45511 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45512 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45513 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45514 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45515 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45516
249d7567
DM
45517 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45518 loop to 256 bytes instead of 64 bytes and fix test signedness.
45519
18c9d62b
DM
45520 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45521 * sysdeps/sparc/sparc32/Makefile: rather than here...
45522 * sysdeps/sparc/sparc64/Makefile: and here.
45523
05f3d1f6
UD
455242012-03-28 Ulrich Drepper <drepper@gmail.com>
45525
45526 * malloc/mallocbug.c: Avoid warnings about unused variables.
45527
86ae07a8
JL
455282012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45529
45530 [BZ #13760]
45531 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45532 in the right place. Discard and retry query if response is
45533 larger than input buffer size.
45534
41bf21a1
JM
455352012-03-28 Joseph Myers <joseph@codesourcery.com>
45536
d6270972
JM
45537 [BZ #369]
45538 [BZ #2678]
45539 [BZ #3866]
45540 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45541 x for large integer exponent.
45542 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45543 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45544 sign of result as needed afterwards.
45545 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45546 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45547 result for underflowing pow the same as for overflow.
45548 (__kernel_standard_l): Handle powl overflow and underflow here
45549 rather than calling __kernel_standard.
45550 * math/libm-test.inc (pow_test): Add more tests.
45551
414fca03 45552 [BZ #3868]
41bf21a1
JM
45553 [BZ #13879]
45554 [BZ #13910]
45555 [BZ #13911]
45556 [BZ #13912]
45557 [BZ #13913]
45558 [BZ #13915]
45559 [BZ #13916]
45560 [BZ #13917]
45561 [BZ #13918]
45562 [BZ #13919]
45563 [BZ #13920]
45564 [BZ #13921]
45565 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45566 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45567 (__kernel_standard_l): New function.
45568 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45569 __kernel_standard.
45570 * math/w_acosl.c (__acosl): Likewise.
45571 * math/w_asinl.c (__asinl): Likewise.
45572 * math/w_atan2l.c (__atan2l): Likewise.
45573 * math/w_atanhl.c (__atanhl): Likewise.
45574 * math/w_coshl.c (__coshl): Likewise.
45575 * math/w_exp10l.c (__exp10l): Likewise.
45576 * math/w_exp2l.c (__exp2l): Likewise.
45577 * math/w_fmodl.c (__fmodl): Likewise.
45578 * math/w_hypotl.c (__hypotl): Likewise.
45579 * math/w_j0l.c (__j0l, __y0l): Likewise.
45580 * math/w_j1l.c (__j1l, __y1l): Likewise.
45581 * math/w_jnl.c (__jnl, __ynl): Likewise.
45582 * math/w_lgammal.c (__lgammal): Likewise.
45583 * math/w_log10l.c (__log10l): Likewise.
45584 * math/w_log2l.c (__log2l): Likewise.
45585 * math/w_logl.c (__logl): Likewise.
45586 * math/w_powl.c (__powl): Likewise.
45587 * math/w_remainderl.c (__remainderl): Likewise.
45588 * math/w_scalbl.c (sysv_scalbl): Likewise.
45589 * math/w_sinhl.c (__sinhl): Likewise.
45590 * math/w_sqrtl.c (__sqrtl): Likewise.
45591 * math/w_tgammal.c (__tgammal): Likewise.
45592 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45593 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45594 * math/libm-test.inc (acos_test): Add more tests.
45595 (acosh_test): Likewise.
45596 (asin_test): Likewise.
45597 (atanh_test): Likewise.
45598 (exp_test): Likewise.
45599 (exp10_test): Likewise.
45600 (exp2_test): Likewise.
45601 (expm1_test): Likewise.
45602 (lgamma_test): Likewise.
45603 (log_test): Likewise.
45604 (log10_test): Likewise.
45605 (log1p_test): Likewise.
45606 (log2_test): Likewise.
45607 (pow_test): Do not allow some spurious overflow exceptions.
45608 (sqrt_test): Add more tests.
45609 (tgamma_test): Likewise.
45610 (y0_test): Likewise.
45611 (y1_test): Likewise.
45612 (yn_test): Likewise.
45613
dd62fda6
AB
456142012-03-27 Anton Blanchard <anton@samba.org>
45615
45616 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45617 MAP_HUGETLB.
45618 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45621
1e3cdfda
AJ
456222012-03-27 David S. Miller <davem@davemloft.net>
45623
b855ab85
DM
45624 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45625
1e3cdfda
AJ
45626 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45627 have-as-vis3 check.
45628
456292012-03-27 Andreas Jaeger <aj@suse.de>
45630
45631 * sysdeps/x86_64/elf/configure.in: Moved to ...
45632 * sysdeps/x86_64/configure.in: ... here.
45633 * sysdeps/x86_64/elf/start.S: Moved to ...
45634 * sysdeps/x86_64/start.S: ... here.
45635 * sysdeps/x86_64/elf/configure: Delete.
45636
45637 * sysdeps/x86_64/configure.in: Merge contents from
45638 sysdeps/i386/configure.in (without i686 check).
45639
45640 * sysdeps/i386/elf/Versions: Merge into ...
45641 * sysdeps/i386/Versions: ... this.
45642 * sysdeps/i386/elf/Versions: Delete file.
45643 * sysdeps/i386/elf/start.S: Moved to ...
45644 * sysdeps/i386/start.S: ...here.
45645 * sysdeps/i386/elf/configure.in: Merge into...
45646 * sysdeps/i386/configure.in: ...here.
45647 * sysdeps/i386/elf/configure.in: Delete file.
45648 * sysdeps/i386/elf/configure: Delete file.
45649
45650 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45651 * debug/backtracesyms.c: ... here.
45652 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45653 * debug/backtracesymsfd.c: ... here.
45654 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45655 * sysdeps/generic/ifunc-sel.h: ... here.
45656
45657 * sysdeps/unix/i386/start.c: Delete file.
45658 * sysdeps/unix/sparc/start.c: Delete file.
45659 * sysdeps/unix/start.c: Delete file.
45660
45661 * sysdeps/sh/elf/configure.in: Moved to ...
45662 * sysdeps/sh/configure.in: ... here.
45663 * sysdeps/sh/elf/start.S: Moved to ...
45664 * sysdeps/sh/start.S: ... here.
45665 * sysdeps/sh/elf/configure: Delete file.
45666
45667 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45668 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45669 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45670 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45671 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45672 * sysdeps/powerpc/powerpc64/start.S: here.
45673 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45674 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45675 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45676 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45677 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45678
45679 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45680 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45681 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45682 * sysdeps/powerpc/powerpc32/start.S: ... here.
45683 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45684 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45685 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45686
45687 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45688 * sysdeps/powerpc/ifunc-sel.h: ... here.
45689 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45690 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45691
45692 * sysdeps/sparc/elf/configure.in: Moved to ...
45693 * sysdeps/sparc/configure.in: ... here.
45694 * sysdeps/sparc/elf/configure: Delete file.
45695 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45696 * sysdeps/sparc/sparc32/start.S: ... here.
45697 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45698 * sysdeps/sparc/sparc64/start.S: ... here.
45699 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45700 * sysdeps/sparc/sparc32/Makefile: ... this.
45701 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45702 * sysdeps/sparc/sparc64/Makefile: ... this.
45703
45704 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45705 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45706 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45707 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45708 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45709 * sysdeps/s390/s390-32/setjmp.S: ... here.
45710 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45711 * sysdeps/s390/s390-32/configure.in: ... here.
45712 * sysdeps/s390/s390-32/elf/configure: Delete file.
45713 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45714 * sysdeps/s390/s390-32/start.S: ... here.
45715
45716 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45717 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45718 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45719 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45720 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45721 * sysdeps/s390/s390-64/setjmp.S: ... here.
45722 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45723 * sysdeps/s390/s390-64/configure.in: ... here
45724 * sysdeps/s390/s390-64/elf/configure: Delete file.
45725 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45726 * sysdeps/s390/s390-64/start.S: ... here.
45727 * sysdeps/s390/s390-64/elf/configure: Delete.
45728
45729 * configure.in: Remove support for elf directories in sysdeps.
45730
45731 * configure: Regenerated.
45732 * sysdeps/i386/configure: Regenerated.
45733 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45734 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45735 * sysdeps/s390/s390-32/configure: Regenerated.
45736 * sysdeps/s390/s390-64/configure: Regenerated.
45737 * sysdeps/sh/configure: Regenerated.
45738 * sysdeps/sparc/configure: Regenerated.
45739 * sysdeps/x86_64/configure: Regenerated.
45740
a3f61311
AS
457412012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45742
c876e002
AS
45743 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45744
a3f61311
AS
45745 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45746 denormal result into account.
45747
ac4c54f0
RM
457482012-03-25 Roland McGrath <roland@hack.frob.com>
45749
45750 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45751 Reported by Allan McRae <allan@archlinux.org>.
45752
6a9b9c02
JL
457532012-03-23 Jeff Law <law@redhat.com>
45754
45755 * nss/getnssent.c (__nss_getent): Fix typo.
45756
4c42a0c1
DM
457572012-03-23 David S. Miller <davem@davemloft.net>
45758
45759 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45760
1532c7ac
L
457612012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45762
45763 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45764 to pad to uint64_t for each field.
45765 (dl_tls_index): Replace unsigned long with uint64_t.
45766
3ff42526
PP
457672012-03-23 Daniel Jacobowitz <dmj@google.com>
45768 Paul Pluzhnikov <ppluzhnikov@google.com>
45769
45770 [BZ #6528]
45771 * grp/Makefile (otherlibs): Don't set it.
45772 * inet/Makefile (otherlibs): Likewise.
45773 * login/Makefile (otherlibs): Likewise.
45774 * nscd/Makefile (otherlibs): Likewise.
45775 * posix/Makefile (otherlibs): Likewise.
45776 * pwd/Makefile (otherlibs): Likewise.
45777 * rt/Makefile (otherlibs): Likewise.
45778 * sunrpc/Makefile (otherlibs): Likewise.
45779 * nss/Makefile (otherlibs): Likewise.
45780 Add libnss_files to routines and static-only-routines.
45781 ($(objpfx)getent): Remove rule.
45782 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45783 static-only-routines.
45784
7c69cd14
JM
457852012-03-22 Joseph Myers <joseph@codesourcery.com>
45786
45787 [BZ #13892]
45788 * math/s_cexp.c: Include <float.h>.
45789 (__cexp): Handle exp result overflowing not necessarily
45790 overflowing both real and imaginary parts of result.
45791 * math/s_cexpf.c: Likewise.
45792 * math/s_cexpl.c: Likewise.
45793 * math/libm-test.inc (cexp_test): Add more tests.
45794 * sysdeps/i386/fpu/libm-test-ulps: Update.
45795 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45796
81b035fe
L
457972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45798
45799 * include/link.h (ELFW): New macro.
45800 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45801 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45802
1da7940c
L
458032012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45804
45805 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45806 with uint64_t.
45807
b749dbb9
L
458082012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45809
45810 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45811 declaration.
45812 (struct La_x32_retval): Likewise.
45813
2ff87f3f
L
458142012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45815
45816 * sysdeps/x86_64/preconfigure.in: New file.
45817 * sysdeps/x86_64/preconfigure: New generated file.
45818
c0df8e69
JM
458192012-03-22 Joseph Myers <joseph@codesourcery.com>
45820
48e44791
JM
45821 [BZ #13824]
45822 * math/e_exp2l.c: Include <float.h>.
45823 (__ieee754_exp2l): Handle overflow and underflow cases
45824 separately. Only pass fractional part of argument to
45825 __ieee754_expl.
45826 * math/libm-test.inc (exp2_test): Add more tests.
45827
c0df8e69
JM
45828 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45829 negating x to take absolute value.
45830 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45831 Likewise.
45832 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45833 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45834 Likewise.
45835 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45836 computing low part if x was negated.
45837 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45838
c8e43ba7
L
458392012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45840
45841 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45842 la_x32_gnu_pltexit.
45843 (pltexit): Cast int_retval to ptrdiff_t.
45844 * elf/tst-auditmod3b.c: Likewise.
45845 * elf/tst-auditmod4b.c: Likewise.
45846 * elf/tst-auditmod5b.c: Likewise.
45847 * elf/tst-auditmod6b.c: Likewise.
45848 * elf/tst-auditmod6c.c: Likewise.
45849 * elf/tst-auditmod7b.c: Likewise.
45850
45851 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45852 and x32_gnu_pltexit.
45853
45854 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45855 __ELF_NATIVE_CLASS.
45856 (La_x32_regs): New macro.
45857 (La_x32_retval): Likewise.
45858 (la_x32_gnu_pltenter): New function prototype.
45859 (la_x32_gnu_pltexit): Likewise.
45860
7998fa78
AS
458612012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45862
dcb33988
AS
45863 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45864 exponent.
45865
233fc563
AS
45866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45867
7998fa78
AS
45868 * configure.in (libc_cv_cc_nofma): Check for option to disable
45869 generation of FMA instructions.
45870 * configure: Regenerate.
45871 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45872 * sysdeps/ieee754/dbl-64/Makefile: New file.
45873 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45874 Remove brandred-fma4.
45875 (CFLAGS-brandred-fma4.c): Remove.
45876 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45877 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45878 define.
45879 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45880 define.
45881
8e95c99a
L
458822012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45883
45884 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45885 LLONG_MAX != LONG_MAX.
45886 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45887 (_fitoa_word): Likewise.
45888 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45889 LLONG_MAX != LONG_MAX.
45890 * stdio-common/_itowa.h: Include <_itoa.h>.
45891 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45892 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45893 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45894 only if not defined.
45895 (_ITOA_WORD_TYPE): Likewise.
45896 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45897 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45898
6f4db457
DM
458992012-03-21 David S. Miller <davem@davemloft.net>
45900
45901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45902
7785fe5a
L
459032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45904
45905 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45906 of x86_64 when setting libc_cv_slibdir, libdir and
45907 libc_cv_localedir.
45908 * sysdeps/unix/sysv/linux/configure: Regenerated.
45909
4535cd55
JM
459102012-03-21 Joseph Myers <joseph@codesourcery.com>
45911
45912 * manual/lang.texi (Old Varargs): Remove section.
45913 (How Variadic): Update menu.
45914 (va_start): Do not mention varargs.h.
45915
17228132
TS
459162012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45917 Joseph Myers <joseph@codesourcery.com>
45918
45919 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45920 link test.
45921 * configure: Regenerated.
45922
8149f976
TS
459232012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45924
05f3d1f6
UD
45925 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45926 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45927 conformtest.pl
8149f976 45928
1a4ac776
JM
459292012-03-21 Joseph Myers <joseph@codesourcery.com>
45930
be22ce65
JM
45931 * NOTES: Remove.
45932 * Makefile (files-for-dist): Remove NOTES.
45933 (NOTES): Remove rule.
45934 * README: Don't refer to NOTES.
45935 * manual/creature.texi: Don't include macros.texi.
45936 * manual/intro.texi (creature.texi): Remove comment referring to
45937 NOTES.
45938
40b601fb
JM
45939 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45940 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45941 * configure: Regenerated.
45942 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45943 LIBC_TRY_CC_OPTION.
45944 (libc_cv_as_i686): Likewise.
45945 (libc_cv_cc_avx): Likewise.
45946 (libc_cv_cc_sse2avx): Likewise.
45947 (libc_cv_cc_fma4): Likewise.
45948 (libc_cv_cc_novzeroupper): Likewise.
45949 * sysdeps/i386/configure: Regenerated.
45950
1a4ac776
JM
45951 [BZ #13883]
45952 * sysdeps/i386/fpu/s_cexp.S: Remove.
45953 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45954 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45955 * math/libm-test.inc (cexp_test): Add more tests.
45956 * sysdeps/i386/fpu/libm-test-ulps: Update.
45957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45958
a458e7fe
AM
459592012-03-21 Allan McRae <allan@archlinux.org>
45960
45961 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45962
0cb7efc5
JM
459632012-03-21 Joseph Myers <joseph@codesourcery.com>
45964
45965 [BZ #13871]
45966 * math/w_exp2.c: Do not include <float.h>.
45967 (o_threshold, u_threshold): Remove.
45968 (__exp2): Calculate result before checking finiteness and calling
45969 __kernel_standard.
45970 * math/w_exp2f.c: Likewise.
45971 * math/w_exp2l.c: Likewise.
45972 * math/libm-test.inc (exp2_test): Require overflow exception for
45973 1e6 input.
2460d3aa
JM
45974
45975 [BZ #3866]
45976 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45977 range of signed 64-bit integers before using fistpll. Remove
45978 checks for whether integers fit in mantissa bits.
45979 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45980 the range of signed 32-bit integers before using fistpl. Remove
45981 checks for whether integers fit in mantissa bits.
45982 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45983 (__ieee754_powl): Test for y outside the range of signed 64-bit
45984 integers before using fistpll. Reduce 64-bit values to 63-bit
45985 ones as needed.
45986 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45987 divide-by-zero is raised for zero to large negative powers.
45988 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45989 (__ieee754_powl): Test for y outside the range of signed 64-bit
45990 integers before using fistpll. Reduce 64-bit values to 63-bit
45991 ones as needed.
45992 * math/libm-test.inc (pow_test): Add more tests.
45993
eb96ffb0
L
459942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45995
45996 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45997 <stdio-common/_itoa.h>.
45998 * debug/segfault.c: Likewise.
45999 * elf/dl-cache.c: Likewise.
46000 * elf/dl-minimal.c: Likewise.
46001 * elf/dl-misc.c: Likewise.
46002 * elf/dl-sysdep.c: Likewise.
46003 * elf/dl-version.c: Likewise.
46004 * elf/rtld.c: Likewise.
46005 * hurd/hurdsock.c: Likewise.
46006 * hurd/lookup-retry.c: Likewise.
46007 * malloc/malloc.c: Likewise.
46008 * malloc/mtrace.c: Likewise.
46009 * nscd/nscd_getgr_r.c: Likewise.
46010 * nscd/nscd_getpw_r.c: Likewise.
46011 * nscd/nscd_getserv_r.c: Likewise.
46012 * posix/getopt_init.c: Likewise.
46013 * posix/wordexp.c: Likewise.
46014 * stdio-common/_itoa.c: Likewise.
46015 * stdio-common/printf_fphex.c: Likewise.
46016 * stdio-common/vfprintf.c: Likewise.
46017 * string/_strerror.c: Likewise.
46018 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46019 * sysdeps/i386/i686/hp-timing.h: Likewise.
46020 * sysdeps/mach/_strerror.c: Likewise.
46021 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46022 * sysdeps/mach/hurd/sethostid.c: Likewise.
46023 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46024 * sysdeps/mach/xpg-strerror.c: Likewise.
46025 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46026 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46027 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46028 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46029 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46030 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46031 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46032 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46033 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46034 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46035 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46036 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46037 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46038 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46039 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46040 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46041 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46042 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46043 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46044 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46045 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46046
46047 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46048
46049 * stdio-common/_itoa.h: Moved to ...
46050 * sysdeps/generic/_itoa.h: Here.
46051
46052 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46053
46054 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46055 instead of "_itoa.h" and "_itowa.h".
46056 * stdio-common/vfprintf.: Likewise.
46057
d1af992d
L
460582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46059
46060 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46061 <bits/wordsize.h>.
46062 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46063 (__signbit): Likwise.
46064 (llrintf): Likwise.
46065 (llrint): Likwise.
46066
114883e0
L
460672012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46068
46069 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46070 __WORDSIZE != 64.
46071
c135cc1b
JM
460722012-03-20 Joseph Myers <joseph@codesourcery.com>
46073
46074 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46075 OVERFLOW_EXCEPTION_OK.
46076 * math/libm-test.inc ("Philosophy"): Update comment about
46077 exception testing.
46078 (OVERFLOW_EXCEPTION): Define.
46079 (OVERFLOW_EXCEPTION_OK): Likewise.
46080 (INVALID_EXCEPTION_OK): Renumber.
46081 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46082 (IGNORE_ZERO_INF_SIGN): Likewise.
46083 (test_exceptions): Handle FE_OVERFLOW.
46084 (exp10_test): Expect overflow exceptions.
46085 (exp2_test): Likewise.
46086 (expm1_test): Likewise.
46087 (nextafter_test): Likewise.
46088 (pow_test): Likewise.
46089 (scalbn_test): Likewise.
46090 (scalbln_test): Likewise.
46091
95443d88
L
460922012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46093
46094 * sysdeps/x86_64/bits/atomic.h
46095 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46096 64bit integer.
46097 (atomic_exchange_acq): Likewise.
46098 (__arch_exchange_and_add_body): Likewise.
46099 (__arch_add_body): Likewise.
46100 (atomic_add_negative): Likewise.
46101 (atomic_add_zero): Likewise.
46102
490df6c4
L
461032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46104
c2722551 46105 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46106 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46107
5e52b189
L
461082012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46109
46110 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46111 Check __x86_64__ instead of __WORDSIZE.
46112
a9879d4c
L
461132012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46114
46115 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46116
5df98260
DM
461172012-03-19 David S. Miller <davem@davemloft.net>
46118
e1497744
DM
46119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46120
5df98260
DM
46121 * sysdeps/sparc/fpu/fenv_private.h: New file.
46122 * sysdeps/sparc/fpu/math_private.h: Use it.
46123 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46124 Remove.
57f41c40 46125 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46126 (libc_feholdexcept_setroundl): Remove.
46127 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46128 Remove.
46129 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46130 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46131
b4c35121
L
461322012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46133
46134 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46135 int64_t instead of long int.
46136 (INSERT_WORDS64): Likwise.
46137
56965fd7
L
461382012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46139
46140 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46141 _Unwind_GetCFA return to _Unwind_Ptr first.
46142
83d1aec8
JM
461432012-03-19 Joseph Myers <joseph@codesourcery.com>
46144
1897ad44
JM
46145 [BZ #13629]
46146 * math/s_clog.c: Include <float.h>.
46147 (__clog): Scale large or subnormal inputs.
46148 * math/s_clogf.c: Likewise.
46149 * math/s_clogl.c: Likewise.
46150 * math/s_clog10.c: Include <float.h>.
46151 (M_LOG10_2): Define.
46152 (__clog10): Scale large or subnormal inputs.
46153 * math/s_clog10f.c: Likewise.
46154 * math/s_clog10l.c: Likewise.
46155 * math/libm-test.inc (clog_test): Add more tests.
46156 (clog10_test): Likewise.
46157 * sysdeps/i386/fpu/libm-test-ulps: Update.
46158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46159
7726d6a9
JM
46160 [BZ #11451]
46161 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46162 x and y.
46163 * math/libm-test.inc (atan2_test): Add another test.
46164
83d1aec8
JM
46165 * Makerules (common-objdir-compile): Remove.
46166 * sysdeps/unix/Makefile (config-generated): Do not add
46167 $(unix-generated) to variable.
46168 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46169 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46170 Remove rule.
46171 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46172 Likewise.
46173 [generic bits/local_lim.h] (before-compile): Do not append to
46174 variable.
46175 [generic bits/local_lim.h] (common-generated): Likewise.
46176 [generic sys/param.h] (before-compile): Do not append to variable.
46177 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46178 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46179 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46180 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46181 include.
46182 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46183 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46184 [generic sys/param.h] ($(addprefix
46185 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46186 [generic sys/param.h] (common-generated): Do not append to
46187 variable.
46188 [generic sys/param.h] (sysdep_headers): Likewise.
46189 [generic bits/errno.h] (before-compile): Do not append to
46190 variable.
46191 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46192 rule.
46193 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46194 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46195 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46196 [generic bits/errno.h] (common-generated): Do not append to
46197 variable.
46198 [generic bits/ioctls.h] (before-compile): Do not append to
46199 variable.
46200 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46201 rule.
46202 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46203 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46204 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46205 rule.
46206 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46207 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46208 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46209 [generic bits/ioctls.h] (common-generated): Do not append to
46210 variable.
46211 [generic sys/syscall.h] (syscall.h): Remove variable.
46212 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46213 rule.
46214 [generic sys/syscall.h] (before-compile): Do not append to
46215 variable.
46216 [generic sys/syscall.h] (common-generated): Likewise.
46217 * sysdeps/unix/errnos-tmpl.c: Remove file.
46218 * sysdeps/unix/errnos.awk: Likewise.
46219 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46220 * sysdeps/unix/ioctls.awk: Likewise.
46221 * sysdeps/unix/mk-local_lim.c: Likewise.
46222 * sysdeps/unix/snarf-ioctls: Likewise.
46223
4851a949
RH
462242012-03-19 Richard Henderson <rth@twiddle.net>
46225
bd37f2ee
RH
46226 * sysdeps/i386/fpu/fenv_private.h: New file.
46227 * sysdeps/i386/fpu/math_private.h: Use it.
46228 (math_opt_barrier, math_force_eval): Remove.
46229 (libc_feholdexcept_setround_53bit): Remove.
46230 (libc_feupdateenv_53bit): Remove.
46231 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46232 (math_opt_barrier, math_force_eval): Remove.
46233 (libc_feholdexcept): Remove.
46234 (libc_feholdexcept_setround): Remove.
46235 (libc_fetestexcept, libc_fesetenv): Remove.
46236 (libc_feupdateenv_test): Remove.
46237 (libc_feupdateenv, libc_feholdsetround): Remove.
46238 (libc_feresetround): Remove.
46239
d0adc922
RH
46240 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46241 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46242
0fe0f1f8
RH
46243 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46244 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46245 (libc_feupdateenv_testl): New.
46246 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46247 (libc_feupdateenv_testf): New.
46248 (libc_feupdateenv): Use libc_feupdateenv_test.
46249 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46250 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46251
eb92c487
RH
46252 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46253 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46254 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46255 (libc_feresetround_noex): New.
46256 (libc_feresetround_noexf): New.
46257 (libc_feresetround_noexl): New.
46258 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46259 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46260 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46261 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46262 SET_RESTORE_ROUND.
46263 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46265 (__cos): Likewise.
46266 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46267 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46268 SET_RESTORE_ROUND_NOEX.
46269 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46270 SET_RESTORE_ROUND_NOEXF.
46271 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46272 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46273 (libc_feholdsetroundf): New.
46274 (libc_feresetround, libc_feresetroundf): New.
46275
7d2e8012
RH
46276 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46277 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46278 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46279
b4dabbb4
RH
46280 * sysdeps/generic/math_private.h: Include <fenv.h>.
46281 (default_libc_feholdexcept): New.
46282 (default_libc_feholdexcept_setround): New.
46283 (default_libc_fesetenv, default_libc_feupdateenv): New.
46284 (libc_feholdexcept): Only define if undefined.
46285 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46286 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46287 (libc_feholdexcept_setroundl): Likewise.
46288 (libc_feholdexcept_setround_53bit): Likewise.
46289 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46290 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46291 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46292 (libc_feupdateenv_53bit): Likewise.
46293 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46294 (libc_feholdexcept): Convert from macro to inline function.
46295 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46296 (libc_fesetenv, libc_feupdateenv): Likewise.
46297
4851a949
RH
46298 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46299 not previously defined.
46300 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46301 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46302 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46303 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46304 * sysdeps/ieee754/flt-32/math_private.h: New file.
46305 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46306 math_private.h below SET_FLOAT_WORD.
46307 (__isnan, __isinf_ns, __finite): Remove.
46308 (__isnanf, __isinf_nsf, __finitef): Remove.
46309
e79d442e
AS
463102012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46311
46312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46313
90b80344
DM
463142012-03-17 David S. Miller <davem@davemloft.net>
46315
46316 [BZ #6471]
46317 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46318 for 2.16.
46319
edc21804
DM
463202012-03-16 David S. Miller <davem@davemloft.net>
46321
77e927af
DM
46322 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46323 warnings.
46324
374976dd
DM
46325 [BZ #6471]
46326 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46327 properly.
46328 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46329 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46330 sysdep_routines when subdir is sysvipc.
46331 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46332 __getshmlba helper.
46333
edc21804
DM
46334 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46335
473c3ef3
L
463362012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46337
46338 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46339 [__LP64__].
46340
eb0f39b6
L
463412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46342
46343 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46344 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46345 (__lround): Renamed to ...
46346 (__llround): This. Replace long int with long long int.
46347 Define lround functions as aliases of llround functions.
46348 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46349
6b6cd74b
L
463502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46351
46352 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46353 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46354 adresses to uintptr_t. Replace "long int" and "unsigned long
46355 int" with "greg_t" on va_arg.
46356
f1a77b01
L
463572012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46358
46359 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46360 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46361
46362 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46363 Move e_machine check before EI_CLASS check. Handle x32
46364 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46365 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46366 SKIP_EM_IA_64 and include
46367 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46368
46369 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46370 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46371 (add_system_dir): New macro.
46372
46373 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46374 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46375
11b90b9f
JM
463762012-03-16 Joseph Myers <joseph@codesourcery.com>
46377
c36e1d23
JM
46378 [BZ #2551]
46379 [BZ #2552]
46380 [BZ #2553]
46381 [BZ #2554]
46382 [BZ #2562]
46383 [BZ #2563]
46384 [BZ #2565]
46385 [BZ #2566]
46386 [BZ #2576]
46387 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46388 (y0): Likewise.
46389 * math/w_j0f.c (j0f): Likewise.
46390 (y0f): Likewise.
46391 * math/w_j0l.c (__j0l): Likewise.
46392 (__y0l): Likewise.
46393 * math/w_j1.c (j1): Likewise.
46394 (y1): Likewise.
46395 * math/w_j1f.c (j1f): Likewise.
46396 (y1f): Likewise.
46397 * math/w_j1l.c (__j1l): Likewise.
46398 (__y1l): Likewise.
46399 * math/w_jn.c (jn): Likewise.
46400 (yn): Likewise.
46401 * math/w_jnf.c (jnf): Likewise.
46402 (ynf): Likewise.
46403 * math/w_jnl.c (__jnl): Likewise.
46404 (__ynl): Likewise.
46405 * math/libm-test.inc (j0_test): Add more tests.
46406 (j1_test): Likewise.
46407 (jn_test): Likewise. Add trailing semicolon to existing test.
46408 (y0_test): Likewise.
46409 (y1_test): Likewise.
46410 * sysdeps/i386/fpu/libm-test-ulps: Update.
46411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46412
11b90b9f
JM
46413 [BZ #13851]
46414 [BZ #13854]
46415 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46416 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46417 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46418 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46419 (__tanl): Set errno for infinite argument.
46420 * sysdeps/i386/fpu/mptan.c: Remove.
46421 * sysdeps/i386/fpu/s_tan.S: Likewise.
46422 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46423 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46424 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46425 * math/libm-test.inc (tan_test): Add more tests and enable more
46426 tests for double and long double.
46427 * sysdeps/i386/fpu/libm-test-ulps: Update.
46428 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46429
6a1bd2a1
JK
464302012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46431
46432 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46433 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46434
10a803e0
RM
464352012-03-16 Roland McGrath <roland@hack.frob.com>
46436
46437 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46438 * configure.in: Use it for both main tree and add-ons.
46439 * configure: Regenerated.
46440
f196c7f7
L
464412012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46442
46443 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46444
8848d99d
JM
464452012-03-16 Joseph Myers <joseph@codesourcery.com>
46446
96cbe7f4
JM
46447 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46448 in comment.
46449
8848d99d
JM
46450 [BZ #13851]
46451 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46452 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46453 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46454 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46455 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46456 infinite argument.
46457 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46458 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46459 != 0 for prec == 2.
46460 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46461 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46462 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46463 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46464 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46465 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46466 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46467 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46468 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46469 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46470 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46471 * math/libm-test.inc (cos_test): Add more tests and enable more
46472 tests for long double.
46473 (sin_test): Likewise.
46474 (sincos_test): Likewise.
46475 * sysdeps/i386/fpu/libm-test-ulps: Update.
46476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46477
dd7f4703
DM
464782012-03-16 David S. Miller <davem@davemloft.net>
46479
46480 * sysdeps/sparc/fpu/math_private.h: New file.
46481
006f1daa
DM
464822012-03-15 David S. Miller <davem@davemloft.net>
46483
c0c83bc8
DM
46484 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46485 file.
e6a62e18 46486 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46488 file.
e6a62e18
DM
46489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46490 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46491 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46492 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46493 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46494 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46495 sysdep routines.
46496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46497
88cb87d9
DM
46498 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46499 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46500
006f1daa 46501 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46503 sparc-ifunc.h
006f1daa 46504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46506 Likewise.
46507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46508 Likewise.
006f1daa
DM
46509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46512 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46513 Likewise.
006f1daa
DM
46514 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46516 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46518 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46519 Likewise.
46520 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46521 Likewise.
006f1daa
DM
46522 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46524 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46528 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46529 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46532 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46533 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46534 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46535 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46536 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46537 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46538 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46539 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46540 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46541 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46542 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46543 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46544 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46545 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46546
11e0098e
AS
465472012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46548
46549 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46550 scaling.
46551 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46552
e85b09d0
AJ
465532012-03-15 Andreas Jaeger <aj@suse.de>
46554
46555 [BZ #13852]
46556 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46557 ieee754/flt-32 implementation for sin, cos and sincos.
46558 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46559 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46560 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46561 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46562 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46563 ieee754/flt-32 implementation for tan.
46564
46565 * math/libm-test.inc (cos_test): Enable some large input tests for
46566 float as well
46567 (sin_test): Likewise.
46568 (sincos_test): Likewise.
46569 (tan_test): Add tests for large input.
46570
46571 * sysdeps/i386/fpu/libm-test-ulps: Update.
46572
81c64153
AJ
465732012-03-15 Andreas Jaeger <aj@suse.de>
46574
46575 [BZ #13658]
46576 * math/libm-test.inc (cos_test): Add more test cases.
46577 (sin_test): Likewise.
46578 (sincos_test): Likewise.
46579
7bbfa5c6
AJ
465802012-03-15 Andreas Jaeger <aj@suse.de>
46581
46582 [BZ #13837]
46583 * math/libm-test.inc (cos_test): Add a test case for large input
46584 value.
46585 (sin_test): Likewise.
46586 (sincos_test): Likewise.
46587
57f41c40
AS
465882012-03-15 Andreas Jaeger <aj@suse.de>
46589 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46590
46591 [BZ #13658]
0671f479 46592 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46593 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46594 * sysdeps/i386/fpu/branred.c: Likewise.
46595 * sysdeps/i386/fpu/dosincos.c: Likewise.
46596 * sysdeps/i386/fpu/mpa.c: Likewise.
46597 * sysdeps/i386/fpu/s_cos.S: Likewise.
46598 * sysdeps/i386/fpu/s_sin.S: Likewise.
46599 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46600 * sysdeps/i386/fpu/sincos32.c: Likewise.
46601
46602 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46603 Define.
46604 (libc_feupdateenv_53bit): Define.
46605 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46606 Define.
46607 (libc_feupdateenv_53bit): Define.
46608
46609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46610 53 bit (without extend i386 double precision).
46611
46612 * math/libm-test.inc (sincos_test): Add tests for large input.
46613 (sin): Likewise.
46614 (cos): Likewise.
46615
46616 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46617
9cad04ea
AS
466182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46619
46620 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46621
f7062b9a
DM
466222012-03-15 David S. Miller <davem@davemloft.net>
46623
46624 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46625 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46626 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46627 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46631 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46632 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46633 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46634 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46635 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46636 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46637 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46638 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46640 file.
f7062b9a 46641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46643 file.
f7062b9a 46644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46646 file.
f7062b9a 46647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46648 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46649 file.
f7062b9a
DM
46650 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46651 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46652 fmin/fmax sysdep routines.
46653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46654
7bd951ff
DM
466552012-03-14 David S. Miller <davem@davemloft.net>
46656
559398ab
DM
46657 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46658 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46659 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46660 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46661 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46662 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46663 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46664 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46665 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46666 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46667 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46668 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46669 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46670 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46671 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46672 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46673 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46674 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46675 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46676 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46677 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46678 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46679 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46680 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46681 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46682 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46683 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46684 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46685 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46686 routines.
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46688 file.
559398ab 46689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46691 file.
559398ab 46692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46694 file.
559398ab 46695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46697 file.
559398ab 46698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46700 file.
559398ab 46701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46703 file.
46704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46705 file.
46706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46707 file.
46708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46709 file.
46710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46711 New file.
46712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46713 file.
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46715 file.
559398ab 46716 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46717 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46718 file.
559398ab 46719 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46720 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46721 file.
559398ab 46722 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46723 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46724 file.
559398ab 46725 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46726 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46727 VIS3 routines.
559398ab
DM
46728
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46730 New file.
46731
5a1c1e32
DM
46732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46733
eae47a36
DM
46734 * sysdeps/sparc/configure.in: New file.
46735 * sysdeps/sparc/configure: Generate.
46736 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46737 * configure: Regenerate.
46738 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46739 * config.make.in (have-as-vis3): New.
46740 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46741 available use -Av9d instead of -Av9a.
46742 * sysdeps/sparc/sparc64/Makefile: Likewise.
46743 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46745 New file.
46746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46747 file.
46748 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46749 New file.
46750 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46751 file.
eae47a36
DM
46752 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46753 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46754 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46755 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46756 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46757
c0c83bc8
DM
46758 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46759 fzeros/fnegs to load 0x80000000 into a float register instead of
46760 using the stack.
7bd951ff
DM
46761 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46762
bd951ccb
JM
467632012-03-14 Joseph Myers <joseph@codesourcery.com>
46764
46765 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46766 bits/syscall.h.
46767 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46768 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46769 ($(inst_includedir)/bits/syscall.h): Remove rule.
46770 ($(objpfx)bits/syscall.d): Include instead of
46771 $(objpfx)syscall-list.d.
46772 (generated): Change syscall-list.h and syscall-list.d to
46773 bits/syscall.h and bits/syscall.d.
46774
bb4e6db2
RM
467752012-03-14 Roland McGrath <roland@hack.frob.com>
46776
46777 [BZ #13846]
46778 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46779
aa4a2ae1
JM
467802012-03-14 Joseph Myers <joseph@codesourcery.com>
46781
e456826d
JM
46782 [BZ #13841]
46783 * math/s_csqrt.c: Include <float.h>.
46784 (__csqrt): Scale large or subnormal inputs.
46785 * math/s_csqrtf.c: Likewise.
46786 * math/s_csqrtl.c: Likewise.
46787 * math/libm-test.inc (csqrt_test): Add more tests.
46788 * sysdeps/i386/fpu/libm-test-ulps: Update.
46789 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46790
aa4a2ae1
JM
46791 [BZ #13840]
46792 * math/libm-test.inc (hypot_test): Add more tests.
46793
7c10fd35
DM
467942012-03-13 David S. Miller <davem@davemloft.net>
46795
46796 [BZ #13840]
46797 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46798 double-precision for the calculation instead of scaling.
46799
f453b98b
JM
468002012-03-13 Joseph Myers <joseph@codesourcery.com>
46801
46802 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46803 manipulate bits before adding and subtracting TWO52[sx].
46804 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46805 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46806 Likewise.
46807 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46808
09a3453f
DM
468092012-03-13 David S. Miller <davem@davemloft.net>
46810
8e59da90
DM
46811 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46812 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46813 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46814 rtld-global-offsets.h
46815 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46816
2a8ab7f2
DM
46817 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46818 large parameters.
46819
10f62770
DM
46820 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46821
5f0bdb18
DM
46822 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46823 'err' in the ifdef scope in which it is actually used.
46824
09a3453f
DM
46825 * nss/nss_db/db-init.c: Include string.h
46826
b4b2eb5e
DM
468272012-03-12 David S. Miller <davem@davemloft.net>
46828
98bb2f1c
DM
46829 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46830 masking out of the most significant byte of random value used.
46831 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46832 Fix coding style in previous change.
46833
b4b2eb5e
DM
46834 * sysdeps/unix/sysv/linux/kernel-features.h
46835 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46836 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46837 expression.
46838 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46839 later.
46840
6e226b09
DM
468412012-03-11 David S. Miller <davem@davemloft.net>
46842
a1bcbd40
DM
46843 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46844 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46845 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46846 for 'resultvar' otherwise things get truncated on 64-bit.
46847
cb9d6174
DM
46848 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46849 Fix masking out of the most significant byte of random value used.
46850
6e226b09
DM
46851 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46852
058c132d
AS
468532012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46854
46855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46856
2d2cd515
DM
468572012-03-09 David S. Miller <davem@davemloft.net>
46858
46859 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46860 variables with appropriate CPP guards.
57f41c40
AS
46861 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46862 from the frame pointer, not the stack pointer. Correct layout
46863 comments. Fix test on resulting framesize and the management of
46864 the outregs buffer for pltexit. Preserve floating point return
46865 values across _dl_call_pltexit call.
2d2cd515
DM
46866 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46867 framesize and the management of the outregs buffer for pltexit.
46868 Preserve floating point return values across _dl_call_pltexit
46869 call.
57f41c40
AS
46870 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46871 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46872 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46873 (print_exit): Fix format string for return register value.
46874
9a07f9d0
JM
468752012-03-10 Joseph Myers <joseph@codesourcery.com>
46876
46877 * sunrpc/Makefile (others): Add rpcgen.
46878 ($(objpfx)rpcgen): Remove special build rule and dependency on
46879 libc.
46880 * sunrpc/rpcgen.c: New file.
46881
547b5e30
PE
468822012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46883
c524201a
PE
46884 [BZ #13673]
46885 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46886 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46887 * sysdeps/i386/crti.S: Likewise.
46888 * sysdeps/i386/crtn.S: Likewise.
46889 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46890 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46891 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46892 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46893 * sysdeps/sh/crti.S: Likewise.
46894 * sysdeps/sh/crtn.S: Likewise.
46895 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46896
7b6235f2
PE
46897 [BZ #13673]
46898 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46899 with URL.
46900 * locale/programs/locfile-kw.gperf: Likewise.
46901 * locale/programs/charmap-kw.h: Regenerated.
46902 * locale/programs/locfile-kw.h: Likewise.
46903
547b5e30
PE
46904 [BZ #13673]
46905 * intl/plural.y: Replace FSF snail mail address with URL.
46906 * intl/plural.c: Regenerated.
46907
5f0a5dae
RH
469082012-03-09 Richard Henderson <rth@twiddle.net>
46909
46910 * include/math_private.h: Remove file.
46911 * math/math_private.h: Move file ...
46912 * sysdeps/generic/math_private.h: ... here.
46913
b8c03620
RH
46914 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46915 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46916 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46917
4e234f5d 46918 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46919 and <math_private.h>.
46920 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46921 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46922 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46923 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46924 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46930 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46938 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46939 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46943 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46944 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46946 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46949 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46950 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46951 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46953 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46954 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46955 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46956 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46958 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46960 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46963 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46964 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46968 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46969 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46971 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46973 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46974 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46975 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46976 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46977 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46978 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46979 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46980 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46991 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46992 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46993 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46994 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46995 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46996 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46997 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46998 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46999 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47000 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47002 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47003 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47004 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47005 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47006 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47007 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47008 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47009 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47010 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47011 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47013 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47014 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47015 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47016 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47017 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47018 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47019 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47020 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47021 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47022 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47023 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47024 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47025 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47026 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47027 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47028 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47029 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47030 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47031 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47032 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47033 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47034 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47035 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47036 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47037 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47038 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47039 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47040 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47041 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47042 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47043 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47044 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47045 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47046 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47047 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47048 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47049 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47050 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47051 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47052 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47053 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47054 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47055 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47056 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47057 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47058 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47059 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47060 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47061 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47062 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47063 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47064 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47065 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47066 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47067 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47068 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47069 * sysdeps/ieee754/k_standard.c: Likewise.
47070 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47071 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47072 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47073 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47074 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47075 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47076 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47077 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47078 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47079 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47080 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47081 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47082 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47083 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47084 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47085 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47086 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47087 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47088 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47089 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47090 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47091 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47092 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47093 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47094 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47095 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47096 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47097 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47098 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47099 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47100 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47101 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47102 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47103 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47104 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47105 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47106 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47107 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47108 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47109 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47110 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47111 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47112 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47113 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47114 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47115 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47116 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47117 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47118 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47119 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47120 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47121 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47122 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47123 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47124 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47125 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47126 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47127 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47170 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47173 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47174 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47175 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47177 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47182 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47185 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47187 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47189 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47190 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47192 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47197 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47202 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47203 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47204 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47205 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47215 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47216 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47217 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47218 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47219 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47220 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47221 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47222 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47223 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47224 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47225 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47226 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47227 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47228 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47229 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47230 * sysdeps/ieee754/s_lib_version.c: Likewise.
47231 * sysdeps/ieee754/s_matherr.c: Likewise.
47232 * sysdeps/ieee754/s_signgam.c: Likewise.
47233 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47234 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47235 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47236 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47237 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47238 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47239 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47240 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47241 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47242 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47243 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47244 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47245 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47246 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47247 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47248 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47249 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47250 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47251 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47252 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47253 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47254
1991fa03
JM
472552012-03-09 Joseph Myers <joseph@codesourcery.com>
47256
47257 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47258 * sunrpc/rpc_main.c: Likewise.
47259 * sunrpc/rpc_svcout.c: Likewise.
47260
60d6f5a6
DM
472612012-03-09 David S. Miller <davem@davemloft.net>
47262
47263 * include/math_private.h: New file.
47264
4962050e
JM
472652012-03-09 Joseph Myers <joseph@codesourcery.com>
47266
02a6f887
JM
47267 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47268 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47269 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47270 from <bits/socket_type.h>.
47271 (enum __socket_type): Don't define here.
47272 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47273 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47274 bits/socket_type.h.
47275
c6e013c1
JM
47276 [BZ #13566]
47277 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47278 checking __USE_GNU.
47279
4962050e
JM
47280 * Makerules ($(inst_includedir)/%.h): New rule.
47281 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47282 (install-others): Remove variable setting.
47283 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47284
38842f45
RH
472852012-03-08 Richard Henderson <rth@twiddle.net>
47286
67bb6da6
RH
47287 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47288 from macro to inline function; merge with the
47289 !__LIBC_INTERNAL_MATH_INLINES version.
47290 (__ieee754_sqrtf): Likewise.
47291
15194b4b
RH
47292 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47293 to inline function.
47294 (__rintf, __floor, __floorf): Likewise.
47295
64e21ede
RH
47296 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47297 macro to inline function.
47298 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47299
38842f45
RH
47300 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47301 not <math/math_private.h>.
47302
c64bf5fe
DM
473032012-03-08 David S. Miller <davem@davemloft.net>
47304
47305 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47306 copyright year.
47307 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47308
82d86f28
TS
473092012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47310
47311 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47312 normalization.
47313 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47314 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47315
aea5d727
UD
473162012-03-08 Ulrich Drepper <drepper@gmail.com>
47317
47318 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47319 be defined individually, they must be defined as a block. Define
47320 S for printing a string instead of hidint the different by using a
47321 macro for adding the 'l'.
47322 * stdio-common/tst-fphex-wide.c: Adjust.
47323
70bca0a3
MP
473242012-03-07 Marek Polacek <polacek@redhat.com>
47325
47326 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47327
65b81130
MP
473282012-03-08 Marek Polacek <polacek@redhat.com>
47329
47330 [BZ #13806]
47331 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47332 * stdio-common/tst-fphex.c: Define a few macros to make the
47333 test reusable. Use them.
47334 * stdio-common/tst-fphex-wide.c: New file.
47335
07037eeb
JM
473362012-03-08 Joseph Myers <joseph@codesourcery.com>
47337
a7a93d50
JM
47338 [BZ #6911]
47339 * manual/macros.texi (gnusystems): New macro.
47340 (nongnusystems): Likewise.
47341 (gnulinuxhurdsystems): Likewise.
47342 (gnuhurdsystems): Likewise..
47343 (gnulinuxsystems): Likewise.
47344 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47345 variants of the GNU system, not "GNU system".
47346 * manual/conf.texi: Likewise.
47347 * manual/errno.texi: Likewise. Update example of errno macro
47348 expansion.
47349 * manual/filesys.texi: Likewise.
47350 (getumask): Document as specific to GNU/Hurd.
47351 * manual/install.texi: Likewise. Reword some references to
47352 GNU/Linux.
47353 * manual/intro.texi: Likewise.
47354 * manual/io.texi: Likewise.
47355 (File Name Portability): Detail which constraints are inapplicable
47356 to all GNU systems and which are only inapplicable to GNU/Hurd.
47357 * manual/job.texi: Likewise.
47358 * manual/llio.texi: Likewise.
47359 (O_NOCTTY): Document as present on GNU/Linux.
47360 * manual/maint.texi: Likewise.
47361 * manual/memory.texi: Likewise.
47362 * manual/pattern.texi: Likewise.
47363 * manual/pipe.texi: Likewise.
47364 * manual/process.texi: Likewise.
47365 * manual/resource.texi: Likewise.
47366 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47367 child on GNU/Hurd.
47368 * manual/setjmp.texi: Likewise.
47369 * manual/signal.texi: Likewise.
47370 * manual/startup.texi: Likewise.
47371 * manual/stdio.texi: Likewise.
47372 * manual/terminal.texi: Likewise.
47373 (ONLCR): Document as POSIX.
47374 (OXTABS): Document availability on GNU/Linux as XTABS.
47375 (ONOEOT): Document availability separately from other bits.
47376 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47377 * manual/time.texi: Likewise.
47378 * manual/users.texi: Likewise.
47379 * INSTALL: Regenerated.
47380 * sysdeps/gnu/errlist.c: Regenerated.
47381
07037eeb
JM
47382 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47383 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47384 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47385 puts.
47386 * configure: Regenerated.
47387
d1d3431a
JM
473882012-03-07 Joseph Myers <joseph@codesourcery.com>
47389
af6a1e37
JM
47390 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47391 default includes instead of AC_HEADER_CHECK.
47392 * sysdeps/i386/configure: Regenerated.
47393
d1d3431a
JM
47394 [BZ #10716]
47395 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47396 * math/s_cacoshf.c (__cacoshf): Likewise.
47397 * math/s_cacoshl.c (__cacoshl): Likewise.
47398 * math/s_casinh.c (__casinh): Set signs of result from argument.
47399 * math/s_casinhf.c (__casinhf): Likewise.
47400 * math/s_casinhl.c (__casinhl): Likewise.
47401 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47402 (casinh_test): Add more tests.
47403 * sysdeps/i386/fpu/libm-test-ulps: Update.
47404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47405
482ff4da
UD
474062012-03-07 Ulrich Drepper <drepper@gmail.com>
47407
872fda05
UD
47408 * po/zh_TW.po: Update from translation team.
47409
a4300c7a
UD
47410 * login/Makefile (distribute): Remove variable.
47411 * catgets/Makefile: Likewise.
47412 * mach/Makefile: Likewise.
47413 * malloc/Makefile: Likewise.
47414 * misc/Makefile: Likewise.
47415 * iconv/Makefile: Likewise.
47416 * nscd/Makefile: Likewise.
47417 * hurd/Makefile: Likewise.
47418 * manual/Makefile: Likewise.
47419 * locale/Makefile: Likewise.
47420 * intl/Makefile: Likewise.
47421 * conform/Makefile: Likewise.
47422 * nss/Makefile: Likewise.
47423 * time/Makefile: Likewise.
47424 * soft-fp/Makefile: Likewise.
47425 * dirent/Makefile: Likewise.
47426 * gmon/Makefile: Likewise.
47427 * po/Makefile: Likewise.
47428 * rt/Makefile: Likewise.
47429 * socket/Makefile: Likewise.
47430 * math/Makefile: Likewise.
47431 * signal/Makefile: Likewise.
47432 * debug/Makefile: Likewise.
47433 * elf/Makefile: Likewise.
47434 * timezone/Makefile: Likewise.
47435 * stdlib/Makefile: Likewise.
47436 * iconvdata/Makefile: Likewise.
47437 * sunrpc/Makefile: Likewise.
47438 * io/Makefile: Likewise.
47439 * argp/Makefile: Likewise.
47440 * inet/Makefile: Likewise.
47441 * hesiod/Makefile: Likewise.
47442 * grp/Makefile: Likewise.
47443 * csu/Makefile: Likewise.
47444 * wctype/Makefile: Likewise.
47445 * crypt/Makefile: Likewise.
47446 * libio/Makefile: Likewise.
47447 * string/Makefile: Likewise.
47448 * nis/Makefile: Likewise.
47449 * resolv/Makefile: Likewise.
47450 * stdio-common/Makefile: Likewise.
47451 * wcsmbs/Makefile: Likewise.
47452 * dlfcn/Makefile: Likewise.
47453 * posix/Makefile: Likewise.
47454
3b7c4e74 47455 [BZ #6959]
482ff4da
UD
47456 * timezone/Makefile: Don't install timezone files, just the programs
47457 and scripts.
47458
f72ed77d
UD
474592012-03-06 Ulrich Drepper <drepper@gmail.com>
47460
a000466f
UD
47461 * nss/databases.def: Add missing gshadow entry.
47462
f72ed77d
UD
47463 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47464
a53b7a4e
MP
474652012-03-06 Marek Polacek <polacek@redhat.com>
47466
47467 [BZ #13726]
47468 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47469 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47470 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47471 * stdio-common/tst-long-dbl-fphex.c: New file.
47472
e9258400
DM
474732012-03-06 David S. Miller <davem@davemloft.net>
47474
47475 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47476 (set_obp_int): New function.
47477 (get_obp_int): New function.
47478 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47479 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47480 Avoid unused variable warnings on 'val' and use builtin_expect.
47481 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47482 __builtin_expect.
e9258400
DM
47483 (INLINE_CLONE_SYSCALL): Likewise.
47484
3bd2c723
DM
474852012-03-05 David S. Miller <davem@davemloft.net>
47486
47487 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47488
bbb78d03
AS
474892012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47490
884c5db4
AS
47491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47492
bbb78d03
AS
47493 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47494 only for |x| >= 40.
47495 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47496
1c9f702a 474972012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47498
47499 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47500 Replace gettimeofday with __vdso_gettimeofday.
47501
7be16f82
RM
47502 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47503 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47504 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47505
47506 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47507 time with __vdso_time.
47508
ed58a00f
JM
475092012-03-05 Joseph Myers <joseph@codesourcery.com>
47510
47511 * manual/lang.texi (size_t): Note types to which size_t may be
47512 equivalent with the GNU C Library, but do not describe when
47513 differences between them are significant.
47514
30ee4ced
AJ
475152012-03-05 Andreas Jaeger <aj@suse.de>
47516
47517 * sysdeps/i386/fpu/libm-test-ulps: Update.
47518
b7cd39e8
JM
475192012-03-05 Joseph Myers <joseph@codesourcery.com>
47520
47521 [BZ #3976]
47522 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47523 (__ieee754_pow): Save and restore rounding mode and use
47524 round-to-nearest for main computations.
47525 * math/libm-test.inc (pow_test_tonearest): New function.
47526 (pow_test_towardzero): Likewise.
47527 (pow_test_downward): Likewise.
47528 (pow_test_upward): Likewise.
47529 (main): Call the new functions.
47530 * sysdeps/i386/fpu/libm-test-ulps: Update.
47531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47532
47533 [BZ #3976]
47534 * math/libm-test.inc (cosh_test_tonearest): New function.
47535 (cosh_test_towardzero): Likewise.
47536 (cosh_test_downward): Likewise.
47537 (cosh_test_upward): Likewise.
47538 (sinh_test_tonearest): Likewise.
47539 (sinh_test_towardzero): Likewise.
47540 (sinh_test_downward): Likewise.
47541 (sinh_test_upward): Likewise.
47542 (main): Call the new functions.
47543 * sysdeps/i386/fpu/libm-test-ulps: Update.
47544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47545
6c6a98c9
TV
475462012-03-05 Tom de Vries <tom@codesourcery.com>
47547
47548 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47549 default stack guard is set in last bytes.
47550 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47551
21bb2d2e 475522012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47553
21bb2d2e 47554 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47555
21bb2d2e
AJ
47556 [BZ #13656]
47557 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47558 possibly allocate from heap instead of stack.
47559 * stdio-common/bug-vfprintf-nargs.c: New file.
47560 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47561
c6922934
AS
475622012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47563
47564 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47565
bc957d53
MP
475662012-03-03 Marek Polacek <polacek@redhat.com>
47567
47568 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47569 * math/math_private.h: Likewise.
47570 * stdlib/tst-strtod.c: Likewise.
47571 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47572 * sysdeps/x86_64/bits/atomic.h: Likewise.
47573
6358490d
DM
475742012-03-02 David S. Miller <davem@davemloft.net>
47575
47576 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47577 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47580 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47581 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47582 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47583 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47584
01ae168d
RM
475852012-03-02 Roland McGrath <roland@hack.frob.com>
47586
d9a17c07
RM
47587 [BZ #13792]
47588 * manual/examples/README: New file, says the example source files
47589 can be used under GPL>=2.
47590 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47591 line containing just "*/".
47592 * manual/examples/add.c: Add copyright header (GPL>=2).
47593 * manual/examples/argp-ex1.c: Likewise.
47594 * manual/examples/argp-ex2.c: Likewise.
47595 * manual/examples/argp-ex3.c: Likewise.
47596 * manual/examples/argp-ex4.c: Likewise.
47597 * manual/examples/atexit.c: Likewise.
47598 * manual/examples/db.c: Likewise.
47599 * manual/examples/dir.c: Likewise.
47600 * manual/examples/dir2.c: Likewise.
47601 * manual/examples/execinfo.c: Likewise.
47602 * manual/examples/filecli.c: Likewise.
47603 * manual/examples/filesrv.c: Likewise.
47604 * manual/examples/fmtmsgexpl.c: Likewise.
47605 * manual/examples/genpass.c: Likewise.
47606 * manual/examples/inetcli.c: Likewise.
47607 * manual/examples/inetsrv.c: Likewise.
47608 * manual/examples/isockad.c: Likewise.
47609 * manual/examples/longopt.c: Likewise.
47610 * manual/examples/memopen.c: Likewise.
47611 * manual/examples/memstrm.c: Likewise.
47612 * manual/examples/mkfsock.c: Likewise.
47613 * manual/examples/mkisock.c: Likewise.
47614 * manual/examples/mygetpass.c: Likewise.
47615 * manual/examples/pipe.c: Likewise.
47616 * manual/examples/popen.c: Likewise.
47617 * manual/examples/rprintf.c: Likewise.
47618 * manual/examples/search.c: Likewise.
47619 * manual/examples/select.c: Likewise.
47620 * manual/examples/setjmp.c: Likewise.
47621 * manual/examples/sigh1.c: Likewise.
47622 * manual/examples/sigusr.c: Likewise.
47623 * manual/examples/stpcpy.c: Likewise.
47624 * manual/examples/strdupa.c: Likewise.
47625 * manual/examples/strftim.c: Likewise.
47626 * manual/examples/strncat.c: Likewise.
47627 * manual/examples/subopt.c: Likewise.
47628 * manual/examples/swapcontext.c: Likewise.
47629 * manual/examples/termios.c: Likewise.
47630 * manual/examples/testopt.c: Likewise.
47631 * manual/examples/testpass.c: Likewise.
47632 * manual/examples/timeval_subtract.c: Likewise.
47633
01ae168d
RM
47634 [BZ #13792]
47635 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47636 function to ...
47637 * manual/timeval_subtract.c.texi: ... here, new file.
47638
49efa33d
DM
476392012-03-02 David S. Miller <davem@davemloft.net>
47640
47641 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47642
28afd92d
JM
476432012-03-02 Joseph Myers <joseph@codesourcery.com>
47644
804360ed
JM
47645 [BZ #3976]
47646 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47647 (__sin): Save and restore rounding mode and use round-to-nearest
47648 for all computations.
47649 (__cos): Save and restore rounding mode and use round-to-nearest
47650 for all computations.
47651 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47652 <fenv.h>.
47653 (tan): Save and restore rounding mode and use round-to-nearest for
47654 all computations.
47655 * math/libm-test.inc (cos_test_tonearest): New function.
47656 (cos_test_towardzero): Likewise.
47657 (cos_test_downward): Likewise.
47658 (cos_test_upward): Likewise.
47659 (sin_test_tonearest): Likewise.
47660 (sin_test_towardzero): Likewise.
47661 (sin_test_downward): Likewise.
47662 (sin_test_upward): Likewise.
47663 (tan_test_tonearest): Likewise.
47664 (tan_test_towardzero): Likewise.
47665 (tan_test_downward): Likewise.
47666 (tan_test_upward): Likewise.
47667 (main): Call the new functions.
47668 * sysdeps/i386/fpu/libm-test-ulps: Update.
47669 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47670
a6d06d7b
JM
47671 [BZ #10135]
47672 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47673 small n, then large n, before computing and testing k+n.
47674 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47675 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47676 Likewise.
47677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47678 Likewise.
47679 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47680 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47681 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47682 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47683 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47684 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47685 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47686 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47687 * math/libm-test.inc (scalbn_test): Add more tests.
47688 (scalbln_test): Likewise.
47689
07e12bb3
JM
47690 * manual/filesys.texi (mode_t): Describe constraints on size and
47691 signedness, not exact equivalence to a particular type.
47692 (ino_t): Likewise.
47693 (ino64_t): Likewise.
47694 (dev_t): Likewise.
47695 (nlink_t): Likewise.
47696 (blkcnt_t): Likewise.
47697 (blkcnt64_t): Likewise.
47698 * manual/llio.texi (off_t): Likewise.
47699
28afd92d
JM
47700 [BZ #3976]
47701 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47702 (__ieee754_exp): Save and restore rounding mode and use
47703 round-to-nearest for all computations.
47704 * math/libm-test.inc (exp_test_tonearest): New function.
47705 (exp_test_towardzero): Likewise.
47706 (exp_test_downward): Likewise.
47707 (exp_test_upward): Likewise.
47708 (main): Call the new functions.
47709 * sysdeps/i386/fpu/libm-test-ulps: Update.
47710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47711
b1eeb65d
CD
477122012-03-01 Chris Demetriou <cgd@google.com>
47713
47714 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47715 have predictable order.
47716
53362a4b
DM
477172012-03-01 David S. Miller <davem@davemloft.net>
47718
3c969083
DM
47719 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47720
759707de
DM
47721 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47722 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47723 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47724 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47725
dfdb8ff2
DM
47726 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47727 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47728 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47730 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47731 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47732 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47733 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47734 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47735
ead89f96
DM
47736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47737
7f66bd07
DM
47738 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47739 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47740 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47741
53362a4b
DM
47742 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47743 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47744 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47745 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47746 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47747 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47748 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47749 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47750 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47751 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47752 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47753 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47754 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47755 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47756 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47757 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47758 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47759 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47760 * sysdeps/sparc/elf/configure: Regenerated.
47761
7b1902cb
JM
477622012-03-01 Joseph Myers <joseph@codesourcery.com>
47763
bec039bc
JM
47764 * configure.in (AS, LD): Require binutils 2.20 or later.
47765 * configure: Regenerated.
47766 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47767 as required minimum version.
47768 * INSTALL: Regenerated.
47769
7b1902cb
JM
47770 [BZ #2541]
47771 [BZ #4108]
47772 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47773 before squaring exponent.
47774 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47775 bottom long double and 27 bits of top long double before squaring
47776 exponent.
47777 * math/libm-test.inc (erfc_test): Add more tests.
47778 * sysdeps/i386/fpu/libm-test-ulps: Update.
47779 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47781
f775c276
KT
477822012-03-01 Kai Tietz <ktietz@redhat.com>
47783
47784 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47785 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47786 containing bit-fields.
47787 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47788 * soft-fp/single.h (_FP_UNION_S): Likewise.
47789 * soft-fp/double.h (_FP_UNION_D): Likewise.
47790
5b8a4d4a
JM
477912012-02-29 Joseph Myers <joseph@codesourcery.com>
47792
0bab47b6
JM
47793 [BZ #13786]
47794 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47795 not include ../strcmp.S.
47796 [USE_AS_STRNCASECMP_L]: Likewise.
47797 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47798 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47799 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47800 (__strncasecmp_l_ia32): Define as alias to
47801 __strncasecmp_l_nonascii.
47802
0fcad3e2
JM
47803 [BZ #5794]
47804 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47805 * sysdeps/i386/fpu/libm-test-ulps: Update.
47806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47807
5b8a4d4a
JM
47808 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47810
8fdceb2e
JL
478112012-02-29 Jeff Law <law@redhat.com>
47812
47813 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47814 out of bounds read.
47815
1f393a11
MP
478162012-02-29 Marek Polacek <polacek@redhat.com>
47817
47818 [BZ #13706]
47819 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47820 * elf/Makefile: Add rules to run tst-unused-dep.out.
47821
8847f037
DM
478222012-02-28 David S. Miller <davem@davemloft.net>
47823
47824 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47825 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47826 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47827 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47828 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47829 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47830
169d7f11
JM
478312012-02-29 Joseph Myers <joseph@codesourcery.com>
47832
47833 * math/libm-test.inc (llround_test): Move one test from
47834 lround_test. Use TEST_f_L in moved test.
47835 (lround_test): Move misplaced test to llround_test. Add testcase
47836 from bug 2561.
47837
39adf059
UD
478382012-02-28 Ulrich Drepper <drepper@gmail.com>
47839
47840 * sysdeps/x86_64/fpu/e_expf.S: New file.
47841 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47842
71b5d1c5
SB
478432012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47844
47845 [BZ #13637]
47846 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47847 of remain_len that may cause incomplete multi-byte character and
47848 false match.
47849 * posix/bug-regex33.c: New file.
47850 * posix/Makefile (tests): Add bug-regex33.
47851
1f77f049
JM
478522012-02-28 Joseph Myers <joseph@codesourcery.com>
47853
47854 * manual/macros.texi: New file.
47855 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47856 * manual/libc.texinfo: Include macros.texi.
47857 * manual/creatute.texi: Likewise.
47858 * manual/install.texi: Likewise.
47859 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47860 @glibcadj{} in references to the GNU C Library.
47861 * manual/charset.texi: Likewise.
47862 * manual/conf.texi: Likewise.
47863 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47864 when not using those macros.
47865 * manual/creature.texi: Likewise.
47866 * manual/crypt.texi: Likewise.
47867 * manual/errno.texi: Likewise.
47868 * manual/filesys.texi: Likewise.
47869 * manual/header.texi: Likewise.
47870 * manual/install.texi: Likewise.
47871 * manual/intro.texi: Likewise.
47872 * manual/io.texi: Likewise.
47873 * manual/job.texi: Likewise.
47874 * manual/lang.texi: Likewise.
47875 * manual/libc.texiinfo: Likewise.
47876 * manual/llio.texi: Likewise.
47877 * manual/locale.texi: Likewise.
47878 * manual/maint.texi: Likewise.
47879 * manual/math.texi: Likewise.
47880 * manual/memory.texi: Likewise.
47881 * manual/message.texi: Likewise.
47882 * manual/nss.texi: Likewise.
47883 * manual/pattern.texi: Likewise.
47884 * manual/process.texi: Likewise.
47885 * manual/resource.texi: Likewise.
47886 * manual/search.texi: Likewise.
47887 * manual/setjmp.texi: Likewise.
47888 * manual/signal.texi: Likewise.
47889 * manual/socket.texi: Likewise.
47890 * manual/startup.texi: Likewise.
47891 * manual/stdio.texi: Likewise.
47892 * manual/string.texi: Likewise.
47893 * manual/sysinfo.texi: Likewise.
47894 * manual/syslog.texi: Likewise.
47895 * manual/terminal.texi: Likewise.
47896 * manual/time.texi: Likewise.
47897 * manual/users.texi: Likewise.
47898 * INSTALL: Regenerated.
47899 * NOTES: Regenerated.
d40c5d54 47900 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47901
450bf206
AS
479022012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47903
47904 * include/dirent.h: Include <dirstream.h> before
47905 <dirent/dirent.h>.
47906
741a235b
DM
479072012-02-28 David S. Miller <davem@davemloft.net>
47908
47909 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47910 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47911 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47913
d6b5aa58
DM
479142012-02-27 David S. Miller <davem@davemloft.net>
47915
1aff59a3
DM
47916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47917 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47918 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47919 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47920
d6b5aa58
DM
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47922 frame pointer instead of stack pointer relative arg slot.
47923 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47924 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47925 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47926
433f48bf
CD
479272012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47928
47929 [BZ #3992]
47930 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47931
d674b76d
DM
479322012-02-27 David S. Miller <davem@davemloft.net>
47933
47934 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47935 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47936 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47937 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47938 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47939 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47940 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47941 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47942
0e7727f7
JM
479432012-02-27 Joseph Myers <joseph@codesourcery.com>
47944
47945 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47946 later. Allow versions 5-9.
43be4ca2 47947 * configure: Regenerated.
0e7727f7
JM
47948 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47949 required minimum version and 4.6 as recommended version. Do not
47950 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47951 * INSTALL: Regenerated.
0e7727f7 47952
a78bc654
DM
479532012-02-27 David S. Miller <davem@davemloft.net>
47954
428d5830
DM
47955 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47956 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47957 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47958 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47959 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47960 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47961 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47962 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47963
a78bc654
DM
47964 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47965 manipulate bits before adding and subtracting TWO112[sx].
47966 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47967
4579f81c
RM
479682012-02-27 Roland McGrath <roland@hack.frob.com>
47969
36c8acb4
RM
47970 [BZ #13775]
47971 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47972 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47973 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47974 being in POSIX, because they are in 1003.1-2008.
47975
84ad622b
RM
47976 * rt/tst-aio.c: Include <fcntl.h>.
47977 * rt/tst-aio7.c: Likewise.
47978 * rt/tst-aio64.c: Likewise.
47979
4579f81c
RM
47980 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47981
abd923db
JM
479822012-02-27 Joseph Myers <joseph@codesourcery.com>
47983
47984 * manual/install.texi (--with-headers): Describe headers as
47985 interface headers, not private headers.
47986 (Specific advice for GNU/Linux systems): Describe use of headers
47987 from "make headers_install", not private headers from older
47988 kernels.
43be4ca2 47989 * INSTALL: Regenerated.
abd923db
JM
47990 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47991 Change to 2.6.19.
47992 * sysdeps/unix/sysv/linux/configure: Regenerated.
47993
6664049b
JM
47994 * manual/llio.texi (fclean): Remove documentation.
47995
bb8b6697
JM
47996 * manual/Makefile (libc-texi-generated): New variable. Include
47997 version.texi.
47998 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47999 $(libc-texi-generated), not duplicated list of files.
48000 (version.texi, stamp-version): New rules.
48001 (realclean): Remove $(libc-texi-generated), not individual files
48002 from that list. Do not remove dir-add.texinfo.
48003 * manual/libc.texinfo: Comment out uses of edition numbers and
48004 references to printed manual. Remove last-updated dates.
48005 (EDITION): Comment out.
48006 (ISBN): Likewise.
48007 (VERSION, UPDATED): Remove.
48008 (version.texi): Include.
48009
12e5c3b9
AS
480102012-02-27 Andreas Schwab <schwab@linux-m68k.org>
48011
48012 * sysdeps/posix/spawni.c: Include <signal.h>.
48013 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48014 * sysdeps/pthread/aio_fsync.c: Likewise.
48015
4efeffc1 480162012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48017
ba63ba08
UD
48018 * conform/Makefile (tests): Run only when not cross-compiling and
48019 when fast-check is not defined.
48020
d94a4670
UD
48021 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48022 * conform/data/limits.h-data: Fixes for POSIX2008.
48023 * conform/run-conformtest.sh: Run all tests.
48024 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48025 headers.
48026 * include/bits/dlfcn.h: Likewise.
48027 * include/langinfo.h: Likewise.
48028 * include/monetary.h: Likewise.
48029 * include/sys/poll.h: Likewise.
48030
48031 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48032 for __USE_GNU.
48033 * posix/spawn.h: Define __need_sigset_t.
48034 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48035 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48036 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48037 to get sigevent_t only.
48038 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48039 only for __USE_GNU.
48040 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48041 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48042 process_vm_writev only for __USE_GNU.
48043 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48044
48045 * conform/Makefile: For now ignore errors from run-conformtest.
48046 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48047 POSIX to avoid namespace pollution. Don't prepend headers.
48048 * conform/data/aio.h-data: Fixes for POSIX testing.
48049 * conform/data/fcntl.h-data: Likewise.
48050 * conform/data/glob.h-data: Likewise.
48051 * conform/data/grp.h-data: Likewise.
48052 * conform/data/pthread.h-data: Likewise.
48053 * conform/data/pwd.h-data: Likewise.
48054 * conform/data/signal.h-data: Likewise.
48055 * conform/data/spawn.h-data: Likewise.
48056 * conform/data/stdio.h-data: Likewise.
48057 * conform/data/stdlib.h-data: Likewise.
48058 * conform/data/stropts.h-data: Likewise.
48059 * conform/data/sys/mman.h-data: Likewise.
48060 * conform/data/sys/stat.h-data: Likewise.
48061 * conform/data/sys/types.h-data: Likewise.
48062 * conform/data/sys/wait.h-data: Likewise.
48063 * conform/data/time.h-data: Likewise.
48064 * conform/data/unistd.h-data: Likewise.
48065 * conform/data/utime.h-data: Likewise.
48066
48067 * io/sys/stat.h: fchmod was always in POSIX.
48068 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48069 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48070 * rt/aio.h: Define __need_timespec before including <time.h>.
48071 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48072 struct. Add forward declaration of pthread_attr_t and use it in
48073 sigevent.
48074 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48075 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48076 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48077 always remove CLK_TCK definition.
48078
c20105c3
AS
480792012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48080
48081 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48082
7a270350
UD
480832012-02-25 Ulrich Drepper <drepper@gmail.com>
48084
31341567
UD
48085 * conform/run-conformtest.sh: New file.
48086 * conform/Makefile: Run run-conformtest for tests.
48087 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48088 support.
48089
48090 * conform/data/uchar.h-data: New file.
48091 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48092 * conform/data/arpa/inet.h-data: Likewise.
48093 * conform/data/assert.h-data: Likewise.
48094 * conform/data/complex.h-data: Likewise.
48095 * conform/data/cpio.h-data: Likewise.
48096 * conform/data/ctype.h-data: Likewise.
48097 * conform/data/dirent.h-data: Likewise.
48098 * conform/data/dlfcn.h-data: Likewise.
48099 * conform/data/errno.h-data: Likewise.
48100 * conform/data/fcntl.h-data: Likewise.
48101 * conform/data/float.h-data: Likewise.
48102 * conform/data/fmtmsg.h-data: Likewise.
48103 * conform/data/fnmatch.h-data: Likewise.
48104 * conform/data/ftw.h-data: Likewise.
48105 * conform/data/glob.h-data: Likewise.
48106 * conform/data/grp.h-data: Likewise.
48107 * conform/data/iconv.h-data: Likewise.
48108 * conform/data/inttypes.h-data: Likewise.
48109 * conform/data/langinfo.h-data: Likewise.
48110 * conform/data/libgen.h-data: Likewise.
48111 * conform/data/limits.h-data: Likewise.
48112 * conform/data/locale.h-data: Likewise.
48113 * conform/data/math.h-data: Likewise.
48114 * conform/data/monetary.h-data: Likewise.
48115 * conform/data/mqueue.h-data: Likewise.
48116 * conform/data/ndbm.h-data: Likewise.
48117 * conform/data/net/if.h-data: Likewise.
48118 * conform/data/netdb.h-data: Likewise.
48119 * conform/data/netinet/in.h-data: Likewise.
48120 * conform/data/nl_types.h-data: Likewise.
48121 * conform/data/poll.h-data: Likewise.
48122 * conform/data/pthread.h-data: Likewise.
48123 * conform/data/pwd.h-data: Likewise.
48124 * conform/data/regex.h-data: Likewise.
48125 * conform/data/sched.h-data: Likewise.
48126 * conform/data/search.h-data: Likewise.
48127 * conform/data/semaphore.h-data: Likewise.
48128 * conform/data/setjmp.h-data: Likewise.
48129 * conform/data/signal.h-data: Likewise.
48130 * conform/data/spawn.h-data: Likewise.
48131 * conform/data/stdarg.h-data: Likewise.
48132 * conform/data/stdio.h-data: Likewise.
48133 * conform/data/stdlib.h-data: Likewise.
48134 * conform/data/string.h-data: Likewise.
48135 * conform/data/strings.h-data: Likewise.
48136 * conform/data/stropts.h-data: Likewise.
48137 * conform/data/sys/ipc.h-data: Likewise.
48138 * conform/data/sys/mman.h-data: Likewise.
48139 * conform/data/sys/msg.h-data: Likewise.
48140 * conform/data/sys/resource.h-data: Likewise.
48141 * conform/data/sys/select.h-data: Likewise.
48142 * conform/data/sys/sem.h-data: Likewise.
48143 * conform/data/sys/shm.h-data: Likewise.
48144 * conform/data/sys/socket.h-data: Likewise.
48145 * conform/data/sys/stat.h-data: Likewise.
48146 * conform/data/sys/statvfs.h-data: Likewise.
48147 * conform/data/sys/time.h-data: Likewise.
48148 * conform/data/sys/timeb.h-data: Likewise.
48149 * conform/data/sys/times.h-data: Likewise.
48150 * conform/data/sys/types.h-data: Likewise.
48151 * conform/data/sys/uio.h-data: Likewise.
48152 * conform/data/sys/un.h-data: Likewise.
48153 * conform/data/sys/utsname.h-data: Likewise.
48154 * conform/data/sys/wait.h-data: Likewise.
48155 * conform/data/syslog.h-data: Likewise.
48156 * conform/data/tar.h-data: Likewise.
48157 * conform/data/termios.h-data: Likewise.
48158 * conform/data/utime.h-data: Likewise.
48159 * conform/data/utmpx.h-data: Likewise.
48160 * conform/data/varargs.h-data: Likewise.
48161 * conform/data/wchar.h-data: Likewise.
48162 * conform/data/wctype.h-data: Likewise.
48163 * conform/data/wordexp.h-data: Likewise.
48164
48165 * include/stropts.h: New file.
48166 * include/uchar.h: New file.
48167 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48168 * include/assert.h: Likewise.
48169 * include/ctype.h: Likewise.
48170 * include/dirent.h: Likewise.
48171 * include/dlfcn.h: Likewise.
48172 * include/fcntl.h: Likewise.
48173 * include/fnmatch.h: Likewise.
48174 * include/glob.h: Likewise.
48175 * include/grp.h: Likewise.
48176 * include/libio.h: Likewise.
48177 * include/locale.h: Likewise.
48178 * include/math.h: Likewise.
48179 * include/net/if.h: Likewise.
48180 * include/netdb.h: Likewise.
48181 * include/netinet/in.h: Likewise.
48182 * include/pthread.h: Likewise.
48183 * include/pwd.h: Likewise.
48184 * include/regex.h: Likewise.
48185 * include/sched.h: Likewise.
48186 * include/search.h: Likewise.
48187 * include/setjmp.h: Likewise.
48188 * include/signal.h: Likewise.
48189 * include/stdio.h: Likewise.
48190 * include/stdlib.h: Likewise.
48191 * include/string.h: Likewise.
48192 * include/sys/cdefs.h: Likewise.
48193 * include/sys/mman.h: Likewise.
48194 * include/sys/msg.h: Likewise.
48195 * include/sys/resource.h: Likewise.
48196 * include/sys/select.h: Likewise.
48197 * include/sys/socket.h: Likewise.
48198 * include/sys/stat.h: Likewise.
48199 * include/sys/statvfs.h: Likewise.
48200 * include/sys/time.h: Likewise.
48201 * include/sys/times.h: Likewise.
48202 * include/sys/uio.h: Likewise.
48203 * include/sys/utsname.h: Likewise.
48204 * include/sys/wait.h: Likewise.
48205 * include/termios.h: Likewise.
48206 * include/time.h: Likewise.
48207 * include/ulimit.h: Likewise.
48208 * include/unistd.h: Likewise.
48209 * include/utime.h: Likewise.
48210 * include/wchar.h: Likewise.
48211 * include/wctype.h: Likewise.
48212 * include/wordexp.h: Likewise.
48213
48214 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48215
7a270350
UD
48216 * time/time.h: TIME_UTC must be a macro.
48217 Make timespec_get available for ISO C11 only as well.
48218
7724defc
UD
482192012-02-24 Ulrich Drepper <drepper@gmail.com>
48220
48221 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48222 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48223
6b1d1d46
JM
482242012-02-24 Joseph Myers <joseph@codesourcery.com>
48225
48226 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48227
0f8bbd69
JM
482282012-02-24 Joseph Myers <joseph@codesourcery.com>
48229
48230 * manual/texinfo.tex: Update to version 2012-01-19.16.
48231
66ab80bc
JM
482322012-02-24 Joseph Myers <joseph@codesourcery.com>
48233
48234 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48235
74981cc5
RM
482362012-02-24 Roland McGrath <roland@hack.frob.com>
48237
ee968201
RM
48238 [BZ #13738]
48239 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48240 * manual/fdl-1.3.texi: New file.
48241 * manual/fdl-1.1.texi: File removed.
48242
74981cc5
RM
48243 [BZ #13738]
48244 * manual/libc.texinfo (FDL_VERSION): New @set.
48245 Use it for mention of FDL in cover text.
48246 (Documentation License): Use it in @include file name.
48247
7bb764bc
JM
482482012-02-22 Joseph Myers <joseph@codesourcery.com>
48249 Roland McGrath <roland@hack.frob.com>
48250
48251 [BZ #5461]
57f41c40
AS
48252 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48253 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48254 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48255 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48256 name.
48257 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48258
6cbeae47
JM
482592012-02-22 Joseph Myers <joseph@codesourcery.com>
48260
48261 [BZ #2547]
48262 [BZ #11365]
48263 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48264 manipulate bits before adding and subtracting TWO23[sx].
48265 * math/libm-test.inc (nearbyint_test): Add more tests.
48266
fe45ce09
JM
482672012-02-22 Joseph Myers <joseph@codesourcery.com>
48268
48269 [BZ #2548]
48270 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48271 bits before adding and subtracting TWO23[sx].
48272 * math/libm-test.inc (rint_test): Add more tests.
48273 (rint_test_tonearest): Likewise.
48274 (rint_test_towardzero): Likewise.
48275 (rint_test_downward): Likewise.
48276 (rint_test_upward: Likewise.
48277
ff3b3d82
JM
482782012-02-22 Joseph Myers <joseph@codesourcery.com>
48279
48280 [BZ #10110]
48281 * include/stdc-predef.h: New file. Extracted from features.h.
48282 * include/features.h: Include stdc-predef.h.
48283 * Makefile (headers): Add stdc-predef.h.
48284 * CONFORMANCE (Compiler limitations): Update.
48285
ef0aab35
JM
482862012-02-22 Joseph Myers <joseph@codesourcery.com>
48287
48288 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48289
58639409
DM
482902012-02-21 David S. Miller <davem@davemloft.net>
48291
48292 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48293 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48294
c0e70b25
DM
482952012-02-20 David S. Miller <davem@davemloft.net>
48296
48297 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48298 using a normal save/restore sequence, rather than allocating a
48299 dummy stack frame just to store a frame pointer and restore.
48300 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48301
fb06851d
JM
483022012-02-21 Joseph Myers <joseph@codesourcery.com>
48303
48304 * manual/install.texi: Fix stray word in line-wrapped comment.
48305
7a8b71c3
DM
483062012-02-20 David S. Miller <davem@davemloft.net>
48307
d510c123
DM
48308 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48309 both binutils and gcc support GOTDATA.
48310
0722d7c2
DM
48311 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48312 "rd %pc" in the PIC register setup sequences.
48313
3d2b3019
DM
48314 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48315 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48316 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48317 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48318 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48319 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48320 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48321 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48322 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48323 (SYSCALL_ERROR_HANDLER): Likewise.
48324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48327 (SYSCALL_ERROR_HANDLER): Likewise.
48328
c80098a9
DM
48329 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48330 (HAVE_GCC_GOTDATA): New.
48331 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48332 relocation support in both binutils and gcc.
48333 * sysdeps/sparc/elf/configure: Regenerate.
48334
3a2545a0
DM
48335 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48336 * sysdeps/sparc/sparc32/elf/configure: Delete.
48337 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48338 * sysdeps/sparc/sparc64/elf/configure: Delete.
48339 * sysdeps/sparc/elf/configure.in: New file.
48340 * sysdeps/sparc/elf/configure: Generate.
48341
7a8b71c3
DM
48342 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48343 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48344 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48345 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48346 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48347
f1e86fca
JM
483482012-02-21 Joseph Myers <joseph@codesourcery.com>
48349
48350 * manual/install.texi: Do not mention specific glibc version
48351 numbers.
48352 * manual/libc.texinfo (VERSION, UPDATED): Update.
48353 (@copying): Use @copyright{} and range of years.
48354
0e7dfaef
JM
483552012-02-21 Joseph Myers <joseph@codesourcery.com>
48356
48357 [BZ #13695]
48358 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48359 [crti.S not in sysdirs] (generated): Do not append.
48360 [crti.S not in sysdirs] (omit-deps): Likewise.
48361 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48362 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48363 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48364 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48365 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48366 Likewise.
48367 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48368 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48369 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48370 * csu/defs.awk: Remove file.
48371 * sysdeps/generic/initfini.c: Likewise.
48372 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48373 variable.
48374 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48375 Likewise.
48376
599af3ca
JM
483772012-02-20 Joseph Myers <joseph@codesourcery.com>
48378
48379 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48380 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48381 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48382 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48383 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48384 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48385 <bits/epoll.h>.
48386 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48387 (__EPOLL_PACKED): Define to empty if not defined by
48388 <bits/epoll.h>.
48389 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48391 bits/epoll.h.
48392
0e499750
JM
483932012-02-20 Joseph Myers <joseph@codesourcery.com>
48394
48395 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48396 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48397 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48398 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48399 <bits/timerfd.h>.
48400 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48402 bits/timerfd.h.
48403
5ad91f6e
JM
484042012-02-20 Joseph Myers <joseph@codesourcery.com>
48405
48406 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48407 in C locale.
48408 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48409 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48410 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48412
06b99b02
AJ
484132012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48414
48415 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48416 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48417
7638c0fd
AS
484182012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48419
48420 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48421 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48422 defined.
48423 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48424 Likewise.
48425 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48426 entry for 2.16.
48427
92221550
AJ
484282012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48429
48430 * math/w_acos.c: Use non-signaling floating-point comparisons.
48431 * math/w_acosf.c: Likewise.
48432 * math/w_acosh.c: Likewise.
48433 * math/w_acoshf.c: Likewise.
48434 * math/w_acoshl.c: Likewise.
48435 * math/w_acosl.c: Likewise.
48436 * math/w_asin.c: Likewise.
48437 * math/w_asinf.c: Likewise.
48438 * math/w_asinl.c: Likewise.
48439 * math/w_atanh.c: Likewise.
48440 * math/w_atanhf.c: Likewise.
48441 * math/w_atanhl.c: Likewise.
48442 * math/w_exp2.c: Likewise.
48443 * math/w_exp2f.c: Likewise.
48444 * math/w_exp2l.c: Likewise.
48445 * math/w_j0.c: Likewise.
48446 * math/w_j0f.c: Likewise.
48447 * math/w_j0l.c: Likewise.
48448 * math/w_j1.c: Likewise.
48449 * math/w_j1f.c: Likewise.
48450 * math/w_j1l.c: Likewise.
48451 * math/w_jn.c: Likewise.
48452 * math/w_jnf.c: Likewise.
48453 * math/w_log.c: Likewise.
48454 * math/w_log10.c: Likewise.
48455 * math/w_log10f.c: Likewise.
48456 * math/w_log10l.c: Likewise.
48457 * math/w_log2.c: Likewise.
48458 * math/w_log2f.c: Likewise.
48459 * math/w_log2l.c: Likewise.
48460 * math/w_logf.c: Likewise.
48461 * math/w_logl.c: Likewise.
48462 * math/w_sqrt.c: Likewise.
48463 * math/w_sqrtf.c: Likewise.
48464 * math/w_sqrtl.c: Likewise.
48465 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48466 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48467 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48468 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48469 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48470
ebaf36eb
JM
484712012-02-19 Joseph Myers <joseph@codesourcery.com>
48472
48473 [BZ #9739]
48474 * manual/string.texi (strnlen): Use correct parameter name in
48475 equivalent expression.
48476
71c254a6
JM
484772012-02-19 Joseph Myers <joseph@codesourcery.com>
48478
48479 [BZ #11174]
48480 * manual/users.texi (seteuid): Consistently use neweuid for
48481 argument name.
48482
16d2c631
JM
484832012-02-19 Joseph Myers <joseph@codesourcery.com>
48484
48485 [BZ #13704]
48486 * manual/nss.texi (Services in the NSS configuration): Correct
48487 list of services in example configuration file.
48488
cd837b09
NB
484892012-02-19 Nick Bowler <nbowler@draconx.ca>
48490
48491 [BZ #11322]
48492 * manual/arith.texi: Remove statements about negative zero
48493 behaving identically to zero.
48494
02c4bbad
JM
484952012-02-18 Joseph Myers <joseph@codesourcery.com>
48496
48497 [BZ #5993]
48498 * manual/install.texi: Do not document upgrading from libc5.
48499
366842e7
JM
485002012-02-18 Joseph Myers <joseph@codesourcery.com>
48501
48502 [BZ #4596]
48503 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48504
dd54084d
DM
485052012-02-18 David S. Miller <davem@davemloft.net>
48506
48507 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48508 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48509 %o7 across the call.
48510 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48511 instead.
48512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48513 SETUP_PIC_REG_LEAF.
48514 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48515 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48516 * sysdeps/sparc/crtn.S: Likewise.
48517
2bcc53a3
UD
485182012-02-17 Ulrich Drepper <drepper@gmail.com>
48519
48520 * aout/Makefile: Remove.
48521
09c093b5
RK
485222012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48523
48524 [BZ #13058]
48525 * manual/examples/argp-ex1.c (main): Format definition in GNU
48526 style.
48527 * manual/examples/argp-ex2.c (main): Likewise.
48528 * manual/examples/argp-ex3.c (main): Likewise.
48529 * manual/examples/argp-ex4.c (main): Likewise.
48530 * manual/examples/longopt.c (main): Use new-style prototype
48531 definition.
48532 * manual/examples/strncat.c (main): Specify return type and use
48533 (void) for arguments.
48534 * manual/examples/subopt.c (main): Use char **argv argument.
48535
2ee633a2
JM
485362012-02-17 Joseph Myers <joseph@codesourcery.com>
48537
48538 [BZ #5077]
48539 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48540 rounding modes.
48541
0520adde
FB
485422012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48543
48544 [BZ #6907]
48545 * manual/string.texi (strchr): Change when strchrnul is
48546 recommended.
48547
3f4081cd
DGM
485482012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48549
48550 [BZ #174]
48551 * manual/locale.texi (setlocale): Document LOCPATH.
48552
d1b10e78
JM
485532012-02-17 Joseph Myers <joseph@codesourcery.com>
48554
48555 [BZ #10210]
48556 * manual/process.texi (execle): Move @dots{} before last argument.
48557
79c6869c
PB
485582012-02-17 Paul Bolle <pebolle@tiscali.nl>
48559
48560 [BZ #12047]
48561 * manual/charset.texi (Generic Charset Conversion): Fix typo
48562 (LC_TYPE -> LC_CTYPE).
48563
cc6e48bc
NB
485642012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48565
48566 [BZ #5805]
48567 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48568 (scalbnf): Likewise.
48569 (scalbnl): Likewise.
48570 (scalbln): Likewise.
48571 (scalblnf): Likewise.
48572 (scalblnl): Likewise.
48573 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48574 (vwarnx): Likewise.
48575 (verr): Likewise.
48576 (verrx): Likewise.
48577 * manual/filesys.texi (telldir): Use braces around return type.
48578 * manual/llio.texi (mmap): Add space after comma.
48579 (mmap64): Likewise.
48580 * manual/math.texi (jn): Use @var{} on parameter names.
48581 (jnf): Likewise.
48582 (jnl): Likewise.
48583 (yn): Likewise.
48584 (ynf): Likewise.
48585 (ynl): Likewise.
48586 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48587 line.
48588 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48589 "...".
48590 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48591 (sched_get_priority_max): Likewise.
48592 * manual/signal.texi (sigvec): Add space after comma.
48593 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48594 names.
48595 (if_indextoname): Likewise.
48596 (if_freenameindex): Likewise.
48597 (sendto): Use ',' instead of '.' in prototype.
48598 * manual/startup.texi (syscall): Use @dots{} instead of literal
48599 "...".
48600 * manual/stdio.texi (__fpending): Separate initial words of
48601 paragraph from @deftypefun line.
48602 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48603 "...".
48604 (vsyslog): Use @var{} on parameter names.
48605 * manual/terminal.texi (stty): Use @var{} on parameter names.
48606 * manual/users.texi (getutmp): Use @var{} on parameter names.
48607 (getutmpx): Likewise.
48608
5b23062f
JM
486092012-02-17 Joseph Myers <joseph@codesourcery.com>
48610
48611 [BZ #6884]
48612 * manual/stdio.texi (fopen): Fix typos in description of
48613 ",ccs=STRING".
48614
8dee4833
AJ
486152012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48616
48617 [BZ #4026]
48618 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48619 get clock_id definition.
48620
9078ce93
TS
486212012-02-17 Thomas Schwinge <thomas@schwinge.name>
48622
48623 [BZ #4822]
48624 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48625 (madvise): Cast every argument to void on its own.
48626
3835c55f
JM
486272012-02-17 Joseph Myers <joseph@codesourcery.com>
48628
48629 [BZ #9902]
48630 * manual/startup.texi (Exit Status): Fix typo.
48631
35c47e37
JM
486322012-02-17 Joseph Myers <joseph@codesourcery.com>
48633
48634 [BZ #10140]
48635 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48636 * manual/examples/argp-ex2.c: Likewise.
48637 * manual/examples/argp-ex3.c: Likewise.
48638
e3b69ca7
RH
486392012-02-16 Richard Henderson <rth@redhat.com>
48640
48641 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48642 * sysdeps/s390/s390-32/initfini.c: Remove.
48643 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48644 * sysdeps/s390/s390-64/initfini.c: Remove.
48645
df83af67
KK
486462012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48647
48648 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48649 compiler output for sysdeps/generic/initfini.c.
48650 * sysdeps/sh/elf/initfini.c: Remove file.
48651
f63f3380
DM
486522012-02-16 David S. Miller <davem@davemloft.net>
48653
fb59b3a4
DM
48654 [BZ #11494]
48655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48656
f63f3380
DM
48657 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48658 * sysdeps/sparc/crti.S: New file.
48659 * sysdeps/sparc/crtn.S: New file.
48660 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48661 * sysdeps/sparc/sparc64/Makefile: Likewise.
48662
df6a4a4a
MF
486632012-02-15 Mike Frysinger <vapier@gentoo.org>
48664
6dd8f3dc 48665 [BZ #3335]
df6a4a4a
MF
48666 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48667
1cac7236
RM
486682012-02-15 Roland McGrath <roland@hack.frob.com>
48669
d2c736f8
RM
48670 [BZ #4822]
48671 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48672
1cac7236
RM
48673 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48674 (write, read, close): Likewise.
48675 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48676
8e475601
JM
486772012-02-15 Joseph Myers <joseph@codesourcery.com>
48678
48679 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48680 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48681 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48682 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48683 <bits/signalfd.h>.
48684 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48685 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48686 bits/signalfd.h.
48687
ed656b40
MP
486882012-02-14 Marek Polacek <polacek@redhat.com>
48689
48690 * sysdeps/x86_64/crti.S: New file.
48691 * sysdeps/x86_64/crtn.S: New file.
48692 * sysdeps/x86_64/elf/initfini.c: Remove file.
48693
2a979d3a
JM
486942012-02-13 Joseph Myers <joseph@codesourcery.com>
48695
48696 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48697 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48698 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48699 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48700 <bits/inotify.h>.
48701 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48702 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48703 bits/inotify.h.
48704
2a418ac3
JM
487052012-02-13 Joseph Myers <joseph@codesourcery.com>
48706
48707 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48708 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48709 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48710 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48711 <bits/eventfd.h>.
48712 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48713 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48714 bits/eventfd.h.
48715
fb779be7
TS
487162012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48717
e19e83c5
RM
48718 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48719 __feraiseexcept instead of feraiseexcept.
7c35ffed 48720
fb779be7
TS
48721 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48722 nanosleep invocations.
48723 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48724 strings, and add error checking for a nanosleep invocations.
48725
59ba27a6
PE
487262012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48727
48728 Replace FSF snail mail address with URLs, as per GNU coding standards.
48729 Most of the snail mail addresses were wrong anyway, and omitting
48730 them makes the source code easier to maintain. Almost all of the
48731 changes are to license notices and to locale LC_IDENTIFICATION
48732 addresses, except for this one:
48733 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48734 not its snail mail address.
48735
57b957eb
RH
487362012-02-09 Richard Henderson <rth@twiddle.net>
48737
af850b1c
RH
48738 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48739 of kernel-features.h.
48740
57b957eb
RH
48741 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48742
6b73181a
MP
487432012-02-08 Marek Polacek <polacek@redhat.com>
48744
48745 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48746 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48747 * sysdeps/gnu/_G_config.h: Likewise.
48748 * sysdeps/generic/_G_config.h: Likewise.
48749
26ecc33a
AS
487502012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48751
6c6dbc63
AS
48752 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48753 tests.
48754 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48755
e216c012
AS
48756 * sysdeps/powerpc/powerpc32/crti.S: New file.
48757 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48758 * sysdeps/powerpc/powerpc64/crti.S: New file.
48759 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48760
26ecc33a
AS
48761 * Makeconfig (have-initfini): Don't set.
48762 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48763 * configure.in (nopic_initfini): Don't substitute.
48764 * config.h.in (HAVE_INITFINI): Don't #undef.
48765 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48766 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48767
3add8e13
JM
487682012-02-08 Joseph Myers <joseph@codesourcery.com>
48769
48770 Support crti.S and crtn.S provided directly by architectures.
48771 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48772 [crti.S in sysdirs] (omit-deps): Likewise.
48773 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48774 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48775 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48776 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48777 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48778 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48779 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48780 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48781 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48782 compiler output for sysdeps/generic/initfini.c.
48783 * sysdeps/i386/elf/Makefile: Remove file.
48784 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48785
a22f12b4
MP
487862012-02-07 Marek Polacek <polacek@redhat.com>
48787
48788 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48789 * sysdeps/gnu/_G_config.h: Likewise.
48790 * sysdeps/mach/hurd/_G_config.h: Likewise.
48791
148cf100
MP
487922012-02-07 Marek Polacek <polacek@redhat.com>
48793
48794 * math/Makefile (tests): Add tst-CMPLX2.
48795 * math/tst-CMPLX2.c: New file.
48796
cfdc0dd7
AS
487972012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48798
84ba42c4
AS
48799 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48800
cfdc0dd7
AS
48801 * math/libm-test.inc (jn_test): Add missing L suffix.
48802
622c86f4
MP
488032012-02-06 Marek Polacek <polacek@redhat.com>
48804
48805 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48806 * sysdeps/i386/fpu/e_powf.S: Likewise.
48807 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48808 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48809 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48810 * sysdeps/i386/fpu/e_pow.S: Likewise.
48811 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48812 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48813 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48814 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48815 * sysdeps/i386/fpu/e_log2.S: Likewise.
48816 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48818 * sysdeps/i386/fpu/e_powl.S: Likewise.
48819 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48820 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48821 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48822 * sysdeps/i386/fpu/e_logl.S: Likewise.
48823 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48824 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48825 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48826 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48827 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48828 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48829 * sysdeps/i386/fpu/e_log.S: Likewise.
48830 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48831 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48832 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48833 * sysdeps/i386/fpu/e_logf.S: Likewise.
48834 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48835 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48836 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48837 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48838 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48839 * sysdeps/i386/fpu/e_log10.S: Likewise.
48840 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48841 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48842 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48843 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48844 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48845 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48846 * sysdeps/i386/asm-syntax.h: Likewise.
48847 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48848 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48849 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48850 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48851 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48852 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48853 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48854 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48855 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48856 * sysdeps/powerpc/sysdep.h: Likewise.
48857 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48858 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48859
d4a54ac6
JM
488602012-02-06 Joseph Myers <joseph@codesourcery.com>
48861
48862 [BZ #411]
48863 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48864
314054ea
JM
488652012-02-06 Joseph Myers <joseph@codesourcery.com>
48866
48867 * sysdeps/i386/sysdep.h: Include <features.h>.
48868 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48869 version.
48870
d8e0ca50
JM
488712012-02-05 Joseph Myers <joseph@codesourcery.com>
48872
48873 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48874 Define.
48875 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48876 LOAD_PIC_REG_STR.
48877
b1da7dd9
JM
488782012-02-03 Joseph Myers <joseph@codesourcery.com>
48879
48880 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48881 (SETUP_PIC_REG): Use GET_PC_THUNK.
48882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48883 macro.
48884
9a1d9254
JM
488852012-02-03 Joseph Myers <joseph@codesourcery.com>
48886
48887 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48888 for non-PIC compilation.
48889 (SETUP_PIC_REG): Add .p2align directive.
48890 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48891 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48892 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48893 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48894 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48895 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48896 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48897 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48898 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48899 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48900 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48901 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48902 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48903 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48904 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48905 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48906 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48907 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48908 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48909 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48910 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48911 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48912 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48913 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48914 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48916 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48917 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48918 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48919 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48920 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48921 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48922 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48923 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48924 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48925 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48926 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48927 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48928 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48929 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48930 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48931
65dc3b75
JM
489322012-02-03 Joseph Myers <joseph@codesourcery.com>
48933
48934 * math/tst-CMPLX.c: Include <stdio.h>.
48935
d55bf177
JM
489362012-01-31 Joseph Myers <joseph@codesourcery.com>
48937
48938 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48939 float.
48940 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48941 * sysdeps/sparc/bits/mathdef.h: Likewise.
48942
69db4f8f
MP
489432012-01-31 Marek Polacek <polacek@redhat.com>
48944
48945 * libio/libio.h: Don't define _PARAMS.
48946 * locale/programs/config.h: Don't define PARAMS.
48947 * stdlib/strtol_l.c: Likewise.
48948 (__strtol_l): Remove PARAMS from the prototype.
48949
41b81892
UD
489502012-01-31 Ulrich Drepper <drepper@gmail.com>
48951
3b49edc0
UD
48952 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48953 names. Just use the correct names. Remove unnecessary wrapper
48954 functions.
48955 * malloc/arena.c: Likewise.
48956 * malloc/hooks.c: Likewise.
48957
41b81892
UD
48958 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48959 ARENA_TEST says not to. Simplify test for creation of a new arena.
48960 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48961
27a25b6e
UD
489622012-01-30 Ulrich Drepper <drepper@gmail.com>
48963
48964 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48965 into tail calls.
48966 (update_get_addr): New function.
48967 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48968 GET_ADDR_MODULE parameter.
48969
c8a89e7d
JM
489702012-01-30 Joseph Myers <joseph@codesourcery.com>
48971
48972 * crypt/cert.c: Remove __STDC__ conditionals.
48973 * crypt/crypt-entry.c: Likewise.
48974 * crypt/crypt_util.c: Likewise.
48975 * libio/filedoalloc.c: Likewise.
48976 * libio/fileops.c: Likewise.
48977 * libio/genops.c: Likewise.
48978 * libio/iofclose.c: Likewise.
48979 * libio/iofdopen.c: Likewise.
48980 * libio/iofopen.c: Likewise.
48981 * libio/iofopen64.c: Likewise.
48982 * libio/iogetdelim.c: Likewise.
48983 * libio/iopopen.c: Likewise.
48984 * libio/obprintf.c: Likewise.
48985 * libio/oldfileops.c: Likewise.
48986 * libio/oldiofclose.c: Likewise.
48987 * libio/oldiofdopen.c: Likewise.
48988 * libio/oldiofopen.c: Likewise.
48989 * libio/oldiopopen.c: Likewise.
48990 * libio/wfiledoalloc.c: Likewise.
48991 * libio/wgenops.c: Likewise.
48992 * locale/programs/xmalloc.c: Likewise.
48993 * misc/syslog.c: Likewise.
48994 * stdio-common/xbug.c: Likewise.
48995 * string/memchr.c: Likewise.
48996 * string/memcmp.c: Likewise.
48997 * string/memrchr.c: Likewise.
48998 * string/rawmemchr.c: Likewise.
48999 * sysdeps/posix/getcwd.c: Likewise.
49000 * time/strftime_l.c: Likewise.
49001
3b100462
JM
490022012-01-30 Joseph Myers <joseph@codesourcery.com>
49003
49004 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
49005 * config.make.in (config-cflags-sse2avx): Define.
49006 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49007 Fix typo.
49008
607998af
CM
490092012-01-29 Chris Metcalf <cmetcalf@tilera.com>
49010
49011 * scripts/config.guess: Update from upstream config git repository.
49012 * scripts/config.sub: Likewise.
49013
3601428f
CM
490142012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49015
3ac8b282
CM
49016 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49017 (EM_NUM): Update.
49018 (R_TILEPRO_*, R_TILEGX_*): New macros.
49019
e034841e
CM
49020 * scripts/firstversions.awk: Fix bug in version range handling.
49021
540d7568
CM
49022 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49023
3601428f
CM
49024 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49025
463de862
CM
49026 * include/sys/epoll.h: New file.
49027 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49028 libc_hidden_def.
49029
73139a76
UD
490302012-01-28 Ulrich Drepper <drepper@gmail.com>
49031
96bc5b45
UD
49032 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49033 Avoid unnecessary __WORDSIZE == 64 test.
49034 (fmaxf): Use VEX format if possible.
49035 (fmax): Likewise.
49036 (fminf): Likewise.
49037 (fmin): Likewise.
49038
56f6f6a2
UD
49039 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49040 * math/math_private.h: Remove libc_fegetround* and
49041 libc_fesetround*.
49042 * sysdeps/i386/configure.in: Check for -msse2avx.
49043 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49044 also if SSE2AVX is defined.
49045 Remove libc_fegetround* and libc_fesetround*.
49046 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49047 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49048 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49049 of HAS_YMM_USABLE.
49050 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49051 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49052 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49053 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49054 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49055
73139a76
UD
49056 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49057
d73f93a4
AZ
490582012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49059
49060 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49061 size is not set.
49062 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49063
6ee65ed6
UD
490642012-01-27 Ulrich Drepper <drepper@gmail.com>
49065
49066 [BZ #13618]
49067 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49068 relocation.
49069 * Makeconfig (libm): Define.
49070 * elf/Makefile: Add rules to build and run tst-relsort1.
49071 * elf/tst-relsort1.c: New file.
49072 * elf/tst-relsort1mod1.c: New file.
49073 * elf/tst-relsort1mod2.c: New file.
49074
8db21882
JM
490752012-01-27 Joseph Myers <joseph@codesourcery.com>
49076
49077 * math/s_ldexp.c: Remove __STDC__ conditionals.
49078 * math/s_ldexpf.c: Likewise.
49079 * math/s_ldexpl.c: Likewise.
49080 * math/s_nextafter.c: Likewise.
49081 * math/s_nexttowardf.c: Likewise.
49082 * math/s_significand.c: Likewise.
49083 * math/s_significandf.c: Likewise.
49084 * math/s_significandl.c: Likewise.
49085 * math/w_jnl.c: Likewise.
49086 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49087 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49088 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49089 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49090 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49091 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49092 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49093 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49094 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49095 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49096 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49097 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49098 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49099 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49100 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49101 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49102 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49103 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49104 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49105 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49106 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49107 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49108 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49109 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49110 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49111 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49112 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49113 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49114 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49116 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49117 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49118 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49119 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49120 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49121 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49122 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49123 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49124 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49125 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49126 * sysdeps/ieee754/k_standard.c: Likewise.
49127 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49128 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49129 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49130 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49131 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49136 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49137 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49138 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49139 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49143 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49144 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49145 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49146 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49148 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49151 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49152 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49153 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49154 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49155 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49156 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49157 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49158 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49159 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49160 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49161 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49162 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49163 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49164 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49165 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49166 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49170 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49173 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49174 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49175 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49176 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49178 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49180 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49184 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49186 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49187 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49188 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49190 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49191 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49192 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49193 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49194 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49195 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49196 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49197 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49198 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49199 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49200 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49201 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49202 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49203 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49204 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49205 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49206 * sysdeps/ieee754/s_matherr.c: Likewise.
49207 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49208 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49209 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49210 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49211
965a54a4
JM
492122012-01-26 Joseph Myers <joseph@codesourcery.com>
49213
49214 * crypt/md5.h: Remove __STDC__ conditionals.
49215 * libio/libioP.h: Likewise.
49216 * locale/programs/config.h: Likewise.
49217 * sysdeps/generic/sysdep.h: Likewise.
49218 * sysdeps/i386/asm-syntax.h: Likewise.
49219 * sysdeps/s390/asm-syntax.h: Likewise.
49220 * sysdeps/unix/sysdep.h: Likewise.
49221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49223
7071ad79
JM
492242012-01-26 Joseph Myers <joseph@codesourcery.com>
49225
49226 * libio/libio.h: Remove __STDC__ conditionals.
49227 * malloc/obstack.h: Likewise.
49228 * math/complex.h: Likewise.
49229 * math/math.h: Likewise.
49230 * sysdeps/generic/_G_config.h: Likewise.
49231 * sysdeps/gnu/_G_config.h: Likewise.
49232 * sysdeps/mach/hurd/_G_config.h: Likewise.
49233 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49234 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49235 * sysdeps/sparc/bits/mathdef.h: Likewise.
49236
afc5ed09
UD
492372012-01-26 Ulrich Drepper <drepper@gmail.com>
49238
49239 [BZ #13583]
49240 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49241 Clean up HAS_* macros.
afc5ed09 49242 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49243 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49244 possible.
49245 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49246 HAS_AVX.
49247 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49248 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49252
bdb6de1d
JM
492532012-01-25 Joseph Myers <joseph@codesourcery.com>
49254
49255 * elf/tst-unique3.cc (gets): Remove declaration.
49256 * elf/tst-unique3lib.cc (gets): Likewise.
49257 * elf/tst-unique3lib2.cc (gets): Likewise.
49258 * elf/tst-unique4.cc (gets): Likewise.
49259
b15549e6
UD
492602012-01-24 Ulrich Drepper <drepper@gmail.com>
49261
49262 * include/stdio.h: Add C++ protection. Add gets declarations and
49263 definitions.
49264 * debug/tst-chk1.c: Don't declare gets here.
49265 * stdio-common/tst-gets.c: Likewise.
49266
a037381f
JM
492672012-01-24 Joseph Myers <joseph@codesourcery.com>
49268
49269 * posix/glob: Remove directory.
49270
f1d4aa75
JM
492712012-01-24 Joseph Myers <joseph@codesourcery.com>
49272
49273 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49274
81c0c964
PT
492752012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49276
49277 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49278 of the non-standard EPFNOSUPPORT.
49279
0ea698ae
ST
492802011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49281
49282 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49283 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49284 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49285
d220b117
UD
492862012-01-21 Ulrich Drepper <drepper@gmail.com>
49287
49288 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49289
3e1aa84e
UD
492902012-01-20 Ulrich Drepper <drepper@gmail.com>
49291
49292 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49293 transient errors.
49294 * nscd/grpcache.c (cache_addgr): Likewise.
49295 * nscd/hstcache.c (cache_addhst): Likewise.
49296 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49297 * nscd/pwdcache.c (cache_addpw): Likewise.
49298 * nscd/servicescache.c (cache_addserv): Likewise.
49299
400aa020
UD
493002012-01-16 Ulrich Drepper <drepper@gmail.com>
49301
d77e7869
UD
49302 * malloc/malloc.c: Various cleanups.
49303 * malloc/hooks.c: Likewise.
49304
400aa020
UD
49305 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49306 * stdlib/bug-fmtmsg1.c: New file.
49307
49308 * stdlib/fmtmsg.c (init): Add missing unlock.
49309 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49310
e0a309cf
MP
493112012-01-12 Marek Polacek <polacek@redhat.com>
49312
49313 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49314 and _GNU_SOURCE.
49315
929d11c7
WS
493162012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49317
49318 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49319 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49320 macro to ensure uniqueness of label name.
49321 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49322 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49323
41d0e869
UD
493242012-01-11 Ulrich Drepper <drepper@gmail.com>
49325
0cc5ed3b
UD
49326 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49327
41d0e869
UD
49328 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49329 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49330 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49332
a47a831a
UD
493332012-01-10 Ulrich Drepper <drepper@gmail.com>
49334
daa891c0
UD
49335 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49336
49337 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49338 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49339 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49340
e58ef0f2
UD
49341 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49342
a47a831a 49343 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49344 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49345 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49346 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49347
49348 * math/bits/math-finite.h: Add ldexp support.
49349
a0bfc9c7
MP
493502012-01-10 Marek Polacek <polacek@redhat.com>
49351
49352 * locale/programs/localedef.h (show_archive_content): Add noreturn
49353 attribute.
49354
d6e97a1d
UD
493552012-01-09 Ulrich Drepper <drepper@gmail.com>
49356
49357 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49358
d5835c26
UD
493592012-01-08 Ulrich Drepper <drepper@gmail.com>
49360
e5f484c6
UD
49361 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49362
d5835c26
UD
49363 * io/Makefile (headers): Add bits/poll2.h.
49364
d1f741e9
WS
493652011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49366
49367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49368 typo #include statement.
49369
ec09c1c4
UD
493702012-01-08 Ulrich Drepper <drepper@gmail.com>
49371
49372 * include/sys/cdefs.h: Define __attribute_alloc_size.
49373 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49374 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49375 * elf/pldd.c: Likewise.
49376 * iconv/iconv_charmap.c: Likewise.
49377 * iconv/iconvconfig.c: Likewise.
49378 * iconv/strtab.c: Likewise.
49379 * locale/programs/locale.c: Likewise.
49380 * locale/programs/localedef.h: Likewise.
49381 * locale/programs/simple-hash.c: Likewise.
49382 * nscd/nscd.h: Likewise.
49383 * nss/makedb.c: Likewise.
49384 * sysdeps/generic/ldconfig.h: Likewise.
49385 * locale/programs/localedef.c: Remove xmalloc prototype.
49386 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49387
20b38e03
PP
493882012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49389
49390 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49391 appropriate.
49392
a0da5fe1
UD
493932012-01-08 Ulrich Drepper <drepper@gmail.com>
49394
1d5a644a 49395 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49396 * math/tst-CMPLX.c: New file.
1d5a644a 49397
8784a6db
UD
49398 * math/complex.h (CMPLXL): Fix typo.
49399
d9a216c0
UD
49400 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49401 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49402 GLIBC_2.16.
49403 * debug/tst-chk1.c: Add poll and ppoll tests.
49404 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49405 * include/sys/poll.h: Add hidden proto for ppoll.
49406 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49407 * sysdeps/mach/hurd/ppoll.c: Likewise.
49408 * io/ppoll.c: Likewise.
49409 * debug/poll_chk.c: New file.
49410 * debug/ppoll_chk.c: New file.
49411 * include/bits/poll2.h: New file.
49412 * io/bits/poll2.h: New file.
49413
ac097f5c
UD
49414 [BZ #1350]
49415 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49416
2119dcfa
UD
49417 * configure.in: static is always set to yes. Remove.
49418 * config.make.in: Don't set build-static.
49419 * Makeconfig: Remove use of build-static.
49420 * dlfcn/Makefile: Likewise.
49421 * elf/Makefile: Likewise.
49422 * math/Makefile: Likewise.
49423 * misc/Makefile: Likewise.
49424 * nptl/Makefile: Likewise.
49425 * sysdeps/mach/hurd/Makefile: Likewise.
49426
121766a9
UD
49427 * configure.in: PWD_P is not used anymore.
49428 * config.make.in: Remove PWD_P entry.
49429
51a1d39c 49430 * configure.in: Remove last remnants of RANLIB.
8720d066 49431 No need to check for signed size_t anymore.
215f4bdc
UD
49432 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49433 and IA-64.
3857022a 49434 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49435 * aclocal.m4: Likewise.
49436
d3ed7225
UD
49437 * wcsmbs/mbrtoc16.c: Implement using towc function.
49438 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49439 * wcsmbs/wcsmbsload.c: Likewise.
49440 * iconv/gconv_simple.c: Likewise.
49441 * iconv/gconv_int.h: Likewise.
49442 * iconv/gconv_builtin.h: Likewise.
49443 * iconv/iconv_prog.c: Remove CHAR16 handling.
49444
49445 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49446
49447 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49448
a0da5fe1
UD
49449 * configure.in: Remove --with-elf and --enable-bounded options.
49450 Dont set base_machine for ia64. More non-ELF conditions removed.
49451 Remove testing and setting of leading underscore information.
49452 * config.make.in (build-bounded): Set to no.
49453 * config.h.in: Remove NO_UNDERSCORES entry.
49454 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49455 them.
49456 * csu/start.c: Remove !NO_UNDERSCORE code.
49457 * locale/localeinfo.h: Likewise.
49458 * sysdeps/generic/machine-gmon.h: Likewise.
49459 * sysdeps/generic/sysdep.h: Likewise.
49460 * sysdeps/i386/sysdep.h: Likewise.
49461 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49462 * sysdeps/mach/sysdep.h: Likewise.
49463 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49464 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49465 * sysdeps/sh/sysdep.h: Likewise.
49466 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49467 * sysdeps/unix/i386/sysdep.S: Likewise.
49468 * sysdeps/unix/sparc/start.c: Likewise.
49469 * sysdeps/unix/sparc/sysdep.S: Likewise.
49470 * sysdeps/unix/sparc/sysdep.h: Likewise.
49471 * sysdeps/unix/start.c: Likewise.
49472 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49473 * sysdeps/x86_64/sysdep.h: Likewise.
49474
df78418a
UD
494752012-01-07 Ulrich Drepper <drepper@gmail.com>
49476
a784e502
UD
49477 [BZ #13553]
49478 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49479 for non-gcc.
49480 * argp/argp-fmtstream.h: Use const instead __const.
49481 * argp/argp.h: Likewise.
49482 * assert/assert.h: Likewise.
49483 * bits/fenv.h: Likewise.
49484 * bits/sched.h: Likewise.
49485 * bits/sigset.h: Likewise.
49486 * bits/sigthread.h: Likewise.
49487 * catgets/nl_types.h: Likewise.
49488 * conform/data/pthread.h-data: Likewise.
49489 * crypt/crypt-private.h: Likewise.
49490 * crypt/crypt.h: Likewise.
49491 * crypt/crypt_util.c: Likewise.
49492 * ctype/ctype.h: Likewise.
49493 * debug/execinfo.h: Likewise.
49494 * debug/mbsnrtowcs_chk.c: Likewise.
49495 * debug/mbsrtowcs_chk.c: Likewise.
49496 * debug/wcsnrtombs_chk.c: Likewise.
49497 * debug/wcsrtombs_chk.c: Likewise.
49498 * debug/wcstombs_chk.c: Likewise.
49499 * dirent/dirent.h: Likewise.
49500 * dlfcn/dlfcn.h: Likewise.
49501 * elf/neededtest4.c: Likewise.
49502 * grp/grp.h: Likewise.
49503 * gshadow/gshadow.h: Likewise.
49504 * iconv/gconv.h: Likewise.
49505 * iconv/gconv_int.h: Likewise.
49506 * iconv/gconv_simple.c: Likewise.
49507 * iconv/iconv.h: Likewise.
49508 * iconv/loop.c: Likewise.
49509 * iconv/skeleton.c: Likewise.
49510 * include/aio.h: Likewise.
49511 * include/aliases.h: Likewise.
49512 * include/argz.h: Likewise.
49513 * include/arpa/inet.h: Likewise.
49514 * include/assert.h: Likewise.
49515 * include/dirent.h: Likewise.
49516 * include/dlfcn.h: Likewise.
49517 * include/execinfo.h: Likewise.
49518 * include/fcntl.h: Likewise.
49519 * include/fenv.h: Likewise.
49520 * include/glob.h: Likewise.
49521 * include/grp.h: Likewise.
49522 * include/libintl.h: Likewise.
49523 * include/mntent.h: Likewise.
49524 * include/netdb.h: Likewise.
49525 * include/pwd.h: Likewise.
49526 * include/rpc/netdb.h: Likewise.
49527 * include/sched.h: Likewise.
49528 * include/search.h: Likewise.
49529 * include/shadow.h: Likewise.
49530 * include/signal.h: Likewise.
49531 * include/stdio.h: Likewise.
49532 * include/stdlib.h: Likewise.
49533 * include/string.h: Likewise.
49534 * include/sys/socket.h: Likewise.
49535 * include/sys/stat.h: Likewise.
49536 * include/sys/statfs.h: Likewise.
49537 * include/sys/statvfs.h: Likewise.
49538 * include/sys/syslog.h: Likewise.
49539 * include/sys/time.h: Likewise.
49540 * include/sys/uio.h: Likewise.
49541 * include/time.h: Likewise.
49542 * include/unistd.h: Likewise.
49543 * include/utmp.h: Likewise.
49544 * include/wchar.h: Likewise.
49545 * include/wctype.h: Likewise.
49546 * inet/aliases.h: Likewise.
49547 * inet/arpa/inet.h: Likewise.
49548 * inet/netinet/ether.h: Likewise.
49549 * inet/netinet/in.h: Likewise.
49550 * intl/libintl.h: Likewise.
49551 * io/bits/fcntl2.h: Likewise.
49552 * io/fcntl.h: Likewise.
49553 * io/ftw.h: Likewise.
49554 * io/sys/poll.h: Likewise.
49555 * io/sys/stat.h: Likewise.
49556 * io/sys/statfs.h: Likewise.
49557 * io/sys/statvfs.h: Likewise.
49558 * io/utime.h: Likewise.
49559 * libio/bits/stdio.h: Likewise.
49560 * libio/bits/stdio2.h: Likewise.
49561 * libio/libio.h: Likewise.
49562 * libio/libioP.h: Likewise.
49563 * libio/stdio.h: Likewise.
49564 * locale/lc-ctype.c: Likewise.
49565 * locale/locale.h: Likewise.
49566 * login/utmp.h: Likewise.
49567 * malloc/arena.c: Likewise.
49568 * malloc/malloc.c: Likewise.
49569 * malloc/malloc.h: Likewise.
49570 * malloc/mcheck.c: Likewise.
49571 * malloc/mtrace.c: Likewise.
49572 * math/bits/mathcalls.h: Likewise.
49573 * math/fenv.h: Likewise.
49574 * math/math_private.h: Likewise.
49575 * misc/bits/error.h: Likewise.
49576 * misc/bits/syslog.h: Likewise.
49577 * misc/err.h: Likewise.
49578 * misc/error.h: Likewise.
49579 * misc/fstab.h: Likewise.
49580 * misc/mntent.h: Likewise.
49581 * misc/regexp.h: Likewise.
49582 * misc/search.h: Likewise.
49583 * misc/sgtty.h: Likewise.
49584 * misc/sys/mman.h: Likewise.
49585 * misc/sys/syslog.h: Likewise.
49586 * misc/sys/uio.h: Likewise.
49587 * misc/sys/xattr.h: Likewise.
49588 * misc/ttyent.h: Likewise.
49589 * nis/rpcsvc/ypclnt.h: Likewise.
49590 * nss/nss.h: Likewise.
49591 * posix/bits/unistd.h: Likewise.
49592 * posix/fnmatch.h: Likewise.
49593 * posix/glob.h: Likewise.
49594 * posix/sched.h: Likewise.
49595 * posix/spawn.h: Likewise.
49596 * posix/sys/wait.h: Likewise.
49597 * posix/unistd.h: Likewise.
49598 * posix/wordexp.h: Likewise.
49599 * pwd/pwd.h: Likewise.
49600 * resolv/netdb.h: Likewise.
49601 * resource/sys/resource.h: Likewise.
49602 * rt/aio.h: Likewise.
49603 * rt/bits/mqueue2.h: Likewise.
49604 * rt/mqueue.h: Likewise.
49605 * shadow/shadow.h: Likewise.
49606 * signal/signal.h: Likewise.
49607 * socket/send.c: Likewise.
49608 * socket/sendto.c: Likewise.
49609 * socket/sys/socket.h: Likewise.
49610 * stdio-common/printf.h: Likewise.
49611 * stdlib/bits/stdlib.h: Likewise.
49612 * stdlib/fmtmsg.h: Likewise.
49613 * stdlib/monetary.h: Likewise.
49614 * stdlib/stdlib.h: Likewise.
49615 * stdlib/ucontext.h: Likewise.
49616 * streams/stropts.h: Likewise.
49617 * string/argz.h: Likewise.
49618 * string/bits/string2.h: Likewise.
49619 * string/string.h: Likewise.
49620 * string/strings.h: Likewise.
49621 * sunrpc/rpc/auth.h: Likewise.
49622 * sunrpc/rpc/auth_des.h: Likewise.
49623 * sunrpc/rpc/clnt.h: Likewise.
49624 * sunrpc/rpc/netdb.h: Likewise.
49625 * sunrpc/rpc/pmap_clnt.h: Likewise.
49626 * sunrpc/rpc/xdr.h: Likewise.
49627 * sysdeps/generic/inttypes.h: Likewise.
49628 * sysdeps/generic/net/if.h: Likewise.
49629 * sysdeps/generic/sys/swap.h: Likewise.
49630 * sysdeps/gnu/net/if.h: Likewise.
49631 * sysdeps/gnu/utmpx.h: Likewise.
49632 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49633 * sysdeps/i386/i486/bits/string.h: Likewise.
49634 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49635 * sysdeps/s390/bits/string.h: Likewise.
49636 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49637 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49638 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49639 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49640 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49641 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49642 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49643 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49644 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49645 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49646 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49647 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49648 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49649 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49650 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49651 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49652 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49653 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49654 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49655 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49656 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49657 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49658 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49659 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49660 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49661 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49662 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49664 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49665 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49666 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49667 * sysvipc/sys/ipc.h: Likewise.
49668 * sysvipc/sys/msg.h: Likewise.
49669 * sysvipc/sys/sem.h: Likewise.
49670 * sysvipc/sys/shm.h: Likewise.
49671 * termios/termios.h: Likewise.
49672 * time/sys/time.h: Likewise.
49673 * time/time.h: Likewise.
49674 * wcsmbs/bits/wchar2.h: Likewise.
49675 * wcsmbs/uchar.h: Likewise.
49676 * wcsmbs/wchar.h: Likewise.
49677 * wctype/wctype.h: Likewise.
49678
0269750c
UD
49679 [BZ #13551]
49680 * Makeconfig: Remove all but ELF support including AIX support.
49681 * Makerules: Likewise.
49682 * config.h.in: Likewise.
49683 * config.make.in: Likewise.
49684 * configure: Likewise.
49685 * configure.in: Likewise.
49686 * csu/Makefile: Likewise.
49687 * csu/version.c: Likewise.
49688 * debug/Makefile: Likewise.
49689 * dlfcn/Makefile: Likewise.
49690 * elf/Makefile: Likewise.
49691 * extra-lib.mk: Likewise.
49692 * iconv/Makefile: Likewise.
49693 * include/libc-symbols.h: Likewise.
49694 * include/shlib-compat.h: Likewise.
49695 * resolv/Makefile: Likewise.
49696 * resolv/res_libc.c: Likewise.
49697 * rt/Makefile: Likewise.
49698 * sysdeps/i386/asm-syntax.h: Likewise.
49699 * sysdeps/i386/sysdep.h: Likewise.
49700 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49701 * sysdeps/mach/sysdep.h: Likewise.
49702 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49703 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49704 * sysdeps/s390/asm-syntax.h: Likewise.
49705 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49706 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49707 * sysdeps/sh/sysdep.h: Likewise.
49708 * sysdeps/unix/sparc/sysdep.h: Likewise.
49709 * sysdeps/wordsize-32/divdi3.c: Likewise.
49710 * sysdeps/x86_64/sysdep.h: Likewise.
49711
00bbd29b
UD
49712 * argp/Versions: Remove _argp_unlock_xxx.
49713
49714 [BZ #13559]
49715 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49716 * abilist/libBrokenLocale.abilist: Likewise.
49717 * abilist/libanl.abilist: Likewise.
49718 * abilist/libc.abilist: Likewise.
49719 * abilist/libcrypt.abilist: Likewise.
49720 * abilist/libdl.abilist: Likewise.
49721 * abilist/libm.abilist: Likewise.
49722 * abilist/libnsl.abilist: Likewise.
49723 * abilist/libpthread.abilist: Likewise.
49724 * abilist/libresolv.abilist: Likewise.
49725 * abilist/librt.abilist: Likewise.
49726 * abilist/libthread_db.abilist: Likewise.
49727 * abilist/libutil.abilist: Likewise.
49728 * abilist/libnss_db.abilist: New file.
49729
49730 * scripts/abilist.awk: Add support for indirect functions.
49731
a2693a0e
UD
49732 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49733
3f05895f
UD
49734 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49735
ecb6fb48
UD
49736 * shlib-versions: Remove entries for ports architectures.
49737
664f8cb9
UD
49738 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49739 files in ports.
49740 * elf/stackguard-macros.h: Remove support for IA-64.
49741 * elf/tst-auditmod1.c: Likewise.
49742 * sysdeps/generic/ldsodefs.h: Likewise.
49743
7ae81d88
UD
49744 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49745 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49746 configure files.
49747
bdeba135
UD
49748 [BZ #13552]
49749 * configure.in: Remove --enable-omitfp support.
49750 * FAQ.in: Adjust.
49751 * config.make.in: Likewise.
49752 * Makeconfig: Likewise.
49753 * manual/install.texi: Likewise.
49754
d75a0a62
UD
49755 In case anyone cares, the IA-64 architecture could move to ports.
49756 * sysdeps/ia64/*: Removed.
49757 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49758 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49759
dcc9756b
UD
49760 [BZ #13555]
49761 * configure.in: Remove entries for unsupported architectures.
49762
d3761ebc 49763 [BZ #13533]
9954432e
UD
49764 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49765 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49766 routines.
49767 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49768 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49769 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49770 fall back to using wcrtomb.
49771 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49772 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49773 renaming.
49774 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49775 * wcsmbs/tst-c16c32-1.c: New file.
49776
49777 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49778 local variable.
49779
c3a87236
UD
49780 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49781
28926a1b
UD
49782 * elf/tst-unique3.cc: Add explicit declaration of gets.
49783 * elf/tst-unique3lib.cc: Likewise.
49784 * elf/tst-unique3lib2.cc: Likewise.
49785 * elf/tst-unique4.cc: Likewise.
49786
df78418a
UD
49787 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49788
8ecd6b2a
JM
497892012-01-06 Joseph Myers <joseph@codesourcery.com>
49790
49791 [BZ #13566]
49792 * assert/assert.h (static_assert): Don't define for C++.
49793 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49794 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49795
9f115170
UD
497962012-01-03 Ulrich Drepper <drepper@gmail.com>
49797
5e0d0300
UD
49798 * iconv/loop.c (single loop): Fix assertion in storing of
49799 remaining bytes.
49800
9f115170
UD
49801 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49802
81fb02b0
UD
498032012-01-01 Ulrich Drepper <drepper@gmail.com>
49804
49805 * posix/getconf.c: Update copyright year.
49806 * nss/getent.c: Likewise.
a316c1f6 49807 * nss/makedb.c: Likewise.
81fb02b0
UD
49808 * iconv/iconvconfig.c: Likewise.
49809 * iconv/iconv_prog.c: Likewise.
49810 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49811 * elf/pldd.c: Likewise.
49812 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49813 * catgets/gencat.c: Likewise.
49814 * csu/version.c: Likewise.
49815 * elf/ldd.bash.in: Likewise.
49816 * elf/sprof.c (print_version): Likewise.
49817 * locale/programs/locale.c: Likewise.
49818 * locale/programs/localedef.c: Likewise.
a316c1f6 49819 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49820 * nscd/nscd.c (print_version): Likewise.
49821 * debug/xtrace.sh: Likewise.
49822 * malloc/memusage.sh: Likewise.
49823 * malloc/mtrace.pl: Likewise.
49824 * debug/catchsegv.sh: Likewise.
49825
2ba92745
JJ
498262011-12-30 Jakub Jelinek <jakub@redhat.com>
49827
49828 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49829 pure attribute.
49830
dadebdae
UD
498312011-12-24 Ulrich Drepper <drepper@gmail.com>
49832
d3761ebc 49833 [BZ #13533]
db6af3eb
UD
49834 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49835 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49836 transformations.
49837 * iconv/gconv_int.h: Likewise.
49838 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49839 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49840 from libc for GLIBC_2.16.
49841 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49842 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49843 * wcsmbs/uchar.h: Really define mbstate_t.
49844 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49845 * wcsmbs/c16rtomb.c: New file.
49846 * wcsmbs/mbrtoc16.c: New file.
49847 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49848 for C/POSIX locale.
49849 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49850 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49851
dadebdae
UD
49852 * wcsmbs/wchar.h: Add missing __restrict.
49853
67371b56
UD
498542011-12-23 Ulrich Drepper <drepper@gmail.com>
49855
74033a25
UD
49856 [BZ #13532]
49857 * time/Makefile (routines): Add timespec_get.
49858 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49859 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49860 timespec for ISO C11.
49861 * time/timespec_get.c: New file.
49862 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49863 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49864
380d7e87
UD
49865 [BZ #13531]
49866 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49867 * stdlib/stdlib.h: Declare aligned_alloc.
49868 * Versions.def: Add GLIBC_2.16 for libc.
49869 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49870
4e9e7a35
UD
49871 [BZ 13527]
49872 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49873 ISO C11.
49874
380d7e87 49875 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49876 code.
49877
03a71829
UD
49878 [BZ #13528]
49879 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49880
839e283e
UD
49881 [BZ #13529]
49882 * assert/assert.h (static_assert): Define.
49883
ce5294e2 49884 * version.h: Update for 2.16 development version.
90fa7312 49885
8d44e150 49886 [BZ #13526]
d7809905
UD
49887 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49888 _ISOC11_SOURCE.
49889
c0da14cd
UD
49890 * version.h (RELEASE): Bump for 2.15 release.
49891 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49892
530a3249
MP
49893 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49894 Patch by Marek Polacek <mpolacek@redhat.com>.
49895
67371b56
UD
49896 * bits/byteswap.h: Protect long long constants with __extension__.
49897 * sysdeps/i386/bits/byteswap.h: Likewise.
49898 * sysdeps/ia64/bits/byteswap.h: Likewise.
49899 * sysdeps/s390/bits/byteswap.h: Likewise.
49900 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49901
15db4de1
LD
499022011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49903
49904 [BZ #13540]
bbe315ea
LD
49905 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49906 destination buffer.
15db4de1
LD
49907 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49908
2b2596b1
MP
499092011-12-23 Marek Polacek <polacek@redhat.com>
49910
49911 * elf/dl-addr.c (determine_info): Add inline keyword.
49912 * elf/tst-auditmod4b.c (check_avx): Likewise.
49913 * elf/tst-auditmod6b.c (check_avx): Likewise.
49914 * elf/tst-auditmod6c.c (check_avx): Likewise.
49915 * elf/tst-auditmod7b.c (check_avx): Likewise.
49916
70c6c246
UD
499172011-12-23 Ulrich Drepper <drepper@gmail.com>
49918
49919 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49920 !__SSE_MATH__.
49921
c044cf14
LD
499222011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49923
15db4de1 49924 [BZ #13540]
c044cf14
LD
49925 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49926 processing for last bytes.
49927
6b13d9d9
BH
499282011-08-06 Bruno Haible <bruno@clisp.org>
49929
d455f537
BH
49930 [BZ #13061]
49931 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49932 U+0385, not to U+1FEE.
49933
6b13d9d9
BH
49934 [BZ #13062]
49935 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49936 entry for U+00A5 U+0301.
49937
db910efd
UD
499382011-12-22 Ulrich Drepper <drepper@gmail.com>
49939
27deeafc
UD
49940 [BZ #13166]
49941 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49942 buffer for the output is too small.
49943
aed9d171
UD
49944 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49945 optimization.
49946
db910efd
UD
49947 [BZ #13185]
49948 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49949 SSE flags if possible.
49950
2bd779ae
LD
499512011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49952
e7f9dac3 49953 [BZ #13540]
2bd779ae
LD
49954 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49955 processing for last bytes.
49956
154bfc16
JM
499572011-12-22 Joseph Myers <joseph@codesourcery.com>
49958
49959 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49960 (syscall-list-default-options, syscall-list-default-condition)
49961 (syscall-list-includes): Define.
49962 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49963 list of ABIs and options and #if conditions for each ABI. Do not
49964 handle common syscalls between ABIs specially.
49965 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49966 Remove.
49967 (syscall-list-variants, syscall-list-32bit-options)
49968 (syscall-list-32bit-condition, syscall-list-64bit-options)
49969 (syscall-list-64bit-condition): Define.
49970 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49971 (syscall-list-variants, syscall-list-32bit-options)
49972 (syscall-list-32bit-condition, syscall-list-64bit-options)
49973 (syscall-list-64bit-condition): Define.
49974 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49975 Remove.
49976 (syscall-list-variants, syscall-list-32bit-options)
49977 (syscall-list-32bit-condition, syscall-list-64bit-options)
49978 (syscall-list-64bit-condition): Define.
49979 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49980 Remove.
49981 (syscall-list-variants, syscall-list-32bit-options)
49982 (syscall-list-32bit-condition, syscall-list-64bit-options)
49983 (syscall-list-64bit-condition): Define.
49984
21eaf3a5
UD
499852011-12-22 Ulrich Drepper <drepper@gmail.com>
49986
16c6f992
UD
49987 * locale/iso-639.def: Add brx entry.
49988
41043168
UD
49989 [BZ #13328]
49990 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49991 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49992
21eaf3a5
UD
49993 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49994 __feraiseexcept_renamed.
49995
e3a851a2
UD
499962011-12-21 Ulrich Drepper <drepper@gmail.com>
49997
4920765e
UD
49998 [BZ #13538]
49999 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50000 EPOLLET with unsigned values.
50001 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50002 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50003
e3a851a2
UD
50004 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50005 to large cancellation.
50006 * math/s_cacoshf.c: Likewise.
50007 * math/s_cacoshl.c: Likewise.
50008
b27e24b8
RK
500092011-11-18 Richard B. Kreckel <kreckel@ginac.de>
50010
50011 [BZ #13305]
aebefeee 50012 [BZ #12786]
b27e24b8
RK
50013 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50014 * math/s_cacoshf.c: Likewise.
50015 * math/s_cacoshl.c: Likewise.
50016
ee190f67
UD
500172011-12-21 Ulrich Drepper <drepper@gmail.com>
50018
50019 [BZ #13439]
50020 * iconv/gconv.h: Define __GCONV_SWAP.
50021 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50022 * iconvdata/utf-16.c: Likewise.
50023 * iconvdata/utf-32.c: Likewise.
50024
707f25df
AS
500252011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50026
50027 [BZ #13524]
50028 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50029 numerator after shifting it by one limb.
50030
d2daaa1e
RÁE
500312011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50032
50033 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50034 under [__USE_EXTERN_INLINES].
50035
a4647e72
UD
500362011-12-17 Ulrich Drepper <drepper@gmail.com>
50037
50038 [BZ #13446]
50039 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50040
f0b264f1
AZ
500412011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50042
50043 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50044 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50045 optimized code.
50046 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50047 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50048 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50049 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50050 for strncasecmp/strncasecmp_l compilation.
50051 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50052 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50053
8ef4f244
MP
500542011-12-08 Marek Polacek <mpolacek@redhat.com>
50055
50056 [BZ #13484]
50057 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50058 of __asm__.
50059
97ac2654
UD
500602011-12-17 Ulrich Drepper <drepper@gmail.com>
50061
50062 [BZ #13506]
50063 * time/tzfile.c (__tzfile_read): Check values from file header.
50064
91d2a845
WS
500652011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50066
50067 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50068 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50069 * powerpc/powerpc32/dl-start.S: Likewise.
50070 * powerpc/powerpc32/elf/start.S: Likewise.
50071 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50072 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50073 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50074 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50075 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50076 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50077 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50078 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50079 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50080 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50081 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50082 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50083 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50084 * powerpc/powerpc32/memset.S: Likewise.
50085 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50086 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50087 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50088 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50089 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50090 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50091 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50092 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50093 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50094 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50095 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50096 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50097 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50098
a1267ba1
AZ
500992011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50100
50101 * math/libm-test.inc: Added more nearbyint tests.
50102 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50103 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50104 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50105 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50106
ad8ac1bd
RL
501072011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50108
50109 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50110 FD_CLOEXEC.
50111
1d3e4b61
UD
501122011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50113
50114 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50115 Add wcscpy-ssse3 wcscpy-c.
50116 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50117 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50118 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50119 * sysdeps/x86_64/wcschr.S: New file.
50120 * sysdeps/x86_64/wcsrchr.S: New file.
50121 * string/test-strcmp.c: Remove checking of wcscmp function for
50122 wrong alignments.
50123 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50124 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50125 wcsrchr-sse2 wcsrchr-c.
50126 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50127 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50128 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50129 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50130 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50131 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50132 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50133 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50134 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50135 * wcsmbc/wcschr.c (WCSCHR): New macro.
50136
5b330a2d
UD
501372011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50138
50139 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50140 * wcsmbs/test-wcsrchr.c: New file.
50141 * string/test-strrchr.c: Add wcsrchr support.
50142 (WIDE): New macro.
50143 * wcsmbs/test-wcscpy.c: New file.
50144 * string/test-strcpy.c: Add wcscpy support.
50145 (WIDE): New macro.
26428b7c 50146
f039c043
UD
501472011-12-10 Ulrich Drepper <drepper@gmail.com>
50148
50149 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50150 the inner loop.
50151
850fb039
AS
501522011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50153
50154 [BZ #13472]
50155 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50156
4efbd5cb
UD
501572011-12-04 Ulrich Drepper <drepper@gmail.com>
50158
52ff5dd0 50159 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50160 Minor optimizations.
52ff5dd0 50161
4efbd5cb
UD
50162 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50163 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50164 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50165
8a426e12
UD
501662011-12-03 Ulrich Drepper <drepper@gmail.com>
50167
aff2453d
UD
50168 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50169 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50170 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50171 for gcc to avoid warnings.
50172 * inet/Makefile (tests): Add tst-checks.
50173 * inet/tst-checks.c: New file.
50174
50175 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50176 warning.
50177
50178 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50179 __wmemcmp_sse2.
50180
50181 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50182 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50183
8a426e12
UD
50184 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50185
9bea3473
UD
501862011-12-02 Ulrich Drepper <drepper@gmail.com>
50187
3a965496
UD
50188 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50189 problem.
50190
9bea3473
UD
50191 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50192
f101631b
UD
501932011-11-29 Joseph Myers <joseph@codesourcery.com>
50194
50195 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50196 conditional on GCC version.
50197 (__arch_compare_and_exchange_val_8_acq)
50198 (__arch_compare_and_exchange_val_16_acq)
50199 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50200 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50201 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50202
a98275aa
UD
502032011-12-02 Joseph Myers <joseph@codesourcery.com>
50204
50205 * sysdeps/sh/backtrace.c: New file.
50206
d4cc29a2
AS
502072011-12-02 Andreas Schwab <schwab@redhat.com>
50208
50209 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50210 parenthesis.
50211
6257af2d
AS
502122011-12-01 Andreas Schwab <schwab@redhat.com>
50213
50214 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50215 falling back to utime.
50216
b5f44c1a
AS
502172011-11-30 Andreas Schwab <schwab@redhat.com>
50218
50219 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50220 expectations for float.
50221
f3a6cc0a
AS
502222011-11-29 Andreas Schwab <schwab@redhat.com>
50223
50224 * locale/weight.h (findidx): Add parameter len.
50225 * locale/weightwc.h (findidx): Likewise.
50226 * posix/fnmatch_loop.c (FCT): Adjust caller.
50227 * posix/regcomp.c (build_equiv_class): Likewise.
50228 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50229 * posix/regexec.c (check_node_accept_bytes): Likewise.
50230 * string/strcoll_l.c (STRCOLL): Likewise.
50231 * string/strxfrm_l.c (STRXFRM): Likewise.
50232
9d65ea3a
UD
502332011-11-17 Ulrich Drepper <drepper@gmail.com>
50234
50235 * Makefile.in: Remove CVSOPT handling.
50236 * configure.in: Remove use of AC_REVISION.
50237 * iconvdata/Makefile (distribute): No need to filter out CVS.
50238 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50239 handling.
50240
5583a086
AS
502412011-11-16 Andreas Schwab <schwab@redhat.com>
50242
50243 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50244 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50245 [USE_AS_STRNCASECMP_L]: Likewise.
50246 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50247 NO_TLS_DIRECT_SEG_REFS.
50248 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50249 Fix argument offsets for non-PIC.
50250 [USE_AS_STRNCASECMP_L]: Likewise.
50251 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50252 NO_TLS_DIRECT_SEG_REFS.
50253
d62a8200
UD
502542011-11-15 Ulrich Drepper <drepper@gmail.com>
50255
9d65ea3a 50256 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50257 O_CLOEXEC.
50258 * locale/loadlocale.c (_nl_load_locale): Likewise.
50259
09f93bd3
AS
502602011-11-15 Andreas Schwab <schwab@redhat.com>
50261
446514f9
AS
50262 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50263 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50264 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50265 (SYSCALL_GETTIME): Set errno on error.
50266
09f93bd3
AS
50267 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50268 count references to noai6ai_cached.
50269
312be3f9
UD
502702011-11-15 Ulrich Drepper <drepper@gmail.com>
50271
50272 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50273
50274 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50275 FD_CLOEXEC for /proc/self/maps.
50276
50277 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50278 FD_CLOEXEC for /proc/meminfo.
50279
50280 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50281 gai.conf.
50282
50283 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50284 FD_CLOEXEC for given file.
50285
50286 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50287
50288 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50289 FD_CLOEXEC for /etc/hosts.
50290 (_gethtent): Likewise.
50291
50292 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50293
50294 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50295 cancellation and set FD_CLOEXEC for /etc/netgroup.
50296
50297 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50298 reading /etc/publickey.
50299
50300 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50301 allow cancellation when reading /etc/group.
50302
50303 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50304 cancellation.
50305 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50306
50307 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50308 when using data file.
50309
50310 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50311
50312 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50313 (write_nis_obj): Use "c" and "e" in fopen.
50314
50315 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50316
50317 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50318
50319 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50320
50321 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50322
50323 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50324 locale.alias.
50325
50326 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50327
50328 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50329
50330 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50331
50332 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50333 file parsing and set FD_CLOEXEC.
50334
82af0fa8
UD
503352011-11-14 Ulrich Drepper <drepper@gmail.com>
50336
50337 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50338
a5fb313c
AS
503392011-11-14 Andreas Schwab <schwab@redhat.com>
50340
50341 * malloc/arena.c (arena_get2): Don't call reused_arena when
50342 _int_new_arena failed.
50343
6abf3465
UD
503442011-11-14 Ulrich Drepper <drepper@gmail.com>
50345
50346 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50347 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50348 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50349 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50350 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50351 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50352 to compile strcasecmp and strncasecmp.
50353 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50354 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50355
50356 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50357
76e3966e
UD
503582011-11-13 Ulrich Drepper <drepper@gmail.com>
50359
50360 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50361 locale-defines.sym to gen-as-const-headers.
50362 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50363 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50364 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50365 to compile strcasecmp and strncasecmp.
50366 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50367 strcasecmp_l and strncasecmp_l.
50368 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50369 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50370 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50372 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50373 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50374 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50375 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50376 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50377 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50378 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50379
ab26144e
UD
503802011-11-12 Ulrich Drepper <drepper@gmail.com>
50381
7edb22ef
UD
50382 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50383 result of SYSDEP_GETTIME_CPU to retval.
50384 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50385 parameter list to macro. Remove trailing semicolon. Adjust users.
50386
9694fc44
UD
50387 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50388 variable.
50389
8ad89ef8
UD
50390 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50391 mantissa words.
50392 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50393
0c822ef9
UD
50394 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50395 from unused variable.
50396
874e0564
UD
50397 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50398 DWARF definitions.
50399 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50400 for assembling.
50401
3a2edc79
UD
50402 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50403 over namespaces.
50404
f3c2577f
UD
50405 * sunrpc/rpc_prot.c (rejected): Fix case value.
50406
294ce126
UD
50407 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50408 unsigned long long int to avoid warnings in shift.
50409
5e2b63c6
UD
50410 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50411 of use of trans.
50412 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50413 variable tmp.
50414
e7f4b08e
UD
50415 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50416 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50417 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50418
ab26144e
UD
50419 * nis/nis_table.c (nis_list): Use variable of correct type for
50420 result of __follow_path call.
50421
8a6d5255
AZ
504222011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50423
50424 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50425 of math functions ceil, trunc, floor, round, and sqrt, when
50426 avaliable on the platform.
50427 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50428 name clash.
50429 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50430 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50431 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50432
aaddc98c
MP
504332011-10-30 Marek Polacek <mpolacek@redhat.com>
50434
50435 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50436 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50437
95b7042b
RM
504382011-11-11 Roland McGrath <roland@hack.frob.com>
50439
50440 * include/unistd.h: Fix __readlink return type.
50441 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50442
57769839
UD
504432011-11-11 Ulrich Drepper <drepper@gmail.com>
50444
50445 * stdlib/ucontext.h: Undo last change for makecontext.
50446
edc5984d
AS
504472011-11-11 Andreas Schwab <schwab@redhat.com>
50448
98591e58
AS
50449 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50450
edc5984d
AS
50451 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50452 * setjmp/setjmp.h: Mark functions as non-leaf.
50453 * setjmp/bits/setjmp2.h: Likewise.
50454 * stdlib/ucontext.h: Likewise.
50455
77cdc054
AS
504562011-11-10 Andreas Schwab <schwab@redhat.com>
50457
50458 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50459 (reused_arena): Don't check arena limit.
50460 (arena_get2): Atomically check arena limit.
50461
fe72eebd
UD
504622011-11-08 Ulrich Drepper <drepper@gmail.com>
50463
5f078c32
UD
50464 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50465 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50466
fe72eebd
UD
50467 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50468 instructions.
50469
ae1bc2fa
AS
504702011-11-07 Andreas Schwab <schwab@redhat.com>
50471
7583a88d
AS
50472 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50473 handler when locking.
50474
ae1bc2fa
AS
50475 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50476 Fix size of allocated buffer.
50477
10fb0bfa
AS
504782011-11-04 Andreas Schwab <schwab@redhat.com>
50479
998832a4
AS
50480 [BZ #10103]
50481 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50482 declarations for long double functions.
50483 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50484
10fb0bfa
AS
50485 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50486
3d7ba52b
AS
504872011-11-03 Andreas Schwab <schwab@redhat.com>
50488
a9ae54a1
AS
50489 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50490 installed.
50491
3d7ba52b
AS
50492 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50493 is disabled.
50494
bc8db248
ST
504952011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50496
50497 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50498
45b96dd6
AS
504992011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50500
647776f6
AS
50501 * include/alloca.h (stackinfo_alloca_round): Define.
50502 (extend_alloca): Use it.
50503 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50504 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50505 here.
50506
d91a8b93
AS
50507 * scripts/check-local-headers.sh: Ignore libaudit.h.
50508
45b96dd6
AS
50509 * nscd/Makefile (extra-objs): Make recursively expanded.
50510
432d41ce
UD
505112011-11-01 Ulrich Drepper <drepper@gmail.com>
50512
34372fc6
UD
50513 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50514 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50515
fadb59f8
UD
50516 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50517 * posix/tst-rfc3484-2.c: Likewise.
50518 * posix/tst-rfc3484-3.c: Likewise.
50519
78239589
UD
50520 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50521 process_vm_writev.
50522 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50523 process_vm_writev.
50524 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50525 process_vm_writev from libc using GLIBC_2.15 version.
50526
432d41ce
UD
50527 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50528
02f9c6cf
PP
505292011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50530
50531 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50532 stack usage.
50533
3a2c0242
UD
505342011-10-31 Ulrich Drepper <drepper@gmail.com>
50535
f4ec4833
UD
50536 [BZ #13367]
50537 * nss/getent.c (initgroups_keys): Show error message in case no group
50538 names are given.
50539
3a2c0242
UD
50540 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50541 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50542 __bump_nl_timestamp.
50543 * nscd/connections (nscd_init): When host database is served open
50544 netlink socket and request notification about configuration changes.
50545 (main_loop_poll): Track netlink file descriptor and bump timestamp
50546 in case data becomes available.
50547 (main_loop_epoll): Likewise.
50548 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50549 (database_pers_head): Add extra_data fileds.
50550 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50551 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50552 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50553 Adjust caller.
50554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50555 in6ai data, call __free_in6ai.
50556 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50557 Add -DHAVE_NETLINK.
50558 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50559 interface information. Reuse previous data if netlink timestamp
50560 is not changed.
50561 (__bump_nl_timestamp): New function.
50562 (__free_in6ai): New function.
50563
636064eb
UD
505642011-10-30 Ulrich Drepper <drepper@gmail.com>
50565
50566 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50567 close_not_cancel_no_status here.
50568 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50569
9beb2334
UD
505702011-10-29 Ulrich Drepper <drepper@gmail.com>
50571
6ef76f3b
UD
50572 [BZ #13276]
50573 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50574 return value.
50575
0ffc4f3e 50576 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50577 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50578 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50579
cb95113e
UD
505802011-07-03 Andreas Jaeger <aj@suse.de>
50581
50582 [BZ #10709]
50583 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50584 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50585 * math/libm-test.inc (sin_test): Add test case.
50586
a1b560ff
UD
505872011-10-29 Ulrich Drepper <drepper@gmail.com>
50588
c9aaface
UD
50589 [BZ #13337]
50590 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50591 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50592
d272e7f1
UD
50593 * elf/chroot_canon.c (chroot_canon): Cleanups.
50594
1bc33071
UD
50595 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50596
1760874d
TJ
50597 [BZ #13335]
50598 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50599 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50600
51d91b18
UD
50601 * string/test-strchr.c: Make usable for strchrnul testing.
50602 * string/test-strchrnul.c: New file.
50603 * string/Makefile (strop-tests): Add strchrnul.
50604
a1b560ff 50605 * po/it.po: Update from translation team.
b611fb81 50606 * po/es.po: Likewise.
a1b560ff 50607
a5b81e1f
UD
506082011-10-28 Ulrich Drepper <drepper@gmail.com>
50609
fd52bc6d
UD
50610 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50611 the three constants needed as parameters. Drop the others.
50612 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50613 __m128i_strloadu_tolower.
52e4b9eb
UD
50614 Create and initialize variable zero and use it in all the places
50615 where _mm_setzero_si128 was used.
fd52bc6d 50616
a5b81e1f
UD
50617 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50618 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50619 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50620 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50621 anymore.
50622 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50623 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50624 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50625 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50626 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50627 __mpranred, __mptan.
50628 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50629 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50630 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50631 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50632 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50633 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50634 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50635 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50636 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50637
b4343346
AS
506382011-10-28 Andreas Schwab <schwab@redhat.com>
50639
0c92d8a8
AS
50640 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50641 redefine if SHARED.
50642 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50643
b4343346
AS
50644 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50645 wide char related routines to wcsmbs subdir.
50646
3871f58f
AS
506472011-10-27 Andreas Schwab <schwab@redhat.com>
50648
50649 [BZ #13344]
50650 * misc/sys/cdefs.h (__THROWNL): Define.
50651 * posix/unistd.h: Use __THREADNL instead of __THREAD
50652 for memory synchronization functions.
50653
94d44d9f
RM
506542011-10-26 Roland McGrath <roland@hack.frob.com>
50655
21b64b15 50656 [BZ #13349]
94d44d9f
RM
50657 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50658 doesn't exist.
50659 * manual/stdio.texi (Obstack Streams): Node removed.
50660
f6ce9294
AS
506612011-10-26 Andreas Schwab <schwab@redhat.com>
50662
80479147
AS
50663 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50664 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50665 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50666
f6ce9294
AS
50667 * math/math_private.h (math_force_eval): Allow non-addressable
50668 arguments.
50669 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50670
618280a1
UD
506712011-10-25 Ulrich Drepper <drepper@gmail.com>
50672
e0016b11
UD
50673 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50674 file is not needed.
50675
50676 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50677 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50678 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50679 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50680 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50681 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50682 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50683 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50684 Add AVX variants.
50685 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50686 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50687 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50688 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50689 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50690 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50691 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50692 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50693 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50694 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50695 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50696 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50697 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50698 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50699 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50700 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50701 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50702 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50703 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50704
50705 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50706 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50707
618280a1
UD
50708 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50709 place. Use VEX encoding when compiling for AVX.
50710
37822576
AS
507112011-10-25 Andreas Schwab <schwab@redhat.com>
50712
1f1e1947
AS
50713 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50714 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50715
37822576
AS
50716 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50717
31ea014d
UD
507182011-10-25 Ulrich Drepper <drepper@gmail.com>
50719
d7826aa1 50720 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50721 useless if() expression.
d7826aa1
UD
50722 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50723 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50724 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50725 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50726 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50727 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50728 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50729 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50730 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50731 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50732 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50733 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50734 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50735 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50736 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50737 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50738 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50739 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50740 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50741
31ea014d
UD
50742 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50743
16437fec
AS
507442011-10-25 Andreas Schwab <schwab@redhat.com>
50745
50746 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50747 condition.
50748 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50749
31d3cc00
UD
507502011-10-25 Ulrich Drepper <drepper@gmail.com>
50751
50752 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50753 .text section. Avoid duplicate constants.
50754 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50756 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50757 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50758 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50759 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50762 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50763 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50764 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50765 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50766 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50767 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50768 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50769 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50770 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50771 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50772 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50773 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50774 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50775 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50776 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50777 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50778 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50779 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50780 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50781 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50782 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50783 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50784 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50785 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50786 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50787 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50788 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50789 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50790 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50791 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50792 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50793 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50794 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50795 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50796 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50797 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50798 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50799
58985aa9
UD
508002011-10-24 Ulrich Drepper <drepper@gmail.com>
50801
202c9deb
UD
50802 * sysdeps/x86_64/dla.h: Move to ...
50803 * sysdeps/x86_64/fpu/dla.h: ...here.
50804 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50805 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50806
af968f62
UD
50807 * config.make.in: Add have-mfma4 entry.
50808 * configure.in: Substitute libc_cv_cc_fma4.
50809 * math/Makefile (dbl-only-routines): Add sincostab.
50810 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50811 Use __sincostab not sincos.
50812 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50813 name is a macro.
50814 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50815 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50816 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50817 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50818 using __copysign.
50819 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50820 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50821 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50822 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50823 and __inv.
50824 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50825 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50826 __copysign.
50827 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50828 define aliases when function name is a macro.
50829 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50830 sysdeps/ieee754/dbl-64/sincos.tbl.
50831 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50832 fma4-enabled routines.
50833 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50834 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50835 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50836 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50837 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50838 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50839 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50840 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50841 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50842 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50843 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50844 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50845 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50846 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50847 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50848 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50849 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50850 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50851 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50852 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50853 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50854 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50855 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50856 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50857 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50858 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50859 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50860 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50861 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50862 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50863
58985aa9
UD
50864 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50865 rename.
50866 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50867 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50868 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50869 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50870 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50871 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50872 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50873 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50874
a201fbcf
AS
508752011-10-24 Andreas Schwab <schwab@redhat.com>
50876
50877 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50878
fc2ee42a
LD
508792011-10-23 Ulrich Drepper <drepper@gmail.com>
50880
bb3129bd
UD
50881 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50882
0275fff8
UD
50883 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50884 prediction.
50885 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50886
2fa2ae85
UD
50887 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50888 Remove unused variable magic_bits.
50889 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50890
fc2ee42a
LD
50891 * string/strnlen.c: Define and use STRNLEN macro.
50892 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50893 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50894 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50895 * wcsmbs/wcslen.c: Define and use WCSLEN.
50896 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50897 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50898 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50899 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50900 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50901 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50902 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50903
ce7dd29f
LD
509042011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50905
50906 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50907 strnlen-sse2-no-bsf.
50908 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50909 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50910 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50911 Add strnlen support.
50912 (USE_AS_STRNLEN): New macro.
50913 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50914 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50915 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50916 * sysdeps/x86_64/wcslen.S: New file.
50917
979c70a3
MZ
509182011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50919
50920 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50921 XMM-moves are used for copying on small sizes.
50922
2d09f82f
LD
509232011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50924
50925 * wcsmbs/Makefile (strop-tests): Add wcschr.
50926 * wcsmbs/test-wcschr.c: New file.
50927 * string/test-strchr.c: Update.
50928 Add wcschr support.
50929 (WIDE): New macro.
50930
619fccca
LD
509312011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50932
2d09f82f 50933 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50934 * wcsmbs/test-wcslen.c: New file.
50935 * string/test-strlen.c: Update.
50936 Add wcslen support.
50937 (WIDE): New macro.
50938
09f699ea
UD
509392011-10-23 Ulrich Drepper <drepper@gmail.com>
50940
50941 * po/it.po: Update from translation team.
50942
95584d3b
LD
509432011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50944
50945 * sysdeps/x86_64/wcscmp.S: Update.
50946 Fix wrong comparison semantics.
50947 wcscmp shall use signed comparison not unsigned.
50948 Don't use substraction to avoid overflow bug.
50949 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50950 * wcsmbc/wcscmp.c: Likewise.
50951 * string/test-strcmp.c: Likewise.
50952 Add new tests to check cases with negative values.
50953
c8b3296b
UD
509542011-10-23 Ulrich Drepper <drepper@gmail.com>
50955
50956 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50957 * sysdeps/x86_64/dla.h: ...here. New file.
50958 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50959 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50960 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50961 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50962 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50963 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50964 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50965 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50966 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50967
246ad57a
AS
509682011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50969
50970 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50971 __ynl_finite aliases.
50972
a1a87169
UD
509732011-10-22 Ulrich Drepper <drepper@gmail.com>
50974
0d355eb7
UD
50975 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50976
a1a87169
UD
50977 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50978 define DLA_FMA.
50979 [DLA_FMA] (EMULV): Use DLA_FMA.
50980 [DLA_FMA] (MUL12): Use EMULV.
50981 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50982 that are not needed.
50983 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50984 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50985 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50986 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50987 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50988 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50989 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50990
ee2aafe0
AS
509912011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50992
50993 * math/s_nan.c: Undef __nan.
50994 * math/s_nanf.c: Undef __nanf.
50995 * math/s_nanl.c: Undef __nanl.
50996 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50997 "math_private.h".
50998
bc62c2fb
UD
509992011-10-22 Ulrich Drepper <drepper@gmail.com>
51000
77425c63
UD
51001 * math/s_catan.c: Add branch predictions.
51002 * math/s_catanf.c: Likewise.
51003 * math/s_catanh.c: Likewise.
51004 * math/s_catanhf.c: Likewise.
51005 * math/s_catanhl.c: Likewise.
51006 * math/s_catanl.c: Likewise.
51007 * math/s_cexp.c: Likewise.
51008 * math/s_cexpf.c: Likewise.
51009 * math/s_cexpl.c: Likewise.
51010 * math/s_clog.c: Likewise.
51011 * math/s_clog10.c: Likewise.
51012 * math/s_clog10f.c: Likewise.
51013 * math/s_clog10l.c: Likewise.
51014 * math/s_clogf.c: Likewise.
51015 * math/s_clogl.c: Likewise.
51016 * math/s_csqrt.c: Likewise.
51017 * math/s_csqrtf.c: Likewise.
51018 * math/s_csqrtl.c: Likewise.
51019 * math/s_ctanf.c: Likewise.
51020 * math/s_ctanh.c: Likewise.
51021 * math/s_ctanhf.c: Likewise.
51022 * math/s_ctanhl.c: Likewise.
51023 * math/s_ctanl.c: Likewise.
51024
bc62c2fb
UD
51025 * math/math_private.h: Define __nan, __nanf, __nanl.
51026 * math/s_cacosh.c: Include <math_private.h>.
51027 * math/s_cacoshl.c: Likewise.
51028 * math/s_casinh.c: Likewise.
51029 * math/s_casinhf.c: Likewise.
51030 * math/s_casinhl.c: Likewise.
51031 * math/s_ccos.c: Rely entire on ccosh.
51032 * math/s_ccosf.c: Rely entire on ccoshf.
51033 * math/s_ccosl.c: Rely entirely on ccoshl.
51034 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51035 Remove tests for FE_INVALID.
51036 * math/s_ccoshf.c: Likewise.
51037 * math/s_ccoshl.c: Likewise.
51038 * math/s_csin.c: Likewise.
51039 * math/s_csinf.c: Likewise.
51040 * math/s_csinh.c Likewise.
51041 * math/s_csinhf.c: Likewise.
51042 * math/s_csinhl.c: Likewise.
51043 * math/s_csinl.c: Likewise.
51044 * math/s_ctan.c: Likewise.
51045 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51046 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51047 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51048
8ec250a4
UD
510492011-10-21 Ulrich Drepper <drepper@gmail.com>
51050
c196fed8
UD
51051 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51052 compilation problems.
51053
8ec250a4
UD
51054 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51055 __builtin_expect.
51056
8d4f46c6
UD
510572011-10-20 Ulrich Drepper <drepper@gmail.com>
51058
ed72b654
UD
51059 * sysdeps/i386/configure.in: Test for -mfma4 option.
51060 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51061 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51062 COMMON_CPUID_INDEX_80000001.
51063 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51064 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51065 use it if FMA3 is not supported.
51066 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51067
8d4f46c6
UD
51068 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51069 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51070
d45c60c2
AS
510712011-10-20 Andreas Schwab <schwab@redhat.com>
51072
51073 [BZ #12892]
51074 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51075 it would create a cycle with a link time dependency.
51076
d9a4d2ab
UD
510772011-10-19 Ulrich Drepper <drepper@gmail.com>
51078
855d1560
UD
51079 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51080 instruction.
51081 * string/Makefile (strop-tests): Add rawmemchr.
51082 * string/test-rawmemchr.c: New file.
51083
d9a4d2ab
UD
51084 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51085 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51086 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51087 when compiling str{,n}casecmp and when AVX is available. Hook up
51088 new optimized code in initializers.
51089
8f3b1ffe
AS
510902011-10-19 Andreas Schwab <schwab@redhat.com>
51091
51092 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51093 __feraiseexcept instead of feraiseexcept.
51094
d38f1dba
UD
510952011-10-18 Ulrich Drepper <drepper@gmail.com>
51096
d9a8d0ab
UD
51097 * math/math_private.h: Define defaults for libc_fetestexcept and
51098 libc_feupdateenv.
51099 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51100 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51101 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51102 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51103 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51104 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51105 libc_fetestexcept and libc_feupdateenv.
51106
4855e3dd
UD
51107 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51108 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51109 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51110 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51111 libc_feholdexcept_setround.
51112
581d30e3
UD
51113 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51114 Add s_nearbyint-c and s_nearbyintf-c.
51115 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51116 nearbyintf inlines.
51117 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51118 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51119 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51120 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51121
d38f1dba
UD
51122 * math/math_private.h: Define defaults for libc_fegetround,
51123 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51124 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51125 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51126 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51127 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51128 standard functions.
51129 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51130 Remove comments and hacks for old compiler versions.
51131 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51132 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51133 libc_feholdexceptl.
51134
caa6c9d8
AS
511352011-10-18 Andreas Schwab <schwab@redhat.com>
51136
51137 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51138 (__feraiseexcept_renamed): Add __NTH.
51139 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51140 namespace violations.
51141
97c066e6
UD
511422011-10-17 Ulrich Drepper <drepper@gmail.com>
51143
99ce7b04
UD
51144 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51145
1004d182
UD
51146 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51147
228a984d
UD
51148 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51149 recently added interfaces.
51150 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51151
c8553a6a
UD
51152 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51153 about macro parameter expansion.
51154
ed22dcf6
UD
51155 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51156 __NO_MATH_INLINES is defined. Cleanups.
51157
51158 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51159 and __floorf is target has SSE4.1.
51160 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51161 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51162 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51163 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51164
b171c137
UD
51165 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51166 name.
51167 (floorf): Likewise.
51168
97c066e6
UD
51169 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51170
629f62ef
AS
511712011-10-17 Andreas Schwab <schwab@redhat.com>
51172
49a43d80
AS
51173 * misc/sys/cdefs.h: Fix last change.
51174
629f62ef
AS
51175 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51176 database lookup.
51177
e453f6cd
UD
511782011-10-16 Ulrich Drepper <drepper@gmail.com>
51179
aa78043a
UD
51180 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51181
ad0f5cad
UD
51182 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51183 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51184 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51185 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51186 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51187 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51188 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51189 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51190 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51191 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51192 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51193 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51194 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51195 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51196 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51197 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51198 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51199 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51200 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51201 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51202 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51203 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51204
51205 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51206 ceil, ceilf, floor, floorf.
51207
51208 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51209 Perform IRELATIVE relocations last.
51210
e453f6cd
UD
51211 * elf/do-rel.h: Add another parameter nrelative, replacing the
51212 local variable with the same name. Change name of the function
51213 to end in Rel or Rela (uppercase).
51214 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51215 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51216 elf_dynamic_do_##reloc function.
51217
fd5bdc09
UD
512182011-10-15 Ulrich Drepper <drepper@gmail.com>
51219
79b195b5
UD
51220 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51221 is sufficient, at least on modern CPUs.
51222
d4a28569
UD
51223 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51224
b61099b5
UD
51225 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51226 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51227
bcf01e6d
UD
51228 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51229 __expl_finite.
51230 * math/bits/math-finite.h: Add entries for exp.
51231 * math/e_expl.c: Add __*_finite alias.
51232 * sysdeps/i386/fpu/e_exp.S: Likewise.
51233 * sysdeps/i386/fpu/e_expf.S: Likewise.
51234 * sysdeps/i386/fpu/e_expl.c: Likewise.
51235 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51236 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51237 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51238 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51239 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51240 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51241 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51242
ba1a0d59
UD
51243 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51244 is sufficient, at least on modern CPUs.
51245
fd5bdc09
UD
51246 * ctype/ctype-info.c (__ctype_init): Define.
51247 * include/ctype.h (__ctype_init): Declare.
51248 (__ctype_b_loc): The variable is always initialized.
51249 (__ctype_toupper_loc): Likewise.
51250 (__ctype_tolower_loc): Likewise.
51251 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51252 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51253
7872cfb0
AS
512542011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51255
b468825a
AS
51256 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51257
7872cfb0
AS
51258 * configure.in: Also look in $cxxmachine/include for C++ system
51259 headers.
51260
be13f7bf
LD
512612011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51262
51263 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51264 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51265 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51266 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51267 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51268 (USE_AS_WMEMCMP): New macro.
51269 Fixing indents.
51270 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51271 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51272 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51273 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51275 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51276 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51277 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51278 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51279 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51280 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51281 (USE_AS_WMEMCMP): New macro.
51282 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51283 * sysdeps/string/test-memcmp.c: Update.
51284 Fix simple_wmemcmp.
51285 Add new tests.
51286 * wcsmbs/wmemcmp.c: Update.
51287 (WMEMCMP): New macro.
51288 Fix overflow bug.
51289
556a2007
AJ
512902011-10-12 Andreas Jaeger <aj@suse.de>
51291
51292 [BZ #13268]
51293 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51294
538faaa7
UD
512952011-10-15 Ulrich Drepper <drepper@gmail.com>
51296
ab6737ff
UD
51297 * libio/iofwide.c (do_length): Avoid warning.
51298
538faaa7
UD
51299 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51300
396a21b1
UD
513012011-10-14 Ulrich Drepper <drepper@gmail.com>
51302
cdf2901f
UD
51303 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51304
38ad40ce
UD
51305 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51306 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51307 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51308 * sysdeps/i386/i686/fpu/e_log.S: New file.
51309 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51310 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51311
396a21b1
UD
51312 * ctype/ctype.h: Add support for inlined isXXX functions when
51313 compiling C++ code.
51314
6b1f68c9
AS
513152011-10-14 Andreas Schwab <schwab@redhat.com>
51316
349290c0
AS
51317 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51318
6b1f68c9
AS
51319 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51320
f2282d42
RM
513212011-10-13 Roland McGrath <roland@hack.frob.com>
51322
51323 [BZ #13291]
51324 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51325
5298ffa8
AS
513262011-10-13 Andreas Schwab <schwab@redhat.com>
51327
714fad23
AS
51328 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51329 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51330 feraiseexcept.
51331
81dcc7fb
AS
51332 * sysdeps/x86_64/memrchr.S: Check for zero size.
51333
5298ffa8
AS
51334 * string/stratcliff.c: Add memrchr tests.
51335
951fbcec
LD
513362011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51337
51338 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51339 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51340 rawmemchr-sse2 rawmemchr-sse2-bsf.
51341 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51342 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51343 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51344 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51345 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51346 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51347 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51348 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51349 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51350 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51351 * string/memrchr.c (MEMRCHR): New macro.
51352
0ac5ae23
UD
513532011-10-12 Ulrich Drepper <drepper@gmail.com>
51354
51355 Add integration with gcc's -ffinite-math-only and optimize wrapper
51356 functions in libm.
51357 * Versions.def: Define GLIBC_2.15 version for libm.
51358 * math/Makefile (headers): Add bits/math-finite.h.
51359 * math/bits/math-finite.h: New file.
51360 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51361 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51362 * math/e_acoshl.c: Add __*_finite alias.
51363 * math/e_acosl.c: Likewise.
51364 * math/e_asinl.c: Likewise.
51365 * math/e_atan2l.c: Likewise.
51366 * math/e_atanhl.c: Likewise.
51367 * math/e_coshl.c: Likewise.
51368 * math/e_exp10.c: Likewise.
51369 * math/e_exp10f.c: Likewise.
51370 * math/e_exp10l.c: Likewise.
51371 * math/e_exp2l.c: Likewise.
51372 * math/e_fmodl.c: Likewise.
51373 * math/e_gammal_r.c: Likewise.
51374 * math/e_hypotl.c: Likewise.
51375 * math/e_j0l.c: Likewise.
51376 * math/e_j1l.c: Likewise.
51377 * math/e_jnl.c: Likewise.
51378 * math/e_lgammal_r.c: Likewise.
51379 * math/e_log10l.c: Likewise.
51380 * math/e_log2l.c: Likewise.
51381 * math/e_logl.c: Likewise.
51382 * math/e_powl.c: Likewise.
51383 * math/e_sinhl.c: Likewise.
51384 * math/e_sqrtl.c: Likewise.
51385 * math/e_scalb.c: Completely rewritten and optimized.
51386 * math/e_scalbf.c: Likewise.
51387 * math/e_scalbl.c: Likewise.
51388 * math/w_acos.c: Likewise.
51389 * math/w_acosf.c: Likewise.
51390 * math/w_acosl.c: Likewise.
51391 * math/w_acosh.c: Likewise.
51392 * math/w_acoshf.c: Likewise.
51393 * math/w_acoshl.c: Likewise.
51394 * math/w_asin.c: Likewise.
51395 * math/w_asinf.c: Likewise.
51396 * math/w_asinl.c: Likewise.
51397 * math/w_atan2.c: Likewise.
51398 * math/w_atan2f.c: Likewise.
51399 * math/w_atan2l.c: Likewise.
51400 * math/w_atanh.c: Likewise.
51401 * math/w_atanhf.c: Likewise.
51402 * math/w_atanhl.c: Likewise.
51403 * math/w_exp10.c: Likewise.
51404 * math/w_exp10f.c: Likewise.
51405 * math/w_exp10l.c: Likewise.
51406 * math/w_fmod.c: Likewise.
51407 * math/w_fmodf.c: Likewise.
51408 * math/w_fmodl.c: Likewise.
51409 * math/w_j0.c: Likewise.
51410 * math/w_j0f.c: Likewise.
51411 * math/w_j0l.c: Likewise.
51412 * math/w_j1.c: Likewise.
51413 * math/w_j1f.c: Likewise.
51414 * math/w_j1l.c: Likewise.
51415 * math/w_jn.c: Likewise.
51416 * math/w_jnf.c: Likewise.
51417 * math/w_log.c: Likewise.
51418 * math/w_logf.c: Likewise.
51419 * math/w_logl.c: Likewise.
51420 * math/w_log10.c: Likewise.
51421 * math/w_log10f.c: Likewise.
51422 * math/w_log10l.c: Likewise.
51423 * math/w_log2.c: Likewise.
51424 * math/w_log2f.c: Likewise.
51425 * math/w_log2l.c: Likewise.
51426 * math/w_pow.c: Likewise.
51427 * math/w_powf.c: Likewise.
51428 * math/w_powl.c: Likewise.
51429 * math/w_remainder.c: Likewise.
51430 * math/w_remainderf.c: Likewise.
51431 * math/w_remainderl.c: Likewise.
51432 * math/w_scalb.c: Likewise.
51433 * math/w_scalbf.c: Likewise.
51434 * math/w_scalbl.c: Likewise.
51435 * math/w_sqrt.c: Likewise.
51436 * math/w_sqrtf.c: Likewise.
51437 * math/w_sqrtl.c: Likewise.
51438 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51439 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51440 used.
51441 * math/math_private.h: Declare __kernel_standard_f.
51442 * math/w_cosh.c: Remove cruft and optimize a bit.
51443 * math/w_coshf.c: Likewise.
51444 * math/w_coshl.c: Likewise.
51445 * math/w_exp2.c: Likewise.
51446 * math/w_exp2f.c: Likewise.
51447 * math/w_exp2l.c: Likewise.
51448 * math/w_hypot.c: Likewise.
51449 * math/w_hypotf.c: Likewise.
51450 * math/w_hypotl.c: Likewise.
51451 * math/w_lgamma.c: Likewise.
51452 * math/w_lgamma_r.c: Likewise.
51453 * math/w_lgammaf.c: Likewise.
51454 * math/w_lgammaf_r.c: Likewise.
51455 * math/w_lgammal.c: Likewise.
51456 * math/w_lgammal_r.c: Likewise.
51457 * math/w_sinh.c: Likewise.
51458 * math/w_sinhf.c: Likewise.
51459 * math/w_sinhl.c: Likewise.
51460 * math/w_tgamma.c: Likewise.
51461 * math/w_tgammaf.c: Likewise.
51462 * math/w_tgammal.c: Likewise.
51463 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51464 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51465 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51466 Minor optimizations. Pretty printing. Remove cruft.
51467 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51468 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51469 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51470 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51471 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51472 * sysdeps/i386/fpu/e_asin.S: Likewise.
51473 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51474 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51475 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51476 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51477 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51478 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51479 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51480 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51481 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51482 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51483 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51484 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51485 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51486 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51487 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51488 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51489 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51490 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51491 * sysdeps/i386/fpu/e_log.S: Likewise.
51492 * sysdeps/i386/fpu/e_log10.S: Likewise.
51493 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51494 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51495 * sysdeps/i386/fpu/e_log2.S: Likewise.
51496 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51497 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51498 * sysdeps/i386/fpu/e_logf.S: Likewise.
51499 * sysdeps/i386/fpu/e_logl.S: Likewise.
51500 * sysdeps/i386/fpu/e_pow.S: Likewise.
51501 * sysdeps/i386/fpu/e_powf.S: Likewise.
51502 * sysdeps/i386/fpu/e_powl.S: Likewise.
51503 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51504 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51505 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51506 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51507 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51508 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51509 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51510 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51511 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51512 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51515 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51517 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51518 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51519 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51520 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51521 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51522 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51523 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51524 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51525 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51526 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51527 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51528 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51529 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51530 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51531 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51532 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51533 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51534 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51535 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51536 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51537 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51538 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51539 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51540 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51541 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51542 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51543 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51544 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51545 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51546 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51547 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51548 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51549 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51550 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51551 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51552 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51553 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51554 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51555 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51556 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51557 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51558 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51559 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51560 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51561 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51562 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51563 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51564 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51565 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51566 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51567 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51568 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51569 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51570 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51571 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51572 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51573 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51574 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51575 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51576 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51577 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51578 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51580 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51581 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51582 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51583 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51584 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51585 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51586 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51587 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51588 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51589 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51590 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51591 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51592 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51593 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51594 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51595 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51596 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51597 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51598 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51599 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51600 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51601 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51602 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51603 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51604 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51605 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51606 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51607 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51608 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51609 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51610 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51611 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51612 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51613 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51614 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51615 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51616 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51617 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51618 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51619 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51620 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51621 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51622 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51623 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51624 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51625 (__isnanf): Likewise.
51626 (__isinf_ns): Likewise.
51627 (__isinf_nsf): Likewise.
51628 (__finite): Likewise.
51629 (__finitef): Likewise.
51630 (__ieee754_sqrt): Define as macro.
51631 (__ieee754_sqrtf): Define as macro.
51632 (__ieee754_sqrtl): Define as macro.
51633 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51634 inlined copy.
51635 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51636 __FINITE_MATH_ONLY__ consistent.
51637 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51638
12cc2fcd
AS
516392011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51640
a843a204
AS
51641 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51642 of rawmemchr.
51643
12cc2fcd
AS
51644 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51645
c853acd5
UD
516462011-10-09 Ulrich Drepper <drepper@gmail.com>
51647
51648 * po/ja.po: Update from translation team.
51649
c658d255
RM
516502011-10-08 Roland McGrath <roland@hack.frob.com>
51651
110946e4
RM
51652 * locale/programs/locarchive.c (prepare_address_space): New function.
51653 (create_archive, enlarge_archive, open_archive): Use it.
51654
50604220
RM
51655 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51656 inside [SHARED], where it is used.
51657
c658d255
RM
51658 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51659
51660 * nss/getent.c (netgroup_keys): Remove unused variable.
51661 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51662
6a621eb7
UD
516632011-10-08 Ulrich Drepper <drepper@gmail.com>
51664
7edb55ce
UD
51665 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51666 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51668 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51669 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51670 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51671 * math/Makefile (libm-calls): Add s_isinf_ns.
51672 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51673 * math/multc3.c: Likewise.
51674 * math/s_casin.c: Likewise.
51675 * math/s_casinf.c: Likewise.
51676 * math/s_casinl.c: Likewise.
51677 * math/s_ccos.c: Likewise.
51678 * math/s_ccosf.c: Likewise.
51679 * math/s_ccosl.c: Likewise.
51680 * math/s_ctan.c: Likewise.
51681 * math/s_ctanf.c: Likewise.
51682 * math/s_ctanh.c: Likewise.
51683 * math/s_ctanhf.c: Likewise.
51684 * math/s_ctanhl.c: Likewise.
51685 * math/s_ctanl.c: Likewise.
51686 * math/w_fmod.c: Likewise.
51687 * math/w_fmodf.c: Likewise.
51688 * math/w_fmodl.c: Likewise.
51689 * math/w_remainder.c: Likewise.
51690 * math/w_remainderf.c: Likewise.
51691 * math/w_remainderl.c: Likewise.
51692 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51693 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51694 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51695 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51696 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51697 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51698 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51699 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51700
187da0ae
UD
51701 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51702 of the number.
51703 * stdio-common/printf_fphex.c: Likewise.
51704 * stdio-common/printf_size.c: Likewise.
51705
9277c064
UD
51706 * math/e_exp10.c: Include math_private.h using <...> not "...".
51707 * math/e_exp10f.c: Likewise.
51708 * math/e_exp10l.c: Likewise.
51709 * math/e_exp2l.c: Likewise.
51710 * math/e_j0l.c: Likewise.
51711 * math/e_j1l.c: Likewise.
51712 * math/e_jnl.c: Likewise.
51713 * math/e_lgammal_r.c: Likewise.
51714 * math/e_rem_pio2l.c: Likewise.
51715 * math/e_scalb.c: Likewise.
51716 * math/e_scalbf.c: Likewise.
51717 * math/e_scalbl.c: Likewise.
51718 * math/k_cosl.c: Likewise.
51719 * math/k_sinl.c: Likewise.
51720 * math/k_tanl.c: Likewise.
51721 * math/s_cacoshf.c: Likewise.
51722 * math/s_catan.c: Likewise.
51723 * math/s_catanf.c: Likewise.
51724 * math/s_catanh.c: Likewise.
51725 * math/s_catanhf.c: Likewise.
51726 * math/s_catanhl.c: Likewise.
51727 * math/s_catanl.c: Likewise.
51728 * math/s_ccosh.c: Likewise.
51729 * math/s_ccoshf.c: Likewise.
51730 * math/s_ccoshl.c: Likewise.
51731 * math/s_cexp.c: Likewise.
51732 * math/s_cexpf.c: Likewise.
51733 * math/s_cexpl.c: Likewise.
51734 * math/s_clog.c: Likewise.
51735 * math/s_clog10.c: Likewise.
51736 * math/s_clog10f.c: Likewise.
51737 * math/s_clog10l.c: Likewise.
51738 * math/s_clogf.c: Likewise.
51739 * math/s_clogl.c: Likewise.
51740 * math/s_csin.c: Likewise.
51741 * math/s_csinf.c: Likewise.
51742 * math/s_csinh.c: Likewise.
51743 * math/s_csinhf.c: Likewise.
51744 * math/s_csinhl.c: Likewise.
51745 * math/s_csinl.c: Likewise.
51746 * math/s_csqrt.c: Likewise.
51747 * math/s_csqrtf.c: Likewise.
51748 * math/s_csqrtl.c: Likewise.
51749 * math/s_ctan.c: Likewise.
51750 * math/s_ctanf.c: Likewise.
51751 * math/s_ctanh.c: Likewise.
51752 * math/s_ctanhf.c: Likewise.
51753 * math/s_ctanhl.c: Likewise.
51754 * math/s_ctanl.c: Likewise.
51755 * math/s_ldexp.c: Likewise.
51756 * math/s_ldexpf.c: Likewise.
51757 * math/s_ldexpl.c: Likewise.
51758 * math/s_significand.c: Likewise.
51759 * math/s_significandf.c: Likewise.
51760 * math/s_significandl.c: Likewise.
51761 * math/w_acos.c: Likewise.
51762 * math/w_acosf.c: Likewise.
51763 * math/w_acosh.c: Likewise.
51764 * math/w_acoshf.c: Likewise.
51765 * math/w_acoshl.c: Likewise.
51766 * math/w_acosl.c: Likewise.
51767 * math/w_asin.c: Likewise.
51768 * math/w_asinf.c: Likewise.
51769 * math/w_asinl.c: Likewise.
51770 * math/w_atan2.c: Likewise.
51771 * math/w_atan2f.c: Likewise.
51772 * math/w_atan2l.c: Likewise.
51773 * math/w_atanh.c: Likewise.
51774 * math/w_atanhf.c: Likewise.
51775 * math/w_atanhl.c: Likewise.
51776 * math/w_cosh.c: Likewise.
51777 * math/w_coshf.c: Likewise.
51778 * math/w_coshl.c: Likewise.
51779 * math/w_dremf.c: Likewise.
51780 * math/w_exp10.c: Likewise.
51781 * math/w_exp10f.c: Likewise.
51782 * math/w_exp10l.c: Likewise.
51783 * math/w_exp2.c: Likewise.
51784 * math/w_exp2f.c: Likewise.
51785 * math/w_fmod.c: Likewise.
51786 * math/w_fmodf.c: Likewise.
51787 * math/w_fmodl.c: Likewise.
51788 * math/w_hypot.c: Likewise.
51789 * math/w_hypotf.c: Likewise.
51790 * math/w_hypotl.c: Likewise.
51791 * math/w_j0.c: Likewise.
51792 * math/w_j0f.c: Likewise.
51793 * math/w_j0l.c: Likewise.
51794 * math/w_j1.c: Likewise.
51795 * math/w_j1f.c: Likewise.
51796 * math/w_j1l.c: Likewise.
51797 * math/w_jn.c: Likewise.
51798 * math/w_jnf.c: Likewise.
51799 * math/w_jnl.c: Likewise.
51800 * math/w_lgamma.c: Likewise.
51801 * math/w_lgamma_r.c: Likewise.
51802 * math/w_lgammaf.c: Likewise.
51803 * math/w_lgammaf_r.c: Likewise.
51804 * math/w_lgammal.c: Likewise.
51805 * math/w_lgammal_r.c: Likewise.
51806 * math/w_log.c: Likewise.
51807 * math/w_log10.c: Likewise.
51808 * math/w_log10f.c: Likewise.
51809 * math/w_log10l.c: Likewise.
51810 * math/w_log2.c: Likewise.
51811 * math/w_log2f.c: Likewise.
51812 * math/w_log2l.c: Likewise.
51813 * math/w_logf.c: Likewise.
51814 * math/w_logl.c: Likewise.
51815 * math/w_pow.c: Likewise.
51816 * math/w_powf.c: Likewise.
51817 * math/w_powl.c: Likewise.
51818 * math/w_remainder.c: Likewise.
51819 * math/w_remainderf.c: Likewise.
51820 * math/w_remainderl.c: Likewise.
51821 * math/w_scalb.c: Likewise.
51822 * math/w_scalbf.c: Likewise.
51823 * math/w_scalbl.c: Likewise.
51824 * math/w_sinh.c: Likewise.
51825 * math/w_sinhf.c: Likewise.
51826 * math/w_sinhl.c: Likewise.
51827 * math/w_sqrt.c: Likewise.
51828 * math/w_sqrtf.c: Likewise.
51829 * math/w_sqrtl.c: Likewise.
51830 * math/w_tgamma.c: Likewise.
51831 * math/w_tgammaf.c: Likewise.
51832 * math/w_tgammal.c: Likewise.
51833
6a621eb7
UD
51834 * po/ja.po: Update from translation team.
51835
bf582445
AJ
518362011-09-29 Andreas Jaeger <aj@suse.de>
51837
f9efbf3a
AJ
51838 [BZ #13179]
51839 * sunrpc/netname.c (netname2host): Fix logic.
51840
bf582445
AJ
51841 [BZ #6779]
51842 [BZ #6783]
51843 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51844 correctly.
51845 * math/w_remainder.c (__remainder): Likewise.
51846 * math/w_remainderf.c (__remainderf): Likewise.
51847 * math/libm-test.inc (remainder_test): Add test cases.
51848
48693bea
AK
518492011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51850
51851 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51852 sdiv_qrnnd.
51853
42622229
LD
518542011-10-07 Ulrich Drepper <drepper@gmail.com>
51855
51856 * string/test-memcmp.c: Avoid unncessary #defines.
51857 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51858
093ecf92
LD
518592011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51860
51861 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51862 Use new sse2 version for core i3 - i7 as it's faster
51863 than sse42 version.
51864 (bit_Prefer_PMINUB_for_stringop): New.
51865 * sysdeps/x86_64/rawmemchr.S: Update.
51866 Replace with faster SSE2 version.
51867 * sysdeps/x86_64/memrchr.S: New file.
51868 * sysdeps/x86_64/memchr.S: Update.
51869 Replace with faster SSE2 version.
51870
fde56e5c
MP
518712011-09-12 Marek Polacek <mpolacek@redhat.com>
51872
51873 * elf/dl-load.c (lose): Add cast to avoid warning.
51874
21fd49a9
UD
518752011-10-07 Ulrich Drepper <drepper@gmail.com>
51876
5a06e643
UD
51877 * po/ca.po: Update from translation team.
51878
684ae515
UD
51879 * inet/getnetgrent_r.c: Hook up nscd.
51880 * nscd/Makefile (routines): Add nscd_netgroup.
51881 (nscd-modules): Add netgroupcache.
51882 (CFLAGS-netgroupcache.c): Define.
51883 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51884 (cache_search): Add const to second parameter.
51885 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51886 INNETGR.
51887 (dbs): Add netgrdb entry.
51888 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51889 (verify_persistent_db): Handle netgrdb.
51890 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51891 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51892 GETFDNETGR.
51893 (netgroup_response_header): Define.
51894 (innetgroup_response_header): Define.
51895 (datahead): Add netgroup_response_header and innetgroup_response_header
51896 elements.
51897 * nscd/nscd.conf: Add entries for netgroup cache.
51898 * nscd/nscd.h (dbtype): Add netgrdb.
51899 (_PATH_NSCD_NETGROUP_DB): Define.
51900 (netgroup_iov_disabled): Declare.
51901 (xmalloc, xcalloc, xrealloc): Move declarations here.
51902 (cache_search): Adjust prototype.
51903 Add netgroup-related prototypes.
51904 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51905 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51906 (__nscd_innetgr): Declare.
51907 * nscd/selinux.c (perms): Use access_vector_t as element type and
51908 add netgroup-related initializers.
51909 * nscd/netgroupcache.c: New file.
51910 * nscd/nscd_netgroup.c: New file.
51911 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51912 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51913 For four parameters use innetgr.
51914 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51915 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51916 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51917 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51918
21fd49a9
UD
51919 * nscd/connections.c (register_traced_file): Don't register file
51920 for disabled databases.
51921
054c0457
UD
519222011-10-06 Ulrich Drepper <drepper@gmail.com>
51923
32b63198
UD
51924 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51925
054c0457
UD
51926 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51927 from tree and freeing node.
51928
64031225
JO
519292011-09-25 Jiri Olsa <jolsa@redhat.com>
51930
51931 * nss/nsswitch.c (__nss_database_lookup): Handle
51932 nss_parse_service_list out of memory case.
51933
0490345c
JO
519342011-09-15 Jiri Olsa <jolsa@redhat.com>
51935
51936 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51937 out of memory case.
51938
3a62d00d
AS
519392011-10-04 Andreas Schwab <schwab@redhat.com>
51940
51941 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51942 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51943 pass it down.
51944 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51945 elf_machine_rela, elf_machine_lazy_rel.
51946 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51947 (ELF_DYNAMIC_DO_REL): Likewise.
51948 (ELF_DYNAMIC_DO_RELA): Likewise.
51949 (ELF_DYNAMIC_RELOCATE): Likewise.
51950 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51951 to ELF_DYNAMIC_DO_REL.
51952 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51953 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51954 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51955 elf_machine_rela.
51956 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51957 skip_ifunc, don't call ifunc function if non-zero.
51958 (elf_machine_rela): Likewise.
51959 (elf_machine_lazy_rel): Likewise.
51960 (elf_machine_lazy_rela): Likewise.
51961 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51962 (elf_machine_lazy_rel): Likewise.
51963 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51964 Likewise.
51965 (elf_machine_lazy_rel): Likewise.
51966 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51967 Likewise.
51968 (elf_machine_lazy_rel): Likewise.
51969 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51970 (elf_machine_lazy_rel): Likewise.
51971 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51972 (elf_machine_lazy_rel): Likewise.
51973 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51974 (elf_machine_lazy_rel): Likewise.
51975 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51976 (elf_machine_lazy_rel): Likewise.
51977 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51978 (elf_machine_lazy_rel): Likewise.
51979 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51980 (elf_machine_lazy_rel): Likewise.
51981
68577918
UD
519822011-09-28 Ulrich Drepper <drepper@gmail.com>
51983
51984 * nss/nss_files/files-init.c (_nss_files_init): Use static
51985 initialization for all the *_traced_file variables.
51986
68822d74
AS
519872011-09-28 Andreas Schwab <schwab@redhat.com>
51988
51989 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51990
2056100b
RM
519912011-09-27 Roland McGrath <roland@hack.frob.com>
51992
51993 [BZ #13226]
51994 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51995
32c76b63
AS
519962011-09-27 Andreas Schwab <schwab@redhat.com>
51997
51998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51999 Reread the line before reparsing it.
52000
bf972c9d
AS
520012011-09-26 Andreas Schwab <schwab@redhat.com>
52002
52003 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52004
e057a1b5
JM
520052011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
52006 Maxim Kuvyrkov <maxim@codesourcery.com>
52007 Joseph Myers <joseph@codesourcery.com>
52008
52009 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52010 if needed for __stack_chk_guard.
52011
bc7e1c36
RM
520122011-09-19 Roland McGrath <roland@hack.frob.com>
52013
ecb1482f
RM
52014 * sysdeps/posix/spawni.c (script_execute): Always define it.
52015 It will be optimized away if unused.
52016 (maybe_script_execute): New function.
52017 (__spawni): Call it.
52018
bc7e1c36
RM
52019 * Makerules: Don't include tls.make.
52020 (config-tls): Always set to thread.
52021 * tls.make.c: File removed.
52022
1c3b002b
MF
520232011-09-19 Mike Frysinger <vapier@gentoo.org>
52024
52025 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52026 * config.make.in (CPPFLAGS-config): New substituted variable.
52027
2840865d
UD
520282011-09-15 Ulrich Drepper <drepper@gmail.com>
52029
88738eb6
UD
52030 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52031
cbf645a6 52032 [BZ #13192]
2840865d
UD
52033 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52034 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52035
b402e91a
RM
520362011-09-15 Roland McGrath <roland@hack.frob.com>
52037
52038 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52039 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52040 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52041 (CALL_FAIL): Likewise.
52042 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52043 (CALL_FAIL): Macro removed.
52044 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52045
4c1a1f71
UD
520462011-09-15 Ulrich Drepper <drepper@gmail.com>
52047
52048 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52049 for __FINITE_MATH_ONLY__ == 1.
52050
edc121be
AS
520512011-09-15 Andreas Schwab <schwab@redhat.com>
52052
52053 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52054 __ieee754_sqrt instead of sqrt.
52055 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52056 __ieee754_sqrtf instead of sqrtf.
52057 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52058 __floorf instead of floorf.
52059 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52060 __floorf, __truncf instead of floorf, truncf.
52061
cd205654
UD
520622011-09-14 Ulrich Drepper <drepper@gmail.com>
52063
ee4d0315
UD
52064 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52065
cd205654
UD
52066 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52067 __extern_always_inline.
52068 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52069 32-bit.
52070
48b67d71
AS
520712011-09-14 Andreas Schwab <schwab@redhat.com>
52072
52073 * elf/rtld.c (dl_main): Also relocate in dependency order when
52074 doing symbol dependency testing.
52075
1ae12c75
AS
520762011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52077
52078 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52079 Always define `refsym'.
52080
995a80df
AS
520812011-09-13 Andreas Schwab <schwab@redhat.com>
52082
e529793b
AS
52083 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52084 (__FD_ELT): Renamed from __FDELT.
52085 * misc/bits/select2.h (__FD_ELT): Likewise.
52086 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52087 __FD_MASK instead of __FDELT, __FDMASK.
52088 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52089 Likewise.
52090 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52091 Likewise.
52092
52d4fef8
AS
52093 * elf/Makefile (gen-ldd): Fix pattern.
52094
995a80df
AS
52095 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52096 (init_tls): Likewise.
52097
8682f8b0
UD
520982011-09-12 Ulrich Drepper <drepper@gmail.com>
52099
52100 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52101
de82006d
AS
521022011-09-12 Andreas Schwab <schwab@redhat.com>
52103
a7c8e6a1
AS
52104 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52105 `struct cmsghdr *' instead of `void *'.
52106 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52107 Likewise.
52108
0f31fe77
AS
521092011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52110
52111 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52112 if non-absolute.
52113 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52114 ldd_rewrite_script.
0f31fe77 52115
32b4c839
UD
521162011-09-11 Ulrich Drepper <drepper@gmail.com>
52117
83cd1420
UD
52118 * configure.in: Remove --with-tls option.
52119 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52120 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52121 out in case it is missing.
52122 * sysdeps/ia64/elf/configure.in: Likewise.
52123 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52124 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52125 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52126 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52127 * sysdeps/sh/elf/configure.in: Likewise.
52128 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52129 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52130 * sysdeps/x86_64/elf/configure.in: Likewise.
52131 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52132 * sysdeps/mach/hurd/tls.h: Likewise.
52133
633f745d
UD
52134 [BZ #13067]
52135 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52136
f318beb8
UD
52137 [BZ #13090]
52138 * configure.in: Fix use of AC_INIT.
52139
32b4c839
UD
52140 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52141
3ce1f295
UD
521422011-09-10 Ulrich Drepper <drepper@gmail.com>
52143
bb016596
UD
52144 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52145 __set_errno.
8e58439c
UD
52146 * malloc/hooks.c: Likewise.
52147
aebae053 52148 [BZ #11929]
02d46fc4
UD
52149 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52150 variables statically.
52151 (narenas): Initialize.
52152 (list_lock): Initialize.
bb016596
UD
52153 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52154 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52155 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52156 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52157 Add initializers to main_arena and mp_.
52158 (malloc_state): Remove pagesize member. Change all users to use
52159 GLRO(dl_pagesize).
52160
52161 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52162 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52163 is always initialized.
52164
22a89187
UD
52165 * malloc/malloc.c: Removed unused configurations and dead code.
52166 * malloc/arena.c: Likewise.
52167 * malloc/hooks.c: Likewise.
02d46fc4 52168 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52169
d063d164
UD
52170 * include/tls.h: Removed. USE___THREAD must always be defined.
52171 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52172 * elf/dl-libc.c: Likewise.
52173 * elf/dl-tsd.c: Likewise.
52174 * include/errno.h: Likewise.
52175 * include/netdb.h: Likewise.
52176 * include/resolv.h: Likewise.
52177 * inet/herrno-loc.c: Likewise.
52178 * inet/herrno.c: Likewise.
52179 * malloc/arena.c: Likewise.
52180 * malloc/hooks.c: Likewise.
52181 * malloc/malloc.c: Likewise.
52182 * resolv/res-state.c: Likewise.
52183 * resolv/res_libc.c: Likewise.
52184 * sysdeps/i386/dl-machine.h: Likewise.
52185 * sysdeps/ia64/dl-machine.h: Likewise.
52186 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52187 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52188 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52189 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52190 * sysdeps/sh/dl-machine.h: Likewise.
52191 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52192 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52193 * sysdeps/unix/i386/sysdep.S: Likewise.
52194 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52195 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52196 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52197 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52198 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52199 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52200 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52201 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52203 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52204 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52205 * sysdeps/x86_64/dl-machine.h: Likewise.
52206 * tls.make.c: Likewise.
52207
3ce1f295
UD
52208 * configure.in: Remove --with-__thread option. Make tests for
52209 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52210 tls_model attribute fail if no support is available. Remove
52211 USE_IN_LIBIO.
52212 * Makeconfig: Adjust for dropped configure option. All features are
52213 now mandatory.
52214 * Makerules: Likewise.
52215 * Versions.def: Likewise.
52216 * argp/argp-fmtstream.c: Likewise.
52217 * argp/argp-fmtstream.h: Likewise.
52218 * argp/argp-help.c: Likewise.
52219 * assert/assert.c: Likewise.
52220 * config.h.in: Likewise.
52221 * config.make.in: Likewise.
52222 * configure: Likewise.
52223 * configure.in: Likewise.
52224 * csu/Versions: Likewise.
52225 * csu/init.c: Likewise.
52226 * elf/tst-audit2.c: Likewise.
52227 * elf/tst-tls10.c: Likewise.
52228 * elf/tst-tls10.h: Likewise.
52229 * elf/tst-tls11.c: Likewise.
52230 * elf/tst-tls12.c: Likewise.
52231 * elf/tst-tls14.c: Likewise.
52232 * elf/tst-tlsmod11.c: Likewise.
52233 * elf/tst-tlsmod12.c: Likewise.
52234 * elf/tst-tlsmod13.c: Likewise.
52235 * elf/tst-tlsmod13a.c: Likewise.
52236 * elf/tst-tlsmod14a.c: Likewise.
52237 * elf/tst-tlsmod15b.c: Likewise.
52238 * elf/tst-tlsmod16a.c: Likewise.
52239 * elf/tst-tlsmod16b.c: Likewise.
52240 * elf/tst-tlsmod7.c: Likewise.
52241 * elf/tst-tlsmod8.c: Likewise.
52242 * elf/tst-tlsmod9.c: Likewise.
52243 * gmon/gmon.c: Likewise.
52244 * grp/fgetgrent_r.c: Likewise.
52245 * grp/putgrent.c: Likewise.
52246 * hurd/fopenport.c: Likewise.
52247 * include/libc-symbols.h: Likewise.
52248 * include/tls.h: Likewise.
52249 * intl/gettextP.h: Likewise.
52250 * intl/loadinfo.h: Likewise.
52251 * locale/global-locale.c: Likewise.
52252 * locale/localeinfo.h: Likewise.
52253 * mach/devstream.c: Likewise.
52254 * malloc/arena.c: Likewise.
52255 * malloc/set-freeres.c: Likewise.
52256 * misc/err.c: Likewise.
52257 * misc/getttyent.c: Likewise.
52258 * misc/mntent_r.c: Likewise.
52259 * posix/getopt.c: Likewise.
52260 * posix/wordexp.c: Likewise.
52261 * pwd/fgetpwent_r.c: Likewise.
52262 * resolv/Versions: Likewise.
52263 * resolv/res_hconf.c: Likewise.
52264 * shadow/fgetspent_r.c: Likewise.
52265 * shadow/putspent.c: Likewise.
52266 * stdio-common/printf_fphex.c: Likewise.
52267 * stdio-common/tmpfile.c: Likewise.
52268 * stdlib/abort.c: Likewise.
52269 * stdlib/fmtmsg.c: Likewise.
52270 * sunrpc/auth_unix.c: Likewise.
52271 * sunrpc/clnt_perr.c: Likewise.
52272 * sunrpc/clnt_tcp.c: Likewise.
52273 * sunrpc/clnt_udp.c: Likewise.
52274 * sunrpc/clnt_unix.c: Likewise.
52275 * sunrpc/openchild.c: Likewise.
52276 * sunrpc/svc_simple.c: Likewise.
52277 * sunrpc/svc_tcp.c: Likewise.
52278 * sunrpc/svc_udp.c: Likewise.
52279 * sunrpc/svc_unix.c: Likewise.
52280 * sunrpc/xdr.c: Likewise.
52281 * sunrpc/xdr_array.c: Likewise.
52282 * sunrpc/xdr_rec.c: Likewise.
52283 * sunrpc/xdr_ref.c: Likewise.
52284 * sunrpc/xdr_stdio.c: Likewise.
52285
1248c1c4
PB
522862011-09-09 Ulrich Drepper <drepper@gmail.com>
52287
52288 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52289
522902011-07-03 Andreas Jaeger <aj@suse.de>
52291
52292 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52293 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52294 regenerate with gen-libm-tests.pl.
52295
522962010-05-12 Petr Baudis <pasky@suse.cz>
52297
52298 [BZ #11589]
52299 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52300 around j0() zero points by switching to j1().
52301 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52302 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52303 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52304 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52305
f22e1074
UD
523062011-09-09 Ulrich Drepper <drepper@gmail.com>
52307
f19009c1
UD
52308 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52309 instead of 0.
52310 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52311 instead of 0.
f19009c1
UD
52312 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52313 Patch in part by Pavel Roskin <proski@gnu.org>.
52314
3f8cc204
UD
52315 [BZ #13138]
52316 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52317 realloc.
52318 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52319 Free memory block if necessary.
52320
f22e1074
UD
52321 [BZ #12847]
52322 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52323 be NULL. Don't lock in this case.
52324
0a2349f9
RM
523252011-09-09 Roland McGrath <roland@hack.frob.com>
52326
52327 * elf/elf.h (ELFOSABI_GNU): New macro.
52328 (ELFOSABI_LINUX): Define to that.
52329
f3cdd467
DZ
523302011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52331
52332 * string/strncat.c (strncat): Undef the symbol in case it has been
52333 defined in bits/string.h.
52334
74718d13
UD
523352011-09-09 Ulrich Drepper <drepper@gmail.com>
52336
633e9e0f
UD
52337 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52338
0a2349f9 52339 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52340 link map.
52341
f9924780
AJ
523422011-08-17 Andreas Jaeger <aj@suse.de>
52343
52344 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52345
7f5517aa
PP
523462011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52347 Ian Lance Taylor <iant@google.com>
52348
52349 * math/libm-test.inc (lround_test): New testcase.
52350 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52351
762011fe
UD
523522011-09-08 Ulrich Drepper <drepper@gmail.com>
52353
92963737
UD
52354 * Makefile: Remove support for automatic cvs check-ins.
52355 * Makerules: Likewise.
52356 * config.make.in: Likewise.
52357 * configure.in: Likewise.
52358 * intl/Makefile: Likewise.
52359 * locale/Makefile: Likewise.
52360 * po/Makefile: Likewise.
52361 * posix/Makefile: Likewise.
52362 * sysdeps/gnu/Makefile: Likewise.
52363 * sysdeps/mach/hurd/Makefile: Likewise.
52364 * sysdeps/sparc/sparc32/Makefile: Likewise.
52365
b0727fd8
JS
52366 [BZ #13118]
52367 * posix/Makefile (bug-regex32-ENV): Define.
52368 Patch by John Stanley <jpsinthemix@verizon.net>.
52369
a0f33f99
UD
52370 * misc/Makefile (headers): Add bits/select2.h.
52371 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52372 * misc/bits/select2.h: New file.
52373 * include/bits/select2.h: New file.
52374 * debug/Makefile (routines): Add fdelt_chk.
52375 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52376 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52377 FD_ISSET.
52378 * debug/fdelt_chk.c: New file.
52379
762011fe
UD
52380 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52381 * wcsmbs/test-wmemcmp.c: Likewise.
52382 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52383 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52384
523852011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52386
52387 * string/Makefile (strop-tests): Add memcmp.
52388 * string/test-wmemcmp.c: New file.
52389 * string/test-memcmp.c: Add wmemcmp support.
52390
7f513ec8
RM
523912011-09-08 Roland McGrath <roland@hack.frob.com>
52392
0442afb4
RM
52393 [BZ #13153]
52394 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52395 2011-07-19 change.
52396
7f513ec8
RM
52397 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52398 garbage value in a __mach_port_mod_refs call in the cases of the
52399 task-self and thread-self ports.
52400
a12b2239
ST
524012011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52402
52403 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52404
610f9ab4
AS
524052011-09-08 Andreas Schwab <schwab@redhat.com>
52406
7f513ec8 52407 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52408
48882a1a
LD
524092011-09-07 Ulrich Drepper <drepper@gmail.com>
52410
b49865be
UD
52411 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52412
fdc86bc9
UD
52413 * elf/dl-libc.c (dlerror_run): Pass back error code from
52414 dl_catch_error.
52415
c966526a
UD
52416 [BZ #13123]
52417 * elf/dl-load.c (lose): Free l_origin if it is valid.
52418
48882a1a
LD
52419 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52420 names.
52421 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52422 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52423 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52424 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52425 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52426 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52427
77a2a8b4
AZ
524282011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52429
52430 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52431 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52432 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52433 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52434 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52435 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52436 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52437 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52438 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52439 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52440
24f579d8
AM
524412011-08-15 Alan Modra <amodra@gmail.com>
52442
52443 [BZ #13092]
52444 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52445 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52446 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52447 ppc_mcount to static-only-routines.
52448 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52449 __mcount_internal.
52450 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52451 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52452
3d4837df
UD
524532011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52454
52455 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52456 for finite and infinity parameters.
52457
22700377
WS
524582011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52459
52460 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52461 and add nop instructions for throughput optimization.
52462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52463
5025581e
WS
524642011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52465
52466 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52467 aligned copy for power7 with vector-scalar instructions.
52468 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52469
08a300c9
L
524702011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52471
52472 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52473 AVX check.
52474
59178ef9
AS
524752011-09-07 Andreas Schwab <schwab@redhat.com>
52476
52477 [BZ #13144]
52478 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52479 last change.
52480
e38ba7ab
UD
524812011-09-07 Ulrich Drepper <drepper@gmail.com>
52482
52483 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52484 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52485 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52486 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52487 clock_gettime.
52488
d53a73ac
UD
524892011-09-06 Ulrich Drepper <drepper@gmail.com>
52490
fc8bffcc
UD
52491 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52492 Forgot to demangle the pointer.
52493
ceaa0c5d
UD
52494 * sysdeps/i386/sysdep.h: Define atom_text_section.
52495 * sysdeps/x86_64/sysdep.h: Likewise.
52496 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52497 section with atom_text_section.
52498 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52499 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52500 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52501 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52502 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52503
a77d3c17
UD
52504 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52505 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52506 already be defined. Change to take two parameters and don't assign
52507 result to variable. Adjust all users.
52508 Define INTERNAL_GETTIME if not already defined.
52509 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52510 call.
52511 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52512 HAVE_CLOCK_GETTIME_VSYSCALL.
52513 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52514
d53a73ac
UD
52515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52516 gettimeofday vsyscall, just use time.
52517
a8f84144
AS
525182011-09-06 Andreas Schwab <schwab@redhat.com>
52519
52520 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52521 <errno.h>.
52522
ef606249
UD
525232011-09-06 Ulrich Drepper <drepper@gmail.com>
52524
52525 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52526 syscall on x86-64.
52527 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52528 syscall.
52529 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52530 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52531 syscall if possible.
52532
6585cb60
UD
525332011-09-05 Ulrich Drepper <drepper@gmail.com>
52534
52535 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52536 e_ident. Don't pass to find_mapsXX.
52537 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52538
a5f524e4
LD
525392011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52540
52541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52542 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52543 * sysdeps/x86_64/multiarch/strchr.S: Update.
52544 Check bit_slow_BSF bit.
52545 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52546 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52547 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52548
554881ef
UD
525492011-09-05 Ulrich Drepper <drepper@gmail.com>
52550
d96de963
UD
52551 [BZ #13134]
52552 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52553 before glibc 2.15.
52554 (tryshell): Define.
52555 (__spawni): Change last parameter to be flag. Test
52556 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52557 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52558 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52559 * posix/spawni.c: Likewise.
52560 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52561 * posix/spawnp.c: Likewise. Change normal version to use
52562 SPAWN_XFLAGS_USE_PATH.
52563 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52564 SPAWN_XFLAGS_TRY_SHELL.
52565
d48e5868
UD
52566 [BZ #13150]
52567 * posix/glob.h: Remove gcc 1.x support.
52568
554881ef
UD
52569 [BZ #13068]
52570 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52571
693fb948
LD
525722011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52573
52574 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52575 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52576 strrchr-sse2-bsf
52577 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52578 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52579 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52580 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52581 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52582 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52583
1b48c537
UD
525842011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52585
49d42c37
UD
52586 * sysdeps/x86_64/wcscmp.S: New file.
52587
1b48c537
UD
52588 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52589 wcscmp-c wcscmp-sse2
52590 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52591 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52592 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52593 * wcsmbs/wcscmp.c: Allow renaming.
52594
15c95c5d
DM
525952011-09-05 David S. Miller <davem@davemloft.net>
52596
52597 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52598 stack slot, rather than the struct return pointer slot.
52599 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52600 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52601 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52602 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52603
2f0ad8f3
UD
526042011-09-05 Ulrich Drepper <drepper@gmail.com>
52605
d88ae418
UD
52606 * po/ja.po: Update from translation team.
52607
2f0ad8f3
UD
52608 [BZ #13144]
52609 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52610 kernel in 64-bit binaries.
52611
5f4318d1
DM
526122011-09-01 David S. Miller <davem@davemloft.net>
52613
52614 * elf/elf.h (HWCAP_SPARC_*): Move to..
52615 * sysdeps/sparc/sysdep.h: this new file and add new values.
52616 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52617 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52618 _DL_HWCAP_COUNT to 24.
52619 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52620 entries.
52621 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52622 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52623 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52624 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52625 instead of magic constants.
52626 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52627
3ba57516
DM
526282011-08-31 David S. Miller <davem@davemloft.net>
52629
52630 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52631 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52632 Reimplement to do errno handling inline.
52633 (SYSCALL_ERROR_HANDLER): New macro.
52634 (__SYSCALL_STRING): Do not do errno handling in asm.
52635 (__CLONE_SYSCALL_STRING): Delete.
52636 (__INTERNAL_SYSCALL_STRING): Delete.
52637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52638 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52639 (PSEUDO): Reimplement to do errno handling inline.
52640 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52641 (SYSCALL_ERROR_HANDLER): New macro.
52642 (__SYSCALL_STRING): Do not do errno handling in asm.
52643 (__CLONE_SYSCALL_STRING): Delete.
52644 (__INTERNAL_SYSCALL_STRING): Delete.
52645 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52646 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52647 i386.
52648 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52649 (inline_syscall*): Add 'err' argument.
52650 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52651 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52652 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52653 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52654
52655 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52656 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52657
2bc17433
AS
526582011-08-30 Andreas Schwab <schwab@redhat.com>
52659
52660 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52661
fbeb5f4d
JO
526622011-08-29 Jiri Olsa <jolsa@redhat.com>
52663
52664 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52665 directive.
52666
ad69cc26
DM
526672011-08-24 David S. Miller <davem@davemloft.net>
52668
52669 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52670
39dd69df
AS
526712011-08-24 Andreas Schwab <schwab@redhat.com>
52672
52673 * elf/Makefile: Add rules to build and run unload8 test.
52674 * elf/unload8.c: New file.
52675 * elf/unload8mod1.c: New file.
52676 * elf/unload8mod1x.c: New file.
52677 * elf/unload8mod2.c: New file.
52678 * elf/unload8mod3.c: New file.
52679
52680 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52681 it wasn't used.
52682
2c0b250a
DM
526832011-08-23 David S. Miller <davem@davemloft.net>
52684
52685 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52686 subtract stack bias.
52687 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52688 %sp not %fp in calculations.
52689 (_JMPBUF_UNWINDS_ADJ): Likewise.
52690
22044b48
DM
52691 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52692 (aio_suspend): Call it to force an exception region around the
52693 AIO_MISC_WAIT() invocation.
52694
2cae4995
AS
526952011-08-23 Andreas Schwab <schwab@redhat.com>
52696
52697 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52698 backslash.
52699
873a772e
AJ
527002011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52701
52702 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52703 protection macro.
52704 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52705 and <dl-machine.h>.
52706 (Elf64_FuncDesc): Remove.
52707
25ad0df1
DM
527082011-08-22 David S. Miller <davem@davemloft.net>
52709
52710 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52711 sigaltstack check, add missing cfi directives.
52712 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52713 missing cfi directives, and sigaltstack handling.
52714
e888bcbe
AS
527152011-08-16 Andreas Schwab <schwab@redhat.com>
52716
52717 [BZ #11724]
52718 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52719 object is seen twice.
52720 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52721
52722 * elf/Makefile (distribute): Add tst-initorder2.c.
52723 (tests): Add tst-initorder2.
52724 (modules-names): Add tst-initorder2a tst-initorder2b
52725 tst-initorder2c tst-initorder2d. Add rules to build them.
52726 ($(objpfx)tst-initorder2.out): New rule.
52727 * elf/tst-initorder2.c: New file.
52728 * elf/tst-initorder2.exp: New file.
52729
87162f46
AS
527302011-08-22 Andreas Schwab <schwab@redhat.com>
52731
70538b7f
AS
52732 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52733
f55ffe58
AS
52734 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52735 dependencies back to end of function.
52736
87162f46
AS
52737 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52738 $(elfobjdir)/ld.so.
52739
91b392a4
UD
527402011-08-21 Ulrich Drepper <drepper@gmail.com>
52741
52742 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52743 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52744 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52745 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52746 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52747 of __vdso_gettimeofday.
52748 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52749 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52750 attribute_hidden.
52751 (_libc_vdso_platform_setup): Remove initialization of
52752 __vdso_gettimeofday and __vdso_time.
52753
5c43483f
UD
527542011-08-20 Ulrich Drepper <drepper@gmail.com>
52755
775a77e7
UD
52756 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52757 and fgetc_unlocked.
52758 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52759 getc_unlocked.
89f447ed 52760
49c74ba9
UD
52761 * elf/dl-open.c (add_to_global): Report additions to the global scope
52762 for LD_DEBUG=scopes.
52763 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52764 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52765
5c43483f
UD
52766 [BZ #13114]
52767 * stdio-common/Makefile (tests): Add bug24.
52768 * stdio-common/bug24.c: New file.
52769
a101b025
AJ
527702011-08-19 Andreas Jaeger <aj@suse.de>
52771
52772 [BZ #13114]
52773 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52774 non-existant file when using close-on-exec mode.
52775
c88f1766
UD
527762011-08-20 Ulrich Drepper <drepper@gmail.com>
52777
0276a718
UD
52778 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52779 the very first instruction.
52780
c88f1766
UD
52781 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52782 the CFI state in the end.
52783 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52784 inclusion of dl-trampoline.h.
52785 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52786
51ccffa0
AS
527872011-08-19 Andreas Schwab <schwab@redhat.com>
52788
94d7165f
AS
52789 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52790 expectations for long double.
52791
51ccffa0
AS
52792 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52793 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52794
fd708658 527952011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52796
52797 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52798 artificual limit depends upon the system page size.
52799
44f0a71e
UD
528002011-08-17 Ulrich Drepper <drepper@gmail.com>
52801
52802 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52803 * resolv/Makefile: Define CFLAGS-libresolv.
52804
8de79a24
AS
528052011-08-17 Andreas Schwab <schwab@redhat.com>
52806
52807 * nss/makedb.c (compute_tables): Make variables used in nested
52808 function static.
52809
27724598
UD
528102011-08-17 Ulrich Drepper <drepper@gmail.com>
52811
c5305d88
UD
52812 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52813 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52814 if buffer was too small.
52815
27724598
UD
52816 * elf/pldd.c (main): Attach to all threads in the process.
52817 Rewrite /proc handling to use *at functions.
52818
076fe015
UD
528192011-08-16 Ulrich Drepper <drepper@gmail.com>
52820
174baab3
UD
52821 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52822 specifies first scope to show.
52823 (dl_open_worker): Update callers. Move printing scope of new
52824 object to before the relocation.
44f0a71e 52825 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52826 * sysdeps/generic/ldsodefs.h: Update declaration.
52827
076fe015
UD
52828 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52829 string for the scope number.
52830
a60df2c3
UD
528312011-08-14 Ulrich Drepper <drepper@gmail.com>
52832
52833 * nscd/servicescache.c (cache_addserv): Make sure written is always
52834 initialized.
52835
5e4287d1
RM
528362011-08-14 Roland McGrath <roland@hack.frob.com>
52837
85ae0589
RM
52838 * sysdeps/i386/i486/bits/atomic.h
52839 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52840 statement expression, so as to suppress "set but not used" warning.
52841 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52842
69f63097
RM
52843 * string/strncat.c (STRNCAT): Use prototype definition.
52844
675456ef
RM
52845 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52846 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52847 -Iprograms here.
52848 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52849 (localedef-modules): Add localedef.
52850 (locale-modules): Add locale.
52851
5e4287d1
RM
52852 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52853 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52854 to avoid a warning.
52855
9c96ff23
DM
528562011-08-14 David S. Miller <davem@davemloft.net>
52857
52858 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52859 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52860
f9ddf089
UD
528612011-08-13 Ulrich Drepper <drepper@gmail.com>
52862
44f0a71e 52863 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52864 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52865 * elf/rtld.c (dl_main): Set l_name of vDSO.
52866 Call _dl_show_scope when DL_DEBUG_SCOPES.
52867 (process_dl_debug): Recognize scopes flag and also set it for all.
52868 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52869 Declare _dl_show_scope.
52870
1dc27704
UD
52871 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52872 (do_dlopen): Pass caller_dlopen to dl_open.
52873 (__libc_dlopen_mode): Initialize caller_dlopen.
52874
f9ddf089
UD
52875 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52876 of libc. Make tolower call locale-independent. Optimize a bit by
52877 using isdigit instead of isalnum.
52878 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52879
9ac533d3
UD
528802011-08-12 Ulrich Drepper <drepper@gmail.com>
52881
52882 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52883 was a dependency or dynamically loaded.
52884
89edf2e9
UD
528852011-08-11 Ulrich Drepper <drepper@gmail.com>
52886
8e999d29
UD
52887 * intl/l10nflist.c: Allow architecture-specific pop function.
52888 * sysdeps/x86_64/l10nflist.c: New file.
52889
89edf2e9
UD
52890 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52891 classification.
52892
14d96785
AS
528932011-08-10 Andreas Schwab <schwab@redhat.com>
52894
52895 * include/dirent.h: Add libc_hidden_proto for scandirat and
52896 scandirat64. Don't declare __scandirat64.
52897 * dirent/scandirat.c: Add libc_hidden_def.
52898 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52899 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52900
6761ac04
DM
529012011-08-10 David S. Miller <davem@davemloft.net>
52902
52903 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52904 enum.
52905 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52906 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52907 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52908
c55fbd1e
UD
529092011-08-09 Ulrich Drepper <drepper@gmail.com>
52910
52911 * Versions.def [libc]: Add GLIBC_2.15.
52912 * dirent/Makefile (routines): Add scandirat and scandirat64.
52913 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52914 GLIBC_2.15.
52915 * dirent/dirent.h: Declare scandirat and scandirat64.
52916 * dirent/scandirat.c: New file.
52917 * dirent/scandirat64.c: New file.
52918 * sysdeps/wordsize-64/scandirat.c: New file.
52919 * sysdeps/wordsize-64/scandirat64.c: New file.
52920 * dirent/opendir.c: Define opendirat.
52921 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52922 using scandirat.
52923 * dirent/scandir64.c: Adjust for scandir.c change.
52924 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52925 __scandirat64, and __scandir_cancel_handler.
52926 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52927 additional parameter and use openat instead of open (outside of ld.so).
52928 Add new __opendir as wrapper around __opendirat.
52929 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52930 here without requiring old scandirat implementation.
52931
879165f2
UD
529322011-08-08 Ulrich Drepper <drepper@gmail.com>
52933
52934 * dirent/scandir.c (cancel_handler): Renamed to
52935 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52936 defined. Adjust users.
52937 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52938 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52939
cb7e923b
UD
529402011-08-04 Ulrich Drepper <drepper@gmail.com>
52941
16292edd
UD
52942 * string/test-string.h (IMPL): Use __STRING to expand name and then
52943 stringify it.
52944
cb7e923b
UD
52945 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52946 of cleanups.
52947
cff82933
LD
529482011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52949
52950 * string/Makefile: Update.
52951 (strop-tests): Append strncat.
52952 * string/test-wcscmp.c: New file.
52953 New comprehensive test for wcscmp.
52954 * string/test-strcmp.c: Update.
52955 (WIDE): New define.
52956
9be9bfcc
AS
529572011-07-22 Andreas Schwab <schwab@redhat.com>
52958
52959 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52960 line.
52961
2e96f1c7
AS
529622011-07-26 Andreas Schwab <schwab@redhat.com>
52963
52964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52965 encoding to ACE if AI_IDN.
52966
85188888
JJ
529672011-08-01 Jakub Jelinek <jakub@redhat.com>
52968
52969 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52970 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52971
5fa16e9b
LD
529722011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52973
52974 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52975 Fix overflow bug in strncat.
52976 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52977
52978 * string/test-strncat.c: Update.
52979 Add new tests for checking overflow bugs.
52980
529812011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52982
52983 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52984 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52985 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52986 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52987 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52988 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52989 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52990 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52991 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52992
52993 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52994 (USE_AS_STRCAT): Define.
52995 Add strcat and strncat support.
52996 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52997
8c1a459f
AS
529982011-07-25 Andreas Schwab <schwab@redhat.com>
52999
53000 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53001 __n bigger than INT_MAX+1.
53002 (__strncmp_g): Likewise.
53003
bba33c28
UD
530042011-07-23 Ulrich Drepper <drepper@gmail.com>
53005
798be72d
UD
53006 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53007 * libio/stido.h: Likewise.
53008
8accd4dc
UD
53009 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53010 (AF_NFC): Define.
53011 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53012 (AF_NFC): Define.
53013
cbff0d96
UD
53014 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53015 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53016 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53017 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53018 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53019
9191c04a
UD
53020 [BZ #13021]
53021 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53022 installed.
53023
bba33c28
UD
53024 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53025 typo.
53026 (_dl_x86_64_save_sse): Likewise.
53027
90f139dd
UD
530282011-07-22 Ulrich Drepper <drepper@gmail.com>
53029
1aae088a
UD
53030 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53031 OSXSAVE.
53032 (_dl_x86_64_save_sse): Likewise.
53033
8e2045f5
UD
53034 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53035
90f139dd
UD
53036 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53037
1d002f25
AS
530382011-07-21 Andreas Schwab <schwab@redhat.com>
53039
53040 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53041 change.
53042 (_dl_x86_64_save_sse): Use correct AVX check.
53043
21137f89
UD
530442011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53045
53046 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53047 bug in strncpy/strncat.
53048 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53049
a65c0b7a
UD
530502011-07-21 Ulrich Drepper <drepper@gmail.com>
53051
53052 * string/tester.c (test_strcat): Add tests for different alignments
53053 of source and destination.
53054 (test_strncat): Likewise.
53055
6986b98a
UD
530562011-07-20 Ulrich Drepper <drepper@gmail.com>
53057
90bb2039
UD
53058 [BZ #12852]
53059 * posix/glob.c (glob): Check passed in values before using them in
53060 expressions to avoid some overflows.
53061 (glob_in_dir): Likewise.
53062
5644ef54
UD
53063 [BZ #13007]
53064 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53065 check for AVX enablement so that we don't crash with old kernels and
53066 new hardware.
53067 * elf/tst-audit4.c: Add same checks here.
53068 * elf/tst-audit6.c: Likewise.
53069
53070 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53071
bfc9dc9b
AS
530722011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53073
53074 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53075
702e64bb
UD
530762011-07-20 Ulrich Drepper <drepper@gmail.com>
53077
53078 * po/cs.po: Update from translation team.
53079 * po/bg.po: Likewise.
53080
295e904f
MP
530812011-07-12 Marek Polacek <mpolacek@redhat.com>
53082
53083 * misc/sys/cdefs.h: Add support for const attribute.
53084 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53085 to gnu_dev_{major,minor,makedev} functions.
53086
3ff94596
MP
530872011-07-20 Marek Polacek <mpolacek@redhat.com>
53088
53089 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53090
28b59fca
AS
530912011-07-20 Andreas Schwab <schwab@redhat.com>
53092
53093 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53094 strlen results.
53095
19df733e
AK
530962011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53097
53098 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53099 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53100 register in order to avoid conflicts with the soft frame pointer
53101 being held in r11 when necessary.
53102 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53103 (INTERNAL_VSYSCALL_NCS): Likewise.
53104
c8835729
MP
531052011-07-14 Marek Polacek <mpolacek@redhat.com>
53106
53107 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53108 * elf/dl-fini.c (_dl_fini): Adjust caller.
53109 * elf/dl-close.c (_dl_close_worker): Likewise.
53110 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53111
b902330c
MP
531122011-07-15 Marek Polacek <mpolacek@redhat.com>
53113
8991e135
MP
53114 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53115 "aux_cache->nlibs < 0".
53116
b902330c
MP
53117 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53118 in the reload-count case.
53119
99710781
LD
531202011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53121
53122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53123 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53124 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53125 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53126 * sysdeps/x86_64/multiarch/strcat.S: New file.
53127 * sysdeps/x86_64/multiarch/strncat.S: New file.
53128 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53129 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53130 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53131 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53132 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53133 (USE_AS_STRCAT): Define.
53134 Add strcat and strncat support.
53135 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53136 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53137 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53138 * string/strncat.c: Update.
53139 (USE_AS_STRNCAT): Define.
53140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53141 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53142 and i7.
53143 * sysdeps/x86_64/multiarch/init-arch.h
53144 (bit_Prefer_PMINUB_for_stringop): New.
53145 (index_Prefer_PMINUB_for_stringop): Likewise.
53146 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53147 bit_Prefer_PMINUB_for_stringop.
53148
7dc6bd90
UD
531492011-07-19 Ulrich Drepper <drepper@gmail.com>
53150
53151 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53152 buffer64.
53153 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53154 of casting of buffer.
53155 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53156 buffer32 and buffer64.
53157 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53158 writes instead of casting of buffer.
53159 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53160 buffer32.
53161 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53162 casting of buffer.
53163
e0e72284
AS
531642011-07-19 Andreas Schwab <schwab@redhat.com>
53165
53166 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53167
feb1eb0b
UD
531682011-07-19 Ulrich Drepper <drepper@gmail.com>
53169
53170 * nscd/nscd.c (termination_handler): Don't do anything for a database
53171 if it has not yet been initialized.
53172
298711ff
UD
531732011-07-18 Ulrich Drepper <drepper@gmail.com>
53174
53175 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53176
531772011-07-15 Marek Polacek <mpolacek@redhat.com>
53178
53179 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53180
f9d68389
UD
531812011-07-18 Ulrich Drepper <drepper@gmail.com>
53182
53183 * po/nl.po: Update from translation team.
53184 * po/sv.po: Likewise.
53185
db290cf5
RM
531862011-07-16 Roland McGrath <roland@hack.frob.com>
53187
53188 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53189 now disallowed by GCC.
5c550700 53190
fd5e21c7
RM
53191 * configure.in (use-default-link): Default to yes if a test -shared
53192 link meets our qualifications.
53193 * configure: Regenerated.
53194
5c550700
RM
53195 * config.make.in (output-format): New variable.
53196 * configure.in: Check for ld --print-output-format support.
53197 * configure: Regenerated.
53198 * Makerules ($(common-objpfx)format.lds)
53199 [$(output-format) != unknown]: Just use $(output-format),
53200 instead of the linker-script munging.
53201
9fa2c032
RM
532022011-07-14 Roland McGrath <roland@hack.frob.com>
53203
a6928d51
RM
53204 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53205 of $(common-objpfx)shlib.lds.
53206 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53207
661607b3
RM
53208 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53209 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53210
9fa2c032
RM
53211 * configure.in (-z relro check): Adjust test code to add a large
53212 writable data section after it.
53213 * configure: Regenerated.
53214
defe9061
RM
532152011-07-11 Roland McGrath <roland@hack.frob.com>
53216
53217 * configure.in (-z relro check): Fix test code to make the variable
53218 truly const.
53219 * configure: Regenerated.
53220
319b9ad4
UD
532212011-07-11 Ulrich Drepper <drepper@gmail.com>
53222
53223 * nscd/nscd.h (struct traced_file): Define.
53224 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53225 elements. Add traced_files.
53226 (inotify_fd): Declare.
53227 (register_traced_file): Declare.
53228 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53229 (inotify_fd): Export.
53230 (resolv_conf_descr): Remove.
53231 (nscd_init): Move inotify descriptor creation to main.
53232 Don't register files for notification here.
53233 (register_traced_file): New function.
53234 (invalidate_cache): Don't use reset_res to determine whether to call
53235 res_init, go through the list of registered files.
53236 (main_loop_poll): The inotify descriptors are now stored in the
53237 structures for the traced files.
53238 (main_loop_epoll): Likewise
53239 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53240 to __nss_disable_nscd.
53241 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53242 for a database anymore. Check the records for all the registered
53243 files instead.
53244 * nss/Makefile (libnss_files-routines): Add files-init.
53245 (libnss_db-routines): Add db-init.
53246 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53247 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53248 * nss/nss_db/db-init.c: New file.
53249 * nss/nss_files/files-init.c: New file.
53250 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53251 __nss_lookup_function.
53252 (__nss_lookup_function): Call nss_load_library.
53253 (nss_load_all_libraries): New function.
53254 (__nss_disable_nscd): Take parameter with callback function for files
53255 to register. Set is_nscd. Load all the DSOs for the NSS modules
53256 used for the cached services.
53257 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53258 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53259 options for features to all the files in nscd.
53260
53261 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53262
23bee3e8
RM
532632011-07-10 Roland McGrath <roland@hack.frob.com>
53264
53265 * csu/elf-init.c (__libc_csu_init): Comment typo.
53266
46a5b7f0
UD
532672011-07-09 Ulrich Drepper <drepper@gmail.com>
53268
53269 * po/pl.po: Update from translation team.
53270 * po/ja.po: Likewise.
53271 * po/ru.po: Likewise.
53272 * po/ko.po: Likewise.
53273 * po/fr.po: Likewise.
53274
d30cf5bb
RM
532752011-07-09 Roland McGrath <roland@hack.frob.com>
53276
113ddea4
RM
53277 * configure.in (.ctors/.dtors header and trailer check):
53278 Use an empirical test on a built program.
53279 * configure: Regenerated.
53280
574920b4
RM
53281 * configure.in (-z relro check): Use an empirical test on a built DSO.
53282 Detect, but do not require, on ia64.
53283 * configure: Regenerated.
53284
d30cf5bb
RM
53285 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53286 Update tests that use readelf to use $READELF instead.
53287 * configure: Regenerated.
53288
8538fdb3
UD
532892011-07-08 Ulrich Drepper <drepper@gmail.com>
53290
53291 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53292 if the result is not used.
53293
04d08991
AJ
532942011-07-05 Andreas Jaeger <aj@suse.de>
53295
53296 [BZ#9696]
53297 * stdlib/tst-strtod.c: Add testcase.
53298
de283087
AD
532992011-07-07 Ulrich Drepper <drepper@gmail.com>
53300
4e5f31c8 53301 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53302 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53303 The latter has a higher limit. Take additional parameter to pass to
53304 the new function.
53305 (__pathconf): Pass file to __statfs_link_max.
53306 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53307 __statfs_link_max.
53308 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53309 __statfs_link_max.
53310
de283087
AD
53311 [BZ #12868]
53312 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53313 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53314 Handle Lustre.
53315 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53316 (__statfs_filesize_max): Likewise.
53317 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53318
c75fa153
AJ
533192011-07-05 Andreas Jaeger <aj@suse.de>
53320
53321 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53322
1a544854
UD
533232011-07-06 Marek Polacek <mpolacek@redhat.com>
53324
53325 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53326 `status' variable.
53327 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53328 Likewise.
53329
6f0eec67
UD
533302011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53331
53332 * Makefile (strop-tests): Add strncat.
53333 * string/test-strncat.c: New file.
53334
aae30307
UD
533352011-06-30 Marek Polacek <mpolacek@redhat.com>
53336
53337 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53338
c0cfb5eb
UD
533392011-06-21 Andreas Jaeger <aj@suse.de>
53340
53341 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53342 Copy rule from iconvdata/Makefile.
53343
01636b21
UD
533442011-07-06 Ulrich Drepper <drepper@gmail.com>
53345
53346 [BZ #12922]
53347 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53348 but no long options are defined, just return 'W'.
53349
9895c8bc
UD
533502011-06-22 Marek Polacek <mpolacek@redhat.com>
53351
53352 [BZ #9696]
53353 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53354
5d4cf042
UD
533552011-07-06 Ulrich Drepper <drepper@gmail.com>
53356
53357 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53358 netgroups to read.
960e5535 53359 (innetgr): Likewise.
5d4cf042 53360
751eb97e
RM
533612011-07-05 Roland McGrath <roland@hack.frob.com>
53362
53363 * config.make.in (install_root): Default to $(DESTDIR).
53364
f15f1e45
UD
533652011-07-05 Ulrich Drepper <drepper@gmail.com>
53366
53367 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53368
4e34ac6a
RM
533692011-07-02 Roland McGrath <roland@hack.frob.com>
53370
5e9b6af4
RM
53371 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53372
84f9ea0f
RM
53373 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53374 containing directory rather than embedding absolute directory names.
53375
ea5ee9f7
RM
53376 * scripts/check-local-headers.sh: Rewritten using awk.
53377 Match by word, not by line. Print error messages for matches.
53378 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53379
1b74661a
RM
53380 * Makerules [shlib-lds-flags empty]:
53381 ($(common-objpfx)libc_pic.opts): New target.
53382 ($(common-objpfx)libc_pic.os.clean): New target.
53383 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53384
53385 * config.make.in (OBJCOPY): New variable.
53386 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53387 * configure: Regenerated.
53388
f781ef40
RM
53389 * config.make.in (use-default-link): New variable.
53390 * configure.in (use_default_link): Grok --with-default-link to set it.
53391 * configure: Regenerated.
53392 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53393 (shlib-lds, shlib-lds-flags): Define to empty.
53394
2d4fa81e
RM
53395 * Makerules (shlib-lds): New variable.
53396 (shlib-lds-flags): New variable.
53397 (build-shlib, build-moduile, build-module-asneeded): Use it.
53398 ($(common-objpfx)libc.so): Use $(shlib-lds).
53399 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53400 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53401
31fffa6b
RM
53402 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53403 DT_FLAGS/DT_FLAGS_1 with zero flags.
53404
4e34ac6a
RM
53405 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53406 linker script munging.
53407
fcfc776b
UD
534082011-07-02 Ulrich Drepper <drepper@gmail.com>
53409
53410 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53411 as 128-bit value.
53412 * crypt/sha512.c (sha512_process_block): Perform total addition using
53413 128-bit if possible.
53414 (__sha512_finish_ctx): Likewise.
53415 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53416 as 64-bit value.
53417 * crypt/sha256.c (SWAP64): Define.
53418 (sha256_process_block): Perform total addition using 64-bit if
53419 possible.
53420 (__sha256_finish_ctx): Likewise.
53421
99231d9a
UD
534222011-07-01 Ulrich Drepper <drepper@gmail.com>
53423
53424 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53425 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53426 * nscd/hstcache.c (cache_addhst): Likewise.
53427 * nscd/grpcache.c (cache_addgr): Likewise.
53428 * nscd/aicache.c (addhstaiX): Likewise
53429 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53430
445b4a53
TK
534312011-07-01 Thorsten Kukuk <kukuk@suse.de>
53432
53433 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53434 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53435 * nscd/hstcache.c (cache_addhst): Likewise.
53436 * nscd/grpcache.c (cache_addgr): Likewise.
53437 * nscd/aicache.c (addhstaiX): Likewise
53438
6d4d8e8e
AS
534392011-07-01 Andreas Schwab <schwab@redhat.com>
53440
53441 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53442 domain only when needed.
53443
89f654c5
AS
534442011-06-30 Andreas Schwab <schwab@redhat.com>
53445
53446 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53447 is always restored.
53448
cf3b23ff
UD
534492011-06-29 Ulrich Drepper <drepper@gmail.com>
53450
53451 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53452 are re-adding the entry.
53453 * nscd/servicescache.c (cache_addserv): Likewise.
53454
751626f9
AJ
534552011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53456
53457 * sysdeps/generic/dl-irel.h: fix protection against multiple
53458 inclusions.
53459 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53460
9113ea1f
UD
534612011-06-28 Ulrich Drepper <drepper@gmail.com>
53462
5c0b8d90
UD
53463 [BZ #12935]
53464 * malloc/memusage.sh: Fix quoting in message.
53465 * debug/xtrace.sh: Likewise.
53466
9113ea1f
UD
53467 * configure.in: Remove support for --experimental-malloc option, make
53468 it the default.
53469 * config.make.in: Likewise.
53470 * malloc/Makefile: Likewise.
53471
a4172181
AS
534722011-06-27 Andreas Schwab <schwab@redhat.com>
53473
53474 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53475 two-byte characters.
53476
78a7eee7
RM
534772011-06-27 Roland McGrath <roland@hack.frob.com>
53478
62bede13
RM
53479 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53480 AC_CACHE_CHECK invocation.
53481 * configure: Regenerated.
53482
78a7eee7
RM
53483 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53484
5ce33a62
UD
534852011-06-27 Ulrich Drepper <drepper@gmail.com>
53486
034807a9
UD
53487 [BZ #12350]
53488 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53489 bit from old_res_options.
53490
4902da17
UD
53491 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53492
5ce33a62
UD
53493 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53494 value type for setfct.
53495
c2344f56
L
534962011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53497
53498 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53499 __gettimeofday instead of gettimeofday.
53500
68468076
UD
535012011-06-26 Ulrich Drepper <drepper@gmail.com>
53502
53503 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53504
acb0d739
L
535052011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53506
53507 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53508
53509 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53510 info.
53511
8912479f
L
535122011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53513
53514 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53515 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53516 strcpy-sse2-unaligned strncpy-sse2-unaligned
53517 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53518 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53519 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53520 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53521 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53522 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53523 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53524 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53525 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53526 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53527 (STRCPY): Support SSE2 and SSSE3 versions.
53528
d5495a11
UD
535292011-06-24 Ulrich Drepper <drepper@gmail.com>
53530
53531 [BZ #12874]
53532 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53533 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53534 kernels which artificially limit size of requests.
53535
0b1cbaae
L
535362011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53537
53538 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53539 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53540 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53541 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53542 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53543 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53544 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53545 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53546 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53547 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53548 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53549 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53550 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53551 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53552 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53554 Enable unaligned load optimization for Intel Core i3, i5 and i7
53555 processors.
53556 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53557 Define.
53558 (index_Fast_Unaligned_Load): Define.
53559 (HAS_FAST_UNALIGNED_LOAD): Define.
53560
07f494a0
MP
535612011-06-23 Marek Polacek <mpolacek@redhat.com>
53562
53563 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53564
fa3fc0fe
UD
535652011-06-22 Ulrich Drepper <drepper@gmail.com>
53566
53567 [BZ #12907]
53568 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53569 until it is clear that the information is realy needed.
53570 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53571
e12df166
AS
535722011-06-22 Andreas Schwab <schwab@redhat.com>
53573
53574 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53575
852eb34d
UD
535762011-06-22 Ulrich Drepper <drepper@gmail.com>
53577
84e2a551
UD
53578 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53579 /sys/devices/system/cpu/online if it is usable.
53580
852eb34d
UD
53581 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53582 reading the information from the /proc filesystem to once a second.
53583
6e502e19
UD
535842011-06-21 Andreas Jaeger <aj@suse.de>
53585
53586 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53587 NULL after inclusion of kernel headers.
53588
75d39ff2
UD
535892011-06-21 Ulrich Drepper <drepper@gmail.com>
53590
51f9aa6a
UD
53591 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53592 calls to internal_setent.
53593
c0244a9d
UD
53594 [BZ #12885]
53595 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53596 addresses using gethostbyname4_r ignore IPv4 addresses.
53597
c5e3c2ae
UD
53598 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53599 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53600
75d39ff2
UD
53601 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53602
42675c6f
DM
536032011-06-20 David S. Miller <davem@davemloft.net>
53604
53605 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53606 inclusions.
53607 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53608
53609 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53610 (elf_irel): Use it.
53611 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53612 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53613 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53614 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53615 * sysdeps/x86_64/dl-irel.h: Likewise.
53616
53617 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53618 * elf/dl-sym.c: Likewise.
53619
57912a71
UD
536202011-06-15 Ulrich Drepper <drepper@gmail.com>
53621
53622 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53623 need to dereference resplen2.
53624
ee22793d
AS
536252011-06-14 Andreas Schwab <schwab@redhat.com>
53626
53627 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53628
a9e836b0
UD
536292011-06-15 Ulrich Drepper <drepper@gmail.com>
53630
77fb9117
UD
53631 * Makeconfig: Define vardbdir and inst_vardbdir.
53632 * nss/Makefile: Add rules to install db-Makefile.
53633
40c1b22c
UD
53634 * nss/nss_db/db-XXX.c: Cleanup.
53635
9f2da732
UD
53636 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53637 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53638 GLIBC_PRIVATE.
53639 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53640 * nss/makedb.c: Implement -g option to specify that value strings
53641 are generated and should not be added to table iterated over for
53642 get*ent calls.
53643 * nss/nss_db/db-initgroups.c: New file.
53644
82e9a1f7
UD
53645 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53646 interface.
53647
c41af17e
UD
53648 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53649 (internal_getgrouplist): Adjust to name change.
53650 Update use_initgroups_entry if this is not the first call.
53651 * nss/databases.def: Add initgroups entry.
53652
a9e836b0
UD
53653 * nss/makedb.c (compute_tables): Check result of multiple hash table
53654 sizes to minimize maximum chain length.
53655
2666d441
UD
536562011-06-14 Ulrich Drepper <drepper@gmail.com>
53657
53658 * Versions.def: Add entry for libnss_db.
53659 * shlib-versions: Likewise.
53660 * nss/Makefile: Add rules to build libnss_db.
53661 * nss/Versions: Add libnss_db information. Organize libnss_files
53662 entries better.
53663 * nss/db-Makefile: Add gshadow support. Change rules for the new
53664 makedb progra. Some minor improvements to generate smaller files.
53665 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53666 here from...
53667 * nss/makedb.c: ...here.
53668 Improve database format to be smaller and require less memory at
53669 runtime.
53670 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53671 db anymore.
53672 * nss/nss_db/db-netgrp.c: Likewise.
53673 * nss/nss_db/db-open.c: Likewise.
53674 * nss/nss_files/flies-XXX.x: Adjust comments.
53675 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53676 * nss/nss_files/files-grp.c: Likewise.
53677 * nss/nss_files/files-hosts.c: Likewise.
53678 * nss/nss_files/files-network.c: Likewise.
53679 * nss/nss_files/files-proto.c: Likewise.
53680 * nss/nss_files/files-pwd.c: Likewise.
53681 * nss/nss_files/files-rpc.c: Likewise.
53682 * nss/nss_files/files-service.c: Likewise.
53683 * nss/nss_files/files-sgrp.c: Likewise.
53684 * nss/nss_files/files-spwd.c: Likewise.
53685 * nss/nss_db/db-alias.c: Removed.
53686 * nss/nss_db/dummy-db.h: Removed.
53687
9ee76b5a
UD
536882011-06-02 Ulrich Drepper <drepper@gmail.com>
53689
53690 * nss/makedb.c: Rewritten to not use database library.
53691 * nss/Makefile: Update to build new makedb program.
53692
c71ca1f8
AJ
536932011-06-14 Andreas Jaeger <aj@suse.de>
53694
53695 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53696 memset declaration.
53697
3154bfb8
UD
536982011-06-10 Andreas Schwab <schwab@redhat.com>
53699
53700 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53701 tmpbuf.
53702
b350afab
RM
537032011-06-10 Roland McGrath <roland@hack.frob.com>
53704
decd4e50
RM
53705 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53706 * elf/Makefile ($(objpfx)ld.so): Likewise.
53707
5615eaf2
RM
53708 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53709 Don't list ld.so twice in dependencies.
53710
53711 * posix/bug-regex31.c: Include <stdlib.h>.
53712
53713 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53714
53715 * nis/nss_compat/compat-spwd.c
53716 (getspent_next_nss_netgr): Remove unused variable.
53717 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53718
53719 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53720 nonmembers" output to use the right array.
53721
53722 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53723
53724 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53725
53726 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53727 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53728 * catgets/gencat.c (read_input_file): Likewise.
53729 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53730
53731 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53732 variable definition inside #if's controlling its use.
53733
53734 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53735
53736 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53737
53738 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53739
53740 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53741 unreachable code.
53742
53743 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53744
b68e08db
RM
53745 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53746 * configure: Regenerated.
53747
b350afab
RM
53748 * Makerules: Revert last change.
53749 * elf/Makefile: Likewise.
53750
28368601
RM
537512011-06-09 Roland McGrath <roland@hack.frob.com>
53752
53753 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53754 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53755 (reloc-link): Likewise.
53756
11988f8f
UD
537572011-06-09 Ulrich Drepper <drepper@gmail.com>
53758
53759 * elf/Makefile: Add rules to build pldd.
53760 * elf/pldd.c: New file.
53761 * elf/pldd-xx.c: New file.
53762
e80fab37
UD
537632011-06-07 Ulrich Drepper <drepper@gmail.com>
53764
53765 * version.h: Update for 2.15 development version.
53766
9b849836
DM
537672011-06-07 David S. Miller <davem@davemloft.net>
53768
53769 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53770 ifuncs.
53771 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53772 elf_machine_lazy_rel): Likewise.
53773 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53775 elf_machine_lazy_rel): Likewise.
53776 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53777 dl_hwcap via passed in argument.
53778 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53779 Likewise.
53780
5a31b283
AK
537812011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53782
53783 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53784
069e52f8
RM
537852011-06-06 Roland McGrath <roland@hack.frob.com>
53786
53787 [BZ #12849]
53788 * manual/fdl-1.1.texi: New file, verbatim from:
53789 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53790 * manual/lgpl-2.1.texi: New file, verbatim from:
53791 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53792 * manual/Makefile (licenses): New variable, list those new file names.
53793 (texis): Use it.
53794 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53795
53796 * manual/fdl.texi: File removed.
53797 * manual/lesser.texi: File removed.
53798 * manual/libc.texinfo (Copying, Documentation License):
53799 Use new @include file names, put @appendix directive before @include.
53800
f16846a5
JJ
538012011-06-04 Jakub Jelinek <jakub@redhat.com>
53802
53803 [BZ #12841]
53804 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53805 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53806 (mq_open): Add __NTH.
53807
3d29045b
L
538082011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53809
53810 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53811 Assume Intel Core i3/i5/i7 processor if AVX is available.
53812
8c297311
UD
538132011-05-31 Ulrich Drepper <drepper@gmail.com>
53814
53815 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53816 typo.
53817
c8fc0c91
UD
538182011-05-31 Andreas Schwab <schwab@redhat.com>
53819
53820 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53821 memory. Use alloca_account. Fix memory leak when retrying.
53822
5b27a807
UD
538232011-05-31 Ulrich Drepper <drepper@gmail.com>
53824
356f8bc6
UD
53825 * version.h (RELEASE): Bump for 2.14 release.
53826 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53827
5b27a807
UD
53828 * config.make.in (RANLIB): Remove entry.
53829
01f16ab0
UD
538302011-05-30 Ulrich Drepper <drepper@gmail.com>
53831
41fce8bd
UD
53832 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53833 (libc.pot): Work around missing support for .ksh extension in xgettext.
53834
4769ae77
UD
53835 [BZ #12684]
53836 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53837 if both request failed.
53838 (send_dg): In case of server errors clear resplen or *resplen2.
53839
6b1e7d19
UD
53840 [BZ #12454]
53841 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53842 when there are multiple maps.
53843 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53844 (_dl_fini): Remove test here.
53845
01f16ab0
UD
53846 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53847
b1ebd700
UD
538482011-05-29 Ulrich Drepper <drepper@gmail.com>
53849
7ae22829
UD
53850 [BZ #12350]
53851 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53852 bit from old_res_options.
53853 (gaih_inet): Likewise.
53854
553149f6 53855 [BZ #11099]
18a84741 53856 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53857 as signed.
53858
652ffab1
UD
53859 * resolv/res_init.c (res_setoptions): Make the code more compact.
53860
16985fd0
UD
53861 [BZ #11558]
53862 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53863 set RES_USEVC.
53864
0464f746
UD
53865 [BZ #11634]
53866 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53867
7d17596c
UD
53868 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53869
cf6bbbd7
UD
53870 [BZ #11781]
53871 * malloc/malloc.h: Declare malloc hook variables as volatile.
53872
13f1ab36
UD
53873 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53874 in last patch.
53875
b1ebd700
UD
53876 [BZ #11799]
53877 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53878 raise in the comment.
80e2212d
UD
53879 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53880 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53881 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53882
ce67228d
UD
538832011-05-28 Ulrich Drepper <drepper@gmail.com>
53884
8887a920
UD
53885 [BZ #12811]
53886 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53887 grow the buffers more if it already has to be sufficient.
53888 (build_wcs_upper_buffer): Likewise.
53889 * posix/regexec.c (check_matching): Likewise.
53890 (clean_state_log_if_needed): Likewise.
53891 (extend_buffers): Don't enlarge buffers beyond size of the input
53892 buffer.
53893 Patches mostly by Emil Wojak <emil@wojak.eu>.
53894 * posix/bug-regex32.c: New file.
53895 * posix/Makefile (tests): Add bug-regex32.
53896
4f031072
UD
53897 * locale/findlocale.c (_nl_find_locale): Return right away if
53898 _nl_explode_name failed.
53899 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53900
d0478f0c
UD
53901 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53902
de81b246
UD
53903 * debug/xtrace.sh: Unify messages.
53904 * malloc/memusage.sh: Likewise.
53905
c738465a
UD
53906 [BZ #12813]
53907 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53908 time symbol from vDSO. Substitute with vsyscall if not available.
53909 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53910 __vdso_time.
53911
f1f929d7
UD
53912 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53913 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53914 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53915 Add sendmmsg and internal_sendmmsg.
53916 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53917 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53918 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53919
ce67228d
UD
53920 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53921 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53922 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53923
e57420c6
UD
539242011-05-27 Ulrich Drepper <drepper@gmail.com>
53925
a8509ca5
UD
53926 [BZ #12813]
53927 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53928 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53929 available.
53930 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53931 __vdso_getcpu.
53932
e57420c6
UD
53933 [BZ #12814]
53934 * iconvdata/Makefile (tests): Add bug-iconv9.
53935 * iconvdata/bug-iconv9.c: New file.
53936
4d07db15
AS
539372011-05-27 Andreas Schwab <schwab@redhat.com>
53938
53939 [BZ #12814]
53940 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53941
ea486f69
JJ
539422011-05-25 Jakub Jelinek <jakub@redhat.com>
53943
53944 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53945 (struct user_regs_struct): Change intcs field back to cs.
53946
6f038433
UD
539472011-05-25 Ulrich Drepper <drepper@gmail.com>
53948
53949 * po/ja.po: Update from translation team.
53950
67f86a25
UD
539512011-05-23 Ulrich Drepper <drepper@gmail.com>
53952
53953 [BZ #12795]
53954 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53955 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53956
def7fbd6
AS
539572011-05-20 Andreas Schwab <schwab@redhat.com>
53958
53959 * stdlib/longlong.h: Update from GCC.
53960
f50ef8f1
AS
539612011-05-23 Andreas Schwab <schwab@redhat.com>
53962
53963 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53964 parameter name.
53965 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53966 Add parameter name.
53967 (__sysconf): Pass it down.
53968
de7ce8f1
UD
539692011-05-22 Ulrich Drepper <drepper@gmail.com>
53970
f2962a71
UD
53971 [BZ #12671]
53972 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53973 some situations.
53974 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53975 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53976 add in in __libc_use_alloca calls. Adjust callers.
53977 (glob): Use malloc in some situations.
53978
de7ce8f1
UD
53979 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53980 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53981 pltexit.
53982
aec84f53
UD
539832011-05-21 Ulrich Drepper <drepper@gmail.com>
53984
05bb4a68
UD
53985 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53986 and CLOCK_BOOTTIME_ALARM.
53987
7ea72f99
UD
53988 [BZ #12782]
53989 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53990 is returned.
53991
7e4afad5
UD
53992 * string/_strerror.c (__strerror_r): Print negative errors as signed
53993 numbers.
53994
8e211fec
UD
53995 [BZ #12777]
53996 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53997 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53998 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53999
f7d82dc9
UD
54000 * configure.in: Fix typo in redirection and correct removal of test
54001 files in two cases.
54002
cc9e536d
UD
54003 [BZ #12788]
54004 * locale/setlocale.c (new_composite_name): Fix test to check for
54005 identical name of all categories.
54006
aec84f53
UD
54007 [BZ #12792]
54008 * libio/filedoalloc.c (local_isatty): New function.
54009 (_IO_file_doallocate): Use local_isatty.
54010 * stdio-common/perror.c (perror): In case a new stream is used
54011 forward the stream error.
54012 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54013 error flag.
54014
78e64fdc
RT
540152011-05-20 Ulrich Drepper <drepper@gmail.com>
54016
34a9094f
UD
54017 [BZ #11869]
54018 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54019 alloca.
54020 * include/alloca.h (extend_alloca_account): Define.
54021
78e64fdc
RT
54022 [BZ #11857]
54023 * posix/regex.h: Fix comments with documentation of user-accessible
54024 fields after compilation and describe correct free'ing of pattern
54025 after re_compile_pattern.
54026 Patch by Reuben Thomas <rrt@sc3d.org>.
54027
457bddfc
RA
540282011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54029
54030 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54031 and -mno-altivec to prevent the compiler from using Altivec and/or
54032 VSX instructions when the corresponding registers are not available.
54033
a4527b51
AS
540342011-05-19 Andreas Schwab <schwab@redhat.com>
54035
54036 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54037
ed690b2f
UD
540382011-05-19 Ulrich Drepper <drepper@gmail.com>
54039
54040 * libio/freopen.c (freopen): Use __dup2, not dup2.
54041 * libio/freopen64.c (freopen64): Likewise.
54042
8db73634
L
540432011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54044
54045 [BZ #12775]
54046 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54047 * math/Makefile (tests): Add test-powl.
54048 (CFLAGS-test-powl.c): Define.
54049 * math/test-powl.c: New file.
54050
0a197a9d
L
540512011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54052
54053 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54054
ee30c380
UD
540552011-05-17 Ulrich Drepper <drepper@gmail.com>
54056
54057 [BZ #11837]
54058 * iconvdata/gb18030.c: Update to GB18020-2005.
54059
6ce75379
UD
540602011-05-16 Ulrich Drepper <drepper@gmail.com>
54061
a4b89fd8
AR
54062 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54063 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54064 Patch by Aharon Robbins <arnold@skeeve.com>.
54065
ea389b12
UD
54066 [BZ #11892]
54067 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54068 on the stack.
54069
68a3f91f
UD
54070 [BZ #11895]
54071 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54072 through underflows.
54073
15cc7dd1
UD
54074 [BZ #12766]
54075 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54076 point to strings before performing equality test for error_one_per_line
54077 mode.
54078
f3799213
UD
54079 [BZ #11697]
54080 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54081
d79a9c94
UD
54082 [BZ #11820]
54083 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54084 (struct user_fpregs_struct): Avoid __uint*_t types.
54085
56e5eb46
UD
54086 [BZ #6420]
54087 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54088 symbol info. Use it instead of calling _dl_addr locally.
54089 (lock_and_info): New function.
54090 (tr_freehook): Call lock_and_info and pass symbol info as additional
54091 parameter to tr_where.
54092 (tr_mallochook): Likewise.
54093 (tr_reallochook): Likewise.
54094 (tr_memalignhook): Likewise.
54095
6ce75379
UD
54096 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54097 used and couldn't be at all thread-safe.
54098
f8a3b5bf
UD
540992011-05-15 Ulrich Drepper <drepper@gmail.com>
54100
94b7cc37
UD
54101 * libio/freopen.c (freopen): Don't close old file descriptor
54102 before the new one is opened. Instead dup the new file descriptor
54103 to the old one after the new stream is created.
54104 * libio/freopen64.c (freopen64): Likewise.
54105 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54106 * libio/fileops.c (_IO_new_file_close_it): Handle new
54107 _IO_FLAGS2_NOCLOSE flag.
54108 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54109 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54110 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54111 _IO_FLAGS2_NOCLOSE flag.
54112 * include/unistd.h: Add hidden_proto for dup3.
54113 Define __have_dup3.
54114 * io/dup3.c: Define hidden symbol.
54115 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54116
bd25564e
UD
54117 [BZ #7101]
54118 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54119 when an incomplete long option is used.
54120 * posix/tst-getopt_long1.c: New file.
54121 * posix/Makefile (tests): Add tst-getopt_long1.
54122
c84cfef4
UD
54123 [BZ #10138]
54124 * scripts/config.guess: Update from autoconf-2.68.
54125 * scripts/config.sub: Likewise.
54126
3b85df27
UD
54127 [BZ #10157]
54128 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54129 tests into ...
54130 (has_cpuclock): ...this. New function.
54131 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54132 macro here based on has_cpuclock code.
54133
15a856b1
UD
54134 [BZ #10149]
54135 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54136 First byte (not low byte) is now always NUL.
54137 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54138
05f399e6
UD
54139 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54140 Use non-cancelable interfaces.
54141
10a52685 54142 [BZ #9809]
94ecc67d
UD
54143 * locale/iso-639.def: Add entry for Sorani.
54144
f8a3b5bf
UD
54145 [BZ #11901]
54146 * include/stdlib.h: Move include protection to the right place.
54147 Define abort_msg_s. Declare __abort_msg with it.
54148 * stdlib/abort.c (__abort_msg): Adjust type.
54149 * assert/assert.c (__assert_fail_base): New function. Majority
54150 of code from __assert_fail. Allocate memory for __abort_msg with
54151 mmap.
54152 (__assert_fail): Now call __assert_fail_base.
54153 * assert/assert-perr.c: Remove bulk of implementation. Use
54154 __assert_fail_base.
54155 * include/assert.hL Declare __assert_fail_base.
54156 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54157 mmap.
54158 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54159
1af4e298
UD
541602011-05-14 Ulrich Drepper <drepper@gmail.com>
54161
f8a3b5bf 54162 [BZ #11952]
d26dfc60
MG
54163 [BZ #12453]
54164 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54165 until all modules are registered in the DTV.
54166 * elf/Makefile: Add rules to build and run tst-tls19.
54167 * elf/tst-tls19.c: New file.
54168 * elf/tst-tls19mod1.c: New file.
54169 * elf/tst-tls19mod2.c: New file.
54170 * elf/tst-tls19mod3.c: New file.
54171 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54172
2fc54d6f
UD
54173 [BZ #12083]
54174 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54175 correctly.
54176
98d76b46
UD
54177 [BZ #12601]
54178 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54179 two-byte sequence errors.
54180 * iconvdata/Makefile (tests): Add bug-iconv8.
54181 * iconvdata/bug-iconv8.c: New file.
54182
da3c19ef
UD
54183 [BZ #12626]
54184 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54185 buf2 definition.
54186
ca408c15
UD
54187 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54188
d6f67f7d
UD
54189 [BZ #12432]
54190 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54191 (dummy_getcfa): New function.
54192 (init): Get _Unwind_GetCFA address, use dummy if not found.
54193 (backtrace_helper): In recursion check, also check whether CFA changes.
54194 (__backtrace): Completely initialize arg.
54195
1af4e298 54196 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54197 storing incomplete byte sequence in state object. Avoid testing for
54198 guaranteed too small input if we know there is enough data available.
1af4e298 54199
da62f81b
AS
542002011-05-11 Andreas Schwab <schwab@redhat.com>
54201
54202 * Makeconfig (+link-pie): Indent.
54203 * Rules (binaries-pie): Define if $(have-fpie) and
54204 $(build-shared).
54205 (binaries-shared): Also filter out $(binaries-pie).
54206 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54207 * nscd/Makefile (others-pie): Add nscd.
54208 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54209 ($(objpfx)nscd): Remove command override.
54210 * login/Makefile (others-pie): Add pt_chown.
54211 ($(objpfx)pt_chown): Remove command override.
54212 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54213 remove command overrides.
54214
fcabc0f8
UD
542152011-05-13 Ulrich Drepper <drepper@gmail.com>
54216
20030ae6
UD
54217 * libio/tst_putwc.c: Fix error messages.
54218
fcabc0f8
UD
54219 [BZ #12724]
54220 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54221 currently writing and seek to current position when not.
54222 * libio/Makefile (tests): Add bug-fclose1.
54223 * libio/bug-fclose1.c: New file.
54224
320a5dc0
PB
542252011-05-12 Ulrich Drepper <drepper@gmail.com>
54226
54227 [BZ #12511]
54228 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54229 don't set DF_1_NODELETE here.
54230 (do_lookup_x): When entering new entry test for copy relocation
54231 and if necessary set DF_1_NODELETE flag.
54232 * elf/tst-unique4.cc: New file.
54233 * elf/tst-unique4.h: New file.
54234 * elf/tst-unique4lib.cc: New file.
54235 * elf/Makefile: Add rules to build and run tst-unique4.
54236 Patch by Piotr Bury <pbury@goahead.com>.
54237
22836f52
UD
542382011-05-11 Ulrich Drepper <drepper@gmail.com>
54239
f574184a
UD
54240 [BZ #12052]
54241 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54242
e1fb097f
UD
54243 [BZ #12625]
54244 * misc/mntent_r.c (addmntent): Flush the stream after the output
54245
22836f52
UD
54246 [BZ #12393]
54247 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54248 (is_trusted_path_normalize): Skip initial colon. Append slash
54249 to empty buffer. Duplicate is_trusted_path code but allow
54250 constructed patch to be prefix.
54251 (is_dst): Allow $ORIGIN followed by /.
54252 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54253 Correct testing of result of is_trusted_path_normalize
54254 (decompose_rpath): Fix warning.
54255
7b3b0b2a
UD
542562011-05-10 Ulrich Drepper <drepper@gmail.com>
54257
54258 [BZ #11257]
54259 * grp/initgroups.c (internal_getgrouplist): When we found the service
54260 list through the initgroups entry in nsswitch.conf do not always
54261 continue on a successful lookup. Don't always use the
eac80ce2 54262 __nss_group_database value if it is set.
7b3b0b2a
UD
54263 * nss/nsswitch.conf (initgroups): Change action for successful db
54264 lookup to continue for compatibility.
54265
2a81eaa5
UD
542662011-05-09 Ulrich Drepper <drepper@gmail.com>
54267
be97a69e
UD
54268 [BZ #11532]
54269 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54270 and CP774 modules.
54271 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54272 and CP774 modules.
54273 * iconvdata/tst-tables.sh: Likewise.
54274 * iconvdata/cp770.c: New file.
54275 * iconvdata/cp771.c: New file.
54276 * iconvdata/cp772.c: New file.
54277 * iconvdata/cp773.c: New file.
54278 * iconvdata/cp774.c: New file.
54279 * iconvdata/testdata/CP770: New file.
54280 * iconvdata/testdata/CP770..UTF8: New file.
54281 * iconvdata/testdata/CP771: New file.
54282 * iconvdata/testdata/CP771..UTF8: New file.
54283 * iconvdata/testdata/CP772: New file.
54284 * iconvdata/testdata/CP772..UTF8: New file.
54285 * iconvdata/testdata/CP773: New file.
54286 * iconvdata/testdata/CP773..UTF8: New file.
54287 * iconvdata/testdata/CP774: New file.
54288 * iconvdata/testdata/CP774..UTF8: New file.
54289
54290 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54291 END CHARMAP line.
54292 * iconvdata/gen-8bit-gap.sh: Likewise.
54293 * iconvdata/gen-8bit.sh: Likewise.
54294
c1e9e399
UD
54295 * locale/iso-639.def: Add ary entry.
54296
24c55fb3 54297 [BZ #11258]
96b4b1b0
UD
54298 * locale/C-translit.h.in: Add U20A1 transliteration.
54299
bdc2f971
KB
54300 [BZ #12178]
54301 * locale/iso-639.def: Add wae entry.
54302 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54303
2952b117
UD
54304 [BZ #12545]
54305 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54306 for n.
54307
2a81eaa5
UD
54308 [BZ #12711]
54309 * locale/C-translit.h.in: Add entry for U20B9.
54310 Patch by pravin.d.s@gmail.com.
54311
28377d1b
UD
543122011-05-08 Ulrich Drepper <drepper@gmail.com>
54313
7fb90fb8
UD
54314 [BZ #12713]
54315 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54316 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54317 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54318 in rtld. Use *stat64.
7fb90fb8 54319 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54320 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54321 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54322 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54323 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54324 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54325 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54326 __fstatat64 macros.
7fb90fb8
UD
54327 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54328 * dirent/rewinddir.c: Add libc_hidden_def.
54329 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54330 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54331
28377d1b
UD
54332 * include/dirent.h (__alloc_dir): Add flags parameter.
54333 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54334 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54335 __alloc_dir.
54336 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54337 from fdopendir if O_CLOEXEC is already set.
54338
66bdbaa4
AM
543392011-03-15 Alan Modra <amodra@gmail.com>
54340
54341 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54342 l_tls_firstbyte_offset non-zero. Save padding offset in
54343 l_tls_firstbyte_offset for later use.
54344 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54345 freeing static tls block.
54346
95721191
JN
543472011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54348
54349 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54350 where #ifdef was intended. The intent is to prevent ARG_MAX from
54351 being defined by the kernel headers.
54352
f87dfb1f
UD
543532011-05-07 Ulrich Drepper <drepper@gmail.com>
54354
54355 [BZ #12734]
54356 * resolv/resolv.h: Define RES_NOTLDQUERY.
54357 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54358 no-tld-query and set RES_NOTLDQUERY.
54359 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54360 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54361 modern BIND to search name as TLD unless forbidden.
54362
47c3cd7a
UD
543632011-05-07 Petr Baudis <pasky@suse.cz>
54364 Ulrich Drepper <drepper@gmail.com>
54365
54366 [BZ #12393]
54367 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54368 (is_trusted_path): ...to here.
c1e9ea35 54369 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54370 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54371 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54372
8a35c912
PP
543732011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54374
54375 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54376 __BEGIN/__END_DECLS.
54377
acd41f47
UD
543782011-05-06 Ulrich Drepper <drepper@gmail.com>
54379
54380 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54381 NSS_STATUS_NOTFOUND if no record was found.
54382
597df647
AS
543832011-05-05 Andreas Schwab <schwab@redhat.com>
54384
54385 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54386 (headers-not-in-tirpc): Remove rpc/netdb.h
54387 * resolv/netdb.h: Revert last change.
54388
b9af1301
PP
543892011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54390
54391 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54392 circular dependency between libgcc.a and libc.a.
54393
4e34d5f5
AS
543942011-05-05 Andreas Schwab <schwab@redhat.com>
54395
54396 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54397 * nis/Makefile: Don't install rpcsvc/*.
54398 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54399 instead of <rpc/types.h>.
54400 (MAXHOSTNAMELEN): Define.
54401
00ee369c
AS
544022011-05-03 Andreas Schwab <schwab@redhat.com>
54403
54404 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54405
0b592a30
MB
544062011-04-28 Maciej Babinski <mbabinski@google.com>
54407
54408 [BZ #12714]
54409 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54410 gethostbyname4_r when IPv6 results are possible.
54411
6e04cbbe
UD
544122011-05-02 Ulrich Drepper <drepper@gmail.com>
54413
54414 [BZ #12723]
54415 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54416 _PC_PIPE_BUF handling.
54417
e4ecafe0
BH
544182011-04-30 Bruno Haible <bruno@clisp.org>
54419
54420 [BZ #12717]
54421 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54422 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54423 to 'int'.
54424 * inet/getnameinfo.c (getnameinfo): Likewise.
54425
125ee683
UD
544262011-04-29 Ulrich Drepper <drepper@gmail.com>
54427
54428 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54429 to groups setting in database lookup.
54430 * nss/nsswitch.conf: Add initgroups entry.
54431
b722481a
EB
544322011-04-22 Ulrich Drepper <drepper@gmail.com>
54433
54434 [BZ #12685]
54435 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54436 mode string.
54437 Patch by Eric Blake <eblake@redhat.com>.
54438
4df46dbd
L
544392011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54440
54441 * sunrpc/Makefile (need-export-routines): Add svc_run.
54442 (routines): Remove svc_run.
54443 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54444 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54445 * sunrpc/svc_run.c (svc_run): Likewise.
54446 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54447
e84142d2
UD
544482011-04-21 Ulrich Drepper <drepper@gmail.com>
54449
54450 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54451 problem in reallocation in last patch.
54452
877175d8
UD
544532011-04-20 Ulrich Drepper <drepper@gmail.com>
54454
54455 * sunrpc/Makefile: Move inclusion of Rules.
54456
ab8eed78
UD
544572011-04-19 Ulrich Drepper <drepper@gmail.com>
54458
54459 * nss/nss_files/files-initgroups.c: New file.
54460 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54461 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54462 _nss_files_initgroups_dyn.
54463
e3d8f584
RS
544642011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54465
54466 * elf/elf.h (R_ARM_IRELATIVE): Define.
54467
af190f45
UD
544682011-04-19 Ulrich Drepper <drepper@gmail.com>
54469
54470 * po/ru.po: Update from translation team.
54471
53cf59ef
UD
544722011-04-17 Ulrich Drepper <drepper@gmail.com>
54473
54474 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54475 dependencies.
54476
4c559bcd
MF
544772011-02-06 Mike Frysinger <vapier@gentoo.org>
54478
54479 [BZ #12653]
54480 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54481 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54482 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54483 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54484 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54485
4420675c
AS
544862011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54487
54488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54489 differing bytes.
54490 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54491 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54492 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54493
75ea32ab
UD
544942011-04-17 Ulrich Drepper <drepper@gmail.com>
54495
54496 [BZ #12420]
54497 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54498 storing it.
54499 * stdlib/bug-getcontext.c: New file.
54500 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54501
27390476
AK
545022011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54503
54504 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54505 instructions into .machine "z9-109".
54506 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54507 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54508
10442705
AK
545092011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54510
54511 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54512 between environment variables and auxiliary vector.
54513
7b57bfe5
UD
545142011-04-16 Ulrich Drepper <drepper@gmail.com>
54515
54516 * Makefile: Add rules to build linkobj/libc.so.
54517 * include/libc-symbols.h: Define libc_hidden_nolink.
54518 * include/rpc/auth.h: Mark functions which are to be hidden.
54519 * include/rpc/auth_des.h: Likewise.
54520 * include/rpc/auth_unix.h: Likewise.
54521 * include/rpc/clnt.h: Likewise.
54522 * include/rpc/des_crypt.h: Likewise.
54523 * include/rpc/key_prot.h: Likewise.
54524 * include/rpc/pmap_clnt.h: Likewise.
54525 * include/rpc/pmap_prot.h: Likewise.
54526 * include/rpc/pmap_rmt.h: Likewise.
54527 * include/rpc/rpc_msg.h: Likewise.
54528 * include/rpc/svc.h: Likewise.
54529 * include/rpc/svc_auth.h: Likewise.
54530 * include/rpc/xdr.h: Likewise.
54531 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54532 * nss/Makefile: Likewise.
54533 * sunrpc/Makefile: Don't install headers. Build library with normal
54534 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54535 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54536 for the compat linking library. Remove use of INTDEF/INTUSE.
54537 * sunrpc/auth_none.c: Likewise.
54538 * sunrpc/auth_unix.c: Likewise.
54539 * sunrpc/authdes_prot.c: Likewise.
54540 * sunrpc/authuxprot.c: Likewise.
54541 * sunrpc/clnt_gen.c: Likewise.
54542 * sunrpc/clnt_perr.c: Likewise.
54543 * sunrpc/clnt_raw.c: Likewise.
54544 * sunrpc/clnt_simp.c: Likewise.
54545 * sunrpc/clnt_tcp.c: Likewise.
54546 * sunrpc/clnt_udp.c: Likewise.
54547 * sunrpc/clnt_unix.c: Likewise.
54548 * sunrpc/des_crypt.c: Likewise.
54549 * sunrpc/des_soft.c: Likewise.
54550 * sunrpc/get_myaddr.c: Likewise.
54551 * sunrpc/key_call.c: Likewise.
54552 * sunrpc/key_prot.c: Likewise.
54553 * sunrpc/netname.c: Likewise.
54554 * sunrpc/pm_getmaps.c: Likewise.
54555 * sunrpc/pm_getport.c: Likewise.
54556 * sunrpc/pmap_clnt.c: Likewise.
54557 * sunrpc/pmap_prot.c: Likewise.
54558 * sunrpc/pmap_prot2.c: Likewise.
54559 * sunrpc/pmap_rmt.c: Likewise.
54560 * sunrpc/publickey.c: Likewise.
54561 * sunrpc/rpc_cmsg.c: Likewise.
54562 * sunrpc/rpc_common.c: Likewise.
54563 * sunrpc/rpc_dtable.c: Likewise.
54564 * sunrpc/rpc_prot.c: Likewise.
54565 * sunrpc/rpc_thread.c: Likewise.
54566 * sunrpc/rtime.c: Likewise.
54567 * sunrpc/svc.c: Likewise.
54568 * sunrpc/svc_auth.c: Likewise.
54569 * sunrpc/svc_authux.c: Likewise.
54570 * sunrpc/svc_raw.c: Likewise.
54571 * sunrpc/svc_run.c: Likewise.
54572 * sunrpc/svc_simple.c: Likewise.
54573 * sunrpc/svc_tcp.c: Likewise.
54574 * sunrpc/svc_udp.c: Likewise.
54575 * sunrpc/svc_unix.c: Likewise.
54576 * sunrpc/svcauth_des.c: Likewise.
54577 * sunrpc/xcrypt.c: Likewise.
54578 * sunrpc/xdr.c: Likewise.
54579 * sunrpc/xdr_array.c: Likewise.
54580 * sunrpc/xdr_float.c: Likewise.
54581 * sunrpc/xdr_intXX_t.c: Likewise.
54582 * sunrpc/xdr_mem.c: Likewise.
54583 * sunrpc/xdr_rec.c: Likewise.
54584 * sunrpc/xdr_ref.c: Likewise.
54585 * sunrpc/xdr_sizeof.c: Likewise.
54586 * sunrpc/xdr_stdio.c: Likewise.
54587
e6c61494
UD
545882011-04-10 Ulrich Drepper <drepper@gmail.com>
54589
54590 [BZ #12650]
54591 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54592 * sysdeps/ia64/dl-tls.h: Likewise.
54593 * sysdeps/powerpc/dl-tls.h: Likewise.
54594 * sysdeps/s390/dl-tls.h: Likewise.
54595 * sysdeps/sh/dl-tls.h: Likewise.
54596 * sysdeps/sparc/dl-tls.h: Likewise.
54597 * sysdeps/x86_64/dl-tls.h: Likewise.
54598 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54599
34fe483e
AS
546002011-03-14 Andreas Schwab <schwab@redhat.com>
54601
54602 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54603 rpath element also skip the following colon.
54604 (expand_dynamic_string_token): Add is_path parameter and pass
54605 down to DL_DST_REQUIRED and _dl_dst_substitute.
54606 (decompose_rpath): Call expand_dynamic_string_token with
54607 non-zero is_path. Ignore empty rpaths.
54608 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54609 with zero is_path.
54610
f12a32e6
AS
546112011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54612
54613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54614 Make cancelable.
54615
38a7d692
UD
546162011-04-09 Ulrich Drepper <drepper@gmail.com>
54617
54618 [BZ #12655]
54619 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54620 Patch by Filipe David Manana <fdmanana@apache.org>.
54621
e451d22b
AS
546222011-04-07 Andreas Schwab <schwab@redhat.com>
54623
54624 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54625 Maintain aligned stack.
54626 (CHECK_RSP): Remove unused macro.
54627
dedc7c7b
UD
546282011-04-03 Ulrich Drepper <drepper@gmail.com>
54629
54630 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54631 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54632
94521213
UD
546332011-04-02 Ulrich Drepper <drepper@gmail.com>
54634
54635 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54636
8cb700c0 54637 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54638
0354e355
L
546392011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54640
54641 [BZ #12518]
54642 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54643 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54644 * sysdeps/x86_64/memmove.c: New file.
54645 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54646 (memcpy): Renamed to ...
54647 (__new_memcpy): This.
54648 (memcpy): Provide GLIBC_2_14 memcpy.
54649 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54650 (memcpy): Provide GLIBC_2_2_5 memcpy.
54651
8593482f
UD
546522011-04-01 Ulrich Drepper <drepper@gmail.com>
54653
54654 [BZ #12631]
54655 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54656
81a5726b
AS
546572011-03-30 Andreas Schwab <schwab@redhat.com>
54658
54659 * misc/syncfs.c: New file.
54660 * misc/Makefile (routines): Add syncfs.
54661 * posix/unistd.h: Declare syncfs.
54662 * sysdeps/unix/syscalls.list: Add syncfs.
54663
00e5419f
AS
546642011-04-01 Andreas Schwab <schwab@redhat.com>
54665
54666 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54667 open_by_handle_at.
54668 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54669 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54670 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54671 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54672 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54673 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54674 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54675
748876bf
UD
546762011-04-01 Ulrich Drepper <drepper@gmail.com>
54677
658e451d
UD
54678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54679 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54680 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54681 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54682 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54683 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54684 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54685
748876bf
UD
54686 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54687 sync_file_range.c with -fexceptions.
54688 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54689 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54690 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54691 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54692 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54693 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54694 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54695 sync_file_range as cancellation point
54696 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54697 now a wrapper around __call_sync_file_range with cancellation handling.
54698 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54699 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54700 function name to __call_sync_file_range.
54701 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54702 Add call_sync_file_range.
748876bf 54703
6e63d5e1
AS
547042011-04-01 Andreas Schwab <schwab@redhat.com>
54705
54706 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54707 bits/timex.h.
6e63d5e1 54708
46998f74
UD
547092011-04-01 Ulrich Drepper <drepper@gmail.com>
54710
4c1423ed
UD
54711 * iconv/iconv.h: Fix typo in comment.
54712 * io/fcntl.h: Likewise.
54713 * libio/stdio.h: Likewise.
54714 * posix/spawn.h: Likewise.
54715 * posix/unistd.h: Likewise.
54716 * stdlib/stdlib.h: Likewise.
54717 * time/time.h: Likewise.
54718 * wcsmbs/wchar.h: Likewise.
54719
158648c0
UD
54720 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54721 open_by_handle): Add.
54722 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54723 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54724 Augment a few comments.
54725 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54727 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54728 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54729 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54730 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54731 open_by_handle.
54732
46998f74
UD
54733 * io/fcntl.h (AT_EMPTY_PATH): Define.
54734
83fe108b
UD
547352011-03-30 Ulrich Drepper <drepper@gmail.com>
54736
54737 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54738 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54739 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54740 to...
54741 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54742 * Versions.def: Add GLIBC_2.14.
54743 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54744 Export.
83fe108b 54745
bb242059
UD
547462011-03-22 Ulrich Drepper <drepper@gmail.com>
54747
54748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54749 round counter.
54750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54751
c97a1282
L
547522011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54753
54754 [BZ #12597]
54755 * string/test-strncmp.c (do_page_test): New function.
54756 (check2): Likewise.
54757 (test_main): Call check2.
54758 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54759
2a115601
UD
547602011-03-20 Ulrich Drepper <drepper@gmail.com>
54761
54762 [BZ #12587]
54763 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54764 Handle cache information in CPU leaf 4.
54765 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54766
8126d904
UD
547672011-03-18 Ulrich Drepper <drepper@gmail.com>
54768
042c49c6 54769 [BZ #12583]
8126d904
UD
54770 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54771 character representation.
54772 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54773
ccfe366e
RA
547742011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54775
54776 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54777 END(__isnan) to END(__isnanf) to match function entry point/label
54778 EALIGN(__isnanf,...).
54779
c6e13027
JJ
547802011-03-10 Jakub Jelinek <jakub@redhat.com>
54781
54782 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54783
33f85a3f
UD
547842011-03-10 Ulrich Drepper <drepper@gmail.com>
54785
028478fa
UD
54786 [BZ #12510]
54787 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54788 copy from the symbol referenced in the relocation to initialize the
54789 used variable.
54790 Patch by Piotr Bury <pbury@goahead.com>.
54791 * elf/Makefile: Add rules to build and tst-unique3.
54792 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54793 * elf/tst-unique3.cc: New file.
54794 * elf/tst-unique3.h: New file.
54795 * elf/tst-unique3lib.cc: New file.
54796 * elf/tst-unique3lib2.cc: New file.
54797
33f85a3f
UD
54798 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54799
03592fc7
MF
548002011-03-10 Mike Frysinger <vapier@gentoo.org>
54801
54802 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54803 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54804 to _start.
03592fc7 54805
6a5ee102
UD
548062011-03-06 Ulrich Drepper <drepper@gmail.com>
54807
54808 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54809 to-be-loaded object along a path to loader is ld.so.
54810
7e4ba49c
HJ
548112011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54812 Ulrich Drepper <drepper@gmail.com>
54813
54814 * sysdeps/x86_64/memset.S: After aligning destination, code
54815 branches to different locations depending on the value of
54816 misalignment, when multiarch is enabled. Fix this.
54817
548182011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54819
54820 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54821 Set _x86_64_preferred_memory_instruction for AMD processsors.
54822 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54823 Set bit_Prefer_SSE_for_memop for AMD processors.
54824
13a804de
UD
548252011-03-04 Ulrich Drepper <drepper@gmail.com>
54826
54827 * libio/fmemopen.c (fmemopen): Optimize a bit.
54828
9d25c392
AS
548292011-03-03 Andreas Schwab <schwab@redhat.com>
54830
54831 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54832
a5543c6a
RM
548332011-03-03 Roland McGrath <roland@redhat.com>
54834
54835 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54836
012d35f7
DM
548372011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54838
7e4ba49c 54839 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54840 __bzero_ultra1 instead of __memset_ultra1.
54841
4bff6e01
AS
548422011-02-23 Andreas Schwab <schwab@redhat.com>
54843 Ulrich Drepper <drepper@gmail.com>
54844
54845 [BZ #12509]
54846 * include/link.h (struct link_map): Add l_orig_initfini.
54847 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54848 returning unsuccessfully.
54849 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54850 close of a file loaded at startup, restore the original l_initfini
54851 list.
54852 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54853 list, store the pointer.
54854 * elf/Makefile ($(objpfx)noload-mem): New rule.
54855 (noload-ENV): Define.
54856 (tests): Add $(objpfx)noload-mem.
54857 * elf/noload.c: Include <memcheck.h>.
54858 (main): Call mtrace. Close all opened handles.
54859
f2092faf
AS
548602011-02-17 Andreas Schwab <schwab@redhat.com>
54861
54862 [BZ #12454]
54863 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54864 dependencies are missing.
54865
6c8a2e88
ST
548662011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54867
f2092faf 54868 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54869 Hurd needs munmap.
54870 * sysdeps/mach/hurd/ifreq.h: New file.
54871
84a42118
PB
548722011-01-27 Petr Baudis <pasky@suse.cz>
54873 Ulrich Drepper <drepper@gmail.com>
54874
071f805e 54875 [BZ 12445]#
84a42118
PB
54876 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54877 to extend_alloca().
54878 * stdio-common/bug23.c: New file.
54879 * stdio-common/Makefile (tests): Add bug23.
54880
e23fe25b
AS
548812010-09-28 Andreas Schwab <schwab@redhat.com>
54882 Ulrich Drepper <drepper@gmail.com>
54883
54884 [BZ #12489]
54885 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54886 before performing relro protection. At old place add assertion
54887 to make sure nothing changed.
54888
d3f02e10
NS
548892011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54890 Glauber de Oliveira Costa <glommer@gmail.com>
54891
54892 * elf/elf.h: Add new ARM TLS relocs.
54893
d55fd7a5
RA
548942011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54895
54896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54897 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54898 cast from r3.
54899 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54900 'tests' variable.
54901 * sysdeps/wordsize-64/tst-writev.c: New file.
54902
2206397e
RA
549032011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54904
54905 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54906 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54907 insns in _dl_start to prevent a TOC reference before relocs are
54908 resolved.
54909
e9433893
UD
549102011-02-15 Ulrich Drepper <drepper@gmail.com>
54911
54912 [BZ #12469]
54913 * Makeconfig: Remove RANLIB definition.
54914 * Makerules: Don't use RANLIB.
54915 * aclocal.m4: Remove ranlib test.
54916 * configure.in: No need to check for ranlib.
54917 * elf/rtld-Rules: Don't use RANLIB.
54918
f75286c6
ST
549192011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54920
8e31c82d
ST
54921 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54922 protection macro.
54923 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54924 inclusion protection macro.
54925
f75286c6
ST
54926 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54927 SIGRTMIN and SIGRTMAX and print information in that case only when
54928 SIGRTMIN is defined.
54929
c1d0e639
JJ
549302011-02-11 Jakub Jelinek <jakub@redhat.com>
54931
54932 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54933 arginfo fn returning -1.
54934
54935 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54936 and thousands string is zero terminated.
54937
edf9294e
AS
549382011-02-03 Andreas Schwab <schwab@redhat.com>
54939
54940 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54941 sysdeps/unix/sysv/linux/bits/socket.h.
54942
2b7e92df
ST
549432011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54944
edf9294e
AS
54945 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54946 (__CPU_COUNT): Remove old macros.
54947 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54948 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54949 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54950 (__sched_cpualloc, __sched_cpufree): Add declarations.
54951
a4c7ea7b
UD
549522011-02-05 Ulrich Drepper <drepper@gmail.com>
54953
54954 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54955 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54956 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54957 (readdhstai): Return value of addhstaiX call.
54958 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54959 (addgrbyX): Return value returned by cache_addgr.
54960 (readdgrbyname): Return value returned by addgrbyX.
54961 (readdgrbygid): Likewise.
54962 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54963 (addpwbyX): Return value returned by cache_addpw.
54964 (readdpwbyname): Return value returned by addhstbyX.
54965 (readdpwbyuid): Likewise.
54966 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54967 (addservbyX): Return value returned by cache_addserv.
54968 (readdservbyname): Return value returned by addservbyX:
54969 (readdservbyport): Likewise.
54970 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54971 (addhstbyX): Return value returned by cache_addhst.
54972 (readdhstbyname): Return value returned by addhstbyX.
54973 (readdhstbyaddr): Likewise.
54974 (readdhstbynamev6): Likewise.
54975 (readdhstbyaddrv6): Likewise.
54976 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54977 (readdinitgroups): Return value returned by addinitgroupsX.
54978 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54979 (prune_cache): Keep track of timeout value of re-added entries.
54980 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54981 * nscd/nscd.h: Adjust prototypes of readd* functions.
54982
a0bf67cc
RM
549832011-02-04 Roland McGrath <roland@redhat.com>
54984
54985 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54986 (nis_stats): Likewise.
54987 * nis/nis_modify.c (nis_modify): Likewise.
54988 * nis/nis_remove.c (nis_remove): Likewise.
54989 * nis/nis_add.c (nis_add): Likewise.
54990
54991 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54992
54993 * posix/fnmatch_loop.c: Add some consts.
54994
54995 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54996
435b95eb
L
549972011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54998
54999 [BZ #12460]
55000 * config.make.in (config-cflags-novzeroupper): Define.
55001 * configure.in: Substitute libc_cv_cc_novzeroupper.
55002 * elf/Makefile (AVX-CFLAGS): Define.
55003 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55004 (CFLAGS-tst-auditmod4a.c): Likewise.
55005 (CFLAGS-tst-auditmod4b.c): Likewise.
55006 (CFLAGS-tst-auditmod6b.c): Likewise.
55007 (CFLAGS-tst-auditmod6c.c): Likewise.
55008 (CFLAGS-tst-auditmod7b.c): Likewise.
55009 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55010
8517b15e
UD
550112011-02-02 Ulrich Drepper <drepper@gmail.com>
55012
55013 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55014 function to the callback.
55015 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55016
10a656fe
AS
550172011-02-02 Andreas Schwab <schwab@redhat.com>
55018
55019 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55020 of errno.
55021
968dad0a
UD
550222011-01-19 Ulrich Drepper <drepper@gmail.com>
55023
9f94d2ea 55024 [BZ #11724]
968dad0a
UD
55025 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55026 of constructors.
55027 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55028 of destructors.
55029 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55030
55031 [BZ #11724]
55032 * elf/Makefile: Add rules to build and run new test.
55033 * elf/tst-initorder.c: New file.
55034 * elf/tst-initorder.exp: New file.
55035 * elf/tst-initordera1.c: New file.
55036 * elf/tst-initordera2.c: New file.
55037 * elf/tst-initordera3.c: New file.
55038 * elf/tst-initordera4.c: New file.
55039 * elf/tst-initorderb1.c: New file.
55040 * elf/tst-initorderb2.c: New file.
55041 * elf/tst-order-a1.c: New file.
55042 * elf/tst-order-a2.c: New file.
55043 * elf/tst-order-a3.c: New file.
55044 * elf/tst-order-a4.c: New file.
55045 * elf/tst-order-b1.c: New file.
55046 * elf/tst-order-b2.c: New file.
55047 * elf/tst-order-main.c: New file.
55048 New test case by George Gensure <werkt0@gmail.com>.
55049
86e92359
UD
550502010-10-01 Andreas Schwab <schwab@redhat.com>
55051
55052 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55053 decoding ACE if AI_CANONIDN.
55054
5d5732b0
UD
550552011-01-18 Ulrich Drepper <drepper@gmail.com>
55056
55057 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55058
a77e8cbc
UD
550592011-01-17 Ulrich Drepper <drepper@gmail.com>
55060
6392473f
UD
55061 * version.h (RELEASE): Bump for 2.13 release.
55062 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55063
620a0529
UD
55064 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55065
18ba70a5
UD
55066 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55067 MADV_NOHUGEPAGE.
32465c3e
UD
55068 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55069 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55070 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55071 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55072 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55073 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55074
c0dafcf1
UD
55075 * posix/getconf.c: Update copyright year.
55076 * catgets/gencat.c: Likewise.
55077 * csu/version.c: Likewise.
55078 * debug/catchsegv.sh: Likewise.
55079 * debug/xtrace.sh: Likewise.
55080 * elf/ldconfig.c: Likewise.
55081 * elf/ldd.bash.in: Likewise.
55082 * elf/sprof.c (print_version): Likewise.
55083 * iconv/iconv_prog.c: Likewise.
55084 * iconv/iconvconfig.c: Likewise.
55085 * locale/programs/locale.c: Likewise.
55086 * locale/programs/localedef.c: Likewise.
55087 * malloc/memusage.sh: Likewise.
55088 * malloc/mtrace.pl: Likewise.
55089 * nscd/nscd.c (print_version): Likewise.
55090 * nss/getent.c: Likewise.
55091
a77e8cbc
UD
55092 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55093 PF_CAIF, and PF_ALG.
55094 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55095
77e8bddf
AS
550962011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55097
1f20b93a
AS
55098 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55099 (modules-names): Use them.
55100 (ifunc-test-modules, ifunc-pie-tests): Define.
55101 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55102 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55103 (test-extras): Likewise.
55104 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55105 $(compile-command.c).
55106 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55107 (all-built-dso): Define.
55108 (check-textrel.out, check-execstack.out): Depend on it.
55109
77e8bddf
AS
55110 * configure.in: Don't override --enable-multi-arch.
55111
bc425b33
UD
551122011-01-15 Ulrich Drepper <drepper@gmail.com>
55113
55114 [BZ #6812]
55115 * nscd/hstcache.c (tryagain): Define.
55116 (cache_addhst): Return tryagain not notfound for temporary errors.
55117 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55118 failed.
55119
794c3ad3
UD
551202011-01-14 Ulrich Drepper <drepper@gmail.com>
55121
70181fdd
UD
55122 [BZ #10563]
55123 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55124 to make the syscall.
55125 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55126
794c3ad3
UD
55127 [BZ #12378]
55128 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55129 and fall back to matching as normal character if the string ends before
55130 the matching ']' is found. This is what POSIX requires.
55131 * posix/testfnm.c: Adjust test result.
55132 * posix/globtest.sh: Adjust test result. Add new test.
55133 * posix/tst-fnmatch.input: Likewise.
55134 * posix/tst-fnmatch2.c: Add new test.
55135
68dc9497
AS
551362010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55137
55138 * elf/Makefile (check-execstack): Revert last change. Depend on
55139 check-execstack.h.
55140 (check-execstack.h): New target.
55141 (generated): Add check-execstack.h.
55142 * elf/check-execstack.c: Include "check-execstack.h".
55143 (main): Revert last change.
55144 (handle_file): Return zero if GNU_STACK is absent and
55145 DEFAULT_STACK_PERMS doesn't include PF_X.
55146
451f001b
UD
551472011-01-13 Ulrich Drepper <drepper@gmail.com>
55148
cfa28e56
UD
55149 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55150 in child fails because the descriptor is already closed.
8cf8ce17
UD
55151 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55152 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55153 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55154
1086d70d
UD
55155 [BZ #12397]
55156 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55157 syscall.
55158
451f001b
UD
55159 [BZ #10484]
55160 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55161 temporary buffer used to handle multi lookups locally.
a85b5cb4 55162 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55163
08769175
UD
551642011-01-12 Ulrich Drepper <drepper@gmail.com>
55165
55166 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55167 loader is ld.so.
55168
5e49c52e
UD
551692011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55170
55171 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55172 alignment for SSE2.
55173
60522a5f
UD
551742011-01-12 Ulrich Drepper <drepper@gmail.com>
55175
55176 [BZ #12394]
55177 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55178 characters. When rounding increased number of integer digits recompute
55179 number of groups.
55180 * stdio-common/tst-grouping.c: New file.
55181 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55182
f257bbd7
UD
551832011-01-09 Ulrich Drepper <drepper@gmail.com>
55184
55185 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55186 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55187
55188 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55189 void.
55190 * bits/select.h: Likewise.
55191
fa9c15cb
UD
551922011-01-08 Ulrich Drepper <drepper@gmail.com>
55193
55194 * po/ja.po: Update from translation team.
55195
16c2895f
DM
551962011-01-04 David S. Miller <davem@sunset.davemloft.net>
55197
55198 [BZ #11155]
55199 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55200 implementation just like for lxstat, fxstatat, et al.
55201
2543fef2
JM
552022010-12-27 Jim Meyering <meyering@redhat.com>
55203
55204 [BZ #12348]
55205 * posix/regexec.c (build_trtable): Return failure indication upon
55206 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55207
98727dbe
UD
552082010-12-25 Ulrich Drepper <drepper@gmail.com>
55209
5bd6dc5c
UD
55210 [BZ #12201]
55211 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55212 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55213 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55214 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55215
97983464
UD
55216 [BZ #12207]
55217 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55218
98727dbe
UD
55219 [BZ #12204]
55220 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55221 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55222
4a531bb0
L
552232010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55224
55225 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55226 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55227 script has SORT_BY_INIT_PRIORITY.
55228 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55229 NO_CTORS_DTORS_SECTIONS is defined.
55230 * elf/soinit.c: Likewise.
55231 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55232 NO_CTORS_DTORS_SECTIONS is defined.
55233 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55234 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55235 * sysdeps/sh/init-first.c: Likewise.
55236 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55237
07eb4b71
UD
552382010-12-24 Ulrich Drepper <drepper@gmail.com>
55239
55240 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55241 always use the slow path.
55242
30950a5f
RA
552432010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55244
55245 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55246 similar rule which adds the sysdep directories to the header search in
55247 order to pick up the correct platform stackinfo.h.
55248 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55249 perform test if it is, otherwise return successfully without testing.
55250 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55251 DEFAULT_STACK_PERMS define in stackinfo.h.
55252 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55253 defined in stackinfo.h.
55254 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55255 DEFAULT_STACK_PERMS defined in stackinfo.h.
55256 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55257 * sysdeps/ia64/stackinfo.h: Likewise.
55258 * sysdeps/s390/stackinfo.h: Likewise.
55259 * sysdeps/sh/stackinfo.h: Likewise.
55260 * sysdeps/sparc/stackinfo.h: Likewise.
55261 * sysdeps/x86_64/stackinfo.h: Likewise.
55262 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55263 PF_X for powerpc64. Retain PF_X for powerpc32.
55264
db753e2c
UD
552652010-12-19 Ulrich Drepper <drepper@gmail.com>
55266
14b697f7
UD
55267 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55268 accurately.
db753e2c
UD
55269 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55270 GETDENTS_64BIT_ALIGNED.
55271
28300719
UD
552722010-12-14 Ulrich Drepper <dreper@gmail.com>
55273
14b697f7 55274 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55275
4f197237
AS
552762010-12-10 Andreas Schwab <schwab@redhat.com>
55277
dbb0472f
AS
55278 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55279 _GNU_SOURCE.
55280
4f197237
AS
55281 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55282 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55283 Remove __restrict.
55284 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55285 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55286
fb88ac72
UD
552872010-12-09 Ulrich Drepper <drepper@gmail.com>
55288
55289 [BZ #11655]
55290 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55291 are initialized.
55292
42acbb92
JJ
552932010-12-09 Jakub Jelinek <jakub@redhat.com>
55294
55295 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55296
c038d98d
UD
552972010-12-03 Ulrich Drepper <drepper@gmail.com>
55298
55299 * po/it.po: Update from translation team.
55300
3a4a2499
L
553012010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55302
55303 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55304 unused codes.
55305
1e24cf6e
UD
553062010-11-30 Ulrich Drepper <drepper@gmail.com>
55307
55308 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55309
a7690819
AS
553102010-11-24 Andreas Schwab <schwab@redhat.com>
55311
55312 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55313 specially.
55314 (gaih_getanswer_slice): Likewise.
55315
3bf8d1b1
JJ
553162010-10-20 Jakub Jelinek <jakub@redhat.com>
55317
55318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55319
6db52fbb
PB
553202010-05-31 Petr Baudis <pasky@suse.cz>
55321
55322 [BZ #11149]
55323 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55324 silently even in the chroot mode.
55325
eaca7569
UD
553262010-11-22 Ulrich Drepper <drepper@gmail.com>
55327
55328 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55329 last patch a bit. Pretty printing
55330
3056dcdb
UD
553312010-05-31 Petr Baudis <pasky@suse.cz>
55332
55333 [BZ #10085]
55334 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55335 initialization of skip_initgroups_dyn.
55336
cf7c9078
UD
553372010-11-19 Ulrich Drepper <drepper@gmail.com>
55338
55339 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55340 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55341
a1fb5e3e
UD
553422010-11-16 Ulrich Drepper <drepper@gmail.com>
55343
55344 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55345
3540d66b
AS
553462010-11-11 Andreas Schwab <schwab@redhat.com>
55347
55348 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55349 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55350 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55351 ($(objpfx)tst-fnmatch-mem): New rule.
55352 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55353 * posix/tst-fnmatch.c (main): Call mtrace.
55354
13b69574
L
553552010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55356
55357 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55358 Support Intel processor model 6 and model 0x2c.
55359
da93d214
LM
553602010-11-10 Luis Machado <luisgpm@br.ibm.com>
55361
55362 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55363 signed comparison.
55364
8ca52c6e
L
553652010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55366
55367 [BZ #12205]
55368 * string/test-strncasecmp.c (check_result): New function.
55369 (do_one_test): Use it.
55370 (check1): New function.
55371 (test_main): Use it.
55372 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55373 Support strcasecmp and strncasecmp.
55374
69da074d
UD
553752010-11-08 Ulrich Drepper <drepper@gmail.com>
55376
55377 [BZ #12194]
55378 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55379 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55380
ff02d528
L
553812010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55382
55383 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55384 IFUNC support.
55385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55386 memset-x86-64.
55387 * sysdeps/x86_64/multiarch/bzero.S: New file.
55388 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55389 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55390 * sysdeps/x86_64/multiarch/memset.S: New file.
55391 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55392 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55393 Set bit_Prefer_SSE_for_memop for Intel processors.
55394 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55395 Define.
55396 (index_Prefer_SSE_for_memop): Define.
55397 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55398
344d0b54
LM
553992010-11-04 Luis Machado <luisgpm@br.ibm.com>
55400
55401 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55402 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55403
c0dde15b
UD
554042010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55405
55406 [BZ #12191]
55407 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55408 (__x86_64_raw_data_cache_size_half): Likewise.
55409 (__x86_64_raw_shared_cache_size): Likewise.
55410 (__x86_64_raw_shared_cache_size_half): Likewise.
55411
55412 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55413 (__x86_64_raw_data_cache_size_half): Likewise.
55414 (__x86_64_raw_shared_cache_size): Likewise.
55415 (__x86_64_raw_shared_cache_size_half): Likewise.
55416 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55417 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55418 and __x86_64_raw_shared_cache_size_half. Round
55419 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55420 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55421 to multiple of 256 bytes.
55422
0e516e0e
MS
554232010-11-03 Ulrich Drepper <drepper@gmail.com>
55424
55425 [BZ #12167]
55426 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55427 of inacessible symlinks. Verify result of symlink before returning it.
55428 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55429 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55430
0e012e87
ER
554312010-10-28 Erich Ritz <erichritz@gmail.com>
55432
55433 * math/math.h (isinf): Fix typo in comment.
55434
de0ff7bc
UD
554352010-11-01 Ulrich Drepper <drepper@gmail.com>
55436
55437 * po/da.po: Update from translation team.
55438
fa41c84d
UD
554392010-10-26 Ulrich Drepper <drepper@gmail.com>
55440
55441 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55442 is added to the list.
55443
f0967738
AK
554442010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55445 Ulrich Drepper <drepper@gmail.com>
55446
55447 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55448 the global list here. Move code to...
55449 (_dl_add_to_namespace_list): ...here. New function.
55450 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55451 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55452 * elf/dl-load.c (lose): Don't remove the element from the list.
55453 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55454 (_dl_map_object): Likewise.
55455
554562010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55457
55458 [BZ #12159]
55459 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55460 into all bytes of SSE register.
55461 Patch by Richard Li <richardpku@gmail.com>.
55462
f0967738 554632010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55464
55465 [BZ #12140]
55466 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55467 perturbing.
55468
d0b9e94f
MB
554692010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55470
55471 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55472 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55473 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55474 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55476 submachine.
55477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55478
8e9f92e9
AS
554792010-10-22 Andreas Schwab <schwab@redhat.com>
55480
55481 * include/dlfcn.h (__RTLD_SECURE): Define.
55482 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55483 mode & __RTLD_SECURE instead.
55484 (open_path): Rename preloaded parameter to secure.
55485 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55486 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55487 * elf/dl-deps.c (openaux): Likewise.
55488 * elf/rtld.c (struct map_args): Remove is_preloaded.
55489 (map_doit): Don't use it.
55490 (dl_main): Likewise.
55491 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55492 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55493
bc96fbda
AS
554942010-09-09 Andreas Schwab <schwab@redhat.com>
55495
55496 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55497 (sysd-rules-targets): Remove duplicates.
55498 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55499 rtld-%.$o dependency.
55500
22cd1c9b
AS
555012010-10-18 Andreas Schwab <schwab@redhat.com>
55502
55503 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55504 _dl_map_object do it.
55505
18edac48
UD
555062010-10-19 Ulrich Drepper <drepper@gmail.com>
55507
55508 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55509 fast fma builtins, define the macros in the C99 standard.
55510 (FP_FAST_FMAF): Likewise.
55511 (FP_FAST_FMAL): Likewise.
55512 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55513
55514 * bits/mathdef.h: Update copyright year.
55515 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55516
d2050124
MM
555172010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55518
55519 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55520 builtins, define the macros in the C99 standard.
55521 (FP_FAST_FMAF): Likewise.
55522 (FP_FAST_FMAL): Likewise.
55523 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55524 multiply/add.
55525 (FP_FAST_FMAF): Likewise.
55526
475facd1
JJ
555272010-10-15 Jakub Jelinek <jakub@redhat.com>
55528
55529 [BZ #3268]
55530 * math/libm-test.inc (fma_test): Some new testcases.
55531 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55532 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55533 y and infinite z. Do multiplication by C already in long double.
55534 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55535 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55536 y and infinite z. Do bitwise or of inexact bit into u.d.
55537 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55538 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55539 * sysdeps/i386/fpu/s_fma.S: Removed.
55540 * sysdeps/i386/fpu/s_fmal.S: Removed.
55541
7c08a05c
JJ
555422010-10-16 Jakub Jelinek <jakub@redhat.com>
55543
55544 [BZ #3268]
55545 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55546 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55547 computation is not scheduled after fetestexcept. Fix value
55548 of minimum denormal long double.
55549
f3f7372d
JJ
555502010-10-14 Jakub Jelinek <jakub@redhat.com>
55551
55552 [BZ #3268]
55553 * math/libm-test.inc (fma_test): Add some more tests.
55554 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55555 correctly.
55556
14d43591
AS
555572010-10-15 Andreas Schwab <schwab@redhat.com>
55558
55559 * scripts/data/localplt-s390-linux-gnu.data: New file.
55560 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55561
5e908464
JJ
555622010-10-13 Jakub Jelinek <jakub@redhat.com>
55563
55564 [BZ #3268]
55565 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55566 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55567 instead of dbl-64.
55568 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55569 inlines.
55570 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55572 if one of x and y is very large and the other is subnormal.
55573 * sysdeps/s390/fpu/s_fmaf.c: New file.
55574 * sysdeps/s390/fpu/s_fma.c: New file.
55575 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55576 * sysdeps/powerpc/fpu/s_fma.S: New file.
55577 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55578 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55579 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55580
555812010-10-12 Jakub Jelinek <jakub@redhat.com>
55582
55583 [BZ #3268]
55584 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55585 fma tests.
55586 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55587 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55588 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55589 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55590 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55591 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55592 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55593
b833d51f
UD
555942010-10-12 Ulrich Drepper <drepper@redhat.com>
55595
55596 [BZ #12078]
55597 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55598 * posix/bug-regex31.input: Add test case.
55599
1751705d
UD
556002010-10-11 Ulrich Drepper <drepper@gmail.com>
55601
e9b9cbf5
UD
55602 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55603 * posix/bug-regex31.input: New file.
55604
55605 [BZ #12078]
55606 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55607 (parse_sub_exp): Fix last change, use postorder.
55608
ef06edbe
UD
55609 * posix/bug-regex31.c: New file.
55610 * posix/Makefile: Add rules to build and run bug-regex31.
55611
a129c80d
UD
55612 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55613
55614 [BZ #12078]
55615 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55616
b76b818e
UD
55617 [BZ #12108]
55618 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55619 to have entries in sys_siglist.
55620
1751705d
UD
55621 [BZ #12093]
55622 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55623 be NULL.
55624
9ff8d36f
JJ
556252010-10-07 Jakub Jelinek <jakub@redhat.com>
55626
55627 [BZ #3268]
55628 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55629 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55630 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55631 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55632 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55633 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55634 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55635 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55636 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55637 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55638 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55639 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55640 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55641 * math/ftestexcept.c (fetestexcept): Likewise.
55642 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55643 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55644 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55645 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55646 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55647 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55648 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55649
af325969
UD
556502010-10-11 Ulrich Drepper <drepper@gmail.com>
55651
c579b202 55652 [BZ #12107]
af325969
UD
55653 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55654 newline.
55655
67a67b95
UD
556562010-10-06 Ulrich Drepper <drepper@gmail.com>
55657
55658 * string/bug-strstr1.c: New file.
55659 * string/Makefile: Add rules to build and run bug-strstr1.
55660
5fb308bc
EB
556612010-10-05 Eric Blake <eblake@redhat.com>
55662
55663 [BZ #12092]
55664 * string/str-two-way.h (two_way_long_needle): Always clear memory
55665 when skipping input due to the shift table.
55666
45db99c7
UD
556672010-10-03 Ulrich Drepper <drepper@gmail.com>
55668
3b111893
UD
55669 [BZ #12005]
55670 * malloc/mcheck.c: Handle large requests.
55671
45db99c7
UD
55672 [BZ #12077]
55673 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55674 for strncmp and strncasecmp.
55675 * string/stratcliff.c: Add tests for strcmp and strncmp.
55676 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55677
cf7a1eb8
NI
556782010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55679
55680 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55681 __set_fpscr.
55682
6484ba5e
AJ
556832010-09-30 Andreas Jaeger <aj@suse.de>
55684
55685 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55686 (CGROUP_SUPER_MAGIC): Define.
55687 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55688 Handle btrfs and cgroup file systems.
55689 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55690 Likewise.
55691
91c42559
LM
556922010-09-27 Luis Machado <luisgpm@br.ibm.com>
55693
55694 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55695 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55696
87a97932
AK
556972010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55698
55699 [BZ #12067]
55700 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55701 trying to locate the ELF header.
55702
c21cc9bc
AS
557032010-09-27 Andreas Schwab <schwab@redhat.com>
55704
55705 [BZ #11611]
55706 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55707 Mask out sign-bit copies when constructing f_fsid.
55708
315970f6
PB
557092010-09-24 Petr Baudis <pasky@suse.cz>
55710
55711 * debug/stack_chk_fail_local.c: Add missing licence exception.
55712 * debug/warning-nop.c: Likewise.
55713
1ac7a2c7
JM
557142010-09-15 Joseph Myers <joseph@codesourcery.com>
55715
55716 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55717 implementing getdents64 using getdents syscall, set d_type if
55718 __ASSUME_GETDENTS32_D_TYPE.
55719
56801c50
AS
557202010-09-16 Andreas Schwab <schwab@redhat.com>
55721
55722 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55723 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55724
dda51327
UD
557252010-09-21 Ulrich Drepper <drepper@redhat.com>
55726
55727 [BZ #12037]
55728 * posix/unistd.h: Undo change of feature selection for ftruncate from
55729 2010-01-11.
55730
8ffcee4a
UD
557312010-09-20 Ulrich Drepper <drepper@redhat.com>
55732
a545ecd9 55733 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55734 detection.
55735
e24f0a8b
AS
557362010-09-20 Andreas Schwab <schwab@redhat.com>
55737
55738 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55739 fanotify_mark.
55740 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55741
7291c56f
AS
557422010-09-14 Andreas Schwab <schwab@redhat.com>
55743
55744 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55745 variables after CHECK_SP call.
55746 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55747
bc5fb037
AS
557482010-09-13 Andreas Schwab <schwab@redhat.com>
55749 Ulrich Drepper <drepper@redhat.com>
55750
55751 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55752 re-relocationg ld.so.
55753 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55754 _dl_init_paths call.
55755 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55756 here anymore.
55757
e66e7419
UD
557582010-09-14 Ulrich Drepper <drepper@redhat.com>
55759
55760 * resolv/res_init.c (__res_vinit): Count the default server we added.
55761
c044aa75
CLT
557622010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55763 Ulrich Drepper <drepper@redhat.com>
55764
55765 [BZ #11968]
55766 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55767 (____longjmp_chk): Use %ebx for saving value across system call.
55768 Add unwind info.
55769
32cf4069
AS
557702010-09-06 Andreas Schwab <schwab@redhat.com>
55771
55772 * manual/Makefile: Don't mix pattern rules with normal rules.
55773
817328ee
AS
557742010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55775
55776 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55777 operation.
55778 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55779 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55780 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55781 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55782 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55783 Likewise.
55784
29fddf61
UD
557852010-09-04 Ulrich Drepper <drepper@redhat.com>
55786
55787 [BZ #11979]
55788 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55789 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55790
0959ffc9
UD
557912010-09-02 Ulrich Drepper <drepper@redhat.com>
55792
55793 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55794 * sysdeps/x86_64/addmul_1.S: Likewise.
55795 * sysdeps/x86_64/lshift.S: Likewise.
55796 * sysdeps/x86_64/mul_1.S: Likewise.
55797 * sysdeps/x86_64/rshift.S: Likewise.
55798 * sysdeps/x86_64/sub_n.S: Likewise.
55799 * sysdeps/x86_64/submul_1.S: Likewise.
55800
ece29840
ST
558012010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55802
0959ffc9
UD
55803 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55804 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55805 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55806 * bits/sched.h [__need_schedparam]
ece29840 55807 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55808 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55809 (__defined_schedparam): Define to 1.
ece29840
ST
55810 (__sched_param): New structure, identical to sched_param.
55811 (__need_schedparam): Undefine.
55812
e53a31fe
MF
558132010-08-31 Mike Frysinger <vapier@gentoo.org>
55814
fdc0c10d
MF
55815 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55816 (epoll_create1): Declare.
55817
e53a31fe
MF
55818 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55819
a726d796
AS
558202010-08-31 Andreas Schwab <schwab@redhat.com>
55821
55822 [BZ #7066]
55823 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55824 shifting retval into place.
55825
2f3e3dc7
UD
558262010-09-01 Ulrich Drepper <drepper@redhat.com>
55827
f2933da9
UD
55828 * nis/rpcsvc/nis.h: Update copyright notice.
55829 * nis/rpcsvc/nis.x: Likewise.
55830 * nis/rpcsvc/nis_callback.h: Likewise.
55831 * nis/rpcsvc/nis_callback.x: Likewise.
55832 * nis/rpcsvc/nis_object.x: Likewise.
55833 * nis/rpcsvc/nis_tags.h: Likewise.
55834 * nis/rpcsvc/yp.h: Likewise.
55835 * nis/rpcsvc/yp.x: Likewise.
55836 * nis/rpcsvc/ypupd.h: Likewise.
55837 * nis/yp_xdr.c: Likewise.
55838 * nis/ypupdate_xdr.c: Likewise.
55839
2f3e3dc7
UD
55840 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55841 mainly the body of pmap_getport. Add parameters to specify timeouts.
55842 (pmap_getport): Use __libc_rpc_getport.
55843 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55844 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55845 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55846
f3dcc2f9
AS
558472010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55848
55849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55850 fanotify_mark.
55851
6d34eb5b
RM
558522010-08-27 Roland McGrath <roland@redhat.com>
55853
55854 * sysdeps/i386/i686/multiarch/Makefile
55855 (CFLAGS-varshift.c): New variable.
55856
9ea3de11
UD
558572010-08-27 Ulrich Drepper <drepper@redhat.com>
55858
c96d23fc
UD
55859 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55860 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55861
9ea3de11
UD
55862 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55863
55864 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55865
623aac7f
L
558662010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55867
55868 * sysdeps/x86_64/strlen.S: Unroll the loop.
55869 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55870 strlen-sse2 strlen-sse2-bsf.
55871 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55872 __strlen_no_bsf if bit_Slow_BSF is set.
55873 (__strlen_sse42): Removed.
55874 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55875 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55876
8b2b7715
RM
558772010-08-25 Roland McGrath <roland@redhat.com>
55878
55879 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55880 * sysdeps/x86_64/multiarch/varshift.c: New file.
55881 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55882 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55883 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55884 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55885
e73015f2
L
558862010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55887
55888 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55889 strlen-sse2 strlen-sse2-bsf.
55890 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55891 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55892 (__strlen_sse2): Removed.
55893 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55894 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55895 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55896 bit_Slow_BSF for Atom.
55897 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55898 (index_Slow_BSF): Define.
55899 (HAS_SLOW_BSF): Define.
55900
df24a73e
UD
559012010-08-25 Ulrich Drepper <drepper@redhat.com>
55902
55903 [BZ #10851]
55904 * resolv/res_init.c (__res_vinit): When no server address at all
55905 is given default to loopback.
55906
f2ac4868
RM
559072010-08-24 Roland McGrath <roland@redhat.com>
55908
09055553
RM
55909 * configure.in: Remove config-name.h generation.
55910 * configure: Regenerated.
55911 * config-name.in: File removed.
55912 * scripts/config-uname.sh: New file.
55913 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55914 ($(objdir)config-name.h): New target.
55915
f2ac4868
RM
55916 * sunrpc/rpc_parse.h: Avoid nested comment.
55917
73f27d5e
RH
559182010-08-24 Richard Henderson <rth@redhat.com>
55919 Ulrich Drepper <drepper@redhat.com>
55920 H.J. Lu <hongjiu.lu@intel.com>
55921
55922 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55923 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55924 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55925 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55926 _mm_alignr_epi8 with _mm_loadu_si128.
55927 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55928 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55929 (__m128i_shift_right): Removed.
55930 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55931 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55932 * sysdeps/x86_64/multiarch/varshift.h: New file.
55933 * sysdeps/x86_64/multiarch/varshift.S: New file.
55934
84b9230c
MF
559352010-08-21 Mike Frysinger <vapier@gentoo.org>
55936
55937 * configure.in: Move assembler checks to before sysdep dir checking.
55938
9bbd0ddc
PB
559392010-08-20 Petr Baudis <pasky@suse.cz>
55940
55941 * LICENSES: Sync the sunrpc license.
55942
9da4bb31
UD
559432010-08-19 Ulrich Drepper <drepper@redhat.com>
55944
a7ab6ec8
UD
55945 * sunrpc/auth_des.c: Update copyright notice once again.
55946 * sunrpc/auth_none.c: Likewise.
55947 * sunrpc/auth_unix.c: Likewise.
55948 * sunrpc/authdes_prot.c: Likewise.
55949 * sunrpc/authuxprot.c: Likewise.
55950 * sunrpc/bindrsvprt.c: Likewise.
55951 * sunrpc/clnt_gen.c: Likewise.
55952 * sunrpc/clnt_perr.c: Likewise.
55953 * sunrpc/clnt_raw.c: Likewise.
55954 * sunrpc/clnt_simp.c: Likewise.
55955 * sunrpc/clnt_tcp.c: Likewise.
55956 * sunrpc/clnt_udp.c: Likewise.
55957 * sunrpc/clnt_unix.c: Likewise.
55958 * sunrpc/des_crypt.c: Likewise.
55959 * sunrpc/des_soft.c: Likewise.
55960 * sunrpc/get_myaddr.c: Likewise.
55961 * sunrpc/getrpcport.c: Likewise.
55962 * sunrpc/key_call.c: Likewise.
55963 * sunrpc/key_prot.c: Likewise.
55964 * sunrpc/openchild.c: Likewise.
55965 * sunrpc/pm_getmaps.c: Likewise.
55966 * sunrpc/pm_getport.c: Likewise.
55967 * sunrpc/pmap_clnt.c: Likewise.
55968 * sunrpc/pmap_prot.c: Likewise.
55969 * sunrpc/pmap_prot2.c: Likewise.
55970 * sunrpc/pmap_rmt.c: Likewise.
55971 * sunrpc/rpc/auth.h: Likewise.
55972 * sunrpc/rpc/auth_unix.h: Likewise.
55973 * sunrpc/rpc/clnt.h: Likewise.
55974 * sunrpc/rpc/des_crypt.h: Likewise.
55975 * sunrpc/rpc/key_prot.h: Likewise.
55976 * sunrpc/rpc/netdb.h: Likewise.
55977 * sunrpc/rpc/pmap_clnt.h: Likewise.
55978 * sunrpc/rpc/pmap_prot.h: Likewise.
55979 * sunrpc/rpc/pmap_rmt.h: Likewise.
55980 * sunrpc/rpc/rpc.h: Likewise.
55981 * sunrpc/rpc/rpc_des.h: Likewise.
55982 * sunrpc/rpc/rpc_msg.h: Likewise.
55983 * sunrpc/rpc/svc.h: Likewise.
55984 * sunrpc/rpc/svc_auth.h: Likewise.
55985 * sunrpc/rpc/types.h: Likewise.
55986 * sunrpc/rpc/xdr.h: Likewise.
55987 * sunrpc/rpc_clntout.c: Likewise.
55988 * sunrpc/rpc_cmsg.c: Likewise.
55989 * sunrpc/rpc_common.c: Likewise.
55990 * sunrpc/rpc_cout.c: Likewise.
55991 * sunrpc/rpc_dtable.c: Likewise.
55992 * sunrpc/rpc_hout.c: Likewise.
55993 * sunrpc/rpc_main.c: Likewise.
55994 * sunrpc/rpc_parse.c: Likewise.
55995 * sunrpc/rpc_parse.h: Likewise.
55996 * sunrpc/rpc_prot.c: Likewise.
55997 * sunrpc/rpc_sample.c: Likewise.
55998 * sunrpc/rpc_scan.c: Likewise.
55999 * sunrpc/rpc_scan.h: Likewise.
56000 * sunrpc/rpc_svcout.c: Likewise.
56001 * sunrpc/rpc_tblout.c: Likewise.
56002 * sunrpc/rpc_util.c: Likewise.
56003 * sunrpc/rpc_util.h: Likewise.
56004 * sunrpc/rpcinfo.c: Likewise.
56005 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56006 * sunrpc/rpcsvc/key_prot.x: Likewise.
56007 * sunrpc/rpcsvc/klm_prot.x: Likewise.
56008 * sunrpc/rpcsvc/mount.x: Likewise.
56009 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56010 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56011 * sunrpc/rpcsvc/rex.x: Likewise.
56012 * sunrpc/rpcsvc/rstat.x: Likewise.
56013 * sunrpc/rpcsvc/rusers.x: Likewise.
56014 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56015 * sunrpc/rpcsvc/spray.x: Likewise.
56016 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56017 * sunrpc/rtime.c: Likewise.
56018 * sunrpc/svc.c: Likewise.
56019 * sunrpc/svc_auth.c: Likewise.
56020 * sunrpc/svc_authux.c: Likewise.
56021 * sunrpc/svc_raw.c: Likewise.
56022 * sunrpc/svc_run.c: Likewise.
56023 * sunrpc/svc_simple.c: Likewise.
56024 * sunrpc/svc_tcp.c: Likewise.
56025 * sunrpc/svc_udp.c: Likewise.
56026 * sunrpc/svc_unix.c: Likewise.
56027 * sunrpc/svcauth_des.c: Likewise.
56028 * sunrpc/xcrypt.c: Likewise.
56029 * sunrpc/xdr.c: Likewise.
56030 * sunrpc/xdr_array.c: Likewise.
56031 * sunrpc/xdr_float.c: Likewise.
56032 * sunrpc/xdr_mem.c: Likewise.
56033 * sunrpc/xdr_rec.c: Likewise.
56034 * sunrpc/xdr_ref.c: Likewise.
56035 * sunrpc/xdr_sizeof.c: Likewise.
56036 * sunrpc/xdr_stdio.c: Likewise.
56037
9da4bb31
UD
56038 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56039 handling.
56040
bdaa77bc
AS
560412010-08-19 Andreas Schwab <schwab@redhat.com>
56042
56043 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56044
fe2f79db
LM
560452010-08-19 Luis Machado <luisgpm@br.ibm.com>
56046
56047 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56048 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56049 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56050 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56051 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56052 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56053 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56054 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56055 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56056 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56057 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56058 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56059 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56060 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56061
b9b42ee0
AB
560622010-07-26 Anton Blanchard <anton@samba.org>
56063
56064 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56065 * malloc/arena.c (heap_trim): Likewise.
56066
1c06ba31
UD
560672010-08-16 Ulrich Drepper <drepper@redhat.com>
56068
56069 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56070 here. Not...
56071 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56072 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56073
f8392f40
L
560742010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56075
56076 * sysdeps/i386/elf/Makefile: New file.
56077
3162f12e
AS
560782010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56079
56080 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56081 from fanotify_init.
56082 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56083 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56084
28c90b2c
UD
560852010-08-15 Ulrich Drepper <drepper@redhat.com>
56086
56087 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56088 of strncasecmp_l.
1feccb6c 56089 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56090
ca6bb004
UD
560912010-08-14 Ulrich Drepper <drepper@redhat.com>
56092
e9f82e0d
UD
56093 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56094 strncase_l-nonascii.
56095 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56096 Add strncase_l-ssse3.
56097 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56098 * sysdeps/x86_64/strcmp.S: Likewise.
56099 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56100 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56101 * sysdeps/x86_64/strncase.S: New file.
56102 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56103 * sysdeps/x86_64/strncase_l.S: New file.
56104 * string/Makefile (strop-tests): Add strncasecmp.
56105 * string/test-strncasecmp.c: New file.
56106
56107 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56108 warning.
56109
ca6bb004
UD
56110 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56111 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56112
052fa7b3
AS
561132010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56114
56115 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56116
962dba78
UD
561172010-08-12 Ulrich Drepper <drepper@redhat.com>
56118
56119 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56120 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56121 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56122
bebff237
AM
561232010-05-01 Alan Modra <amodra@gmail.com>
56124
56125 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56126 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56127 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56128 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56129 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56130 tidying. Don't tail-call __sigjmp_save for static lib.
56131 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56132 save location.
56133 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56134 (CALL_MCOUNT): Add eh info, and nop after bl.
56135 (TAIL_CALL_SYSCALL_ERROR): New macro.
56136 (PSEUDO_RET): Use it.
56137 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56138 Correct save location of integer regs and cr.
56139 (_dl_profile_resolve): Correct cr save location. Delete nops
56140 after bl when SHARED. Reduce cfi size a little by better
56141 placement of cfi directives.
56142 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56143 make a stack frame. Instead use parm save area as a temp.
56144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56145 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56147 Don't make a stack frame for parent, use parm save area.
56148 Increase child stack frame to 112 bytes. Don't save unused reg,
56149 and adjust reg usage. Set up cfi on error recovery and
56150 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56152 (__makecontext): Add dummy nop after jump to exit.
56153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56154 Use correct parm save area and cr save, reduce stack frame.
56155 Correct cfi for possible PSEUDO_RET frame setup.
56156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56157 Branch to local label emitted by PSEUDO_RET rather than
56158 __syscall_error.
56159
02637374
AS
561602010-08-12 Andreas Schwab <schwab@redhat.com>
56161
56162 [BZ #11904]
56163 * locale/programs/locale.c (print_assignment): New function.
56164 (show_locale_vars): Use it.
56165
c3e2f19b
UD
561662010-08-11 Ulrich Drepper <drepper@redhat.com>
56167
3cdaa6ad
UD
56168 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56169 field.
56170 (struct statfs64): Likewise.
56171 (_STATFS_F_FLAGS): Define.
56172 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56173 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56174 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56175 (ST_VALID): Define locally.
56176 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56177 __statvfs_getflags, use the provided value.
56178 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56179 __ASSUME_STATFS_F_FLAGS.
56180
754f7da3
UD
56181 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56182
10b3bedc
UD
56183 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56184 Add sys/fanotify.h.
56185 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56186 fanotify_mask for GLIBC_2.13.
56187 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56188 fanotify_init and fanotify_mark.
56189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56190 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56191
c08fb0d7
UD
56192 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56193 Add prlimit.
56194 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56195 prlimit64 for GLIBC_2.13.
56196 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56197 prlimit64.
56198 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56199 syscall.
56200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56201 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56202 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56203 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56204 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56205 add prlimit alias.
56206 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56207
15bac72b
UD
56208 [BZ #11903]
56209 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56210 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56211
c3e2f19b
UD
56212 * nss/Makefile: Add rules to build and run tst-nss-test1.
56213 * shlib-versions: Add entry for libnss_test1.
56214 * nss/nss_test1.c: New file.
56215 * nss/tst-nss-test1.c: New file.
56216
56217 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56218 (__nss_configure_lookup): Set appropriate entry in
56219 __nss_configure_lookup to true.
56220 * nss/nsswitch.h: Define enum with indeces of databases in
56221 databases and __nss_database_custom arrays. Declare
56222 __nss_database_custom.
56223 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56224 to avoid using nscd when custom rules are installed.
56225 * nss/getXXbyYY_r.c: Likewise.
56226 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56227
56228 * nss/nss_files/files-parse.c: Whitespace fixes.
56229
f15ce4d8
UD
562302010-08-09 Ulrich Drepper <drepper@redhat.com>
56231
56232 [BZ #11883]
56233 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56234 * posix/fnmatch_loop.c: Likewise.
56235
d22e4cc9
AK
562362010-07-17 Andi Kleen <ak@linux.intel.com>
56237
56238 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56239 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56240 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56241 * Versions.def [GLIBC_2.13]: Add.
56242
805bc17d
UD
562432010-08-06 Ulrich Drepper <drepper@redhat.com>
56244
56245 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56246 Also fail if tpwd after pwuid call is NULL.
56247
5a42321d
ST
562482010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56249
56250 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56251 when converting to ms.
56252
fd3ebeda
ST
562532010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56254
56255 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56256 EOPNOTSUPP errors with ENOTTY.
56257 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56258 EOPNOTSUPP errors with ENOTTY.
56259
73507d3a
UD
562602010-07-31 Ulrich Drepper <drepper@redhat.com>
56261
56262 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56263 Add strcasecmp_l-ssse3.
56264 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56265 strcasecmp.
56266 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56267 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56268 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56269
fe36dd02
UD
562702010-07-30 Ulrich Drepper <drepper@redhat.com>
56271
66f6765a
UD
56272 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56273
42e08a54
UD
56274 * string/Makefile (strop-tests): Add strcasecmp.
56275 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56276 strcasecmp_l-nonascii.
56277 (gen-as-const-headers): Add locale-defines.sym.
56278 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56279 * sysdeps/x86_64/strcasecmp.S: New file.
56280 * sysdeps/x86_64/strcasecmp_l.S: New file.
56281 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56282 * sysdeps/x86_64/locale-defines.sym: New file.
56283 * string/test-strcasecmp.c: New file.
56284
fe36dd02
UD
56285 * string/test-strcasestr.c: Test both ends of the range of characters.
56286 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56287
48cbc0d6
RM
562882010-07-29 Roland McGrath <roland@redhat.com>
56289
76e6d6bc 56290 [BZ #11856]
48cbc0d6
RM
56291 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56292
880113d9
UD
562932010-07-27 Ulrich Drepper <drepper@redhat.com>
56294
56295 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56296 for ld.so.
56297
deb9cabb
AS
562982010-07-27 Andreas Schwab <schwab@redhat.com>
56299
56300 * manual/memory.texi (Malloc Tunable Parameters): Document
56301 M_PERTURB.
56302
1c7570ff
RM
563032010-07-26 Roland McGrath <roland@redhat.com>
56304
56305 [BZ #11840]
56306 * configure.in (-fgnu89-inline check): Set and substitute
56307 gnu89_inline, not libc_cv_gnu89_inline.
56308 * configure: Regenerated.
56309 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56310
24fb0f88
UD
563112010-07-26 Ulrich Drepper <drepper@redhat.com>
56312
56313 * string/test-strnlen.c: New file.
56314 * string/Makefile (strop-tests): Add strnlen.
56315 * string/tester.c (test_strnlen): Add a few more test cases.
56316 * string/tst-strlen.c: Better error reporting.
56317
56318 * sysdeps/x86_64/strnlen.S: New file.
56319
8e96b93a
UD
563202010-07-24 Ulrich Drepper <drepper@redhat.com>
56321
56322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56323 lower-latency instructions.
56324
dbc676d4
UD
563252010-07-23 Ulrich Drepper <drepper@redhat.com>
56326
56327 * string/test-strcasestr.c: New file.
56328 * string/test-strstr.c: New file.
56329 * string/Makefile (strop-tests): Add strstr and strcasestr.
56330 * string/str-two-way.h: Don't undefine MAX.
56331 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56332
f6a31e0e
AS
563332010-07-21 Andreas Schwab <schwab@redhat.com>
56334
56335 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56336 strcasestr-nonascii.
56337 (CFLAGS-strcasestr-nonascii.c): Define.
56338 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56339 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56340 Remove unused attribute.
56341
5dbc3b6c
RM
563422010-07-20 Roland McGrath <roland@redhat.com>
56343
56344 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56345 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56346 ld.so.cache was broken. With it, there is no way to disable dsocaps
56347 like LD_HWCAP_MASK can disable hwcaps.
56348
23d101d8
EPM
563492010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56350
56351 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56352
cc9f2e47
UD
563532010-07-16 Ulrich Drepper <drepper@redhat.com>
56354
56355 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56356 call in strcasestr.
56357 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56358 __strcasestr_sse42_nonascii.
56359 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56360 strcasestr-nonascii.c.
56361 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56362
77c1b069
LM
563632010-06-15 Luis Machado <luisgpm@br.ibm.com>
56364
56365 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56366 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56367 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56368 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56369
440566c3
UD
563702010-07-09 Ulrich Drepper <drepper@redhat.com>
56371
56372 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56373 fcntl.
56374
5be9d05d
AS
563752010-07-06 Andreas Schwab <schwab@redhat.com>
56376
c30b7ee2 56377 [BZ #11577]
5be9d05d
AS
56378 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56379 dl_signal_cerror.
56380
8a492a67
UD
563812010-07-06 Ulrich Drepper <drepper@redhat.com>
56382
56383 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56384 _PC_PIPE_BUF using F_GETPIPE_SZ.
56385
713df3d5
RM
563862010-07-05 Roland McGrath <roland@redhat.com>
56387
56388 * manual/arith.texi (Rounding Functions): Fix rint description
56389 implicit in round description.
56390
702e8f14
UD
563912010-07-02 Ulrich Drepper <drepper@redhat.com>
56392
56393 * elf/Makefile: Fix linking for a few tests to make recent linker
56394 happy.
56395
52ed8be9
AS
563962010-06-30 Andreas Schwab <schwab@redhat.com>
56397
56398 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56399 $(common-objpfx)libc_nonshared.a.
56400
f47c9a11
LM
564012010-06-21 Luis Machado <luisgpm@br.ibm.com>
56402
56403 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56404 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56405 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56406 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56407 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56408 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56409 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56410 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56425 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56426 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56427 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56428 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56429 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56430 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56431 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56432 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56433 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56434 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56435 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56436 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56437 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56451
6fb8cbcb
L
564522010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56453
56454 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56455 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56456 * string/memmove.c (memmove): Renamed to ...
56457 (MEMMOVE): ...this. Default to memmove.
56458 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56459 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56460 (END_CHK): Define.
56461 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56462 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56463 mempcpy-ssse3-back memmove-ssse3-back.
56464 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56465 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56466 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56467 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56468 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56469 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56470 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56471 * sysdeps/x86_64/multiarch/memmove.c: New file.
56472 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56473 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56474 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56475 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56476 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56477 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56478 Define.
56479 (index_Fast_Copy_Backward): Define.
56480 (HAS_ARCH_FEATURE): Define.
56481 (HAS_FAST_REP_STRING): Define.
56482 (HAS_FAST_COPY_BACKWARD): Define.
56483
4e733bac 564842010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56485
56486 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56487 Restore proper fallback handling.
56488
63c4ed22
UD
564892010-06-19 Ulrich Drepper <drepper@redhat.com>
56490
ac2b484c
UD
56491 [BZ #11701]
56492 * posix/group_member.c (__group_member): Correct checking loop.
56493
63c4ed22
UD
56494 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56495 OOM in getpwuid_r correctly. Return error number when the caller
56496 should return, otherwise -1.
56497 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56498 call returning > 0 value.
56499 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56500
765ade4b
AS
565012010-06-07 Andreas Schwab <schwab@redhat.com>
56502
56503 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56504 libc_nonshared.a from targets in modules-names.
56505
80da2e09
KS
565062010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56507
56508 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56509 requires it.
56510
158db122
LM
565112010-06-10 Luis Machado <luisgpm@br.ibm.com>
56512
56513 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56514 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56515 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56516 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56517
caa78cf8
AS
565182010-06-02 Andreas Schwab <schwab@redhat.com>
56519
56520 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56521
b2ef2c01
UD
565222010-06-14 Ulrich Drepper <drepper@redhat.com>
56523
56524 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56525 and F_GETPIPE_SZ.
56526 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56527 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56528 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56529 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56530 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56531 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56532
fbd643b6
RM
565332010-06-14 Roland McGrath <roland@redhat.com>
56534
56535 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56536
f32f2869
JJ
565372010-06-07 Jakub Jelinek <jakub@redhat.com>
56538
56539 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56540 __REDIRECT followed by __THROW.
56541 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56542 * posix/getopt.h (getopt): Likewise.
56543
2a50c078
EPM
565442010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56545
56546 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56547 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56548 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56549 in AT_FLAGS.
56550 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56551 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56552
eb5ad2eb
LM
565532010-05-28 Luis Machado <luisgpm@br.ibm.com>
56554
56555 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56556
3c88fe1e
L
565572010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56558
56559 [BZ #11640]
56560 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56561 Properly check family and model.
56562
d2f73151
TY
565632010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56564
56565 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56566
ebd2e13d
LM
565672010-05-24 Luis Machado <luisgpm@br.ibm.com>
56568
56569 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56570
b32b8b45
UD
565712010-05-21 Ulrich Drepper <drepper@redhat.com>
56572
56573 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56574 symbol reference.
56575
9acbe24d
AS
565762010-05-19 Andreas Schwab <schwab@redhat.com>
56577
56578 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56579 symbol reference.
56580
f0ccf6ea
AS
565812010-05-21 Andreas Schwab <schwab@redhat.com>
56582
3d04ff3a
AS
56583 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56584 and internal_recvmmsg.
56585 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56586 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56587 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56588 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56589
f0ccf6ea
AS
56590 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56591 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56592 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56593
5b08ac57
AS
565942010-05-20 Andreas Schwab <schwab@redhat.com>
56595
56596 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56597
4828935d
LM
565982010-05-17 Luis Machado <luisgpm@br.ibm.com>
56599
56600 POWER7 optimizations.
56601 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56602 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56603
373d545e
UD
566042010-05-19 Ulrich Drepper <drepper@redhat.com>
56605
56606 * version.h: Update for 2.13 development version.
56607
21a2b1ae
AS
566082010-05-12 Andrew Stubbs <ams@codesourcery.com>
56609
56610 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56611 exceptions. Return 0.
56612
3f7dcb2b
RM
566132010-05-07 Roland McGrath <roland@redhat.com>
56614
56615 * elf/ldconfig.c (main): Add a const.
56616
5f24d53a 566172010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56618
a160f8d8
UD
56619 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56620 (args_options): Add no-idn option.
56621 (ahosts_keys_int): Add idn_flags to ai_flags.
56622 (parse_option): Handle 'i' option to clear idn_flags.
56623
5f24d53a
UD
56624 * malloc/malloc.c (_int_free): Possible race in the most recently
56625 added check. Only act on the data if no current modification
56626 happened.
265bb1ce
UD
56627
56628See ChangeLog.17 for earlier changes.