]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Another pointless update in README.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
d35273f2
LH
12015-02-11 Leonhard Holz <leonhard.holz@web.de>
2
3 * string/strxfrm_l.c: Remove #define STRCMP.
4 * string/strcoll_l.c: Remove #define STRLEN.
5 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
6 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
7
306bc0d1
JM
82015-02-10 Joseph Myers <joseph@codesourcery.com>
9
10 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
11 * sysdeps/mips/mips32/sfp-machine.h: ... here.
12 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
13 * sysdeps/mips/mips64/Makefile: ... here.
14 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
15 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
16 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
17 * sysdeps/mips/mips64/sfp-machine.h: ... here.
18 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
19 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
20 * sysdeps/mips/mips64/n64/Implies: Likewise.
21
92b67e8d
RM
222015-02-10 Roland McGrath <roland@hack.frob.com>
23
24 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25 <sys/time.h>, <string.h>, and <errno.h>.
26 (dest_offset, dest_address, value, zero): Remove unused variables.
27 (ldouble): Remove typedef.
28 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
30 1). Fix code style.
31 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
32 (check): Function removed.
33 (CHECK): New macro.
34 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
35 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36 Don't call set_sigaction_FP and remove_sigaction_FP here.
37 (ldouble_test): Just use 'long double' as macro argument, no need for
38 the 'ldouble' typedef.
39 (do_test): Set up SIGFPE handler at start, using plain signal rather
40 than sigaction. Fix code style.
41
132a1328
EF
422015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
43
44 [BZ #17949]
45 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
46 jump label.
47
3001e54c
AZ
482015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
49
bc0cdc49
AZ
50 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
51 * sysdeps/powerpc/powerpc32/configure: Regenerated.
52
83658961
AZ
53 * sysdeps/powerpc/configure.ac: Remove file.
54 * sysdeps/powerpc/configure: Likewise.
55
10169938
AZ
56 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
57 [sysdep_routines]: Remove wordcopy-power6 object.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
59 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
60 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
61 (__memmove_ppc32): Likewise.
62 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
63 file.
64 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
65 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
66 Remove preprocessor.
67
8548a53d
AZ
68 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
69 [sysdep_routines]: Remove wide chars objects.
70 [wcsmbs]: New rule for wide char objects.
71
b2692114
AZ
72 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
73 Remove wordcopy-power6 obejct.
74 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
75 Use local call for wordcopy and memcpy symbols.
76 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
77 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
78 implementation for loader.
79 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
80
18e270aa
AZ
81 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
82 Remove wordcopy-power7 object.
83 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
84 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
85 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
86 (_wordcopy_fwd_dest_aligned): Likewise.
87 (_wordcopy_bwd_aligned): Likewise.
88 (_wordcopy_bwd_dest_aligned): Likewise.
89
6f0993a6
AZ
90 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
91 Rewrite to call __memmove_ppc instead of include default
92 implementation.
93
3001e54c
AZ
94 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
95 Remove wide chars objects.
96 [wcsmbs]: New rule for wide char objects.
97
59b61c82
AS
982015-02-09 Andreas Schwab <schwab@suse.de>
99
100 [BZ #17912]
101 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
102 in terms of __O_DIRECTORY.
103
ebd7aede
ST
1042015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
105
106 * time/getdate.c: Include <stdbool.h>.
28b06757
ST
107 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
108 call PTR_MANGLE.
109 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
110 PTR_DEMANGLE.
ebd7aede 111
3999d26e
PE
1122015-02-07 Paul Eggert <eggert@cs.ucla.edu>
113
114 Add ersatz _Static_assert on older C hosts
115 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
116 pre-C11 C platform that is not known to support _Static_assert.
117
e9a5bc1c
ST
1182015-02-07 Richard Braun <rbraun@sceen.net>
119
120 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
121 sigstate.
e86c5b64 122 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
e9a5bc1c 123
e2049d17
ST
1242015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
125
126 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
127 priority against unexistent AIO_PRIO_DELTA_MAX.
5d2556c4
ST
128 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
129 instead of int.
130 * misc/fchflags.c (fchflags): Likewise.
131 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
132 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
133 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
134 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
135 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
136 Declare macros.
137 [__USE_MISC] (chflags, fchflags): Declare functions.
d5131d3c
ST
138 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
139 EINVAL when nfds is greater than FD_SETSIZE.
bd959902
ST
140 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
141 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
142 45.
a9a002fb
ST
143 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
144 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
c187253f
ST
145 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
146 MACH_RCV_TIMED_OUT.
f96ec27a
ST
147 * hurd/hurd/signal.h (_hurd_self_sigstate,
148 _hurd_critical_section_lock, _hurd_critical_section_unlock):
149 Explicit casts from void *.
4fc81a77 150 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
ae20c9a1 151 * abi-tags: Rename gnu-gnu os into gnu.
e2049d17 152
f05826f0
ST
153 [BZ #4719]
154 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
155 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
156 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
157 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
158 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
159 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
160
a5eb23de
ST
161 [BZ #17944]
162 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
163 duplicates ADDR->sun_path with sockaddr LEN limitation.
164 * sysdeps/mach/hurd/connect.c: Include <string.h>
165 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
166 * sysdeps/mach/hurd/sendmsg.c: Likewise.
167 * sysdeps/mach/hurd/sendto.c: Likewise.
168 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
169 implementing it by hand.
170
ac9e0e5e
RM
1712015-02-06 Roland McGrath <roland@hack.frob.com>
172
f8d1bb4c
RM
173 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
174 Use sfi_breg on ldr.
175 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
176 Likewise.
177
022f4812
RM
178 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
179 it's defined.
180 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
181 Test SIGSETXID only if it's defined.
182
1ac074e6
RM
183 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
184
f50ad78b
RM
185 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
186 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
187
9e7265f4
RM
188 * nptl/tst-align2.c: Moved ...
189 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
190 * nptl/Makefile (tests): Remove tst-align2.
191 * sysdeps/unix/sysv/linux/Makefile
192 [$(subdir) = nptl] (tests): Add tst-align-clone.
193 * nptl/tst-getpid1.c: Moved ...
194 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
195 * nptl/tst-getpid2.c: Moved ...
196 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
197 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
198 * sysdeps/unix/sysv/linux/Makefile
199 [$(subdir) = nptl] (tests): ... here.
200 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
201 * sysdeps/unix/sysv/linux/Makefile
202 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
203
62ad2abc
RM
204 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
205 Drop trailing \n from perror argument. Use return rather than exit.
206
cfa69b0b
RM
207 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
208 on [SA_SIGINFO].
209 * nptl/tst-cancel21.c (do_test): Likewise.
210 * debug/tst-backtrace6.c: Include <signal.h> first thing.
211 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
212 [!SA_SIGINFO]: Make it a stub test.
213
82727806
RM
214 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
215 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
216
da3a1594
RM
217 * posix/tst-getlogin.c: Move to ...
218 * login/tst-getlogin.c: ... here.
219 * posix/Makefile (tests): Move tst-getlogin to ...
220 * login/Makefile (tests): ... here.
221
b65c0ff9
RM
222 * libio/tst-atime.c (do_test): Move local variables SV and E
223 inside [ST_NOATIME] conditional.
224
56606ab3
RM
225 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
226
ebf7d6ee
RM
227 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
228
ca0e0675
RM
229 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
230 (wait_code): New function replaces macro.
231 Call nanosleep rather than syscall.
232
8c28bbc6
RM
233 * nptl/pt-system.c: Rewritten. Put everything under
234 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
235 Use IFUNC to redirect when possible.
236
ec2a88b3
RM
237 * nptl/pt-longjmp.c: Rewritten. Put everything under
238 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
239 Use IFUNC to redirect when possible.
240
beff1d13
RM
241 * nptl/pt-fork.c: Rewritten. Put everything under
242 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
243 Use IFUNC to redirect when possible.
244 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
245
ea02c6b8
RM
246 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
247 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
248 unconditionally nowadays. This included the only reference to
249 __vdso_clock_gettime that appears outside libc proper.
250 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
251 Remove version set (containing only __vdso_clock_gettime).
252 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
253 Add attribute_hidden.
254 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
255 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
256 libc_hidden_data_def.
257 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
258 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
259
a1309c2b
RM
260 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
261 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
262 setrpcent, and getrpcport to ...
263 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
264 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
265 getrpcbynumber_r, and getrpcent_r to ...
266 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
267 * inet/getrpcbyname.c: Moved ...
268 * sunrpc/getrpcbyname.c: ... here.
269 * inet/getrpcbyname_r.c: Moved ...
270 * sunrpc/getrpcbyname_r.c: ... here.
271 * inet/getrpcbynumber.c: Moved ...
272 * sunrpc/getrpcbynumber.c: ... here.
273 * inet/getrpcbynumber_r.c: Moved ...
274 * sunrpc/getrpcbynumber_r.c: ... here.
275 * inet/getrpcent.c: Moved ...
276 * sunrpc/getrpcent.c: ... here.
277 * inet/getrpcent_r.c: Moved ...
278 * sunrpc/getrpcent_r.c: ... here.
279 * inet/Makefile (routines): Move those to ...
280 * sunrpc/Makefile (routines): ... here.
281 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
282 the $(subdirs) list.
283 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
284 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
285 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
286 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
287
ac9e0e5e
RM
288 * elf/Makefile (routines): Include $(all-dl-routines), not just
289 $(dl-routines).
290 (rtld-routines): Likewise. Use = rather than :=.
291 * sysdeps/aarch64/Makefile [$(subdir) = elf]
292 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
293 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
294 * sysdeps/arm/Makefile: Likewise.
295 * sysdeps/i386/Makefile: Likewise.
296 * sysdeps/x86_64/Makefile: Likewise.
297 * sysdeps/hppa/Makefile [$(subdir) = elf]
298 (sysdep_routines, sysdep-rtld-routines): Don't add
299 $(sysdep-dl-routines) to these.
300 * sysdeps/ia64/Makefile: Likewise.
301 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
302 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
303 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
304 Don't add dl-static to these; sysdep-dl-routines alone is enough.
305 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
306 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
308 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
309 * sysdeps/powerpc/Makefile [$(subdir) = elf]
310 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
311 these; sysdep-dl-routines alone is enough.
312
639e42eb
JM
3132015-02-06 Joseph Myers <joseph@codesourcery.com>
314
1c7a4a51
JM
315 [BZ #17932]
316 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
317 where multiplication results in zero and third argument is finite
318 and nonzero.
319 * math/auto-libm-test-in: Add more tests of fma.
320 * math/auto-libm-test-out: Regenerated.
321
61f006c1
JM
322 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
323 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
324 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
325 (_FP_CMP_EQ): Likewise.
326 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
327
639e42eb
JM
328 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
329 extra argument CHECK_NAN. Redefine as wrapper around
330 _FP_EXTEND_CNAN.
331
3c0c543b
CD
3322015-02-06 Carlos O'Donell <carlos@systemhalted.org>
333
4e42b5b8
CD
334 * version.h (RELEASE): Set to "stable".
335 (VERSION): Set to "2.21"
336 * include/features.h (__GLIBC_MINOR__): Set to 21.
337
3c0c543b
CD
338 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
339
5bd80bfe 3402015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
76c109f2 341 Paul Eggert <eggert@cs.ucla.edu>
5bd80bfe
PP
342
343 [BZ #16618]
344 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
345 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
346 size in bytes. Store needed elements in wpmax. Use needed size
347 in bytes for extend_alloca.
348
3f823f48
CD
3492015-02-05 Carlos O'Donell <carlos@systemhalted.org>
350
04cb913d
CD
351 * manual/install.texi: Latest tested versions are GCC 4.9.2,
352 binutls 2.25, and texinfo 5.2.
353 * INSTALL: Regenerate.
354 * sysdeps/nios2/configure: Regenerate.
355 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
356 * manual/contrib.texi: Update.
357 * po/be.po: Update.
358 * po/bg.po: Update.
359 * po/ca.po: Update.
360 * po/cs.po: Update.
361 * po/da.po: Update.
362 * po/de.po: Update.
363 * po/el.po: Update.
364 * po/eo.po: Update.
365 * po/es.po: Update.
366 * po/fi.po: Update.
367 * po/fr.po: Update.
368 * po/gl.po: Update.
369 * po/hr.po: Update.
370 * po/hu.po: Update.
371 * po/ia.po: Update.
372 * po/id.po: Update.
373 * po/it.po: Update.
374 * po/ja.po: Update.
375 * po/ko.po: Update.
376 * po/lt.po: Update.
377 * po/nb.po: Update.
378 * po/nl.po: Update.
379 * po/pl.po: Update.
380 * po/pt_BR.po: Update.
381 * po/ru.po: Update.
382 * po/rw.po: Update.
383 * po/sk.po: Update.
384 * po/sl.po: Update.
385 * po/sv.po: Update.
386 * po/tr.po: Update.
387 * po/uk.po: Update.
388 * po/vi.po: Update.
389 * po/zh_CN.po: Update.
390 * po/zh_TW.po: Update.
391
3f823f48
CD
392 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
393 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
394 * sysdeps/hppa/dl-irel.h: Remove #warning.
395 * sysdeps/hppa/entry.h: Provide prototype for
396 __canonicalize_funcptr_for_compare and cast argument.
397 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
398 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
399 * sysdeps/hppa/sotruss-lib.c: New file.
400 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
401 (atomic_compare_and_exchange_val_acq): Use __typeof__.
402 (atomic_compare_and_exchange_bool_acq): Likewise.
403 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
404 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
405
406 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
407 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
408 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
409
34c56048
CLT
4102015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
411
412 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
413 called function in non-PIC case.
414
d4abeca5
DM
4152015-01-31 David S. Miller <davem@davemloft.net>
416
edac0a60
DM
417 * sysdeps/sparc/sparc32/bits/atomic.h
418 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
419 unlock not after it.
420 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
421 volatile register usage warnings from the compiler.
422
d4abeca5
DM
423 * sysdeps/sparc/nptl/sem_init.c: Delete.
424 * sysdeps/sparc/nptl/sem_post.c: Delete.
425 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
426 * sysdeps/sparc/nptl/sem_wait.c: Delete.
427 * sysdeps/sparc/sparc32/sem_init.c: New file.
428 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
429 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
430 padding explicitly initialized.
431 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
432 padding for in-semaphore spinlock.
433 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
434 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
435 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
436 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
437 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
438 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
439 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
440 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
441 version.
442 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
443 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
444
5f3d0b78
L
4452015-01-30 H.J. Lu <hongjiu.lu@intel.com>
446
447 [BZ #17801]
448 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
449 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
450 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
451 New.
452 (index_AVX_Fast_Unaligned_Load): Likewise.
453 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
454 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
455 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
456 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
457 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
458 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
459 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
460 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
461 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
462
b658fdd8
AS
4632015-01-29 Andreas Schwab <schwab@suse.de>
464
465 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
466
3cb26316
SP
4672015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
468
469 [BZ #17892]
470 * nscd/nscd_stat.c (send_stats): Initialize DATA.
471
527de9e4
MS
4722015-01-28 Martin Sebor <msebor@redhat.com>
473
474 * math/README.libm-test: Clarify. Add "How to read the test output."
475
06991eb8
CM
4762015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
477
478 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
479 Define to 0.
480
df341342
JM
4812015-01-28 Joseph Myers <joseph@codesourcery.com>
482
483 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
484 (__HAVE_64B_ATOMICS): Define to 0.
485
08cee2a4
AZ
4862015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
487
d4d0ecb2
AZ
488 [BZ #17885]
489 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
490 value to set as new flag.
491
08cee2a4
AZ
492 [BZ #16576]
493 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
494 and use _ARCH_PPCSQ instead.
495 (__ieee754_sqrt): Likewise.
496 (__ieee754_sqrtf): Likewise.
497 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
498 _ARCH_PPCSQ is defined.
499 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
500 fsqrt instruction.
501 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
502 _ARCH_PPCSQ is defined.
503 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
504 fsqrts instruction.
505 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
506
5fe8e359
AK
5072015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
508
509 * iconv/loop.c: Suppress array out of bound warning caused by GCC
510 bug (GCC BZ #64739).
511
24bb7432
AS
5122015-01-25 Andreas Schwab <schwab@linux-m68k.org>
513
fa20da31
AS
514 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
515 Mark _retval as used.
516 (lll_futex_wake_unlock): Likewise.
517 (lll_futex_timed_wait_requeue_pi): Likewise.
518
45819cbc
AS
519 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
520 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
521 register variables.
522
403cc231
AS
523 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
524 libm_hidden_def.
525
24bb7432
AS
526 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
527 (__bswap_64): Mark as __always_inline.
528
9317ea65
B
5292015-01-25 Bram <bug_rh@spam.wizbit.be>
530
531 [BZ #15378]
532 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
533 when none of the search directories exist.
534
0e87343e
AZ
5352015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
536
bea58013
AZ
537 [BZ #17869]
538 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
539 power8 in .machine directive.
540
0e87343e
AZ
541 [BZ #17868]
542 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
543 set dependency from opd value.
544
ede0236c
L
5452015-01-23 H.J. Lu <hongjiu.lu@intel.com>
546
547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
972af9e8
L
548 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
549 architecture.
ede0236c 550
22971c35
L
5512015-01-23 H.J. Lu <hongjiu.lu@intel.com>
552
553 [BZ #17870]
554 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
555 with uint64_t.
556 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
557 (uint64_t) 1.
e0da28a1 558 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
22971c35
L
559 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
560 Replace 1UL with (uint64_t) 1.
561 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
562 int with uint64_t.
563
da5bf245
RM
5642015-01-23 Roland McGrath <roland@hack.frob.com>
565
2ec2d703
RM
566 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
567 (if_freenameindex): Likewise.
568
da5bf245
RM
569 * resource/getrlimit64.c: Add missing libc_hidden_def.
570
d7423856
JM
5712015-01-22 Joseph Myers <joseph@codesourcery.com>
572
573 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
574 __label__.
575 (_FP_FMA): Likewise.
576 (_FP_TO_INT_ROUND): Likewise.
577 (_FP_FROM_INT): Likewise.
578
6b2ba95b
AZ
5792015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
580
581 [BZ #16418]
582 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
583 Make code racy and cancel safe.
584
ccdb048d
CD
5852015-01-21 Carlos O'Donell <carlos@redhat.com>
586
191220b3
CD
587 * sysdeps/arm/unwind-resume.h: Fix copyright year.
588 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
589 attribution.
590
0897c551
CD
591 * pwd/tst-getpw.c: Rewrite.
592
ccdb048d
CD
593 [BZ #17702]
594 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
595 (modules-names): Add moddummy1 and moddummy2.
596 ($(objpfx)tst-rec-dlopen): Define.
597 * dlfcn/moddummy1.c: New file.
598 * dlfcn/moddummy2.c: New file.
599 * dlfcn/tst-rec-dlopen.c: New file.
600 * elf/dl-cache.c (_dl_load_cache_lookup):
601 Return char*. Copy result with alloca/strcpy/strdup.
602 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
603 returns char*. Free cached. If not saving realname
604 free cached.
605 * elf/dl-open.c (dl_open_worker): Do not assert that
606 _r_debug->r_state is RT_CONSISTENT.
607 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
608 returns char*.
609
042e1521
CD
6102015-01-21 Torvald Riegel <triegel@redhat.com>
611 Carlos O'Donell <carlos@redhat.com>
612
613 [BZ #12674]
614 * nptl/sem_waitcommon.c: New file.
615 * nptl/sem_wait.c: Include sem_waitcommon.c.
616 (__sem_wait_cleanup, do_futex_wait): Remove.
617 (__new_sem_wait): Adapt.
618 (__new_sem_trywait): New function.
619 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
620 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
621 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
622 (sem_timedwait): Adapt.
623 * nptl/sem_post.c (__new_sem_post): Adapt.
624 (futex_wake): New function.
625 (__old_sem_post): Add release MO fence.
626 * nptl/sem_open.c (sem_open): Adapt.
627 * nptl/sem_init.c (__new_sem_init): Adapt.
628 (futex_private_if_supported): New function.
629 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
630 (__old_sem_getvalue): Add using previous code.
631 * sysdeps/nptl/internaltypes.h: Adapt.
632 * nptl/tst-sem13.c (do_test): Adapt.
633 * nptl/tst-sem11.c (main): Adapt.
634 * nptl/sem_trywait.c: Remove.
635 * nptl/DESIGN-sem.txt: Remove.
636 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
637 (gen-as-const-headers): Remove structsem.sym.
638 * nptl/structsem.sym: Remove.
639 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
640 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
641 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
642 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
643 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
644 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
645 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
646 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
647 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
648 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
649 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
650 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
651 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
652 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
653 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
654 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
655 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
656 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
657 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
658 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
659 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
660 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
661
fe0e85af
CD
6622015-01-20 Carlos O'Donell <carlos@redhat.com>
663
a8db092e
CD
664 * INSTALL: Regenerated.
665
fe0e85af
CD
666 * po/libc.pot: Regenerated.
667
522e6ee3
CLT
6682015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
669 Sandra Loosemore <sandra@codesourcery.com>
670 Andrew Jenner <andrew@codesourcery.com>
671 Joseph Myers <joseph@codesourcery.com>
672 Nathan Sidwell <nathan@codesourcery.com>
673
674 * NEWS: Mention new Nios II port.
675 * sysdeps/nios2/Implies: New file.
676 * sysdeps/nios2/Makefile: New file.
677 * sysdeps/nios2/Subdirs: New file.
678 * sysdeps/nios2/Versions: New file.
679 * sysdeps/nios2/__longjmp.S: New file.
680 * sysdeps/nios2/abort-instr.h: New file.
681 * sysdeps/nios2/backtrace.c: New file.
682 * sysdeps/nios2/bits/endian.h: New file.
683 * sysdeps/nios2/bits/fenv.h: New file.
684 * sysdeps/nios2/bits/link.h: New file.
685 * sysdeps/nios2/bits/setjmp.h: New file.
686 * sysdeps/nios2/bsd-_setjmp.S: New file.
687 * sysdeps/nios2/bsd-setjmp.S: New file.
688 * sysdeps/nios2/configure: New generated file.
689 * sysdeps/nios2/configure.ac: New file.
690 * sysdeps/nios2/crti.S: New file.
691 * sysdeps/nios2/crtn.S: New file.
692 * sysdeps/nios2/dl-init.c: New file.
693 * sysdeps/nios2/dl-machine.h: New file.
694 * sysdeps/nios2/dl-sysdep.h: New file.
695 * sysdeps/nios2/dl-tls.h: New file.
696 * sysdeps/nios2/dl-trampoline.S: New file.
697 * sysdeps/nios2/gccframe.h: New file.
698 * sysdeps/nios2/gmp-mparam.h: New file.
699 * sysdeps/nios2/jmpbuf-offsets.h: New file.
700 * sysdeps/nios2/jmpbuf-unwind.h: New file.
701 * sysdeps/nios2/ldsodefs.h: New file.
702 * sysdeps/nios2/libc-tls.c: New file.
703 * sysdeps/nios2/libm-test-ulps: New file.
704 * sysdeps/nios2/machine-gmon.h: New file.
705 * sysdeps/nios2/math-tests.h: New file.
706 * sysdeps/nios2/math_private.h: New file.
707 * sysdeps/nios2/memusage.h: New file.
708 * sysdeps/nios2/nptl/Makefile: New file.
709 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
710 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
711 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
712 * sysdeps/nios2/nptl/pthreaddef.h: New file.
713 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
714 * sysdeps/nios2/nptl/tls.h: New file.
715 * sysdeps/nios2/preconfigure: New file.
716 * sysdeps/nios2/s_fma.c: New file.
717 * sysdeps/nios2/s_fmaf.c: New file.
718 * sysdeps/nios2/setjmp.S: New file.
719 * sysdeps/nios2/sfp-machine.h: New file.
720 * sysdeps/nios2/sotruss-lib.c: New file.
721 * sysdeps/nios2/stackguard-macros.h: New file.
722 * sysdeps/nios2/stackinfo.h: New file.
723 * sysdeps/nios2/start.S: New file.
724 * sysdeps/nios2/sysdep.h: New file.
725 * sysdeps/nios2/tls-macros.h: New file.
726 * sysdeps/nios2/tst-audit.h: New file.
727 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
728 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
729 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
730 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
731 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
732 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
733 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
734 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
735 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
736 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
737 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
738 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
739 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
740 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
741 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
742 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
743 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
744 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
745 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
746 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
747 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
748 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
749 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
750 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
751 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
752 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
753 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
754 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
755 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
756 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
757 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
758 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
759 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
760 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
761 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
762 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
763 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
764 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
765 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
766 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
767 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
768 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
769 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
770 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
771
026eb207
SL
7722015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
773
774 [BZ #17844]
775 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
776 (getutent): Use weak_alias in non SHARED case
777 and default_symbol_version in SHARED case.
778 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
779 (getutent_r, pututline): Likewise.
780 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
781 (getutid): Likewise.
782 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
783 (getutid_r): Likewise.
784 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
785 (getutline): Likewise.
786 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
787 (getutline_r): Likewise.
788 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
789 (updwtmp): Likewise.
790
1d532483
SL
7912015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
792
793 [BZ #17848]
794 * sysdeps/s390/s390-32/memcmp.S
795 (memcmp_g5): Rename to __memcmp_g5.
796 * sysdeps/s390/s390-32/memcpy.S
797 (memcpy_g5): Rename to __memcpy_g5.
798 Jump to __memcpy_mvcle instead of memcpy_mvcle.
799 (memcpy_mvcle) Rename to __memcpy_mvcle.
800 * sysdeps/s390/s390-32/memset.S
801 (memset_g5): Rename to __memset_g5.
802 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
803 (IFUNC_RESOLVE): Prefix ifunc-resolve function
804 and use prefixed functions.
805 * sysdeps/s390/s390-32/multiarch/memcmp.S
806 (memcmp_z196): Rename to __memcmp_z196.
807 (memcmp_z10): Rename to __memcmp_z10.
808 (memcmp): Set alias to __memcmp_g5.
809 (bcmp): Set alias to __memcmp_g5.
810 * sysdeps/s390/s390-32/multiarch/memcpy.S
811 (memcpy_z196): Rename to __memcpy_z196.
812 Jump to __memcpy_mvcle instead of memcpy_mvcle.
813 (memcpy_z10): Rename to __memcpy_z10.
814 Jump to __memcpy_mvcle instead of memcpy_mvcle.
815 (memcpy): Set alias to __memcpy_g5.
816 * sysdeps/s390/s390-32/multiarch/memset.S
817 (memset_z196): Rename to __memset_z196.
818 Jump to __memset_mvcle instead of memset_mvcle.
819 (memset_z10): Rename to __memset_z10.
820 Jump to __memset_mvcle instead of memset_mvcle.
821 (memset_mvcle) Rename to __memset_mvcle.
822 (memset): Set alias to __memset_g5.
823 * sysdeps/s390/s390-64/memcmp.S
824 (memcmp_z900): Rename to __memcmp_z900.
825 * sysdeps/s390/s390-64/memcpy.S
826 (memcpy_z900): Rename to __memcpy_z900.
827 Jump to __memcpy_mvcle instead of memcpy_mvcle.
828 (memcpy_mvcle) Rename to __memcpy_mvcle.
829 * sysdeps/s390/s390-64/memset.S
830 (memset_z900): Rename to __memset_z900.
831 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
832 (IFUNC_RESOLVE): Prefix ifunc-resolve function
833 and use prefixed functions.
834 * sysdeps/s390/s390-64/multiarch/memcmp.S
835 (memcmp_z196): Rename to __memcmp_z196.
836 (memcmp_z10): Rename to __memcmp_z10.
837 (memcmp): Set alias to __memcmp_z900.
838 (bcmp): Set alias to __memcmp_z900.
839 * sysdeps/s390/s390-64/multiarch/memcpy.S
840 (memcpy_z196): Rename to __memcpy_z196.
841 Jump to __memcpy_mvcle instead of memcpy_mvcle.
842 (memcpy_z10): Rename to __memcpy_z10.
843 Jump to __memcpy_mvcle instead of memcpy_mvcle.
844 (memcpy): Set alias to __memcpy_z900.
845 * sysdeps/s390/s390-64/multiarch/memset.S
846 (memset_z196): Rename to __memset_z196.
847 Jump to __memset_mvcle instead of memset_mvcle.
848 (memset_z10): Rename to __memset_z10.
849 Jump to __memset_mvcle instead of memset_mvcle.
850 (memset_mvcle) Rename to __memset_mvcle.
851 (memset): Set alias to __memset_z900.
852
53fbd169
JM
8532015-01-14 Joseph Myers <joseph@codesourcery.com>
854
855 [BZ #17748]
856 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
857 __fesetenv instead of fesetenv.
858
d639a363
SP
8592015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
860
861 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
862 macro.
863
d3b00f46
AZ
8642015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
865
ce6615c9
AZ
866 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
867 regression on LE.
868
d3b00f46
AZ
869 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
870 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
871 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
872 strncmp-power8 object.
873 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
874 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
875 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
876 * NEWS: Update.
877
72607db0
RS
8782015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
879 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
880
881 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
882 trailing byte check.
883
54dc5461
DM
8842015-01-13 David S. Miller <davem@davemloft.net>
885
886 * include/signal.h (__sigreturn): Guard with __USE_MISC.
887
1c6e6f23
RM
8882015-01-13 Roland McGrath <roland@hack.frob.com>
889
890 * login/logout.c (logout): Use memset rather than bzero.
891 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
892 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
893 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
894 (_gethtbyaddr): Likewise.
895 * locale/programs/simple-hash.c (bcopy): Macro removed.
896
96d6fd6c
AZ
8972015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
898
8bedcb5f
AZ
899 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
900 Add strcmp-power8 object.
901 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
902 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
903 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
904 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
905 __strcmp_power8 implementation.
906 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
907 * NEWS: Update.
908
f06a4faf
AZ
909 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
910 Add strncpy-power8 and stpncpy-power8 objects.
911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
912 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
913 implementations.
914 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
915 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
916 __stpncpy_power8 implementation.
917 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
918 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
919 __strncpy_power8 implementation.
920 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
921 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
922 * NEWS: Update.
923
9f2f36e5
AZ
924 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
925 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
926 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
927
96d6fd6c 928 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
94c96809
AZ
929 strncat-power8 object.
930 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
931 __strcat_power8 implementation.
932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
933 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
934 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
935 optimized strcat for power8.
936
937 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
96d6fd6c
AZ
938 strcpy-power8 and stpcpy-power8 objects.
939 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
940 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
941 implementations.
942 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
943 multiarch stpcpy implementation for POWER8.
944 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
945 multiarch strcpy implementation for POWER8.
946 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
947 __strcpy_power8 function.
948 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
949 stpcpy for POWER8.
950 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
951 strcpy for POWER8.
952 * NEWS: Update.
953
0f9e5854
LH
9542015-01-13 Leonhard Holz <leonhard.holz@web.de>
955
956 [BZ #16009]
957 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
958 weights and rules. Use do_xfrm_cached if data fits in cache,
959 do_xfrm otherwise. Moved former main loop to...
960 * (do_xfrm_cached): New function.
961 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
962 find_idx, find_position and stack_push.
963 * (find_idx): New function.
964 * (find_position): Likewise.
965 * localedata/sort-test.sh: Added test run for do_xfrm.
966 * localedata/xfrm-test.c (main): Added command line option
967 -nocache to run the test with strings that are too large for
968 the STRXFRM cache.
969
c60ec0e0
TR
9702015-01-13 Torvald Riegel <triegel@redhat.com>
971
972 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
973 variable to lll_futex_wake call, not the value itself.
974
34e93d6c
JM
9752015-01-12 Joseph Myers <joseph@codesourcery.com>
976
5a9e4c09
JM
977 [BZ #17803]
978 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
979 twom64. Adjust value to 0x1p-64L.
980 (__scalblnl): Only return standard underflowing result for K <=
981 -64 not K <= -63; adjust exponent for underflowing result by 64
982 not 63.
983 * math/libm-test.inc (scalbn_test_data): Add more tests.
984 (scalbln_test_data): Likewise.
985
34e93d6c
JM
986 [BZ #17834]
987 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
988 0x1p63L.
989 (__scalblnl): Get new exponent of adjusted subnormal value from ES
990 not HX.
991 * math/libm-test.inc (scalbn_test_data): Add more tests.
992 (scalbln_test_data): Likewise.
993
ca677d3c
AZ
9942015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
995 Stefani Seibold <stefani@seibold.net>
996
997 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
998 (sysdep_routines): Add dl-vdso here, ...
999 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1000 (sysdep_routines): ... not here.
1001 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1002 fallback when vDSO is not presented.
1003 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1004 Define with libc_hidden_proto/libc_hidden_data_def definitions.
1005 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1006 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1007 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1008 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1009 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1010 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1011 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1012 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1013 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
1014 fallback configurable symbol when vDSO is not available.
1015 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1016 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
1017 be able to redefine fallback symbol when vDSO is not available.
1018 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1019 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1020
49a9f6ab 10212015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8d2c0a59 1022
56cf2763
AZ
1023 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1024 (TLS_INIT_TP): Add tm_capable initialization.
1025 (TLS_DEFINE_INIT_TP): Likewise.
1026 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1027 TCB.
1028 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1029 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1030 calculation.
1031 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1032 transactoion is lock elision is built and TCB tm_capable is set.
1033 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1034 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1035 (INTERNAL_SYSCALL_NCS): Likewise.
1036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1037 (INTERNAL_SYSCALL_NCS): Likewise.
1038 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1039
4b45943a
AZ
1040 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1041 for powerpc.
1042 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1043 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1044 and remove it for 32 bits case.
1045 [pthread_rwlock_t] (__rwelision): New field for lock elision.
1046 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1047 initialization.
1048 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1049 Disable lock elision with rdlocks if elision is not available.
1050
8d2c0a59
AZ
1051 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1052 (sysdep_routines): Add lock elision objects.
1053 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1054 [pthread_mutex_t] (__spins): Rework to add lock elision field.
1055 [pthread_mutex_t] (__elision): Add field.
1056 [__PTHREAD_SPINS]: Adjust to init lock elision field.
1057 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1058 elision definitions for powerpc.
1059 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1060 implementation of lock elision for powerpc.
1061 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1062 implementation of timed lock elision for powerpc.
1063 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1064 implementation of trylock with lock elision for powerpc.
1065 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1066 implementaion of unlock for lock elision for powerpc.
1067 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1068 automatic enable lock elision for mutexes.
1069 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1070 transaction execution definitions for powerpc.
1071 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1072 definitions.
1073 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1074 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1075 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1076 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1077 * NEWS: Update.
1078
bc0ed9f7
RM
10792015-01-09 Roland McGrath <roland@hack.frob.com>
1080
1081 * sysdeps/posix/shm-directory.c: Use <> rather than ""
1082 for #include of <shm-directory.h>.
1083
585d9c18
CLT
10842015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
1085
1086 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1087 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1088
aee6626c
MF
10892015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
1090
1091 [BZ #17791]
1092 * NEWS: Mention bug fix.
1093 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1094 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1095 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1096
9e560f48
TR
10972015-01-09 Torvald Riegel <triegel@redhat.com>
1098
1099 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1100
e1cfbd0c
TR
11012015-01-09 Torvald Riegel <triegel@redhat.com>
1102
1103 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1104
cf71e44f
DH
11052015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1106
1107 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1108 pointer and cast to uintptr_t.
1109
b360ee62
DH
11102015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1111
1112 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1113 removed.
1114 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1115
caff764e
DH
11162015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
1117
1118 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1119 of 0.
1120
59ff172f
RM
11212015-01-08 Roland McGrath <roland@hack.frob.com>
1122
c97d27f1
RM
1123 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1124 <nptl/pthreadP.h> instead.
1125 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1126
08734ccd
RM
1127 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1128 already defined.
1129 [__SIGRTMIN] (init): Function removed.
1130 [__SIGRTMIN] (initialized): Variable removed.
1131 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1132 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1133 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1134 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1135 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1136 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1137 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1138 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1139 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1140 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1141 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1142 * sysdeps/nptl/allocrtsig.c: New file.
1143 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1144 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1145 * sysdeps/generic/testrtsig.h: File removed.
1146
7b052e33
RM
1147 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1148 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1149
cc40d25e
RM
1150 * nptl/nptl-init.c (pthread_functions): Conditionalize
1151 .ptr__nptl_setxid initialization on [SIGSETXID].
1152
9287adf0
RM
1153 * sysdeps/nptl/sys/procfs.h: New file.
1154 * nptl_db/Makefile (headers): Add it.
1155 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1156
59ff172f
RM
1157 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1158 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1159 * nptl/pthread_attr_setaffinity.c: Include it.
1160 * nptl/pthread_setattr_default_np.c: Likewise.
1161 * nptl/check-cpuset.h: New file.
1162
b9205857
RH
11632015-01-08 Richard Henderson <rth@redhat.com>
1164
1165 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1166 (CFLAGS-tst-execstack-prog.c): Likewise.
1167 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1168
1a0a8d15
CLT
11692015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
1170 Sandra Loosemore <sandra@codesourcery.com>
1171 Andrew Jenner <andrew@codesourcery.com>
1172 Joseph Myers <joseph@codesourcery.com>
1173 Nathan Sidwell <nathan@codesourcery.com>
1174
1175 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1176 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1177 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1178 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1179 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1180 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1181 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
00b8b9ba
SP
1182 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1183 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1184 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1185 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1186 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1187 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1a0a8d15
CLT
1188 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1189 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1190 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1191 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1192
dd6e8af6
AZ
11932015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1194
1195 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1196 timespec struct member in syscall macro.
1197 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1198 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1199 first timeval struct member in syscall macro.
1200 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1201
8116321f
JM
12022015-01-07 Joseph Myers <joseph@codesourcery.com>
1203
1204 [BZ #17748]
1205 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1206 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1207 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1208 __feupdateenv and define as weak alias of __feupdateenv. Use
1209 libm_hidden_weak.
1210 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1211 libm_hidden_def.
1212 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1213 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
1214 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1215 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1216 libm_hidden_def.
1217 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1218 __feupdateenv and define as weak alias of __feupdateenv. Use
1219 libm_hidden_weak.
1220 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1221 libm_hidden_def.
1222 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1223 __feupdateenv and define as weak alias of __feupdateenv. Use
1224 libm_hidden_weak.
1225 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1226 libm_hidden_def.
1227 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1228 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1229 (__feupdateenv): Likewise.
1230 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1231 __feupdateenv and define as weak alias of __feupdateenv. Use
1232 libm_hidden_weak.
1233 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1234 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1235 libm_hidden_def.
1236 * sysdeps/tile/math_private.h (__feupdateenv): New inline
1237 function.
1238 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1239 libm_hidden_def.
1240 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1241 __feupdateenv instead of feupdateenv.
1242 (default_libc_feupdateenv_test): Likewise.
1243 (libc_feresetround_ctx): Likewise.
1244
882dfe18
AZ
12452015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1246
1247 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1248 prototype.
1249
39a12f8d
CM
12502015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
1251
1252 * posix/regcomp.c (parse_bracket_exp): Initialize type to
1253 COLL_SYM in a couple of places to avoid uninitialized variable
1254 wanings on tilegx gcc 4.8.2.
1255
dc400d7b
RE
12562015-01-07 Richard Earnshaw <rearnsha@arm.com>
1257
1258 * sysdeps/aarch64/strcpy.S: New file.
1259 * sysdeps/aarch64/stpcpy.S: New file.
1260 * NEWS: Updated.
1261
ec582ca0
RE
12622015-01-07 Richard Earnshaw <rearnsha@arm.com>
1263
1264 * sysdeps/aarch64/strrchr.S: New file.
1265 * NEWS: Updated.
1266
d5b1c5ed
EB
12672015-01-07 Eric Biggers <ebiggers3@gmail.com>
1268
1269 [BZ #17658]
1270 * stdlib/setenv.c: Fix memory leak when setting large,
1271 duplicate string.
1272
fb87ee96
VN
12732015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
1274
60f046a8 1275 [BZ #17273]
fb87ee96
VN
1276 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1277 and tabs from buffer before parsing fstab entry.
1278 * misc/tst-mntent.c (main): Add test for mount entry with
1279 trailing spaces and tabs.
1280
cd42798a
JM
12812015-01-06 Joseph Myers <joseph@codesourcery.com>
1282
01238691
JM
1283 [BZ #17748]
1284 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
1285 * math/fesetround.c (fesetround): Rename to __fesetround and
1286 define as weak alias of __fesetround. Use libm_hidden_weak.
1287 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1288 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1289 * sysdeps/arm/fesetround.c (fesetround): Likewise.
1290 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1291 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1292 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1293 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1294 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1295 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1296 __fesetround_inline.
1297 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1298 __fesetround_inline instead of __fesetround.
1299 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1300 __fesetround and define as weak alias of __fesetround. Use
1301 libm_hidden_weak. Call __fesetround_inline instead of
1302 __fesetround.
1303 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1304 __fesetround and define as weak alias of __fesetround. Use
1305 libm_hidden_weak.
1306 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1307 Likewise.
1308 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1309 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1310 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1311 * sysdeps/tile/math_private.h (__fesetround): New inline function.
1312 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1313 __fesetround and define as weak alias of __fesetround. Use
1314 libm_hidden_weak.
1315 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1316 __fesetround instead of fesetround.
1317 (default_libc_feholdexcept_setround): Likewise.
1318 (libc_feholdsetround_ctx): Likewise.
1319 (libc_feholdsetround_noex_ctx): Likewise.
1320
cd42798a
JM
1321 [BZ #17748]
1322 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1323 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1324 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1325 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1326 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1327 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1328 define as weak alias of __fesetenv. Use libm_hidden_weak.
1329 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1330 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1331 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1332 define as weak alias of __fesetenv. Use libm_hidden_weak.
1333 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1334 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1335 define as weak alias of __fesetenv. Use libm_hidden_weak.
1336 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1337 libm_hidden_def.
1338 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1339 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1340 Likewise.
1341 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1342 define as weak alias of __fesetenv. Use libm_hidden_weak.
1343 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1344 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1345 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1346 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1347 and define as weak alias of __fesetenv. Use libm_hidden_weak.
1348 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1349 __fesetenv instead of fesetenv.
1350 (libc_feresetround_noex_ctx): Likewise.
1351 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1352 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1353 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1354 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1355 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1356 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1357 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1358 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1359 (__feupdateenv): Likewise.
1360 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1361 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1362 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1363 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1364
38949026
AJ
13652015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1366
1cf98e27 1367 [BZ #17806]
38949026
AJ
1368 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1369 addresses have been freed.
1370
5fe55e9c
AJ
13712015-01-06 Aurelien Jarno <aurelien@aurel32.net>
1372
1373 * resolv/res_init.c (__res_vinit): Improve comments about nserv
1374 and nservall.
1375
dc8ab018
OB
13762015-01-06 Ondřej Bílka <neleai@seznam.cz>
1377
1378 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1379 Clean up check_pf allocation pattern. addresses
1380
14bb4e57
AZ
13812015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1382
1383 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1384 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1385 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1386 * nptl/pthread_exit.c (__pthread_exit): Likewise.
1387 * nptl/pthread_join.c (pthread_join): Likewise.
1388 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1389 * sysdeps/posix/waitid.c (__waitid): Likewise.
1390 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1391 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1392 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1393 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1394 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1395 Likewise.
1396 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1397 (__libc_pread64): Likewise.
1398 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1399 (__libc_pwrite): Likewise.
1400 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1401 (__libc_pwrite64): Likewsie.
1402 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1403 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1404 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1405 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1406 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1407 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1408 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1410 Likewise.
1411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1412 (__libc_pread64): Likewise.
1413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1414 Likewise.
1415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1416 (__libc_pwrite64): Likewise.
1417 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1418 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1419 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1420 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1421 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1422 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1423 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1424 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1425 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1426 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1427 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1428 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1429 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1430 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1431 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1432 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1433 Likewise.
1434
10a5e112
AS
14352015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
1436
1437 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1438 (CFLAGS-test-double.c): Likewise.
1439 (CFLAGS-test-ldouble.c): Likewise.
1440 (CPPFLAGS-test-ifloat.c): Likewise.
1441 (CPPFLAGS-test-idouble.c): Likewise.
1442 (CPPFLAGS-test-ildoubl.c): Likewise.
1443 (CFLAGS-test-test-fenv.c): Remove variable.
1444 (CFLAGS-test-misc.c): Likewise.
1445
57ada0e7
L
14462015-01-06 H.J. Lu <hongjiu.lu@intel.com>
1447
1448 [BZ #17797]
1449 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1450 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1451 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1452 CLOCKS_PER_SEC == 1000000.
1453 * time/clocktest.c (main): Replace %ld with %jd and cast to
1454 intmax_t.
1455
46abb64d
RM
14562015-01-05 Roland McGrath <roland@hack.frob.com>
1457
1458 * sysdeps/generic/unwind-resume.h: New file.
1459 * sysdeps/gnu/unwind-resume.c: Include it.
1460 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1461 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1462 argument list.
1463 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1464 global rather than static.
1465 (_Unwind_Resume): Update user.
1466 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1467 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
1468 rather than static. Add __attribute__ ((cold)).
1469 (_Unwind_Resume, __gcc_personality_v0): Update callers.
1470 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1471 * sysdeps/arm/arm-unwind-resume.S: New file.
1472 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1473 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1474 * sysdeps/arm/Makefile [$(subdir) = csu]
1475 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1476 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1477 Add rt-arm-unwind-resume.
1478 [$(subdir) = nptl]
1479 (libpthread-sysdep_routines, libpthread-shared-only-routines):
1480 Add pt-arm-unwind-resume.
1481 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1482 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1483
ef9faf13
JM
14842015-01-05 Joseph Myers <joseph@codesourcery.com>
1485
1486 [BZ #17748]
1487 * include/fenv.h (__feholdexcept): Declare. Use
1488 libm_hidden_proto.
1489 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1490 define as weak alias of __feholdexcept. Use libm_hidden_weak.
1491 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1492 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1493 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1494 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1495 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1496 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1497 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1498 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1499 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1500 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1501 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1502 (feholdexcept): Likewise.
1503 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1504 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1505 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1506 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1507 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1508 __feholdexcept instead of feholdexcept.
1509 (default_libc_feholdexcept_setround): Likewise.
1510
295a453e
SE
15112015-01-05 Steve Ellcey <sellcey@imgtec.com>
1512
1513 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1514 to avoid using stl/str to align destination.
1515
882c4b9f
SE
15162015-01-05 Steve Ellcey <sellcey@imgtec.com>
1517
1518 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1519
ac4c11f5
JM
15202015-01-05 Joseph Myers <joseph@codesourcery.com>
1521
1522 [BZ #17796]
1523 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1524 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1525 Define as weak alias not strong alias.
1526
03403e30
SE
15272015-01-05 Steve Ellcey <sellcey@imgtec.com>
1528
1529 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1530 bltzal with addiupc.
1531 (RTLD_START): Ditto.
1532
1dca195e
CM
15332015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
1534
00b8b9ba
SP
1535 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1536 for __vdso_* functions in declarations.
1537 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1538 definitions.
1539 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1540 INTERNAL_VSYSCALL): Use struct return types to check for error.
7ea793f3 1541
1dca195e
CM
1542 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1543 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1544 function with cast from llround().
1545 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1546 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1547 Define.
1548
a287953a
JM
15492015-01-05 Joseph Myers <joseph@codesourcery.com>
1550
ab70da77
JM
1551 [BZ #17793]
1552 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1553 Define as weak alias not strong alias.
1554
b8986484
JM
1555 [BZ #17635]
1556 * ctype/ctype-c99.c: New file. isblank implementation moved from
1557 ...
1558 * ctype/ctype-extn.c: ... here.
1559 (__isblank_l): Move to ...
1560 * ctype/ctype-c99_l.c: ... here. New file.
1561 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1562 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1563 Remove variable.
1564 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1565 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1566 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1567 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1568 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1569
a287953a
JM
1570 [BZ #17777]
1571 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1572 (posix_fadvise64): Define as weak alias not strong alias.
1573 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1574 (posix_fallocate64): Likewise.
1575 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1576 Remove variable.
1577 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1578 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1579 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1580 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1581 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1582
b1efe3bb
MF
15832015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
1584
1585 [BZ #16191]
1586 * NEWS: Mention bug fix.
1587 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1588 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1589 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1590 (HOST_STACK_END_ADDR): Likewise.
1591
9706dc5f
JM
15922015-01-02 Joseph Myers <joseph@codesourcery.com>
1593
b93c2205
JM
1594 [BZ #17748]
1595 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
1596 * math/fegetround.c (fegetround): Rename to __fegetround and
1597 define as weak alias of __fegetround. Use libm_hidden_weak.
1598 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1599 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1600 * sysdeps/arm/fegetround.c (fegetround): Likewise.
1601 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1602 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1603 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1604 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1605 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1606 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1607 Undefine after rather than before function definition; use
1608 parentheses around function name in definition.
1609 (__fegetround): Also undefine macro after function definition.
1610 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1611 __fegetround and define as weak alias of __fegetround. Use
1612 libm_hidden_weak. Do not undefine as macro.
1613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1614 Likewise.
1615 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1616 __fegetround and define as weak alias of __fegetround. Use
1617 libm_hidden_weak.
1618 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1619 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1620 * sysdeps/tile/math_private.h (__fegetround): New inline function.
1621 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1622 __fegetround and define as weak alias of __fegetround. Use
1623 libm_hidden_weak.
1624 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1625 __fegetround instead of fegetround.
1626
253a59cc
JM
1627 [BZ #17782]
1628 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1629 Condition macro definition on [__USE_MISC].
1630
27dae011
JM
1631 [BZ #17781]
1632 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1633 (struct sigaction): Change type of sa_flags field to int.
1634
172019c0
JM
1635 [BZ #17780]
1636 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1637 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1638 __glibc_reserved0.
1639
522ad1d6
JM
1640 * nptl/version.c (banner): Use single year in copyright notice.
1641
9706dc5f
JM
1642 * NEWS: Update copyright dates.
1643 * catgets/gencat.c (print_version): Likewise.
1644 * csu/version.c (banner): Likewise.
1645 * debug/catchsegv.sh: Likewise.
1646 * debug/pcprofiledump.c (print_version): Likewise.
1647 * debug/xtrace.sh (do_version): Likewise.
1648 * elf/ldconfig.c (print_version): Likewise.
1649 * elf/ldd.bash.in: Likewise.
1650 * elf/pldd.c (print_version): Likewise.
1651 * elf/sotruss.sh: Likewise.
1652 * elf/sprof.c (print_version): Likewise.
1653 * iconv/iconv_prog.c (print_version): Likewise.
1654 * iconv/iconvconfig.c (print_version): Likewise.
1655 * locale/programs/locale.c (print_version): Likewise.
1656 * locale/programs/localedef.c (print_version): Likewise.
1657 * login/programs/pt_chown.c (print_version): Likewise.
1658 * malloc/memusage.sh (do_version): Likewise.
1659 * malloc/memusagestat.c (print_version): Likewise.
1660 * malloc/mtrace.pl: Likewise.
1661 * manual/libc.texinfo: Likewise.
1662 * nptl/version.c (banner): Likewise.
1663 * nscd/nscd.c (print_version): Likewise.
1664 * nss/getent.c (print_version): Likewise.
1665 * nss/makedb.c (print_version): Likewise.
1666 * posix/getconf.c (main): Likewise.
1667 * scripts/test-installation.pl: Likewise.
1668 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1669
b8607aac
WN
16702015-01-02 Will Newton <will.newton@linaro.org>
1671
1672 * sysdeps/arm/armv7/configure: Removed.
1673 * sysdeps/arm/armv7/configure.ac: Likewise.
1674
b168057a
JM
16752015-01-02 Joseph Myers <joseph@codesourcery.com>
1676
1677 * All files with FSF copyright notices: Update copyright dates
1678 using scripts/update-copyrights.
1679 * intl/plural.c: Regenerated.
1680 * locale/programs/charmap-kw.h: Likewise.
1681 * locale/programs/locfile-kw.h: Likewise.
1682
b217c15f
SP
16832015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
1684
1685 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1686
73a268c7
JM
16872014-12-31 Joseph Myers <joseph@codesourcery.com>
1688
1689 [BZ #17748]
1690 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1691 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1692 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1693 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1694 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1695 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1696 define as weak alias of __fegetenv. Use libm_hidden_weak.
1697 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1698 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1699 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1700 define as weak alias of __fegetenv. Use libm_hidden_weak.
1701 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1702 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1703 define as weak alias of __fegetenv. Use libm_hidden_weak.
1704 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1705 libm_hidden_def.
1706 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1707 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1708 Likewise.
1709 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1710 define as weak alias of __fegetenv. Use libm_hidden_weak.
1711 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1712 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1713 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1714 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1715 and define as weak alias of __fegetenv. Use libm_hidden_weak.
1716 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1717 __fegetenv instead of fegetenv.
1718 (libc_feholdsetround_noex_ctx): Likewise.
1719
0bd95672
MF
17202014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
1721
1722 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1723 (Elf_MIPS_ABIFlags_v0): New structure.
1724 (EF_MIPS_FP64): Define.
1725 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1726 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1727 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1728 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1729 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1730 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1731 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1732 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1733 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1734 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1735 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1736 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1737 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1738 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1739 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1740 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1741 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1742 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1743 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1744 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1745 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1746 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1747 field.
1748 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1749 EF_MIPS_FP64.
1750 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1751 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1752 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1753 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1754 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1755 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1756 * sysdeps/mips/tst-abi-interlink.c: Likewise.
1757 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1758 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1759 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1760 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1761 record the current FP ABI extension.
1762 (mips-mode-switch): Define to show if kernel headers support mode
1763 switching.
1764 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1765 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1766 supported SYSV ABI version to 3.
1767 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1768 feature.
1769
f59ad976
RS
17702014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1771 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1772
1773 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1774 path.
1775 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1776
4a3d3999
JM
17772014-12-31 Joseph Myers <joseph@codesourcery.com>
1778
1779 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1780 __fegetround and redefine to call __fegetround. Remove condition
1781 on [!__NO_MATH_INLINES].
1782 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1783 function.
1784 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1785 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1786 Remove macro.
1787 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1788 instead of <fenv_libc.h>.
1789 (__llrintl): Call fegetround instead of __fegetround.
1790 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1791 instead of <fenv_libc.h>.
1792 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1793 (__lrintl): Call fegetround instead of __fegetround.
1794 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1795 instead of <fenv_libc.h>.
1796 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1797 (__rintl): Call fegetround instead of __fegetround.
1798
195f3afc
SP
17992014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
1800
1801 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1802 arrays.
1803
7062bd42
L
18042014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1805
1806 [BZ #17775]
1807 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1808 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1809 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1810
07256e18
AS
18112014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1812
1813 * sysdeps/i386/tls-macros.h: Include <features.h>.
1814 (TLS_LE): Use non-PIC version for GCC >= 5.0.
1815 (TLS_IE): Likewise.
1816 (TLS_LD): Likewise.
1817 (TLS_GD): Likewise.
1818 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1819 define for GCC >= 5.0.
1820
1ff950ad
CM
18212014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
1822
1823 * math/test-fenv.c (test_single_exception, set_single_exc,
1824 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1825 feexcp_mask_test, feenable_test, fe_single_test): Add
1826 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1827 case where they are not used.
1828 * math/libm-test.inc: Likewise.
1829 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1830 unused in the absence of FP rounding/exception support.
1831 * stdio-common/tst-printf-round.c: Likewise.
1832 * stdlib/tst-strtod-round.c: Likewise.
1833 * stdlib/tst-strtod-underflow.c: Likewise.
1834
0747f818
JM
18352014-12-30 Joseph Myers <joseph@codesourcery.com>
1836
1837 [BZ #17723]
1838 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1839 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1840 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1841 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1842 libm_hidden_weak.
1843 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1844 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1845 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1846 libm_hidden_def.
1847 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1848 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1849 libm_hidden_weak.
1850 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1851 Likewise.
1852 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1853 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1854 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1855 libm_hidden_weak.
1856 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1857 libm_hidden_def.
1858 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1859 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1860 (__feraiseexcept): Likewise.
1861 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1862 __feraiseexcept and define as weak alias of __feraiseexcept. Use
1863 libm_hidden_weak.
1864 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1865 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1866 libm_hidden_def.
1867 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1868 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1869 Use libm_hidden_def.
1870 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1871 libm_hidden_def.
1872 (feraiseexcept): Define as weak not strong alias. Use
1873 libm_hidden_weak.
1874 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1875 New inline function. Factored out of ...
1876 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
1877 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1878 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1879 feraiseexcept.
1880 * math/w_acos.c (__acos): Likewise.
1881 * math/w_asin.c (__asin): Likewise.
1882 * math/w_ilogb.c (__ilogb): Likewise.
1883 * math/w_j0.c (y0): Likewise.
1884 * math/w_j1.c (y1): Likewise.
1885 * math/w_jn.c (yn): Likewise.
1886 * math/w_log.c (__log): Likewise.
1887 * math/w_log10.c (__log10): Likewise.
1888 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1889 * sysdeps/aarch64/fpu/math_private.h
1890 (libc_feupdateenv_test_aarch64): Likewise.
1891 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1892 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1893 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1894 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1895 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1896 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1897 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1898 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1899 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1900 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1901
8d2b2763
L
19022014-12-30 H.J. Lu <hongjiu.lu@intel.com>
1903
1904 [BZ #17732]
1905 * io/test-utime.c (main): Replace %ld with %jd and cast to
1906 intmax_t.
41fad830 1907 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
e401d5ca
L
1908 * nptl/tst-mutex5.c: Include <stdint.h>.
1909 (do_test): Replace %ld with %jd and cast to intmax_t.
6490d945
L
1910 * posix/tst-regex.c (run_test): Likewise.
1911 (run_test_backwards): Likewise.
5d619de4
L
1912 * rt/tst-clock.c: Include <stdint.h>.
1913 (clock_test): Replace %ld with %jd and cast to intmax_t.
1914 * rt/tst-cpuclock1.c: Include <stdint.h>.
1915 (do_test): Replace %lu with %ju and cast to uintmax_t.
1916 * rt/tst-cpuclock2.c: Include <stdint.h>.
1917 (do_test): Replace %lu with %ju and cast to uintmax_t.
1918 * rt/tst-mqueue1.c: Include <stdint.h>.
1919 (check_attrs): Replace %ld with %jd and cast to intmax_t.
1920 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1921 intmax_t.
1922 * rt/tst-mqueue4.c (do_test): Likewise.
1923 * rt/tst-timer4.c: Include <stdint.h>.
1924 (check_ts): Replace %ld with %jd and cast to intmax_t.
1925 (do_test): Likewise.
ad86fbc3
L
1926 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1927 and cast to intmax_t.
37f46900 1928 * sysdeps/pthread/tst-timer.c (main): Likewise.
fe342f50
L
1929 * time/clocktest.c (main): Likewise.
1930 * time/tst-posixtz.c (do_test): Likewise.
126f6c72 1931 * timezone/tst-timezone.c (main): Likewise.
8d2b2763 1932
8b4416d8
AS
19332014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
1934 H.J. Lu <hongjiu.lu@intel.com>
1935
1936 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1937 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1938 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1939 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1940 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1941 version if bit_Fast_Unaligned_Load is set.
1942 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1943 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1944 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1945 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1946 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1947 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1948 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1949 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1950 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1951 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1952 to 4.
1953 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1954 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1955 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1956 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1957
e47b8d3b
CM
19582014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
1959
6d6d7fde
CM
1960 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1961 instead of #if to avoid a Wundef warning.
1962 * stdlib/tst-limits.c (do_test): Likewise.
1963
cd2c37c9
CM
1964 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1965 parallel other exception macros.
1966 (fegetenv): Convert from macro to extern inline so that it applies
1967 retroactively to inline functions already seen by the compiler.
1968 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1969
e47b8d3b
CM
1970 * posix/Makefile (before-compile): Use $(objpfx) for
1971 posix-conf-vars-def.h.
1972
4a6aca7b
SP
19732014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1974
7910c2ae
SP
1975 * posix/getconf.c (main): Use size_t for type of I.
1976 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1977 NSPEC.
1978
50cbbaa9
SP
1979 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1980 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1981 * posix/posix-envs.def: Likewise.
1982 * sysdeps/posix/sysconf.c: Likewise.
1983 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1984 (specs): Remove array.
1985 * scripts/gen-posix-conf-vars.awk: Support generation of specs
1986 array.
1987
3b566046
SP
1988 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1989 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1990 (__sysconf): Use CONF_IS_* macros.
1991
4a6aca7b
SP
1992 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1993 ($(objpfx)posix-conf-vars-def.h): New target.
1994 * posix/posix-conf-vars.list: New file.
1995 * posix/posix-conf-vars.h: New file.
1996 * posix/confstr.c: Include posix-conf-vars.h.
1997 (confstr): Use CONF_IS_* macros.
1998 * posix/posix-envs.def: Include posix-conf-vars.h. Use
1999 CONF_IS_* macros.
2000 * scripts/gen-posix-conf-vars.awk: New file.
2001
7c1395a7
CM
20022014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
2003
0025b4cc
CM
2004 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2005 fegetround): Add no-op macros to avoid linknamespace issues.
2006
d8aaf74b
CM
2007 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2008 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2009
5d24aa60
CM
2010 * sysdeps/unix/sysv/linux/tile/sysdep.h
2011 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2012 assembly-specific section to avoid a redefinition warning.
2013
7c1395a7
CM
2014 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2015 long before casting to pointer to avoid a cast warning.
2016
3c87c616
CM
20172014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
2018
2019 * sysdeps/tile/tilegx/Implies: New file.
2020
f559d8cf
RE
20212014-12-23 Richard Earnshaw <rearnsha@arm.com>
2022
2023 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2024
7d81e8d6
FW
20252014-12-23 Florian Weimer <fweimer@redhat.com>
2026
2027 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2028
90aa3d09
JM
20292014-12-22 Joseph Myers <joseph@codesourcery.com>
2030
2031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2032 not define.
2033 * sysdeps/unix/sysv/linux/utimes.c: Do not include
2034 <kernel-features.h>.
2035 (__utimes) [__NR_utimes]: Make code unconditional.
2036 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2037 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2038 (__ASSUME_UTIMES): Do not undefine.
2039 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2040 (__ASSUME_UTIMES): Likewise.
2041 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2042 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2043 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2044 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2045
4c0c0e2a
SE
20462014-12-22 Steve Ellcey <sellcey@imgtec.com>
2047
2048 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2049
0dacd7a3
CM
20502014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
2051
b638f96a
CM
2052 [BZ #17747]
2053 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2054 alias to weak alias for j0l, y0l.
2055 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2056 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2057
0dacd7a3
CM
2058 [BZ #17746]
2059 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2060 conversion.
2061
528479c4
SE
20622014-12-22 Steve Ellcey <sellcey@imgtec.com>
2063
2064 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2065 to zero if not already defined.
2066
f56f9124
JM
20672014-12-22 Joseph Myers <joseph@codesourcery.com>
2068
2069 [BZ #17724]
2070 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2071 (__kernel_standard_f): Remove. Moved to k_standardf.c.
2072 (__kernel_standard_l): Remove. Moved to k_standardl.c with
2073 (char *) casts added.
2074 * sysdeps/ieee754/k_standardf.c: New file.
2075 * sysdeps/ieee754/k_standardl.c: Likewise.
2076 * math/Makefile (libm-support): Remove k_standard.
2077 (libm-calls): Add k_standard.
2078
8622d556
WD
20792014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2080
2081 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2082 Optimize to avoid an unnecessary FPCR read.
2083
f3806bdb
WD
20842014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2085
2086 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2087 Optimize to reduce FPCR/FPSR accesses.
2088
9b47df58
WD
20892014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2090
2091 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2092 Call libc_fetestexcept_aarch64.
2093
97be3cac
WD
20942014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
2095
2096 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2097 Call libc_fesetround_aarch64.
2098
935ab817
JM
20992014-12-22 Joseph Myers <joseph@codesourcery.com>
2100
2101 [BZ #17733]
2102 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2103 (__bind): Do not define as weak alias.
2104 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2105 define.
2106 (__getsockname): Do not define as weak alias.
2107
cc8623f1
WN
21082014-12-22 Will Newton <will.newton@linaro.org>
2109
2110 * manual/install.texi: Document that we require bison 2.7
2111 or above.
2112 * INSTALL: Regenerate.
2113 * configure.ac: Use AC_CHECK_PROG_VER instead of
2114 AC_PATH_PROG when checking for bison and check for
2115 version 2.7 or above.
2116 * configure: Regenerate.
2117
a19ca65a
CM
21182014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
2119
92901170 2120 [BZ #17745]
e969965a
CM
2121 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2122 * sysdeps/tile/ffsll.c (ffsll): To here.
2123
a19ca65a
CM
2124 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2125
050f7298
L
21262014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2127
2128 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2129 if not defined.
2130 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2131 definition.
2132 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2133 hidden ___tls_get_addr.
2134 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2135 hidden __tls_get_addr.
2136 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2137 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2138 Likewise.
2139
6df5547e
AS
21402014-12-21 Andreas Schwab <schwab@linux-m68k.org>
2141
2142 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2143 _dl_init call.
2144
7432d613
L
21452014-12-21 H.J. Lu <hongjiu.lu@intel.com>
2146
2147 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2148 from "call _dl_init@PLT".
2149 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
7432d613 2150
98fe149e
AK
21512014-12-21 Anders Kaseorg <andersk@mit.edu>
2152
2153 * manual/search.texi: (Array Sort Function): Clarify stable sorting
2154 guarantees.
2155
d12455f5
CM
21562014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
2157
2158 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2159
95dee05f
CM
21602014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2161
92901170 2162 [BZ #17744]
95dee05f
CM
2163 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2164 strnlen.
2165
2ef4b74a
SE
21662014-12-19 Steve Ellcey <sellcey@imgtec.com>
2167
2168 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2169 of multu on MIPSr6.
2170 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2171 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2172 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2173 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2174 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2175
21762014-12-19 Steve Ellcey <sellcey@imgtec.com>
2177
2178 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2179 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2180 (PTR_SUBU): Use subu for mips32r6/mips64r6.
2181 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
9d1fc928 2182 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2ef4b74a
SE
2183 mips32r6/mips64r6.
2184 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2185
3eb38795
OB
21862014-12-19 Ondřej Bílka <neleai@seznam.cz>
2187
2188 * string/strncat.c (STRNCAT): Simplify implementation.
2189
6d4188dd
DM
21902014-12-19 David S. Miller <davem@davemloft.net>
2191
0d4ba8be
DM
2192 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2193 access the quad as both a long double and as a series of 4 words.
2194
6d4188dd
DM
2195 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2196 link_map->l_info array access.
2197
4ef91cdc
CM
21982014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
2199
804c54f7
CM
2200 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2201
4ef91cdc
CM
2202 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2203 * math/atest-exp2.c (TIMEOUT): Likewise.
2204 * math/atest-sincos.c (TIMEOUT): Likewise.
2205
afd176d6
L
22062014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2207
2208 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2209 -Wno-error with -fno-builtin-lround.
2210
a4a43a90
TR
22112014-12-19 Torvald Riegel <triegel@redhat.com>
2212
2213 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2214 Contains futex constants and functions moved over from ...
2215 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
2216 <lowlevellock-futex.h>.
2217 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2218 (lll_timedwait_tid): Add comments and parentheses around macro
2219 arguments.
2220
76f71081
TR
22212014-12-19 Torvald Riegel <triegel@redhat.com>
2222
2223 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2224 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
2225 (__lll_private_flag): Remove.
2226 (lll_futex_wait): Likewise.
2227 (lll_futex_timed_wait): Likewise.
2228 (lll_futex_wake): Likewise.
2229 (lll_futex_requeue): Likewise.
2230 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2231 (__lll_timedwait_tid): Spell out argument names.
2232 (lll_timedwait_tid): Add comments and parentheses around macro
2233 arguments.
2234 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2235 LLL_SHARED and LLL_PRIVATE usable from assembly code.
2236
6b814909
TR
22372014-12-19 Torvald Riegel <triegel@redhat.com>
2238
2239 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2240 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2241 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2242 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2243 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2244 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2245 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2246 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2247 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2248 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2249 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2250 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2251 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2252 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2253 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2254 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2255 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2256 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2257 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2258
9cd4d4ab
L
22592014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2260
2261 * sysdeps/x86_64/x32/Makefile: New file.
2262
c9c1a2d0
L
22632014-12-19 H.J. Lu <hongjiu.lu@intel.com>
2264
2265 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2266 1L with (mp_limb_t) 1.
2267
af102d95
RM
22682014-12-17 Roland McGrath <roland@hack.frob.com>
2269
dd690454
RM
2270 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2271 * nptl/libc_pthread_init.c: ... here.
2272 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2273 * nptl/register-atfork.c: ... here.
2274
74eb826c
RM
2275 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2276 Use pthread_sigmask rather than INTERNAL_SYSCALL.
2277 Use assert_perror to check its return value.
2278 (__gai_create_helper_thread): Likewise.
2279
c9ce306b
RM
2280 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2281
af102d95
RM
2282 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2283
8ac5a76a
JM
22842014-12-17 Joseph Myers <joseph@codesourcery.com>
2285
ea41469b
JM
2286 [BZ #17725]
2287 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2288 __profil_counter.
2289 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2290 Likewise.
2291 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2292 Likewise.
2293 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2294 Likewise.
2295 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2296 (profil_counter): Likewise.
2297 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2298 (profil_counter): Likewise.
2299 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2300 Likewise.
2301 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2302 Likewise.
2303 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2304 (profil_counter): Likewise.
2305 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2306 Likewise.
2307 [!__profil_counter] (profil_counter): Define as weak alias of
2308 __profil_counter.
2309 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2310 (profil_counter): Rename to __profil_counter.
2311 [!__profil_counter] (profil_counter): Define as weak alias of
2312 __profil_counter.
2313 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2314 (profil_counter): Rename to __profil_counter.
2315 [!__profil_counter] (profil_counter): Define as weak alias of
2316 __profil_counter.
2317 * sysdeps/posix/profil.c: Update comment referring to
2318 profil_counter.
2319 (__profil): Use __profil_counter instead of profil_counter.
2320 * sysdeps/posix/sprofil.c (profil_counter): Rename to
2321 __profil_counter. Use __profil_counter_ushort and
2322 __profil_counter_uint in definitions.
2323 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2324 instead of profil_counter_uint and profil_counter_ushort.
2325
8ac5a76a
JM
2326 [BZ #17722]
2327 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2328 define as weak alias of __inet_makeaddr.
2329 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2330 as weak alias of __inet_addr.
2331 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2332 as weak alias of __inet_pton. Use libc_hidden_weak.
2333 * include/arpa/inet.h (__inet_pton): Declare. Use
2334 libc_hidden_proto.
2335 (inet_makeaddr): Don't use libc_hidden_proto.
2336 (__inet_makeaddr): Declare. Use libc_hidden_proto.
2337 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2338 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
2339 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2340 Remove variable.
2341 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2342 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2343
66ce3cb1
SE
23442014-12-17 Steve Ellcey <sellcey@imgtec.com>
2345
2346 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2347
d22ce01b
SL
23482014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2349
2350 * stdio-common/bug-vfprintf-nargs.c (do_test):
2351 Cast value to intptr_t to avoid format warning
2352 for usage with PRIdPTR printing macro.
2353
eca2772b
SL
23542014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
2355
2356 * libio/tst-widetext.c (do_test):
2357 Use format type %td instead of %Zd for ptrdiff_t
2358 in order to avoid format warning.
2359
bdf079da
AS
23602014-12-17 Andreas Schwab <schwab@suse.de>
2361
2362 * nscd/mem.c (gc): Add size_t cast to match printf format.
2363
3eb5d2fc
RM
23642014-12-16 Roland McGrath <roland@hack.frob.com>
2365
2366 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2367 (init): Apply PTR_MANGLE to pointers before storing them.
2368 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2369 before using them.
2370
d003ada2
JM
23712014-12-16 Joseph Myers <joseph@codesourcery.com>
2372
380292ba
JM
2373 [BZ #17719]
2374 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2375 define as weak alias of __memrchr.
2376 (__memrchr): Do not define as strong alias of memrchr.
2377 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2378 Remove variable.
2379 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2380 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2381 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2382
9a44d530
JM
2383 [BZ #17717]
2384 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2385 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
2386 (if_indextoname): Rename to __if_indextoname and define as weak
2387 alias of __if_indextoname. Use libc_hidden_weak.
2388 (if_freenameindex): Rename to __if_freenameindex and define as
2389 weak alias of __if_freenameindex.
2390 (if_nameindex): Rename to __if_nameindex and define as weak alias
2391 of __if_nameindex.
2392 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2393 __if_nametoindex and define as weak alias of __if_nametoindex.
2394 Use libc_hidden_weak.
2395 (if_freenameindex): Rename to __if_freenameindex and define as
2396 weak alias of __if_freenameindex.
2397 (if_nameindex): Rename to __if_nameindex and define as weak alias
2398 of __if_nameindex.
2399 (if_indextoname): Rename to __if_indextoname and define as weak
2400 alias of __if_indextoname. Use libc_hidden_weak.
2401 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2402 __if_nametoindex and define as weak alias of __if_nametoindex.
2403 Use libc_hidden_weak.
2404 (if_freenameindex): Rename to __if_freenameindex and define as
2405 weak alias of __if_freenameindex. Use libc_hidden_weak.
2406 (if_nameindex_netlink): Use __if_freenameindex instead of
2407 if_freenameindex.
2408 (if_nameindex): Rename to __if_nameindex and define as weak alias
2409 of __if_nameindex. Use libc_hidden_weak.
2410 (if_indextoname): Rename to __if_indextoname and define as weak
2411 alias of __if_indextoname. Use libc_hidden_weak.
2412 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2413 libc_hidden_proto.
2414 [!_ISOMAC] (__if_freenameindex): Likewise.
2415 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2416 if_nametoindex.
2417 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2418 variable.
2419 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2420 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2421 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2422 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2423 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2424 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2425 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2426
d003ada2
JM
2427 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2428 Remove variable.
2429 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2430 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2431
a0d424ef
SP
24322014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
2433
0cd85520
SP
2434 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2435 subscript above bounds'
2436
a0d424ef
SP
2437 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2438 bounds.
2439
0e426475
AS
24402014-12-16 Arjun Shankar <arjun.is@lostca.se>
2441
8b460906
AS
2442 * libio/tst-fopenloc.c: Use test-skeleton.c.
2443
fa13e15b
AS
2444 * stdlib/tst-bsearch.c: Use test-skeleton.c.
2445 (entry): Rename to ITEM.
2446 (do_test, comp): Adjust.
2447
0e426475
AS
2448 * stdio-common/tst-fseek.c: Use test-skeleton.c.
2449
4f646bce
TR
24502014-12-16 Torvald Riegel <triegel@redhat.com>
2451
2452 * string/tester.c: Include <libc-internal.h>.
2453 (test_memset): Ignore -Wmemset-transposed-args.
2454
a07c4427
TR
24552014-12-16 Torvald Riegel <triegel@redhat.com>
2456
2457 * misc/tst-mntent2.c (do_test): Fix warning.
2458
1469f466
TR
24592014-12-16 Torvald Riegel <triegel@redhat.com>
2460
2461 * elf/tst-unique4lib.cc(a): Mark as used.
2462
11e3417a
FW
24632014-12-16 Florian Weimer <fweimer@redhat.com>
2464
2465 [BZ #17630]
2466 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2467 names.
2468
ae61fc7b
AM
24692014-12-16 Allan McRae <allan@archlinux.org>
2470
2471 * stdio-common/Makefile (tests): Re-add bug26.
2472
363a9899
OB
24732014-12-15 Ondřej Bílka <neleai@seznam.cz>
2474
2475 [BZ #17657]
2476 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2477 static array.
2478
d52c62df
TR
24792014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
2480
2481 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2482 (__lll_lock_wait): Likewise.
2483 (__lll_timedlock_wait): Likewise.
2484 (__lll_timedwait_tid): Likewise.
2485 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2486 (__lll_robust_timedlock_wait): Likewise.
2487 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2488 (lll_cond_trylock): Likewise.
2489 (__lll_lock): Likewise.
2490 (__lll_robust_lock): Likewise.
2491 (__lll_cond_lock): Likewise.
2492 (lll_robust_cond_lock): Likewise.
2493 (__lll_timedlock): Likewise.
2494 (__lll_robust_timedlock): Likewise.
2495 (__lll_unlock): Likewise.
2496 (__lll_robust_unlock): Likewise.
2497 (lll_wait_tid): Likewise.
2498 (lll_timedwait_tid): Likewise.
2499
045a6bcd
TR
25002014-12-15 Torvald Riegel <triegel@redhat.com>
2501
2502 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2503
7f786dc1
TR
25042014-12-15 Torvald Riegel <triegel@redhat.com>
2505
2506 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2507
e7e21cba
AZ
25082014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2509
2510 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2511 * stdio-common/tst-sprintf.c: Likewise.
2512
bc89c0fc
TR
25132014-12-15 Torvald Riegel <triegel@redhat.com>
2514
2515 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2516
a5357b7c
JL
25172014-12-15 Jeff Law <law@redhat.com>
2518
2519 [BZ #16617]
2520 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2521 on the heap. (CVE-2012-3406)
2522 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2523 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
2524 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2525
3a12c70f
WN
25262014-12-15 Will Newton <will.newton@linaro.org>
2527
2528 * manual/install.texi: Bump required version of texinfo
2529 to 4.7 from 4.5.
2530 * INSTALL: Regenerated.
2531 * configure.ac: Check for makeinfo version 4.7 and above.
2532 * configure: Regenerated.
2533
e4f639e4
RM
25342014-12-12 Roland McGrath <roland@hack.frob.com>
2535
2536 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2537 PREFIX, string constant to insert between directory and name.
2538 * sysdeps/posix/shm_open.c: Update caller.
2539 * sysdeps/posix/shm_unlink.c: Likewise.
2540 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2541 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2542 (SEM_SHM_PREFIX): New macro.
2543 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2544 [$(have-thread-library) = no].
2545 * nptl/Makefile (libpthread-routines): Add shm-directory.
2546 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2547 * sysdeps/nptl/shm-directory.h: New file.
2548 * sysdeps/posix/shm-directory.c
2549 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2550 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2551 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2552 INTERNAL_SYSCALL.
2553 (__where_is_shmfs): Function removed.
2554 (mountpoint, defaultmount, defaultdir, __namedsem_once):
2555 Variables removed.
2556 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2557 Use SHM_GET_NAME.
2558 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
2559
2560 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2561 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2562 unconditional for use inside libpthread.
2563 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2564
439c43f6
RM
25652014-12-12 Roland McGrath <roland@hack.frob.com>
2566
c76d1ff5
RM
2567 * nptl/pthread_getaffinity.c: New file.
2568 * nptl/pthread_setaffinity.c: New file.
2569 * nptl/pthread_getname.c: New file.
2570 * nptl/pthread_setname.c: New file.
2571
439c43f6
RM
2572 * nptl/pthread_create.c (START_THREAD_DEFN)
2573 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2574
48e435cd
SL
25752014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2576 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2577
2578 * resolv/res_send.c (send_vc): Disable warning resplen may
2579 be used uninitialized.
2580
9d9c0019
SL
25812014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
2582
2583 * nptl/tst-mutex6.c
2584 (ATTR_NULL): New define checks ATTR against NULL.
2585 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2586 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2587
9173840b
JL
25882014-12-11 James Lemke <jwlemke@codesourcery.com>
2589
2590 [BZ #17581]
2591 * malloc/hooks.c
2592 (mem2mem_check): Revert my previous change.
2593 (malloc_check_get_size): Revert my previous change.
2594 (mem2chunk_check): Revert my previous change.
2595
78e21c5d
RM
25962014-12-11 Roland McGrath <roland@hack.frob.com>
2597
2598 * sysdeps/posix/shm-directory.c: New file.
2599 * sysdeps/posix/shm-directory.h: New file.
2600 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2601 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2602 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
2603 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2604 Transmute EPERM to EACCES.
2605 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2606 from ...
2607 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
2608 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2609
f82c43af
KK
26102014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2611
2612 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2613 pointer and cast to uintptr_t.
2614 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2615 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2616 Add cast to avoid warning.
2617 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2618
fc00cf7b
JM
26192014-12-11 Joseph Myers <joseph@codesourcery.com>
2620
2621 * nptl/semaphore.h: Move to ...
2622 * sysdeps/pthread/semaphore.h: ... here.
2623 * Makefile (installed-headers): Change nptl/semaphore.h to
2624 sysdeps/pthread/semaphore.h.
2625
1c4053db
RM
26262014-12-11 Roland McGrath <roland@hack.frob.com>
2627
73b0c1a1
RM
2628 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2629 generated error format strings.
2630
1c4053db
RM
2631 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2632 -Wformat-extra-args warnings for scanf formats.
2633 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2634 test of zero-length format (duh).
2635 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2636 corner-case scanf format test.
2637 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2638 generated fprintf format string.
2639 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2640 corner-case sprintf format tests.
2641 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2642 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2643 -Wformat-extra-args warnings throughout.
2644 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2645 (CFLAGS-scanf4.c): Likewise.
2646 (CFLAGS-scanf7.c): Likewise.
2647 (CFLAGS-tst-sprintf.c): Likewise.
2648 (CFLAGS-tst-printf.c): Likewise.
2649 (CFLAGS-tst-printfsz.c): Likewise.
2650
47d51f4f
JM
26512014-12-11 Joseph Myers <joseph@codesourcery.com>
2652
a1edbf3c
JM
2653 * include/cpio.h: New file.
2654 * include/fmtmsg.h: Likewise.
2655
47d51f4f
JM
2656 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
2657 corresponding format argument to size_t.
2658 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
2659 arguments.
2660 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
2661 corresponding format argument to size_t.
2662 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
2663 arguments.
2664 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
2665 corresponding format argument to size_t.
2666 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2667 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2668 (CFLAGS-tst-mbswcs2.c): Likewise.
2669 (CFLAGS-tst-mbswcs3.c): Likewise.
2670 (CFLAGS-tst-mbswcs4.c): Likewise.
2671 (CFLAGS-tst-mbswcs5.c): Likewise.
2672 (CFLAGS-tst-trans.c): Likewise
2673
e9813cfb
RM
26742014-12-11 Roland McGrath <roland@hack.frob.com>
2675
2676 * posix/regexbug1.c (main): Use "%s" format with regerror results,
2677 rather than assuming they won't contain any '%'s.
2678
f627ca82
CM
26792014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
2680
2681 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2682 inhibit_loop_to_libcall to avoid recursive calls.
2683 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2684 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2685
7f296942
AZ
26862014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
2687
2688 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2689 prototype.
2690
d0276e18
SE
26912014-12-11 Steve Ellcey <sellcey@imgtec.com>
2692
2693 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2694 integer value instead of boolean.
2695
fc56e970
SE
26962014-12-11 Steve Ellcey <sellcey@imgtec.com>
2697
2698 * malloc/malloc.c: Fix powerof2 check.
2699
40e53917
SL
27002014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2701
2702 * locale/programs/locfile.h (maybe_swap_uint32):
2703 Remove inline and add unused attribute.
2704
1ea166df
SL
27052014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
2706
9d9c0019 2707 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1ea166df
SL
2708 Truncating assembler expression to a .long expression.
2709
acf869f4
AS
27102014-12-11 Andreas Schwab <schwab@suse.de>
2711
2712 * elf/rtld.c (struct map_args): Constify str member.
2713 (do_preload): Constify fname argument.
2714
9d969099
AZ
27152014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2716
2717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2718 constants definition.
2719
da5bcaa4
AS
27202014-12-11 Andreas Schwab <schwab@suse.de>
2721
b0a3c164
AS
2722 [BZ #16657]
2723 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2724 FORCE_ELISION instead of DO_ELISION.
2725 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2726 Remove.
2727 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2728 Likewise.
2729
da5bcaa4
AS
2730 * iconvdata/gconv-modules: Remove duplicate entry.
2731
6d248857
WN
27322014-12-11 Will Newton <will.newton@linaro.org>
2733
2734 Merge gettext 0.19.3 into intl/.
2735
2736 This involves a number of cosmetic changes to comments
2737 and ANSI function definitions and prototypes throughout
2738 all the files. The gettext copyright header is used but
2739 with the date ranges taken from the glibc copy.
2740
2741 * NEWS: Add gettext merge to 2.21.
2742 * intl/bindtextdom.c: Switch to gettext copyright.
2743 Use ANSI definitions and prototypes.
2744 Use gl_* locking primitives rather than __libc_* ones.
2745 Use __builtin_expect rather than __glibc_likely/unlikely.
2746 * intl/dcgettext.c: Switch to gettext copyright.
2747 Use ANSI definitions and prototypes.
2748 * intl/dcigettext.c: Switch to gettext copyright.
2749 Use ANSI definitions and prototypes.
2750 (INTDIV0_RAISES_SIGFPE): New define.
2751 Use gl_* locking primitives rather than __libc_* ones.
2752 Include eval-plural.h instead of plural-eval.c.
2753 Use __builtin_expect rather than __glibc_likely/unlikely.
2754 * intl/dcngettext.c: Switch to gettext copyright.
2755 Use ANSI definitions and prototypes.
2756 * intl/dgettext.c: Likewise.
2757 * intl/dngettext.c: Likewise.
2758 * intl/plural-eval.c: Renamed to...
2759 * intl/eval-plural.h: ...this.
2760 * intl/explodename.c: Switch to gettext copyright.
2761 Use ANSI definitions and prototypes.
2762 (_nl_explode_name): Use strchr instead of __rawmemchr.
2763 * intl/finddomain.c: Switch to gettext copyright.
2764 Use ANSI definitions and prototypes.
2765 Use gl_* locking primitives rather than __libc_* ones.
2766 (_nl_find_domain): Use malloc rather than alloca for
2767 allocation of temporary locale name.
2768 * intl/gettext.c: Switch to gettext copyright.
2769 Use ANSI definitions and prototypes.
2770 * intl/gettextP.h: Switch to gettext copyright.
2771 Use ANSI definitions and prototypes.
2772 Use gl_* locking primitives rather than __libc_* ones.
2773 * intl/gmo.h: Switch to gettext copyright.
2774 (struct sysdep_string): Move struct segment_pair outside of
2775 struct definition.
2776 * intl/hash-string.c: Use ANSI definitions and prototypes.
2777 * intl/hash-string.h: Switch to gettext copyright.
2778 Use ANSI definitions and prototypes.
2779 * intl/l10nflist.c: Switch to gettext copyright.
2780 Use ANSI definitions and prototypes.
2781 (_nl_normalize_codeset): Avoid integer overflow.
2782 * intl/loadinfo.h: Switch to gettext copyright.
2783 Use ANSI definitions and prototypes.
2784 (LIBINTL_DLL_EXPORTED): New define.
2785 (PATH_SEPARATOR): New define.
2786 * intl/loadmsgcat.c: Switch to gettext copyright.
2787 * intl/localealias.c: Switch to gettext copyright.
2788 Use ANSI definitions and prototypes.
2789 (_nl_expand_alias): Use PATH_SEPARATOR.
2790 * intl/ngettext.c: Switch to gettext copyright.
2791 Use ANSI definitions and prototypes.
2792 * intl/plural-exp.c: Likewise.
2793 * intl/plural-exp.h: Switch to gettext copyright.
2794 Use ANSI definitions and prototypes.
2795 (struct expression): Move definition of enum operator outside
2796 of struct definition.
2797 * intl/plural.c: Regenerate.
2798 * intl/plural.y: Switch to gettext copyright.
2799 Use ANSI definitions and prototypes.
2800 Port to bison 3.0.
2801 * intl/textdomain.c: Switch to gettext copyright.
2802 Use ANSI definitions and prototypes.
2803 Use gl_* locking primitives rather than __libc_* ones.
2804
48c43298
SE
28052014-12-10 Steve Ellcey <sellcey@imgtec.com>
2806
2807 * debug/warning-nop.c: Add used atrribute.
2808
2b89bce9
JM
28092014-12-10 Joseph Myers <joseph@codesourcery.com>
2810
c153ac9f
JM
2811 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2812
2b89bce9
JM
2813 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2814 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2815 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2816
2cfbdb9a
JM
28172014-12-10 Joseph Myers <joseph@codesourcery.com>
2818 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2819
2820 [BZ #17634]
2821 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2822 Undefine after defining function. Define as weak alias of
2823 __wcschr. Use libc_hidden_weak.
2824 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
2825 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2826 (libc_hidden_def): Also define __GI___wcschr alias.
2827 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2828 __wcschr and define as weak alias of __wcschr.
2829 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2830 __wcschr.
2831 [!WCSCHR] (DEFAULT_WCSCHR): Define.
2832 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2833 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
2834 libc_hidden_weak. Do not use libc_hidden_def.
2835 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2836 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2837 __GI___wcschr alias.
2838 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2839 [IS_IN (libc)] (wcschr): Define as macro expanding to
2840 __redirect_wcschr.
2841 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2842 [IS_IN (libc)] (__wcschr_power6): Likewise.
2843 [IS_IN (libc)] (__wcschr_power7): Likewise.
2844 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
2845 instead of wcschr.
2846 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2847 __libc_wcschr.
2848 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2849 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2850 __wcschr and define as weak alias of __wcschr. Use
2851 libc_hidden_builtin_def.
2852 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2853 as weak alias of __wcschr. Use libc_hidden_weak.
2854 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2855 wcschr.
2856 * time/era.c (_nl_init_era_entries): Likewise.
2857 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2858 variable.
2859 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2860 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2861
1b8bf351
JM
28622014-12-10 Joseph Myers <joseph@codesourcery.com>
2863
2864 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2865 format for long int variable.
2866
f5f46d51
AK
28672014-12-10 Anders Kaseorg <andersk@MIT.EDU>
2868
2869 [BZ #10672]
07008f7d 2870 * manual/search.texi: (Array Sort Function): Remove claim how to make
f5f46d51
AK
2871 qsort stable.
2872
217a74a8
AS
28732014-12-10 Andreas Schwab <schwab@suse.de>
2874
2875 [BZ #12847]
2876 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2877 user-controlled locks.
2878
aa76a5c7
RE
28792014-12-10 Richard Earnshaw <rearnsha@arm.com>
2880
2881 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2882 register.
2883
2084e7ca
JM
28842014-12-10 Joseph Myers <joseph@codesourcery.com>
2885
a4ecc9eb
JM
2886 * configure.ac (--disable-werror): New configure option.
2887 (enable_werror): New AC_SUBST.
2888 * configure: Regenerated.
2889 * config.make.in (enable-werror): New variable.
2890 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2891 -Wno-error=undef.
2892 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2893 * manual/install.texi (Configuring and compiling): Document
2894 --disable-werror.
2895 * INSTALL: Regenerated.
2896 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2897 (CFLAGS-tst-chk2.c): Likewise.
2898 (CFLAGS-tst-chk3.c): Likewise.
2899 (CFLAGS-tst-chk4.cc): Likewise.
2900 (CFLAGS-tst-chk5.cc): Likewise.
2901 (CFLAGS-tst-chk6.cc): Likewise.
2902 (CFLAGS-tst-lfschk1.c): Likewise.
2903 (CFLAGS-tst-lfschk2.c): Likewise.
2904 (CFLAGS-tst-lfschk3.c): Likewise.
2905 (CFLAGS-tst-lfschk4.cc): Likewise.
2906 (CFLAGS-tst-lfschk5.cc): Likewise.
2907 (CFLAGS-tst-lfschk6.cc): Likewise.
2908
0f88636c
JM
2909 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2910 (main): Disable -Wdeprecated-declarations around calls to
2911 register_printf_function.
2912
c81e9deb
JM
2913 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2914 (do_test): Disable -Wdiv-by-zero around some calls to
2915 fwrite_unlocked and fread_unlocked.
2916
2084e7ca
JM
2917 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2918 (DIAG_POP_NEEDS_COMMENT): Likewise.
2919 (_DIAG_STR1): Likewise.
2920 (_DIAG_STR): Likewise.
2921 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2922 * stdio-common/bug21.c: Include <libc-internal.h>.
2923 (do_test): Disable -Wformat around call to sscanf.
2924 * stdio-common/scanf14.c: Include <libc-internal.h>.
2925 (main): Disable -Wformat around some calls to scanf functions.
2926
df7ecc6b
TR
29272014-12-09 Torvald Riegel <triegel@redhat.com>
2928
2929 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2930
2aa3862e
AZ
29312014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2932
2933 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2934 stack variable alignment.
2935
c5c2b7c3
JM
29362014-12-06 Joseph Myers <joseph@codesourcery.com>
2937
2938 [BZ #17682]
2939 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2940 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2941 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2942 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2943 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2944 __getrlimit instead of getrlimit.
2945 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2946 __gettimeofday instead of gettimeofday.
2947 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2948 Likewise.
2949 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2950 Likewise.
2951 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2952 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2953 Remove variable.
2954 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2955 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2956
9752c3cd
AZ
29572014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2958
2959 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2960 for wide-character tests.
2961
4bee4cd9
RM
29622014-12-04 Roland McGrath <roland@hack.frob.com>
2963
2964 * io/openat64.c: #include <libc-internal.h>
2965 (__openat64): Prototypify. Use ignore_value on MODE.
2966 * io/openat.c: Likewise.
2967 * misc/reboot.c: #include <libc-internal.h>
2968 (reboot): Prototypify. Use ignore_value on HOWTO.
2969 * misc/ptrace.c: #include <libc-internal.h>
2970 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
2971
84dbedb6
JM
29722014-12-04 Joseph Myers <joseph@codesourcery.com>
2973
2974 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2975 XPG4, UNIX98 and XOPEN2K.
2976 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2977 Remove variable.
2978 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2979
b7a3e1c4 29802014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
be349d70 2981
af50dfc1 2982 * libio/fileops.c: Use ISO C style for function definitions.
24b97882
SP
2983 * libio/iofopen.c: Likewise.
2984 * libio/wfileops.c: Likewise.
2985
fe8b4d98
SP
2986 [BZ #17653]
2987 * libio/fileops.c (_IO_new_file_underflow): Unset cached
2988 offset on EOF.
2989 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2990 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2991 (fgets_func): Function pointer to fgets and fgetws.
2992 (do_ftell_test): Add test to verify ftell value after read
2993 EOF.
2994 (do_test): Set fgets_func.
2995
61b4f792
SP
2996 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2997 O_TRUNC flag for w and w+ modes.
2998 (do_rewind_test): Likewise.
2999 (do_ftell_test): Likewise.
3000 (do_write_test): Likewise.
3001
be349d70
SP
3002 [BZ #17647]
3003 * libio/fileops.c (do_ftell): Seek only when there are
3004 unflushed writes.
3005 * libio/wfileops.c (do_ftell_wide): Likewise.
3006 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3007 test case.
3008 (do_one_test): Call it.
3009
e3d6dba5
JM
30102014-12-03 Joseph Myers <joseph@codesourcery.com>
3011
3012 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3013 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3014 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3015 Remove variable.
3016 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3017 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3018 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3019
7f994279
JM
30202014-12-02 Joseph Myers <joseph@codesourcery.com>
3021
28a91e8f
JM
3022 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3023 Remove variable.
3024 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3025
7f994279
JM
3026 [BZ #17668]
3027 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3028 as weak alias of __getifaddrs. Use libc_hidden_weak.
3029 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3030 __freeifaddrs. Use libc_hidden_weak.
3031 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3032 define as weak alias of __getifaddrs. Use libc_hidden_weak.
3033 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3034 __freeifaddrs. Use libc_hidden_weak.
3035 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3036 __getifaddrs and define as weak alias of __getifaddrs. Use
3037 libc_hidden_weak.
3038 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3039 __freeifaddrs. Use libc_hidden_weak.
3040 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3041 Remove variable.
3042 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3043 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3044
bbe4c142
PJ
30452014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
3046
3047 [BZ #17601]
3048 * sysdeps/mips/start.S (__start): Use indirect jump to call
3049 __libc_start_main.
3050
66cadc05
JM
30512014-12-02 Joseph Myers <joseph@codesourcery.com>
3052
909e16d9
JM
3053 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3054
4e0b9016
JM
3055 * nptl/tst-mutex1.c: Include <stdbool.h>.
3056 [!ATTR] (ATTR_NULL): New macro.
3057 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3058 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3059 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3060
b1aff6a4
JM
3061 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3062 to char *.
3063
266865c0
JM
3064 [BZ #17665]
3065 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3066 Change conditional to [__USE_MISC].
3067
84e5e756
JM
3068 [BZ #17664]
3069 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3070 fgets_unlocked.
3071 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3072 __fgets_unlocked.
3073 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3074 fgets_unlocked.
3075 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3076 Remove variable.
3077 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3078 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3079 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3080 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3081 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3082 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3083 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3084 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3085 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3086
66cadc05
JM
3087 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3088
2e8a2de2 30892014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
0f0a1c82
AZ
3090
3091 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3092 Remove strpbrk objects.
3093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3094 (__libc_ifunc_impl_list): Remove strpbrk implementation.
3095 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3096 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3097 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3098 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3099
bb2542e0
AZ
3100 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3101 Remove strcspn objects.
3102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3103 (__libc_ifunc_impl_list): Remove strcspn implementation.
3104 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3105 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3106 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3107 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2e8a2de2
AZ
3108
3109 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3110 Remove strspn objetcs.
3111 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3112 (__libc_ifunc_impl_list): Remove strspn implementation.
3113 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3114 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3115 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3116 * sysdeps/powerpc/powerpc64/strspn.S: New file.
3117
08f1e1d2
JL
31182014-12-01 James Lemke <jwlemke@codesourcery.com>
3119
3120 [BZ #17581]
3121 * malloc/hooks.c
3122 (mem2mem_check): Add a terminator to the chain of checking blocks.
3123 (malloc_check_get_size): Use it here.
3124 (mem2chunk_check): Ditto.
3125
a8a7d7d2
RS
31262014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3127
3128 * sysdeps/powerpc/powerpc64/strtok.S: New file.
3129 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3130
97114a38
CD
31312014-11-29 Carlos O'Donell <carlos@redhat.com>
3132
c8dc1727
CD
3133 * bits/ioctl-types.h: Indent preprocessor directives correctly.
3134
6d03458e
CD
3135 * nptl/nptl-init.c: Include libc-internal.h.
3136 (__pthread_initialize_minimal_internal): Use ROUND_UP.
3137
97114a38
CD
3138 * elf/ldconfig.c (search_dir): Expand comment.
3139
0e7e69ba
JM
31402014-11-29 Joseph Myers <joseph@codesourcery.com>
3141
3142 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3143 variable.
3144 (linknamespace-symlist-stdlibs-tests): Likewise.
3145 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3146 instead of $(objpfx)symlist-stdlibs.
3147 (linknamespace-libs-isoc): New variable.
3148 (linknamespace-libs): Use $(linknamespace-libs-isoc).
3149 (linknamespace-libs-ISO): New variable.
3150 (linknamespace-libs-ISO99): Likewise.
3151 (linknamespace-libs-ISO11): Likewise.
3152 (linknamespace-libs-XPG3): Likewise.
3153 (linknamespace-libs-XPG4): Likewise.
3154 (linknamespace-libs-POSIX): Likewise.
3155 (linknamespace-libs-UNIX98): Likewise.
3156 (linknamespace-libs-XOPEN2K): Likewise.
3157 (linknamespace-libs-POSIX2008): Likewise.
3158 (linknamespace-libs-XOPEN2K8): Likewise.
3159 ($(objpfx)symlist-stdlibs): Replace by
3160 $(linknamespace-symlist-stdlibs-tests). Use
3161 $(linknamespace-libs-$*) as set of libraries.
3162 ($(linknamespace-header-tests)): Update dependencies. Use
3163 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3164 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3165 * conform/linknamespace.pl: Remove comment about considering
3166 definitions of symbols from irrelevant libraries.
3167
d8dd0080
L
31682014-11-28 H.J. Lu <hongjiu.lu@intel.com>
3169
3170 [BZ #13862]
3171 * elf/dl-tls.c: Include <atomic.h>.
3172 (oom): Remove #ifdef SHARED/#endif.
3173 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3174 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
3175 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3176 big enough.
3177 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3178 * nptl/Makefile (tests): Add tst-stack4.
3179 (modules-names): Add tst-stack4mod.
3180 ($(objpfx)tst-stack4): New.
3181 (tst-stack4mod.sos): Likewise.
3182 ($(objpfx)tst-stack4.out): Likewise.
3183 ($(tst-stack4mod.sos)): Likewise.
3184 (clean): Likewise.
3185 * nptl/tst-stack4.c: New file.
3186 * nptl/tst-stack4mod.c: Likewise.
3187
167da422
B
31882014-11-27 J. Brown <jb999@gmx.de>
3189
3190 * sysdeps/x86/bits/string.h: Add recent CPUs.
3191
9114625b
JM
31922014-11-27 Joseph Myers <joseph@codesourcery.com>
3193
6b5189eb
JM
3194 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3195 sigblock.
3196
49051f8e
JM
3197 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3198 feof.
3199
9114625b
JM
3200 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3201 variable.
3202
e7300fef
SL
32032014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
3204
3205 * nscd/connections.c: Include libc-internal.h because of macro
3206 usage ignore_value.
3207
1721f0a4
SP
32082014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
3209
3210 * string/bits/string3.h (__warn_memset_zero_len): Don't
3211 declare for gcc newer than 5.0.
3212 (memset): Don't test for zero-length __LEN for gcc newer than
3213 5.0.
3214
be970916
JM
32152014-11-27 Joseph Myers <joseph@codesourcery.com>
3216
d88548f4
JM
3217 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3218 size_t for %zu format.
3219
be970916
JM
3220 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3221 difference, not %ju.
3222
3b20fd5c
JM
32232014-11-26 Joseph Myers <joseph@codesourcery.com>
3224
8915eace
JM
3225 * include/libc-internal.h (ignore_value): New macro.
3226 * nscd/connections.c (restart): Wrap calls to setuid and setgid
3227 with ignore_value.
3228
f1a5a0e3
JM
3229 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3230 definition.
3231
59ef1715
JM
3232 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3233 pthread_cleanup_push to void *.
3234
a6f3079b
JM
3235 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3236 Undefine.
3237
706688aa
JM
3238 [BZ #16619]
3239 [BZ #16740]
3240 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3241 instead of 1L << 52.
3242
12da14a5
JM
3243 * libio/bug-rewind.c (do_test): Check fwscanf return values.
3244 * libio/bug-rewind2.c (do_test): Likewise.
3245
bd5dadac
JM
3246 * debug/test-stpcpy_chk-ifunc.c: Remove file.
3247 * debug/test-strcpy_chk-ifunc.c: Likewise.
3248 * wcsmbs/test-wcschr-ifunc.c: Likewise.
3249 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3250 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3251 * wcsmbs/test-wcslen-ifunc.c: Likewise.
3252 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3253 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3254 * Rules [$(multi-arch) = no] (tests): Do not filter out
3255 $(tests-ifunc).
3256 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3257 * debug/Makefile (tests-ifunc): Remove variable.
3258 (tests): Do not add $(tests-ifunc).
3259 * wcsmbs/Makefile (tests-ifunc): Remove variable.
3260 (tests): Do not add $(tests-ifunc).
3261 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3262 [TEST_IFUNC]: Remove conditionals.
3263 * string/test-string.h (TEST_IFUNC): Remove macro.
3264 [TEST_IFUNC]: Remove conditionals.
3265
3b20fd5c
JM
3266 * string/test-strchr.c [!WIDE] (L): New macro.
3267 [WIDE] (L): Likewise.
3268 (check1): Use CHAR instead of char. Use L on string and character
3269 constants.
3270
704f7947
AZ
32712014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
3272
3273 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3274 tests.
3275 * sysdeps/powerpc/bits/atomic.h
3276 (__arch_atomic_exchange_and_add_32_acq): Add definition.
3277 (__arch_atomic_exchange_and_add_32_rel): Likewise.
3278 (atomic_exchange_and_add_acq): Likewise.
3279 (atomic_exchange_and_add_rel): Likewise.
3280 * sysdeps/powerpc/powerpc32/bits/atomic.h
3281 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3282 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3283 * sysdeps/powerpc/powerpc64/bits/atomic.h
3284 (__arch_atomic_exchange_and_add_64_acq): Add definition.
3285 (__arch_atomic_exchange_and_add_64_rel): Likewise.
3286
cdcb42d7
TR
32872014-11-26 Torvald Riegel <triegel@redhat.com>
3288
3289 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3290 Change synchronization of __sched_fifo_min_prio and
3291 __sched_fifo_max_prio.
3292 * nptl/pthread_mutexattr_getprioceiling.c
3293 (pthread_mutexattr_getprioceiling): Likewise.
3294 * nptl/pthread_mutexattr_setprioceiling.c
3295 (pthread_mutexattr_setprioceiling): Likewise.
3296 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3297 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3298 Likewise.
3299
c82f5c0c
JM
33002014-11-26 Joseph Myers <joseph@codesourcery.com>
3301
3302 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3303 void.
3304
439e1ad6
JM
33052014-11-25 Joseph Myers <joseph@codesourcery.com>
3306
3307 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3308 third argument const.
3309
b1eda10e
PE
33102014-11-25 Paul Eggert <eggert@cs.ucla.edu>
3311
3312 fnmatch: work around GCC compiler warning bug with uninit var
3313 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3314 This works around a bug with x86-64 GCC 4.9.2 and earlier
3315 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3316 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3317 used uninitialized in this function [-Wmaybe-uninitialized]".
3318
bde2667a
JM
33192014-11-25 Joseph Myers <joseph@codesourcery.com>
3320
3321 * posix/bug-regex31.c (main): Return RES not 0.
3322
5fbb5691
AB
33232014-11-25 Anton Blanchard <anton@samba.org>
3324
3325 * sysdeps/powerpc/bits/atomic.h
3326 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3327
467fec0b
BM
33282014-11-24 Sterling Augustine <saugustine@google.com>
3329
3330 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3331
e9ff8efb
RC
33322014-11-24 Ryan Cumming <etaoins@gmail.com>
3333
3334 [BZ #17608]
3335 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3336
9744496f
JM
33372014-11-24 Joseph Myers <joseph@codesourcery.com>
3338
3339 [BZ #17633]
3340 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3341 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3342 variable.
3343 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3344 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3345
6423d475
WD
33462014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
3347
3348 * string/strncpy.c (strncpy): Improve performance by using memset.
3349
33502014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
b863d2bc
WD
3351
3352 * string/strcpy.c (strcpy):
3353 Improve performance by using strlen and memcpy.
3354
5d178c37
LH
33552014-11-24 Leonhard Holz <leonhard.holz@web.de>
3356
3357 * string/strcoll_l.c (get_next_seq): __always_inline.
3358 * string/strcoll_l.c (do_compare): __always_inline.
3359
279bc5b3
SP
33602014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
3361
7a9ebfa1
SP
3362 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3363 defined.
3364 * include/mqueue.h: Likewise.
3365 * include/stdlib.h: Likewise.
3366
4f41c682
SP
3367 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3368 (get_null_defines): Adjust.
3369 * sunrpc/Makefile: Adjust comment.
3370 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3371 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3372 (CFLAGS-interp.c): Likewise.
3373 (CFLAGS-ldconfig.c): Likewise.
3374 (CPPFLAGS-.os): Likewise.
3375 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3376 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3377 * extra-modules.mk (extra-modules.mk): Likewise.
3378 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3379 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3380 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3381 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3382 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3383 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3384 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3385 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3386 * iconvdata/Makefile (CPPFLAGS): Likewise.
3387 (cpp-srcs-left): Add libof for all iconvdata routines.
3388 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3389 * include/assert.h: Likewise.
3390 * include/ctype.h: Likewise.
3391 * include/errno.h: Likewise.
3392 * include/libc-symbols.h: Likewise.
3393 * include/math.h: Likewise.
3394 * include/netdb.h: Likewise.
3395 * include/resolv.h: Likewise.
3396 * include/stdio.h: Likewise.
3397 * include/stdlib.h: Likewise.
3398 * include/string.h: Likewise.
3399 * include/sys/stat.h: Likewise.
3400 * include/wctype.h: Likewise.
3401 * intl/l10nflist.c: Likewise.
3402 * libidn/idn-stub.c: Likewise.
3403 * libio/libioP.h: Likewise.
3404 * nptl/libc_multiple_threads.c: Likewise.
3405 * nptl/pthreadP.h: Likewise.
3406 * posix/regex_internal.h: Likewise.
3407 * resolv/res_hconf.c: Likewise.
3408 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3409 * sysdeps/arm/memmove.S: Likewise.
3410 * sysdeps/arm/sysdep.h: Likewise.
3411 * sysdeps/generic/_itoa.h: Likewise.
3412 * sysdeps/generic/symbol-hacks.h: Likewise.
3413 * sysdeps/gnu/errlist.awk: Likewise.
3414 * sysdeps/gnu/errlist.c: Likewise.
3415 * sysdeps/i386/i586/memcpy.S: Likewise.
3416 * sysdeps/i386/i586/memset.S: Likewise.
3417 * sysdeps/i386/i686/memcpy.S: Likewise.
3418 * sysdeps/i386/i686/memmove.S: Likewise.
3419 * sysdeps/i386/i686/mempcpy.S: Likewise.
3420 * sysdeps/i386/i686/memset.S: Likewise.
3421 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3422 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3423 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3424 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3425 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3426 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3427 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3428 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3429 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3430 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3431 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3432 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3433 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3434 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3435 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3436 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3437 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3438 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3439 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3440 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3441 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3442 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3443 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3444 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3445 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3446 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3447 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3448 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3449 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3450 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3451 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3452 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3453 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3454 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3455 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3456 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3457 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3458 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3459 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3460 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3461 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3462 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3463 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3464 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3465 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3466 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3467 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3468 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3469 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3470 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3471 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3472 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3473 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3474 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3475 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3476 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3477 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3478 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3479 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3480 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3481 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3482 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3483 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3484 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3485 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3486 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3487 * sysdeps/posix/closedir.c: Likewise.
3488 * sysdeps/posix/opendir.c: Likewise.
3489 * sysdeps/posix/readdir.c: Likewise.
3490 * sysdeps/posix/rewinddir.c: Likewise.
3491 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3492 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3493 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3494 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3495 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3496 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3497 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3498 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3499 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3500 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3501 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3502 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3503 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3504 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3505 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3506 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3507 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3508 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3509 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3510 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3511 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3512 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3513 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3514 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3515 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3516 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3517 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3518 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3519 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3520 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3522 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3523 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3524 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3526 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3527 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3528 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3529 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3530 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3531 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3532 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3533 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3534 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3535 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3536 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3537 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3538 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3539 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3540 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3541 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3542 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3543 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3544 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3545 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3546 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3547 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3548 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3549 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3550 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3551 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3552 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3553 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3554 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3555 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3556 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3557 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3558 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3559 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3560 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3562 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3563 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3564 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3565 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3566 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3567 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3568 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3569 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3570 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3571 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3572 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3573 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3574 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3575 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3576 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3577 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3578 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3579 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3580 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3581 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3582 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3583 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3584 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3585 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3586 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3587 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3588 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3589 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3590 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3591 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3592 * sysdeps/unix/alpha/sysdep.S: Likewise.
3593 * sysdeps/unix/alpha/sysdep.h: Likewise.
3594 * sysdeps/unix/make-syscalls.sh: Likewise.
3595 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3597 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3598 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3599 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3600 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3601 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3602 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3603 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3604 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3605 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3606 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3607 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3608 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3609 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3610 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3611 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3612 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3613 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3614 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3615 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3616 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3617 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3618 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3619 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3620 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3621 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3624 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3625 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3626 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3627 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3629 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3630 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3631 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3633 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3634 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3635 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3636 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3637 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3638 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3639 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3640 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3641 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3642 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3643 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3644 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3645 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3646 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3647 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3648 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3649 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3650 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3651 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3652 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3653 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3654 * sysdeps/x86_64/memcpy.S: Likewise.
3655 * sysdeps/x86_64/memmove.c: Likewise.
3656 * sysdeps/x86_64/memset.S: Likewise.
3657 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3658 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3659 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3660 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3661 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3662 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3663 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3664 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3665 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3666 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3667 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3668 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3669 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3670 * sysdeps/x86_64/multiarch/memset.S: Likewise.
3671 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3672 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3673 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3674 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3675 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3676 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3677 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3678 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3679 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3681 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3682 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3683 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3684 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3685 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3686 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3687 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3688 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3689 * sysdeps/x86_64/strcmp.S: Likewise.
3690
76ca86a5
SP
3691 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3692
a3848485
SP
3693 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3694 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3695 * elf/rtld-Rules: Likewise.
3696 * elf/setup-vdso.h: Likewise.
3697 * include/assert.h: Likewise.
3698 * include/bits/stdlib-float.h: Likewise.
3699 * include/errno.h: Likewise.
3700 * include/sys/stat.h: Likewise.
3701 * include/unistd.h: Likewise.
3702 * sysdeps/aarch64/setjmp.S: Likewise.
3703 * sysdeps/alpha/setjmp.S: Likewise.
3704 * sysdeps/arm/__longjmp.S: Likewise.
3705 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3706 * sysdeps/arm/setjmp.S: Likewise.
3707 * sysdeps/arm/sysdep.h: Likewise.
3708 * sysdeps/generic/_itoa.h: Likewise.
3709 * sysdeps/generic/dl-sysdep.h: Likewise.
3710 * sysdeps/generic/ldsodefs.h: Likewise.
3711 * sysdeps/i386/dl-tls.h: Likewise.
3712 * sysdeps/i386/setjmp.S: Likewise.
3713 * sysdeps/m68k/setjmp.c: Likewise.
3714 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3715 * sysdeps/mach/hurd/opendir.c: Likewise.
3716 * sysdeps/posix/getcwd.c: Likewise.
3717 * sysdeps/posix/opendir.c: Likewise.
3718 * sysdeps/posix/profil.c: Likewise.
3719 * sysdeps/powerpc/dl-procinfo.h: Likewise.
3720 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3721 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3722 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3723 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3724 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3725 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3726 * sysdeps/s390/dl-tls.h: Likewise.
3727 * sysdeps/s390/s390-32/setjmp.S: Likewise.
3728 * sysdeps/s390/s390-64/setjmp.S: Likewise.
3729 * sysdeps/sh/sh3/setjmp.S: Likewise.
3730 * sysdeps/sh/sh4/setjmp.S: Likewise.
3731 * sysdeps/unix/alpha/sysdep.h: Likewise.
3732 * sysdeps/unix/arm/sysdep.S: Likewise.
3733 * sysdeps/unix/i386/sysdep.S: Likewise.
3734 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3735 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3736 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3737 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3738 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3739 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3740 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3741 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3742 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3743 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3744 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3745 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3749 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3750 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3751 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3752 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3753 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3755 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3756 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3757 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3758 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3759 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3760 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3761 * sysdeps/unix/x86_64/sysdep.S: Likewise.
3762 * sysdeps/x86_64/setjmp.S: Likewise.
3763
a109996e
SP
3764 * include/math.h: Use IS_IN instead of IS_IN_libm.
3765 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3766 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3767 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3768 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3769 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3770 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3771 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3772 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3773 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3774 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3775 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3776 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3777 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3778 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3779 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3780 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3781 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3782 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3783 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3784 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3785 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3786 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3787 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3788 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3789 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3790 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3791 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3792 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3793 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3794 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3795 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3796 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3797 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3799 Likewise.
3800 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3801 Likewise.
3802 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3803 Likewise.
3804 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3805 Likewise.
3806 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3807 Likewise.
3808 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3809 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3810 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3811 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3812 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3813 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3819 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3820 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3821 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3822 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3823 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3824 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3825 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3826 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3827 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3828 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3829 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3830 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3831 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3832 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3833 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3834 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3835
ce9f10f7
SP
3836 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3837 * nptl/pthreadP.h: Likewise.
3838 * nptl_db/structs.def: Likewise.
3839 * sysdeps/arm/sysdep.h: Likewise.
3840 * sysdeps/nptl/bits/libc-lock.h: Likewise.
3841 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3842 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3843 * sysdeps/unix/alpha/sysdep.h: Likewise.
3844 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3845 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3846 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3847 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3848 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3849 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3850 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3851 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3852 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3853 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3854 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3855 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3856 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3857 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3862 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3865 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3866 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3867 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3868 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3869 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3870
016afc75
SP
3871 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3872 * nptl/pthreadP.h: Likewise.
3873 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3874 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3875 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3876 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3877 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3878 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3879 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3880 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3881 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3882 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3883 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3884 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3886 Likewise.
3887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3888 Likewise.
3889 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3890 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3891 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3892 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3893 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3894 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3895 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3896 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3897
9b42a0b3
SP
3898 * dlfcn/dladdr.c: Use IS_IN.
3899 * dlfcn/dladdr1.c: Likewise.
3900 * dlfcn/dlclose.c: Likewise.
3901 * dlfcn/dlerror.c: Likewise.
3902 * dlfcn/dlinfo.c: Likewise.
3903 * dlfcn/dlmopen.c: Likewise.
3904 * dlfcn/dlopen.c: Likewise.
3905 * dlfcn/dlsym.c: Likewise.
3906 * dlfcn/dlvsym.c: Likewise.
3907
85f36372
SP
3908 * include/ifaddrs.h: Use IS_IN.
3909 * inet/check_pf.c: Likewise.
3910 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3911 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3912
fb6784e3
SP
3913 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3914 IS_IN_ldconfig.
3915 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3916 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3917
2886d2d1
SP
3918 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3919 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3920 IS_IN (libc).
3921
9a484857
SP
3922 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3923
a10178bd
SP
3924 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3925 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3926 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3927 * include/libc-symbols.h (IS_IN_LIB): New macro.
3928 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3929 * include/netdb.h: Likewise.
3930 * include/stap-probe.h: Remove all uses of IN_LIB.
3931
279bc5b3
SP
3932 * Makeconfig (module-cppflags-real): Define MODULE_NAME
3933 instead of IN_MODULE.
3934 * include/libc-symbols.h (IN_MODULE): Define using
3935 MODULE_NAME.
3936 (PASTE_NAME, PASTE_NAME1): New macros.
3937 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3938 of IN_LIB.
3939 (STAP_PROBE_ASM): Likewise.
3940
e0cfa510
ST
39412014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
3942
3943 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3944 __mach_init in dlopened libc.
3945
34d97d87
MF
39462014-11-22 Mike Frysinger <vapier@gentoo.org>
3947
3948 * sysdeps/arm/preconfigure.ac: Delete EABI check.
3949 * sysdeps/arm/preconfigure: Regenerate.
3950
33cd1f74
RM
39512014-11-21 Roland McGrath <roland@hack.frob.com>
3952
3953 * nptl/pthread_create.c (__pthread_create_2_1): Set
3954 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3955 when copying values from IATTR into PD.
3956
8c230039
WN
39572014-11-21 Will Newton <will.newton@linaro.org>
3958 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3959
6d3db89b
AP
3960 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3961 Refactor inline-asm. Also add comment.
3962
01194ba1
WN
3963 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3964 ElfW macro instead of hardcoded Elf64 types.
3965 (la_aarch64_gnu_pltenter): Likewise.
3966 * sysdeps/aarch64/dl-machine.h
3967 (elf_machine_runtime_setup): Use ElfW(Addr).
3968
8c230039
WN
3969 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3970 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3971 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3972 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3973 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3974 (R_AARCH64_TLS_DTPMOD64): Rename to ..
3975 (R_AARCH64_TLS_DTPMOD): This.
3976 (R_AARCH64_TLS_DTPREL64): Rename to ...
3977 (R_AARCH64_TLS_DTPREL): This.
3978 (R_AARCH64_TLS_TPREL64): Rename to ...
3979 (R_AARCH64_TLS_TPREL): This.
3980 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3981 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3982 R_AARCH64_TLS_TPREL64.
3983 (elf_machine_rela): Likewise.
3984
0d79fa53
TR
39852014-11-21 Torvald Riegel <triegel@redhat.com>
3986
3987 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3988 by setting it to 0. 64b atomics are not supported currently.
3989
b59d114b
AO
39902014-11-21 Alexandre Oliva <aoliva@redhat.com>
3991
3992 [BZ #16469]
3993 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3994 search domain names.
3995
f3d945d5
AO
39962014-11-21 Alexandre Oliva <aoliva@redhat.com>
3997
3998 [BZ #16469]
3999 * NEWS: Update.
4000 * resolv/res_query.c (__libc_res_nquerydomain): Retain
4001 trailing dot.
4002 * posix/tst-getaddrinfo5.c: New.
4003 * posix/Makefile (tests): Add it.
4004
49698902
AO
40052014-11-21 Alexandre Oliva <aoliva@redhat.com>
4006
4007 [BZ #14498]
4008 * NEWS: Fixed.
4009 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4010 after parsing line but before break_if_match.
4011 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4012 if there is a protocol mismatch.
4013
81959214
MS
40142014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4015
4016 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4017 because the potential race is on the user-supplied stream.
4018
7729e0e9
AO
40192014-11-21 Alexandre Oliva <aoliva@redhat.com>
4020
4021 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4022 string literal if not passed a buffer.
4023 * manual/job.texi (ctermid): Update reasoning, note deviation
4024 from posix, suggest mtasurace when not passed a buffer, for
4025 future non-preliminary safety notes.
4026
a4ea5e28
AO
40272014-11-21 Alexandre Oliva <aoliva@redhat.com>
4028
4029 * manual/users.texi (cuserid): Fix MT-Safety note for the case
4030 of not passing it a buffer.
4031 Reported by Peng Haitao.
4032
a2b581cb
AO
40332014-11-21 Alexandre Oliva <aoliva@redhat.com>
4034
4035 * manual/Makefile ($(objpfx)stamp-summary): Require
4036 check-safety.sh to pass.
4037 * manual/check-safety.sh: Wish for verification that every
4038 @deftypefn and @deftypefun is followed by a @safety remark.
4039
f214ff74
RM
40402014-11-20 Roland McGrath <roland@hack.frob.com>
4041
7f0dfae0
RM
4042 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4043
2f531bbb
RM
4044 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4045 PTHREAD_CANCEL_ASYNCHRONOUS.
4046 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4047 send SIGCANCEL.
4048
f214ff74
RM
4049 * nptl/default-sched.h: New file.
4050 * sysdeps/unix/sysv/linux/default-sched.h: New file.
4051 * nptl/pthread_create.c: Include it.
4052 (__pthread_create_2_1): Use collect_default_sched instead of making
4053 Linux syscalls here directly.
4054
e37c91d4
TR
40552014-11-20 Torvald Riegel <triegel@redhat.com>
4056
4057 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4058 __pthread_once): Use C11 atomics.
4059
1eccfecd
TR
40602014-11-20 Torvald Riegel <triegel@redhat.com>
4061
4062 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4063
ff871426
TR
40642014-11-20 Torvald Riegel <triegel@redhat.com>
4065
4066 * include/atomic.h (__atomic_link_error, __atomic_check_size,
4067 atomic_thread_fence_acquire, atomic_thread_fence_release,
4068 atomic_thread_fence_seq_cst, atomic_load_relaxed,
4069 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4070 atomic_compare_exchange_weak_relaxed,
4071 atomic_compare_exchange_weak_acquire,
4072 atomic_compare_exchange_weak_release,
4073 atomic_exchange_acquire, atomic_exchange_release,
4074 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4075 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4076 atomic_fetch_and_acquire,
4077 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4078
1ea339b6
TR
40792014-11-20 Torvald Riegel <triegel@redhat.com>
4080
4081 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4082 USE_ATOMIC_COMPILER_BUILTINS): Define.
4083 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4084 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4085 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4086 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4087 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4088 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4089 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4090 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4091 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4092 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4093 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4094 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4095 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4096 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4097 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4098 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4099 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4100 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4101 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4102 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4103 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4104 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4105 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4106 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4107 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4108 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4109 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4110 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4111 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4112 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4113 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4114 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4115 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4116 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4117 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4118 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4119 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4120 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4121 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4122 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4123
cbd463e2
RM
41242014-11-19 Roland McGrath <roland@hack.frob.com>
4125
d960211f
RM
4126 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4127 the sched_priority value here. It was already checked when the user
4128 called pthread_attr_setschedparam.
4129
cbd463e2
RM
4130 * nptl/tst-bad-schedattr.c: New file.
4131 * nptl/Makefile (tests): Add it.
4132
a39208bd
CD
41332014-11-19 Carlos O'Donell <carlos@redhat.com>
4134 Florian Weimer <fweimer@redhat.com>
4135 Joseph Myers <joseph@codesourcery.com>
4136 Adam Conrad <adconrad@0c3.net>
4137 Andreas Schwab <schwab@suse.de>
4138 Brooks <bmoses@google.com>
4139
4140 [BZ #17625]
4141 * wordexp-test.c (__dso_handle): Add prototype.
4142 (__register_atfork): Likewise.
4143 (__app_register_atfork): New function.
4144 (registered_forks): New global.
4145 (register_fork): New function.
4146 (test_case): Add 3 new tests for WRDE_CMDSUB.
4147 (main): Call __app_register_atfork.
4148 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4149 fork count is non-zero fail the test.
4150 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4151 is set.
4152 (parse_dollars): Remove check for WRDE_NOCMD.
4153 (parse_dquote): Likewise.
4154
9cd47470
SP
41552014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4156
130ac68c
SP
4157 * Makeconfig (built-modules): List non-library modules to be
4158 built.
4159 (module-cppflags): Include libc-modules.h for
4160 everything except shlib-versions.v.i.
4161 (CPPFLAGS): Use it.
4162 (before-compile): Add libc-modules.h.
4163 ($(common-objpfx)libc-modules.h,
4164 $(common-objpfx)libc-modules.stmp): New targets.
4165 (common-generated): Add libc-modules.h and libc-modules.stmp.
4166 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4167 * include/libc-symbols.h: Don't include libc-modules.h.
4168 * include/libc-modules.h: Remove file.
4169 * scripts/gen-libc-modules.awk: New script to generate
4170 libc-modules.h.
4171 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4172 Depend on libc-modules.stmp.
4173
286663c3
SP
4174 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4175
9cd47470
SP
4176 * Makeconfig (in-module): Get value of libof set for the
4177 translation unit.
4178 (CPPFLAGS): Use $(in-module).
4179 * Makerules: Don't suffix routine names for nonlib.
4180 * include/libc-modules.h: New file.
4181 * include/libc-symbols.h: Include libc-modules.h
4182 (IS_IN): New macro to replace IS_IN_* macros.
4183 * elf/Makefile: Set libof-* for each routine.
4184 * elf/rtld-Rules: Likewise.
4185 * extra-modules.mk: Likewise.
4186 * iconv/Makefile: Likewise.
4187 * iconvdata/Makefile: Likewise.
4188 * locale/Makefile: Likewise.
4189 * malloc/Makefile: Likewise.
4190 * nss/Makefile: Likewise.
4191 * sysdeps/gnu/Makefile: Likewise.
4192 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4193 * sysdeps/unix/sysv/linux/Makefile: Likewise.
4194 * sysdeps/s390/s390-64/Makefile: Likewise.
4195 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
4196 CPPFLAGS for nscd instead of nonlib.
4197
32fed10f
RM
41982014-11-18 Roland McGrath <roland@hack.frob.com>
4199
d71035bd
RM
4200 * nptl/createthread.c: New file.
4201
6540b991
RM
4202 * nptl/createthread.c: Moved ...
4203 * sysdeps/unix/sysv/linux/createthread.c: ... here.
4204
32fed10f
RM
4205 * nptl/createthread.c: Add proper top-line comment.
4206 (do_clone): Folded into ...
4207 (create_thread): ... here. Take new arguments STOPPED_START and
4208 THREAD_RAN. Always set PD->stopped_start to something here. Don't
4209 increment __nptl_threads, do event-reporting logic, do
4210 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4211 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
4212 resource cleanup if sched_setaffinity or sched_setscheduler fails,
4213 just send SIGCANCEL.
4214 * nptl/pthread_create.c: Forward-declare create_thread before
4215 including createthread.c.
4216 (start_thread): Use new macro START_THREAD_DEFN to replace defining
4217 declaration, and new macro START_THREAD_SELF to replace argument.
4218 Remove return statement.
4219 (report_thread_creation): New function.
4220 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
4221 synchronization logic, and __nptl_nthreads increment here, around
4222 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
4223 PD->parent_cancelhandling here, before create_thread. When
4224 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4225 __deallocate_stack, and ENOMEM translation here.
4226
107a5bf0
JM
42272014-11-18 Joseph Myers <joseph@codesourcery.com>
4228
4229 [BZ #17616]
4230 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4231 (mptwo): Rename to __mptwo.
4232 (__inv): Use __mptwo instead of mptwo.
4233 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4234 (mptwo): Rename to __mptwo.
4235 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4236 of mpone and __mptwo instead of mptwo.
4237 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4238 instead of mpone.
4239 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4240 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4241 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4242 of mpone and __mptwo instead of mptwo.
4243 (__mpranred): Use __mpone instead of mpone.
4244 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4245 variable.
4246 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4247 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4248 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4249 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4250 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4251 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4252 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4253 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4254 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4255 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4256 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4257 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4258 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4259 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4260 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4261 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4262 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4263 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4264 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4265
3b679ab3
TV
42662014-11-18 Tom de Vries <tom@codesoucery.com>
4267
4268 * manual/signal.texi (Primitives Interrupted by Signals): In section,
4269 replace BSD Handler xref with BSD Signal Handling.
4886f341
RH
4270
42712014-11-17 Richard Henderson <rth@redhat.com>
4272
4273 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4274 (_FP_PACK_RAW_2): Remove.
4275 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4276 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4277 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4278 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4279 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4280 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4281 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4282 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4283 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4284 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4285 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4286 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4287 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4288 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4289 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4290 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4291
0781a777
RM
42922014-11-14 Roland McGrath <roland@hack.frob.com>
4293
4294 * signal/signal.h [__USE_MISC]
4295 (struct sigvec): Remove type.
4296 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4297 (sigvec): Remove declaration.
4298 * sysdeps/posix/sigvec.c: Moved ...
4299 * signal/sigvec.c: ... here, replacing old file.
4300 (struct sigvec): New type, copied from old signal.h definition.
4301 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4302 (__sigvec): Convert definition to prototype.
4303 (sigvec): Replace weak_alias with compat_symbol.
4304 * signal/Versions (libc: GLIBC_2.21): New version set.
4305 * include/signal.h: Remove __sigvec declaration.
4306 * sysdeps/unix/bsd/sigvec.c: Remove file.
4307 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4308 * manual/signal.texi (BSD Handler): Remove subsection.
4309 Move siginterrupt up to ...
4310 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
4311 (Blocking in BSD): Fold subsection into its parent.
4312 * NEWS: Mention sigvec removal.
4313
a4733812
JM
43142014-11-14 Joseph Myers <joseph@codesourcery.com>
4315
5ae4fe60
JM
4316 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4317 (DLA_FMS): Make definition conditional only on [__FMA4__].
4318 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4319 definition.
4320
6a0dd472
JM
4321 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4322 Make definition conditional only on [PROF].
4323 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4324 definition.
4325 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4326 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4327
a4733812
JM
4328 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4329 !__GNUC__].
4330 * include/signal.h (__sigpause): Move declaration above call to
4331 libc_hidden_proto.
4332 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4333 variable.
4334 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4335 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4336
cf7246dd
DM
43372014-11-14 David S. Miller <davem@davemloft.net>
4338
4339 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4340 Define before including <string/memcpy.c> and <string/mempcpy.c>.
4341
c1b0aadc
JM
43422014-11-14 Joseph Myers <joseph@codesourcery.com>
4343
4863355a
JM
4344 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4345 * configure: Regenerated.
4346 * manual/install.texi (Tools for Compilation): Document a
4347 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4348 compiler verified to work.
4349 * INSTALL: Regenerated.
4350
c1b0aadc
JM
4351 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4352 redeclare with asm name.
4353 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4354 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4355 including <string.h>.
4356 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4357 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4358 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4359 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4360 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4361 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4362 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4363
2a1cfd94
JM
43642014-11-13 Joseph Myers <joseph@codesourcery.com>
4365
bf438382
JM
4366 * stdlib/strtol.c (__strtol): Use prototype definition.
4367
2a1cfd94
JM
4368 [BZ #17594]
4369 * stdlib/strtol.c (SYM__): New macro.
4370 (SYM__1): Likewise.
4371 (__strtol): Likewise.
4372 (strtol): Rename to __strtol and define as weak alias of
4373 __strtol. Use libc_hidden_weak.
4374
20ed0d26
SL
43752014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4376
4377 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4378 Use numbered labels in inline assembly.
4379
53244a4e
SL
43802014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4381
4382 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4383 Add setjmp LIBC_PROBE.
4384 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4385 Likewise.
4386 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4387 Add longjmp, longjmp_target LIBC_PROBE.
4388 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4389 Likewise.
4390
47df8251
SL
43912014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4392
4393 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4394 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4395 to get rid of unused variable warning.
4396
618cebef
SL
43972014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
4398
4399 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4400 Check for unwind_backtrace == NULL only in SHARED case.
4401 (__backchain_backtrace): Compile only in SHARED case.
4402 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4403 Likewise.
4404 (__backchain_backtrace): Declare as static.
4405
c6aab2cb
RM
44062014-11-12 Roland McGrath <roland@hack.frob.com>
4407
4408 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4409 (__libc_multiple_threads_ptr): Variable moved ...
4410 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4411
5a6fa4d7
JM
44122014-11-12 Joseph Myers <joseph@codesourcery.com>
4413
24f4f825
JM
4414 * conform/GlibcConform.pm: New file.
4415 * conform/conformtest.pl: Use GlibcConform module.
4416 * conform/linknamespace.pl: New file.
4417 * conform/list-header-symbols.pl: Likewise.
4418 * conform/Makefile (linknamespace-symlists-base): New variable.
4419 (linknamespace-symlists-tests): Likewise.
4420 (linknamespace-header-base): Likewise.
4421 (linknamespace-header-tests): Likewise.
4422 (tests-special): Add new tests.
4423 ($(linknamespace-symlists-tests)): New rule.
4424 (linknamespace-libs): New variable.
4425 ($(objpfx)symlist-stdlibs): New rule.
4426 ($(linknamespace-header-tests)): Likewise.
4427 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4428 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4429 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4430 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4431 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4432 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4433 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4434 (test-xfail-ISO/math.h/linknamespace): Likewise.
4435 (test-xfail-ISO/signal.h/linknamespace): Likewise.
4436 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4437 (test-xfail-ISO/time.h/linknamespace): Likewise.
4438 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4439 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4440 (test-xfail-ISO99/math.h/linknamespace): Likewise.
4441 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4442 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4443 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4444 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4445 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4446 (test-xfail-ISO11/math.h/linknamespace): Likewise.
4447 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4448 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4449 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4450 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4451 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4452 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4453 (test-xfail-XPG3/math.h/linknamespace): Likewise.
4454 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4455 (test-xfail-XPG3/search.h/linknamespace): Likewise.
4456 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4457 (test-xfail-XPG3/time.h/linknamespace): Likewise.
4458 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4459 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4460 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4461 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4462 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4463 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4464 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4465 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4466 (test-xfail-XPG4/math.h/linknamespace): Likewise.
4467 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4468 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4469 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4470 (test-xfail-XPG4/search.h/linknamespace): Likewise.
4471 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4472 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4473 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4474 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4475 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4476 (test-xfail-XPG4/time.h/linknamespace): Likewise.
4477 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4478 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4479 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4480 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4481 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4482 (test-xfail-POSIX/math.h/linknamespace): Likewise.
4483 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4484 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4485 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4486 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4487 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4488 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4489 (test-xfail-POSIX/time.h/linknamespace): Likewise.
4490 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4491 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4492 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4493 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4494 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4495 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4496 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4497 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4498 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4499 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4500 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4501 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4502 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4503 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4504 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4505 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4506 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4507 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4508 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4509 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4510 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4511 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4512 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4513 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4514 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4515 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4516 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4517 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4518 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4519 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4520 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4521 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4522 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4523 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4524 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4525 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4526 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4527 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4528 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4529 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4530 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4531 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4532 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4533 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4534 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4535 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4536 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4537 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4538 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4539 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4540 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4541 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4542 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4543 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4544 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4545 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4546 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4547 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4548 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4549 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4550 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4551 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4552 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4553 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4554 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4555 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4556 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4557 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4558 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4559 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4560 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4561 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4562 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4563 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4564 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4565 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4566 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4567 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4568 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4569 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4570 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4571 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4572 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4573 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4574 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4575 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4576 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4577 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4578 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4579 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4580 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4581 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4582 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4583 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4584 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4585 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4586 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4587 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4588
cc67478e
JM
4589 [BZ #17589]
4590 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4591 of fgets_unlocked.
4592
9975e3d3
JM
4593 [BZ #17585]
4594 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4595 (memmem): Rename to __memmem and define as weak alias of
4596 __memmem. Use libc_hidden_weak.
4597 (__memmem): Use libc_hidden_def.
4598 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
4599 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4600 memmem.
4601
c4eae752
JM
4602 [BZ #17582]
4603 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4604 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
4605 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4606 and define as weak alias of __fgets_unlocked. Use
4607 libc_hidden_weak.
4608 (__fgets_unlocked): Use libc_hidden_def.
4609 * include/stdio.h (__fgets_unlocked): Declare. Use
4610 libc_hidden_proto.
4611 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4612 __fgets_unlocked instead of fgets_unlocked.
4613 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4614 (GET_NPROCS_CONF_PARSER): Likewise.
4615 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4616 (GET_NPROCS_CONF_PARSER): Likewise.
4617
01cad84e
JM
4618 [BZ #17574]
4619 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4620 weak alias of __wmemset. Use libc_hidden_weak.
4621 (__wmemset): Use libc_hidden_def.
4622 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
4623 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4624 of wmemset.
4625
939da411
JM
4626 [BZ #17573]
4627 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4628 with asm name __mempcpy.
4629 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4630
293d9a41
JM
4631 [BZ #17572]
4632 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4633 and define as weak alias of __rawmemchr.
4634 (__rawmemchr): Do not define as strong alias of rawmemchr.
4635
bef8fd60
JM
4636 [BZ #17571]
4637 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4638 alias of __qsort_r.
4639 (qsort): Call __qsort_r instead of qsort_r.
4640 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4641 (__qsort_r): Declare. Call libc_hidden_proto.
4642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4643 instead of qsort_r.
4644 * nscd/gai.c (__qsort_r): Define to qsort_r.
4645 * posix/tst-rfc3484.c (__qsort_r): Likewise.
4646 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4647 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4648
c52ff39e
JM
4649 [BZ #17570]
4650 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4651 define as weak alias of __malloc_info.
4652
2f5c1b00
JM
4653 [BZ #17584]
4654 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4655 as weak alias of __rewinddir. Don't use libc_hidden_def.
4656 (__rewinddir): Use libc_hidden_def.
4657 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4658 as weak alias of __rewinddir. Don't use libc_hidden_def.
4659 (__rewinddir): Use libc_hidden_def.
4660 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4661 weak alias of __rewinddir. Don't use libc_hidden_def.
4662 (__rewinddir): Use libc_hidden_def.
4663 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4664 (__rewinddir): Use libc_hidden_proto.
4665 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4666 rewinddir.
4667 (__getcwd): Use __rewinddir instead of rewinddir.
4668
5a6fa4d7
JM
4669 [BZ #17583]
4670 * libio/fileno.c (fileno): Rename to __fileno and define as weak
4671 alias of __fileno. Use libc_hidden_weak.
4672 (__fileno): Use libc_hidden_def.
4673 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4674 * libio/ftello.c (ftello): Rename to __ftello and define as weak
4675 alias of __ftello.
4676 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4677 __ftello.
4678 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4679 (__fread_unlocked): Define as strong alias of _IO_fread. Use
4680 libc_hidden_def.
4681 (fread_unlocked): Don't use libc_hidden_ver.
4682 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4683 and define as weak alias of __fread_unlocked. Don't use
4684 libc_hidden_def.
4685 (__fread_unlocked): Use libc_hidden_def.
4686 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
4687 (ftello): Don't use libc_hidden_proto.
4688 (__ftello): Declare. Use libc_hidden_proto.
4689 (fread_unlocked): Don't use libc_hidden_proto.
4690 (__fread_unlocked): Declare. Use libc_hidden_proto.
4691 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4692 and __ftello instead of fileno, fread_unlocked and ftello.
4693
2581b98e
SP
46942012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4695
4696 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4697 GOT12.
4698 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4699 Likewise.
4700 (_dl_start_user): Likewise.
4701 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4702
533bb7c2
SP
47032014-11-12 Carlos O'Donell <carlos@redhat.com>
4704 Siddhesh Poyarekar <siddhesh@redhat.com>
4705
4706 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4707 Move argv and envp down instead of moving argc up.
4708 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4709
fffa1cf8
LH
47102014-11-12 Leonhard Holz <leonhard.holz@web.de>
4711
4712 [BZ #17506]
4713 * test-skeleton.c (main): Return successful if one of
4714 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4715 * string/tst-strcoll-overflow.c: Define expected status.
4716
fb89b46d
TU
47172014-11-12 Tatiana Udalova <t.udalova@samsung.com>
4718
4719 [BZ #17475]
4720 * locale/iso-639.def: Define Bhili and Tulu language codes.
4721
5c40c3ba
AH
47222014-11-11 Alan Hayward <alan.hayward@arm.com>
4723
4724 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4725
b17fe01b 47262014-11-10 Renlin Li <Renlin.Li@arm.com>
80085def
RL
4727
4728 [BZ #17555]
4729 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4730
bd805071
AS
47312014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
4732
4733 * configure.ac: Updated check of minimal required version to
4734 2.22.
4735 * manual/install.texi (Tools for Compilation): Updated version
4736 number.
4737 * configure: Regenerated.
4738 * INSTALL: Likewise.
4739
1400983e
AS
47402014-11-07 Andreas Schwab <schwab@linux-m68k.org>
4741
4742 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4743 __tls_get_addr.
4744
2c46a66a
JM
47452014-11-07 Joseph Myers <joseph@codesourcery.com>
4746
4747 * include/sys/wait.h (__libc_waitpid): Remove declaration.
4748 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4749 (__waitpid): Don't define as alias. Use libc_hidden_def not
4750 libc_hidden_weak.
4751 (waitpid): Define as alias of __waitpid.
4752 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4753 __waitpid.
4754 (__waitpid): Don't define as alias. Use libc_hidden_def not
4755 libc_hidden_weak.
4756 (waitpid): Define as alias of __waitpid.
4757 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4758 __libc_waitpid alias.
4759 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4760 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4761 Likewise.
4762 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4764 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4765 alias.
4766 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4767 __waitpid.
4768 (__waitpid): Don't define as alias. Use libc_hidden_def not
4769 libc_hidden_weak.
4770 (waitpid): Define as alias of __waitpid.
4771
da53d6db
CD
47722014-11-06 Carlos O'Donell <carlos@redhat.com>
4773
a2887bdb
CD
4774 * manual/llio.texi: Add comment that write safety has been
4775 fixed in Linux.
4776
da53d6db
CD
4777 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4778 (localplt-build-dso): Add elf/ld.so.
4779 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4780 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4781 and free for ld.so.
4782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4783 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4785 Likewise.
4786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4787 Likewise.
4788 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4789 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4790 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4791 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4792 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4793 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4794 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4795 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4796 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4797 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4798 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4799
9cf27b8d
JM
48002014-11-05 Joseph Myers <joseph@codesourcery.com>
4801
4802 [BZ #14132]
4803 * include/libc-symbols.h (INTUSE): Remove macro.
4804 (INTDEF): Likewise.
4805 (INTVARDEF): Likewise.
4806 (_INTVARDEF): Likewise.
4807 (INTDEF2): Likewise.
4808 (INTVARDEF2): Likewise.
4809 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4810 rtld_hidden_def instead of INTVARDEF.
4811 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4812 (_dl_starting_up_internal): Remove declaration.
4813 (_dl_starting_up): Use rtld_hidden_proto.
4814 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4815 declaration.
4816 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4817 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4818 _dl_starting_up.
4819 * elf/dl-writev.h (_dl_writev): Likewise.
4820 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4821 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4822 _dl_starting_up_internal.
4823
af83568d
AZ
48242014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4825
4826 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4827 test-skeleton.c.
4828
b01ee67c
WN
48292014-11-05 Will Newton <will.newton@linaro.org>
4830
4831 * benchtests/Makefile: (bench-malloc): Add malloc thread
4832 scalability benchmark.
4833 * benchtests/bench-malloc-threads.c: New file.
4834
be9d4ccc
RE
48352014-11-05 Richard Earnshaw <rearnsha@arm.com>
4836
4837 * sysdeps/aarch64/strchrnul.S: New file.
4838
7110166d
AZ
48392014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840
4841 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4842 definition.
4843 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4844 Likwise.
4845 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4846 Likewise.
4847 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4848 Likewise.
4849 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4850 Likewise.
4851 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4852 Likewise.
4853
48542014-11-05 Arjun Shankar <arjun.is@lostca.se>
29955b5d
AS
4855
4856 * catgets/test-gencat.c: Use test-skeleton.c.
4857 * catgets/tst-catgets.c: Likewise.
4858 * csu/tst-empty.c: Likewise.
4859 * elf/tst-audit2.c: Likewise.
4860 * elf/tst-global1.c: Likewise.
4861 * elf/tst-pathopt.c: Likewise.
4862 * elf/tst-piemod1.c: Likewise.
4863 * elf/tst-tls10.c: Likewise.
4864 * elf/tst-tls11.c: Likewise.
4865 * elf/tst-tls12.c: Likewise.
4866 * gnulib/tst-gcc.c: Likewise.
4867 * iconvdata/tst-e2big.c: Likewise.
4868 * iconvdata/tst-loading.c: Likewise.
4869 * iconv/tst-iconv1.c: Likewise.
4870 * iconv/tst-iconv2.c: Likewise.
4871 * inet/test-inet6_opt.c: Likewise.
4872 * inet/tst-gethnm.c: Likewise.
4873 * inet/tst-network.c: Likewise.
4874 * inet/tst-ntoa.c: Likewise.
4875 * intl/tst-codeset.c: Likewise.
4876 * intl/tst-gettext2.c: Likewise.
4877 * intl/tst-gettext3.c: Likewise.
4878 * intl/tst-ngettext.c: Likewise.
4879 * intl/tst-translit.c: Likewise.
4880 * io/test-stat.c: Likewise.
4881 * libio/test-fmemopen.c: Likewise.
4882 * libio/tst-freopen.c: Likewise.
4883 * libio/tst-sscanf.c: Likewise.
4884 * libio/tst-ungetwc1.c: Likewise.
4885 * libio/tst-ungetwc2.c: Likewise.
4886 * libio/tst-widetext.c: Likewise.
4887 * localedata/tst-ctype.c: Likewise.
4888 * localedata/tst-digits.c: Likewise.
4889 * localedata/tst-leaks.c: Likewise.
4890 * localedata/tst-mbswcs1.c: Likewise.
4891 * localedata/tst-mbswcs2.c: Likewise.
4892 * localedata/tst-mbswcs3.c: Likewise.
4893 * localedata/tst-mbswcs4.c: Likewise.
4894 * localedata/tst-mbswcs5.c: Likewise.
4895 * localedata/tst-setlocale.c: Likewise.
4896 * localedata/tst-trans.c: Likewise.
4897 * localedata/tst-wctype.c: Likewise.
4898 * localedata/tst-xlocale1.c: Likewise.
4899 * login/tst-grantpt.c: Likewise.
4900 * malloc/tst-calloc.c: Likewise.
4901 * malloc/tst-malloc.c: Likewise.
4902 * malloc/tst-mallocstate.c: Likewise.
4903 * malloc/tst-mcheck.c: Likewise.
4904 * malloc/tst-mtrace.c: Likewise.
4905 * malloc/tst-obstack.c: Likewise.
4906 * math/atest-exp2.c: Likewise.
4907 * math/atest-exp.c: Likewise.
4908 * math/atest-sincos.c: Likewise.
4909 * math/test-matherr.c: Likewise.
4910 * math/test-misc.c: Likewise.
4911 * math/test-powl.c: Likewise.
4912 * math/tst-definitions.c: Likewise.
4913 * misc/tst-dirname.c: Likewise.
4914 * misc/tst-efgcvt.c: Likewise.
4915 * misc/tst-fdset.c: Likewise.
4916 * misc/tst-hsearch.c: Likewise.
4917 * misc/tst-mntent2.c: Likewise.
4918 * nptl/tst-sem7.c: Likewise.
4919 * nptl/tst-sem8.c: Likewise.
4920 * nptl/tst-sem9.c: Likewise.
4921 * nss/test-netdb.c: Likewise.
4922 * posix/tst-fnmatch.c: Likewise.
4923 * posix/tst-getlogin.c: Likewise.
4924 * posix/tst-gnuglob.c: Likewise.
4925 * posix/tst-mmap.c: Likewise.
4926 * pwd/tst-getpw.c: Likewise.
4927 * resolv/tst-inet_ntop.c: Likewise.
4928 * rt/tst-timer.c: Likewise.
4929 * stdio-common/test-fseek.c: Likewise.
4930 * stdio-common/test-popen.c: Likewise.
4931 * stdio-common/test-vfprintf.c: Likewise.
4932 * stdio-common/tst-cookie.c: Likewise.
4933 * stdio-common/tst-fileno.c: Likewise.
4934 * stdio-common/tst-gets.c: Likewise.
4935 * stdio-common/tst-obprintf.c: Likewise.
4936 * stdio-common/tst-perror.c: Likewise.
4937 * stdio-common/tst-sprintf2.c: Likewise.
4938 * stdio-common/tst-sprintf3.c: Likewise.
4939 * stdio-common/tst-sprintf.c: Likewise.
4940 * stdio-common/tst-swprintf.c: Likewise.
4941 * stdio-common/tst-tmpnam.c: Likewise.
4942 * stdio-common/tst-unbputc.c: Likewise.
4943 * stdio-common/tst-wc-printf.c: Likewise.
4944 * stdlib/tst-environ.c: Likewise.
4945 * stdlib/tst-fmtmsg.c: Likewise.
4946 * stdlib/tst-limits.c: Likewise.
4947 * stdlib/tst-rand48-2.c: Likewise.
4948 * stdlib/tst-rand48.c: Likewise.
4949 * stdlib/tst-random2.c: Likewise.
4950 * stdlib/tst-random.c: Likewise.
4951 * stdlib/tst-strtol.c: Likewise.
4952 * stdlib/tst-strtoll.c: Likewise.
4953 * stdlib/tst-tls-atexit.c: Likewise.
4954 * stdlib/tst-xpg-basename.c: Likewise.
4955 * string/test-ffs.c: Likewise.
4956 * string/tst-bswap.c: Likewise.
4957 * string/tst-inlcall.c: Likewise.
4958 * string/tst-strtok.c: Likewise.
4959 * string/tst-strxfrm.c: Likewise.
4960 * sysdeps/x86_64/tst-audit10.c: Likewise.
4961 * sysdeps/x86_64/tst-audit3.c: Likewise.
4962 * sysdeps/x86_64/tst-audit4.c: Likewise.
4963 * sysdeps/x86_64/tst-audit5.c: Likewise.
4964 * time/tst-ftime_l.c: Likewise.
4965 * time/tst-getdate.c: Likewise.
4966 * time/tst-mktime3.c: Likewise.
4967 * time/tst-mktime.c: Likewise.
4968 * time/tst-posixtz.c: Likewise.
4969 * time/tst-strptime2.c: Likewise.
4970 * time/tst-strptime3.c: Likewise.
4971 * wcsmbs/tst-btowc.c: Likewise.
4972 * wcsmbs/tst-mbrtowc.c: Likewise.
4973 * wcsmbs/tst-mbsrtowcs.c: Likewise.
4974 * wcsmbs/tst-wchar-h.c: Likewise.
4975 * wcsmbs/tst-wcpncpy.c: Likewise.
4976 * wcsmbs/tst-wcrtomb.c: Likewise.
4977 * wcsmbs/tst-wcsnlen.c: Likewise.
4978 * wcsmbs/tst-wcstof.c: Likewise.
4979
2004e7fb
JM
49802014-11-04 Joseph Myers <joseph@codesourcery.com>
4981
ab97ee8f
JM
4982 [BZ #14132]
4983 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4984 INTDEF.
4985 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4986 declaration.
4987 (_dl_mcount): Use rtld_hidden_proto.
4988 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4989 _dl_mcount.
4990 * elf/rtld.c (_rtld_global_ro): Likewise.
4991
c5684fdb
JM
4992 [BZ #14132]
4993 * elf/dl-init.c (_dl_init): Don't use INTDEF.
4994 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4995 of _dl_init_internal.
4996 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4997 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4998 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4999 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5000 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5001 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5002 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5003 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5004 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5005 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5006 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5007 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5008 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5009 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5010 * sysdeps/tile/dl-start.S (_start): Likewise.
5011 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5012 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5013
4243cbea
JM
5014 [BZ #14132]
5015 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5016 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5017 (rtld_progname): Make macro definition unconditional.
5018 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5019 INTDEF.
5020 (dlmopen_doit): Do not use INTUSE with _dl_argv.
5021 (dl_main): Likewise.
5022 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5023 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5024 instead of _dl_argv_internal.
5025 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5026 __GI__dl_argv instead of INTUSE(_dl_argv).
5027 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5028 __GI__dl_argv instead of _dl_argv_internal.
5029
2004e7fb
JM
5030 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5031 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5032 macro.
5033 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5034 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5035 New macro.
5036 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5037 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5038 macro.
5039 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5040 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5041
97827bfc
AS
50422014-11-04 Andreas Schwab <schwab@suse.de>
5043
5044 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5045
5e4df284
AZ
50462014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5047
5048 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5049 mtvsrd instruction in binary form.
5050
04b76b5a
AS
50512014-11-03 Andreas Schwab <schwab@suse.de>
5052
5053 [BZ #17522]
5054 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5055 for less than MB_LEN_MAX use a local buffer of that size.
5056 * libio/tst-fputws.c: New file.
5057 * libio/Makefile (tests): Add tst-fputws.
5058
4c6da7da
JM
50592014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
5060
5061 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5062 the size of the fpu_fr.fpu_dregs[] array.
5063
1679ba8e
JM
50642014-11-01 Joseph Myers <joseph@codesourcery.com>
5065
5066 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5067 (__nanosleep): Do not define as alias.
5068 (nanosleep): Define as alias of __nanosleep.
5069 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5070 __libc_nanosleep name.
5071
2626c183
JM
50722014-10-31 Joseph Myers <joseph@codesourcery.com>
5073
5074 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5075 install.texi in comment.
5076
7f981fc2
TR
50772014-10-31 Torvald Riegel <triegel@redhat.com>
5078
5079 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5080 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5081 ... add here and use lwsync or sync ...
5082 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5083 ... and add here using lwsync.
5084
d6f373d2
MF
50852014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
5086
5087 * elf/dl-machine-reject-phdr.h: New file.
5088 * elf/dl-load.c: #include that.
5089 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5090 if that returned true.
5091
67c37987
RM
50922014-10-31 Roland McGrath <roland@hack.frob.com>
5093
5094 [BZ #17496]
5095 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5096 gen-as-const-headers chunk. Add a big scare comment after the last
5097 safe place to touch before-compile.
5098
94a42455 50992014-10-31 Joseph Myers <joseph@codesourcery.com>
f62ff286 5100
f3f5d895
JM
5101 * manual/install.texi (Tools for Compilation): Update autoconf
5102 version requirements.
5103 * INSTALL: Regenerated.
5104
f62ff286
JM
5105 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5106 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5107 (__libc_pselect): Likewise.
94a42455
JM
5108
5109 [BZ #14138]
5110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5114
ff9dbdc0
TR
51152014-10-31 Torvald Riegel <triegel@redhat.com>
5116
5117 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5118 correct barrier instruction.
5119 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5120 Likewise.
5121 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5122 Likewise.
5123
b4f66884
RM
51242014-10-30 Roland McGrath <roland@hack.frob.com>
5125
5126 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5127 after defining inlines. Instead, just use parens to defeat macro
5128 expansion of __isctype in its declaration.
5129
e19c95fd
JM
51302014-10-30 Joseph Myers <joseph@codesourcery.com>
5131
5132 * include/sys/uio.h (__libc_readv): Remove declaration.
5133 (__libc_writev): Likewise.
5134 * misc/readv.c (__libc_readv): Rename to __readv.
5135 (__readv): Do not define as alias.
5136 (readv): Define as alias of __readv.
5137 * misc/writev.c (__libc_writev): Rename to __writev.
5138 (__writev): Do not define as alias.
5139 (writev): Define as alias of __writev.
5140 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5141 (__readv): Do not define as alias.
5142 (readv): Define unconditionally as alias of __readv.
5143 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5144 (__writev): Do not define as alias.
5145 (writev): Define unconditionally as alias of __writev.
5146 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5147 name.
5148 (writev): Do not define __libc_writev name.
5149
65b00b6c
RM
51502014-10-30 Roland McGrath <roland@hack.frob.com>
5151
5152 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5153 (convert_charseq): New function, broken out of ...
5154 (use_from_charmap): ... here. Call it.
5155 (use_to_charmap): Use convert_charseq and free instead of duplicating
5156 its code with a variable-length stack struct.
5157
d4e157aa
JM
51582014-10-30 Joseph Myers <joseph@codesourcery.com>
5159
5160 * include/fcntl.h (__libc_creat): Remove declaration.
5161 * io/creat.c (__libc_creat): Rename to creat.
5162 (creat): Do not define as alias.
5163 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5164 of creat instead of __libc_creat.
5165 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5166 to creat.
5167 (creat): Do not define as alias.
5168 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5169 __libc_creat.
5170 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5171 __libc_creat name.
5172 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5173 Likewise.
5174
0c6891a0
CD
51752014-10-29 Carlos O'Donell <carlos@redhat.com>
5176
5177 * manual/llio.texi: Add comments discussing why write() may be
5178 considered MT-unsafe on Linux.
5179
cc00cece
CD
51802014-10-28 Carlos O'Donell <carlos@redhat.com>
5181
5182 * dl-load.c (local_strdup): Remove.
5183 (expand_dynamic_string_token): Use __strdup.
5184 (decompose_rpath): Likewise.
5185 (_dl_map_object): Likewise.
5186
51e623f2
JM
51872014-10-28 Joseph Myers <joseph@codesourcery.com>
5188
5189 [BZ #14132]
5190 * sysdeps/generic/unwind-dw2-fde.c
5191 (__register_frame_info_bases_internal): Do not declare.
5192 (__register_frame_info_table_bases_internal): Likewise.
5193 (__deregister_frame_info_bases_internal): Likewise.
5194 (__register_frame_info_bases): Declare and use hidden_proto before
5195 definition. Use hidden_def instead of INTDEF.
5196 (__register_frame_info_table_bases): Likewise.
5197 (__deregister_frame_info_bases): Likewise.
5198 (__register_frame_info): Do not use INTUSE.
5199 (__register_frame): Likewise.
5200 (__register_frame_info_table): Likewise.
5201 (__register_frame_table): Likewise.
5202 (__deregister_frame_info): Likewise.
5203 (__deregister_frame): Likewise.
5204
03d41216
GC
52052014-10-27 Gratian Crisan <gratian.crisan@ni.com>
5206
5207 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5208 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5209 not undefine.
5210 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5211 Likewise.
5212 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5213 Likewise.
5214
a4b3624d
JM
52152014-10-27 Joseph Myers <joseph@codesourcery.com>
5216
5217 [BZ #14138]
5218 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5219 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5220 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5221 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5222 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5223 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5224 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5225 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5226 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5227 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5228 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5229 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5230 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5231 syscall.
5232 (setfsuid): Likewise.
5233 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5234 (setfsuid): Likewise.
5235 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5236 (setfsuid): Likewise.
5237 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5238 Likewise.
5239 (setfsuid): Likewise.
5240 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5241 (setfsuid): Likewise.
5242 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5243 Likewise.
5244 (setfsuid): Likewise.
5245
3574f2fd
AS
52462014-10-27 Andreas Schwab <schwab@suse.de>
5247
5248 [BZ #17501]
5249 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5250 check for Slow_SSE4_2 feature bit.
5251 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5252 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5253 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5254 Likewise. Fix check for Fast_Unaligned_Load feature bit.
5255
70996a37
RM
52562014-10-24 Roland McGrath <roland@hack.frob.com>
5257
461a7b1e
RM
5258 * configure.ac: Validate compiler version with a empirical test of
5259 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5260 $CC -v output.
5261 * configure: Regenerated.
5262
70996a37
RM
5263 * inet/htons.c (htons): Prototypify.
5264 * inet/htonl.c (htonl): Likewise.
5265
e80514b5
WD
52662014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5267
5268 * string/strncat.c (strncat): Improve performance by using strlen.
5269
6e46de42
WD
52702014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5271
5272 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5273
6a9ad2fa
WD
52742014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5275
5276 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5277 Call libc_fetestexcept_aarch64.
5278
1c8810ed
WD
52792014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5280
5281 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5282 Call libc_feholdexcept_aarch64.
5283
8b1af712
WD
52842014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5285
5286 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5287 Call get_rounding_mode.
5288
a7b00c11
WD
52892014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5290
5291 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5292 Simplify logic.
5293
3a84f1a6
WD
52942014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
5295
5296 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5297 Simplify logic.
5298
48eb7a94
JM
52992014-10-24 Joseph Myers <joseph@codesourcery.com>
5300
c8bc4038
JM
5301 [BZ #14138]
5302 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5303 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5304 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5305 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5306 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5307 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5308 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5309 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5310 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5311 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5312 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5313 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5314 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5315 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5316 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5317 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5318 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5319 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5320 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5321 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5322 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5323 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5324 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5326 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5327 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5328 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5329 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5330 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5331 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5332 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5333 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5334 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5335 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5336 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5337 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5338 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5339 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5340 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5341 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5342 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5343 syscall.
5344 (geteuid): Likewise.
5345 (getgid): Likewise.
5346 (getuid): Likewise.
5347 (getresgid): Likewise.
5348 (getresuid): Likewise.
5349 (getgroups): Likewise.
5350 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5351 (geteuid): Likewise.
5352 (getgid): Likewise.
5353 (getuid): Likewise.
5354 (getresgid): Likewise.
5355 (getresuid): Likewise.
5356 (getgroups): Likewise.
5357 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5358 (geteuid): Likewise.
5359 (getgid): Likewise.
5360 (getuid): Likewise.
5361 (getresgid): Likewise.
5362 (getresuid): Likewise.
5363 (getgroups): Likewise.
5364 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5365 Likewise.
5366 (geteuid): Likewise.
5367 (getgid): Likewise.
5368 (getuid): Likewise.
5369 (getresgid): Likewise.
5370 (getresuid): Likewise.
5371 (getgroups): Likewise.
5372 * sysdeps/unix/sysv/linux/sh/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/sparc/sparc32/syscalls.list (getegid):
5380 Likewise.
5381 (geteuid): Likewise.
5382 (getgid): Likewise.
5383 (getuid): Likewise.
5384 (getgroups): Likewise.
5385
48eb7a94
JM
5386 [BZ #14138]
5387 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5388 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5389 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5390 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5391 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5392 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5393 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5394 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5395 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5396 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5397 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5398 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5399 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5400 __chown.
5401 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5402 (lchown): Likewise.
5403 (fchown): Likewise.
5404 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5405 Likewise.
5406 (lchown): Likewise.
5407 (fchown): Likewise.
5408 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5409 (lchown): Likewise.
5410 (fchown): Likewise.
5411 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5412 Likewise.
5413 (lchown): Likewise.
5414 (fchown): Likewise.
5415
ea9a7c8b
WD
54162014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5417
5418 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5419 Simplify logic.
5420
e226de33
WD
54212014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5422
5423 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5424 Cleanup logic.
5425
6e3d8ed3
WD
54262014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5427
5428 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5429 Remove unused include.
5430
eb04247d
WD
54312014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
5432
5433 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5434 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5435 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5436 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5437
13d84554
CD
54382014-10-23 Carlos O'Donell <carlos@systemhalted.org>
5439 Helge Deller <deller@gmx.de>
5440
5441 [BZ #17508]
5442 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5443 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5444 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5445
15f9c5df
JM
54462014-10-23 Joseph Myers <joseph@codesourcery.com>
5447
5448 [BZ #14132]
5449 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5450 Remove macro definition.
5451 (__ashrdi3_v_glibc20): Likewise.
5452 (__lshrdi3_v_glibc20): Likewise.
5453 (__cmpdi2_v_glibc20): Likewise.
5454 (__ucmpdi2_v_glibc20): Likewise.
5455 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5456 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5457 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5458 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5459 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5460 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5461
c6dfed24
RM
54622014-10-22 Roland McGrath <roland@hack.frob.com>
5463
5464 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5465 old GNU extension [0] syntax.
5466 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5467 alloca rather than an array member with variable length.
5468 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5469 * nscd/nscd.c (invalidate_db): New function, broken out of ...
5470 (parse_opt): ... here. Likewise use alloca there.
5471 Validate the -i argument before checking for rootness.
5472 (send_shutdown): New function, broken out of ...
5473 (parse_opt): ... here.
5474
8c2b1ed8
RM
54752014-10-22 Roland McGrath <roland@hack.frob.com>
5476
5477 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5478 macro to get at the _rt_local_ro field.
5479 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5480 ([PIC] case) or _dl_hwcap ([!PIC] case).
5481 * sysdeps/arm/setjmp.S: Likewise.
5482
5483 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5484 * sysdeps/arm/configure.ac: New check to define it.
5485 * sysdeps/arm/configure: Regenerated.
5486 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5487 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5488 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5489 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5490 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5491 Use move/movt pair instead of a load.
5492 (LDST_GLOBAL): Macro removed.
5493 (LDR_GLOBAL): New macro replaces it.
5494 (LDR_HIDDEN): New macro.
5495 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5496 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5497
5498 * setjmp/tst-setjmp-static.c: New file.
5499 * setjmp/Makefile (tests): Add it.
5500 (tests-static): New variable.
5501
b5af9297
MR
55022014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
5503
5504 [BZ #17485]
5505 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5506
a13d0d74
JM
55072014-10-21 Joseph Myers <joseph@codesourcery.com>
5508
5509 [BZ #14132]
5510 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5511
f05e73f6
RM
55122014-10-21 Roland McGrath <roland@hack.frob.com>
5513
5514 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5515
6ab1d1ea
RM
55162014-10-20 Roland McGrath <roland@hack.frob.com>
5517
5518 * io/fts.c (dirent_not_directory): New function.
5519 (fts_build): Call it.
5520
ab49e763
RM
55212014-10-20 Roland McGrath <roland@hack.frob.com>
5522
e436eb79
RM
5523 * nptl/version.c (__nptl_main): Use normal __write rather than
5524 INTERNAL_SYSCALL.
5525 (banner): Update copyright years.
5526
6af246cf
RM
5527 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5528 gettimeofday.
5529 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5530 * nptl/pthread_cond_timedwait.c: Likewise.
5531 * nptl/pthread_mutex_timedlock.c: Likewise.
5532 * nptl/sem_timedwait.c: Likewise.
5533
ab49e763
RM
5534 * sysdeps/nptl/bits/libc-lock.h
5535 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5536 (__libc_lock_init_recursive): Return void, not 0.
5537 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5538 (__libc_rwlock_init): Likewise.
5539 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5540
f50277c1
TR
55412014-10-20 Torvald Riegel <triegel@redhat.com>
5542
5543 [BZ #15215]
5544 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5545 (__pthread_once_slow): ... here.
5546 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5547 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5548
63668b70
TR
55492014-10-20 Torvald Riegel <triegel@redhat.com>
5550
5551 [BZ #15215]
5552 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5553 __PTHREAD_ONCE_FORK_GEN_INCR): New.
5554 * sysdeps/nptl/fork.c (__libc_fork): Use them.
5555 * nptl/pthread_once.c (__pthread_once): Likewise.
5556 Update comments.
5557
42b7f5d4
JM
55582014-10-20 Joseph Myers <joseph@codesourcery.com>
5559
5560 [BZ #14138]
5561 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5562 name.
5563 (writev): Use __libc_writev as strong name.
5564 * sysdeps/unix/sysv/linux/readv.c: Remove file.
5565 * sysdeps/unix/sysv/linux/writev.c: Likewise.
5566
b0643088
RM
55672014-10-17 Roland McGrath <roland@hack.frob.com>
5568
114c4e09
RM
5569 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5570
674b8978
RM
5571 * sysdeps/i386/nptl/tls.h
5572 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5573 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5574 New macros.
5575 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5576 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5577 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5578 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5579 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5580 Call CHECK_THREAD_SYSINFO instead of doing an assert.
5581
184ee940
RM
5582 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5583 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5584 on [__NR_futex].
5585 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5586 broken out of ...
5587 (__pthread_mutex_init): ... here. Call it.
5588 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5589 Conditionalize PI cases on [__NR_futex].
5590 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5591 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5592 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5593
327ae257
RM
5594 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5595 conditional on [SIGSETXID].
5596 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5597 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5598 is defined. Likewise for SIGSETXID.
5599 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5600 Conditionalize definitions on [SIGSETXID].
5601 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5602 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5603 unblocking on [SIGCANCEL].
5604
b0643088
RM
5605 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5606 [__NR_set_robust_list].
5607
33cc770b
SP
56082014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
5609
5610 * string/strcoll_l.c (get_next_seq): Fix up formatting.
5611 (do_compare): Likewise.
5612
0742aef6
LH
56132014-10-17 Leonhard Holz <leonhard.holz@web.de>
5614
5615 [BZ #15884]
5616 * string/strcoll_l.c: Don't include stdio.h.
5617 (coll_seq): Remove members idxarr and rulearr.
5618 (get_next_seq_cached): Remove function.
5619 (get_next_seq): Likewise.
5620 (get_next_seq_nocache): Rename to get_next_seq.
5621 (do_compare): Remove function.
5622 (do_compare_nocache): Rename to do_compare.
5623 (STRCOLL): Remove weight and rules cache.
5624
ee54ce44
RM
56252014-10-16 Roland McGrath <roland@hack.frob.com>
5626
5627 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5628 * sysdeps/arm/sfp-machine.h: ... to here.
5629 * sysdeps/arm/Implies: Remove arm/soft-fp.
5630
a75d3b02
JM
56312014-10-14 Joseph Myers <joseph@codesourcery.com>
5632
5633 * conform/data/sys/utsname.h-data (*_t): Allow.
5634 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5635 [POSIX] (WEXITED): Do not expect constant.
5636 [POSIX] (WSTOPPED): Likewise.
5637 [POSIX] (WNOHANG): Likewise.
5638 [POSIX] (WNOWAIT): Likewise.
5639 [POSIX] (siginfo_t): Do not expect type or elements.
5640 [POSIX] (pid_t): Do not expect type.
5641 [POSIX] (signal.h): Do not allow header.
5642 [POSIX] (sys/resource.h): Likewise.
5643 [POSIX] (si_*): Do not allow pattern.
5644 [POSIX] (W*): Likewise.
5645 [POSIX] (P_*): Likewise.
5646 [POSIX] (BUS_*): Likewise.
5647 [POSIX] (CLD_*): Likewise.
5648 [POSIX] (FPE_*): Likewise.
5649 [POSIX] (ILL_*): Likewise.
5650 [POSIX] (POLL_*): Likewise.
5651 [POSIX] (SEGV_*): Likewise.
5652 [POSIX] (SI_*): Likewise.
5653 [POSIX] (TRAP_*): Likewise.
5654 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5655 variable.
5656
fda389c8
SP
56572014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
5658
5659 [BZ #12926]
5660 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5661 infinite loop when __recvmsg returns 0.
5662
6bc6bd3b
JM
56632014-10-10 Joseph Myers <joseph@codesourcery.com>
5664
fcb32af1
JM
5665 * CANCEL-FCT-WAIVE: Remove file.
5666 * CANCEL-FILE-WAIVE: Likewise.
5667
6bc6bd3b
JM
5668 [BZ #14132]
5669 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5670 instead of INTVARDEF.
5671 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5672 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5673 rtld_hidden_data_def instead of INTVARDEF.
5674 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5675 * elf/dl-deps.c (expand_dst): Likewise.
5676 * elf/dl-load.c (_dl_dst_count): Likewise.
5677 (_dl_dst_substitute): Likewise.
5678 (decompose_rpath): Likewise.
5679 (_dl_init_paths): Likewise.
5680 (open_path): Likewise.
5681 (_dl_map_object): Likewise.
5682 * elf/rtld.c (dl_main): Likewise.
5683 (process_dl_audit): Likewise.
5684 (process_envvars): Likewise.
5685 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5686 Remove declaration.
5687 (__libc_enable_secure): Use rtld_hidden_proto.
5688
b8c80a7e
KS
56892014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
5690
5691 * elf/dl-load.c
5692 (add_path): New function broken out of _dl_rtld_di_serinfo.
5693 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
5694
ff12c11f
JM
56952014-10-09 Joseph Myers <joseph@codesourcery.com>
5696
5c0508a3
JM
5697 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5698 parentheses around macro arguments.
5699 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5700 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5701 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5702 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5703 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5704 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5705 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5706 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5707 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5708 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5709 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5710 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5711 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5712 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5713 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5714 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5715 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5716 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5717 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5718 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5719 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5720 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5721 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5722 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5723 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5724 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5725 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5726 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5727 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5728 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5729 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5730 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5731 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5732 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5733 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5734 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5735 Likewise.
5736 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5737 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5738 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5739 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5740 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5741 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5742 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5743 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5744 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5745 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5746 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5747 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5748 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5749 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5750 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5751 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5752 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5753 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5754 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5755 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5756 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5757 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5758 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5759 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5760 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5761 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5762 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5763 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5764 (_FP_FRAC_SRS_1): Likewise.
5765 (_FP_FRAC_CLZ_1): Likewise.
5766 (_FP_MUL_MEAT_1_imm): Likewise.
5767 (_FP_MUL_MEAT_1_wide): Likewise.
5768 (_FP_MUL_MEAT_1_hard): Likewise.
5769 (_FP_SQRT_MEAT_1): Likewise.
5770 (_FP_FRAC_ASSEMBLE_1): Likewise.
5771 (_FP_FRAC_DISASSEMBLE_1): Likewise.
5772 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5773 (__FP_CLZ_2): Likewise.
5774 (_FP_MUL_MEAT_2_wide): Likewise.
5775 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5776 (_FP_MUL_MEAT_2_gmp): Likewise.
5777 (_FP_MUL_MEAT_2_120_240_double): Likewise.
5778 (_FP_SQRT_MEAT_2): Likewise.
5779 (_FP_FRAC_ASSEMBLE_2): Likewise.
5780 (_FP_FRAC_DISASSEMBLE_2): Likewise.
5781 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5782 (_FP_FRAC_CLZ_4): Likewise.
5783 (_FP_MUL_MEAT_4_wide): Likewise.
5784 (_FP_MUL_MEAT_4_gmp): Likewise.
5785 (_FP_SQRT_MEAT_4): Likewise.
5786 (_FP_FRAC_ASSEMBLE_4): Likewise.
5787 (_FP_FRAC_DISASSEMBLE_4): Likewise.
5788 * soft-fp/op-common.h (_FP_CMP): Likewise.
5789 (_FP_CMP_EQ): Likewise.
5790 (_FP_CMP_UNORD): Likewise.
5791 (_FP_TO_INT): Likewise.
5792 (_FP_FROM_INT): Likewise.
5793 [!__FP_CLZ] (__FP_CLZ): Likewise.
5794 (_FP_DIV_HELP_imm): Likewise.
5795 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5796 Likewise.
5797 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5798 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5799 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5800 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5801 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5802 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5803 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5804 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5805 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5806 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5807 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5808 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5809 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5810 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5811 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5812 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5813 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5814 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5815 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5816 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5817 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5818 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5819 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5820 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5821 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5822 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5823 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5824 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5825 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5826 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5827 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5828 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5829 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5830 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5831 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5832 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5833 (FP_UNPACK_RAW_SP): Likewise.
5834 (FP_PACK_RAW_S): Likewise.
5835 (FP_PACK_RAW_SP): Likewise.
5836 (FP_UNPACK_S): Likewise.
5837 (FP_UNPACK_SP): Likewise.
5838 (FP_UNPACK_SEMIRAW_S): Likewise.
5839 (FP_UNPACK_SEMIRAW_SP): Likewise.
5840 (FP_PACK_S): Likewise.
5841 (FP_PACK_SP): Likewise.
5842 (FP_PACK_SEMIRAW_S): Likewise.
5843 (FP_PACK_SEMIRAW_SP): Likewise.
5844 (_FP_SQRT_MEAT_S): Likewise.
5845 (FP_CMP_S): Likewise.
5846 (FP_CMP_EQ_S): Likewise.
5847 (FP_CMP_UNORD_S): Likewise.
5848 (FP_TO_INT_S): Likewise.
5849 (FP_FROM_INT_S): Likewise.
5850
a736ec37
JM
5851 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5852
ff12c11f
JM
5853 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5854 (FP_EX_INVALID_IMZ): Likewise.
5855 (FP_EX_INVALID_IMZ_FMA): Likewise.
5856 (FP_EX_INVALID_ISI): Likewise.
5857 (FP_EX_INVALID_ZDZ): Likewise.
5858 (FP_EX_INVALID_IDI): Likewise.
5859 (FP_EX_INVALID_SQRT): Likewise.
5860 (FP_EX_INVALID_CVI): Likewise.
5861 (FP_EX_INVALID_VC): Likewise.
5862 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5863 "invalid" exceptions.
5864 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5865 (_FP_ADD_INTERNAL): Likewise.
5866 (_FP_MUL): Likewise.
5867 (_FP_FMA): Likewise.
5868 (_FP_DIV): Likewise.
5869 (_FP_CMP_CHECK_NAN): Likewise.
5870 (_FP_SQRT): Likewise.
5871 (_FP_TO_INT): Likewise.
5872 (FP_EXTEND): Likewise.
5873
b6dcfe8c
AM
58742014-10-09 Allan McRae <allan@archlinux.org>
5875
5876 * po/fr.po: Update French translation from translation project.
5877
2d6a47ba
JM
58782014-10-09 Joseph Myers <joseph@codesourcery.com>
5879
cb831245
JM
5880 [BZ #14132]
5881 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5882 of INTDEF.
5883 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5884 (__cxa_atexit): Use libc_hidden_proto.
5885 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5886
5deeb190
JM
5887 [BZ #14132]
5888 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5889 declaration.
5890 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5891 [!_ISOMAC] (__iswspace_l_internal): Likewise.
5892 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5893 [!_ISOMAC] (__iswctype_internal): Likewise.
5894 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5895 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5896 alias.
5897 (fcntl): Remove __fcntl_internal alias.
5898 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5899 __connect_internal alias.
5900 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5901 Likewise.
5902
454ac701
JM
5903 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5904 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5905 FP_DENORM_ZERO.
5906 (_FP_CHECK_FLUSH_ZERO): New macro.
5907 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5908 (_FP_CMP): Likewise.
5909 (_FP_CMP_EQ): Likewise.
5910 (_FP_TO_INT): Do not set inexact for subnormal arguments if
5911 FP_DENORM_ZERO.
5912 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5913 (FP_TRUNC): Likewise.
5914
0022e688
JM
5915 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5916 treated as invalid conversion, not as normal exponent.
5917
73e28d9c
JM
5918 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5919 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
5920 (_FP_CMP_EQ): Likewise.
5921 (_FP_CMP_UNORD): Likewise.
5922 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5923 (FP_CMP_EQ_D): Likewise.
5924 (FP_CMP_UNORD_D): Likewise.
5925 * soft-fp/extended.h (FP_CMP_E): Likewise.
5926 (FP_CMP_EQ_E): Likewise.
5927 (FP_CMP_UNORD_E): Likewise.
5928 * soft-fp/quad.h (FP_CMP_Q): Likewise.
5929 (FP_CMP_EQ_Q): Likewise.
5930 (FP_CMP_UNORD_Q): Likewise.
5931 * soft-fp/single.h (FP_CMP_S): Likewise.
5932 (FP_CMP_EQ_S): Likewise.
5933 (FP_CMP_UNORD_S): Likewise.
5934 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5935 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5936 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5937 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5938 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5939 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5940 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5941 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5942 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5943 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5944 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5945 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5946 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5947 to FP_CMP_Q.
5948 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5949 FP_CMP_Q.
5950 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5951 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5952 FP_CMP_EQ_Q.
5953 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5954 FP_CMP_Q.
5955 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5956 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5957 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5958 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5959 FP_CMP_EQ_Q.
5960 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5961 FP_CMP_Q.
5962 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5963 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5964 FP_CMP_EQ_Q.
5965 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5966 FP_CMP_Q.
5967 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5968 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5969 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5970 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5971 FP_CMP_EQ_Q.
5972
43059f42
JM
5973 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5974 a subnormal result, set the underflow exception if trapping on
5975 underflow is enabled.
5976 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5977 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5978 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5979 redefine to 0.
5980 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5981 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5982 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5983 * soft-fp/extendxftf2.c (__extendxftf2): Use
5984 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5985
2d6a47ba
JM
5986 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5987 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5988 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5989 FP_HANDLE_EXCEPTIONS.
5990 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5991 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5992 FP_HANDLE_EXCEPTIONS.
5993 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5994 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5995 FP_HANDLE_EXCEPTIONS.
5996 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5997 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5998 FP_HANDLE_EXCEPTIONS.
5999
620f462e
JM
60002014-10-08 Joseph Myers <joseph@codesourcery.com>
6001
6002 [BZ #14132]
6003 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6004 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6005 use INTUSE.
6006 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6007 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6008 Remove alias.
6009 (__adjtimex): Define using libc_hidden_ver.
6010 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6011 Remove declaration.
6012 (ntp_gettime): Call __adjtimex directly.
6013 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6014 Remove declaration.
6015 (ntp_gettimex): Call __adjtimex directly.
6016 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6017 __adjtimex_internal alias.
6018
c763c5d2
RM
60192014-10-08 Roland McGrath <roland@hack.frob.com>
6020
6021 [BZ #17460]
6022 * nscd/nscd.c (more_help): Rewrite list of tables collection
6023 using xstrdup and asprintf.
6024
6025 * nscd/nscd_conf.c: Remove local xstrdup declaration.
6026
7b8fb2b8
RM
60272014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6028 Roland McGrath <roland@hack.frob.com>
6029
6030 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6031 (do_lookup_unique): ... local function 'enter' here; update callers.
6032
abb280f7
JM
60332014-10-06 Joseph Myers <joseph@codesourcery.com>
6034
f7b42517
JM
6035 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6036 compat_symbol calls on [SHARED].
6037 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6038 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6039 Remove.
6040 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6041 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6042 (oldsetrlimit): Remove.
6043 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6045 (lchown): New syscall entry.
6046 (oldsetrlimit): Remove.
6047 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6048 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6049 (oldsetrlimit): Remove.
6050 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6051
abb280f7
JM
6052 [BZ #14138]
6053 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6054 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6055 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6056 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6057 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6058 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6059 (fchown): Likewise.
6060 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6061 (fchown): Likewise.
6062 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6063 Likewise.
6064
47d46237
AZ
60652014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6068 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6069 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6070 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6071 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6072 Likewise.
6073 (__old_sem_post): Likewise.
6074
60752014-10-06 Chris Metcalf <cmetcalf@tilera.com>
1c4c1a6f 6076
845a7343
CM
6077 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6078 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6079 HAVE_CLOCK_GETTIME_VSYSCALL macros.
6080 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6081 Use INLINE_VSYSCALL macro.
6082 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6083 __vdso_clock_gettime.
6084 * sysdeps/unix/sysv/linux/tile/init-first.c
6085 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6086 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6087 __vdso_clock_gettime.
6088
83d641ef
CM
6089 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6090 to set up frame more cleanly.
6091
d9cd52e6
CM
6092 * sysdeps/tile/memcmp.c: New file.
6093
4b68ea11
CM
6094 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6095
c86f7b80
CM
6096 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6097 * sysdeps/tile/tilegx/strcasestr.c: New file.
6098 * sysdeps/tile/tilegx/strnlen.c: New file.
6099 * sysdeps/tile/tilegx/strstr.c: New file.
6100
1c4c1a6f
CM
6101 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6102
99d86ea3
AS
61032014-10-06 Arjun Shankar <arjun.is@lostca.se>
6104
6105 * nptl/tst-setuid3.c: Write errors to stdout.
6106
06210a44
KS
61072014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6108
6109 * elf/dl-deps.c
6110 (preload): New functions broken out of _dl_map_object_deps.
6111 (_dl_map_object_deps): Remove a nested function. Update call sites.
6112
6268f532
JM
61132014-10-01 Joseph Myers <joseph@codesourcery.com>
6114
6115 [BZ #14138]
6116 * sysdeps/unix/sysv/linux/execve.c: Remove file.
6117 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6118
b925285f
SE
61192014-10-01 Steve Ellcey <sellcey@mips.com>
6120
6121 * sysdeps/mips/strcmp.S: New.
6122
754a15c6
JM
61232014-09-30 Joseph Myers <joseph@codesourcery.com>
6124
6125 [BZ #14138]
6126 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6127 (linkat): Likewise.
6128 (mkdirat): Likewise.
6129 (readlinkat): Likewise.
6130 (renameat): Likewise.
6131 (symlinkat): Likewise.
6132 (unlinkat): Likewise.
6133 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6134 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6135 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6136 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6137 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6138 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6139 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6140
85bb81c9
WN
61412014-09-30 Will Newton <will.newton@linaro.org>
6142
dc6fe23b
WN
6143 * math/math.h: Define long double math functions if
6144 _LIBC_TEST is defined.
6145 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6146
85bb81c9
WN
6147 * localedata/Makefile: Move assignment to tests-special
6148 into an ifdef testing run-built-tests.
6149 * timezone/Makefile: Likewise.
6150
b7e02da4
JM
61512014-09-29 Joseph Myers <joseph@codesourcery.com>
6152
6153 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6154 with $(BASH) not $(SHELL).
6155
62058ce6
CD
61562014-09-29 Carlos O'Donell <carlos@redhat.com>
6157 Matthew LeGendre <legendre1@llnl.gov>
6158
6159 [BZ #17411]
6160 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6161 l_reloc_result.
6162
8e257a29
KS
61632014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6164
6165 * stdio-common/printf_fp.c
6166 (hack_digit): New function, broken out of ...
6167 (__printf_fp): ... local function here. Update call sites.
6168 hack_digit now takes an additional parameter that is a pointer
6169 to a struct of the referenced locals. Those locals moved inside
6170 the struct and references updated.
6171
f4a58f0d
L
61722014-09-29 H.J. Lu <hongjiu.lu@intel.com>
6173
6174 * aclocal.m4: Require autoconf 2.69.
6175 * configure: Regenerated.
6176 * sysdeps/aarch64/configure: Likewise.
6177 * sysdeps/alpha/configure: Likewise.
6178 * sysdeps/arm/armv7/configure: Likewise.
6179 * sysdeps/arm/configure: Likewise.
6180 * sysdeps/ia64/configure: Likewise.
6181 * sysdeps/mach/configure: Likewise.
6182 * sysdeps/mips/configure: Likewise.
6183 * sysdeps/s390/configure: Likewise.
6184 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6186
6187 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6188 file.
6189 * sysdeps/ia64/configure.ac: Likewise.
6190
93ae1eba
JM
61912014-09-26 Joseph Myers <joseph@codesourcery.com>
6192
1810d3ab
JM
6193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6194 specify symbol version for ld.so. Do not include entry for
6195 libpthread.
6196 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6197 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6198 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6199
93ae1eba
JM
6200 [BZ #14171]
6201 * Makeconfig [$(build-shared) = yes]
6202 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6203 makefiles.
6204 [$(build-shared) = yes && $(soversions.mk-done) = t]
6205 ($(common-objpfx)gnu/lib-names.h): Remove rule.
6206 [$(build-shared) = yes && $(soversions.mk-done) = t]
6207 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
6208 to Makerules.
6209 [$(build-shared) = yes && $(soversions.mk-done) = t]
6210 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6211 here.
6212 [$(build-shared) = yes && $(soversions.mk-done) = t]
6213 (common-generated): Don't append gnu/lib-names.h and
6214 gnu/lib-names.stmp here.
6215 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6216 (lib-names-h-abi): New variable.
6217 [$(build-shared) = yes && $(soversions.mk-done) = t]
6218 (lib-names-stmp-abi): Likewise.
6219 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6220 abi-variants] (before-compile): Append
6221 $(common-objpfx)$(lib-names-h-abi).
6222 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6223 abi-variants] (common-generated): Append gnu/lib-names.h.
6224 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6225 abi-variants] (install-others-nosubdir): Depend on
6226 $(inst_includedir)/$(lib-names-h-abi).
6227 [$(build-shared) = yes && $(soversions.mk-done) = t &&
6228 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6229 [$(build-shared) = yes && $(soversions.mk-done) = t]
6230 ($(common-objpfx)$(lib-names-h-abi)): New rule.
6231 [$(build-shared) = yes && $(soversions.mk-done) = t]
6232 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6233 [$(build-shared) = yes && $(soversions.mk-done) = t]
6234 (common-generated): Append $(lib-names-h-abi) and
6235 $(lib-names-stmp-abi).
6236 * scripts/lib-names.awk: Do not handle multi being set.
6237 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6238 Remove variable.
6239 (abi-lp64_be-ld-soname): Likewise.
6240 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6241 Likewise.
6242 (abi-hard-ld-soname): Likewise.
6243 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6244 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6245 Remove variable.
6246 (abi-o32_hard-ld-soname): Likewise.
6247 (abi-o32_soft_2008-ld-soname): Likewise.
6248 (abi-o32_hard_2008-ld-soname): Likewise.
6249 (abi-n32_soft-ld-soname): Likewise.
6250 (abi-n32_hard-ld-soname): Likewise.
6251 (abi-n32_soft_2008-ld-soname): Likewise.
6252 (abi-n32_hard_2008-ld-soname): Likewise.
6253 (abi-n64_soft-ld-soname): Likewise.
6254 (abi-n64_hard-ld-soname): Likewise.
6255 (abi-n64_soft_2008-ld-soname): Likewise.
6256 (abi-n64_hard_2008-ld-soname): Likewise.
6257 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6258 Likewise.
6259 (abi-64-v2-ld-soname): Likewise.
6260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6261 ld.so entries.
6262 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6263 variable.
6264 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6265 entry.
6266 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6267 variable.
6268 (abi-64-ld-soname): Likewise.
6269 (abi-x32-ld-soname): Likewise.
6270 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6271 entry.
6272 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6273
68870f12
JM
62742014-09-23 Joseph Myers <joseph@codesourcery.com>
6275
6276 [BZ #14138]
6277 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6278 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6279 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6280 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6281 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6282 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6283 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6284 syscall entry for GLIBC_2.2 symbol version.
6285 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6286 Likewise.
6287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6288 (setrlimit): Likewise.
6289 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6290 Likewise.
6291
ea58f202
WN
62922014-09-23 Will Newton <will.newton@linaro.org>
6293
6294 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6295 _LINUX_ARM_SYSDEP_H include guard too.
6296 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6297 define.
6298
69eb9a18
RV
62992014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6300
6301 * sysdeps/unix/sysv/linux/eventfd.c:
6302 Make first argument unsigned.
6303 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6304 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6305
20e5a5f7
OB
63062014-09-20 Ondřej Bílka <neleai@seznam.cz>
6307
6308 * socket/recvmmsg.c (recvmmsg): Drop const argument.
6309 * socket/sys/socket.h: Likewise
6310 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6311
d3c827e7
AK
63122014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6313
6314 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6315
fe1cc35a
AS
63162014-09-17 Arjun Shankar <arjun.is@lostca.se>
6317
6318 * time/tst-ftime.c: New test.
6319 * time/Makefile (tests): Add tst-ftime.
6320
4e8afe69
JM
63212014-09-17 Joseph Myers <joseph@codesourcery.com>
6322
c4fe3ea7
JM
6323 * soft-fp/extended.h: Fix comment formatting.
6324 * soft-fp/op-1.h: Likewise.
6325 * soft-fp/op-2.h: Likewise.
6326 * soft-fp/op-4.h: Likewise.
6327 * soft-fp/op-8.h: Likewise.
6328 * soft-fp/op-common.h: Likewise.
6329 * soft-fp/soft-fp.h: Likewise.
6330
4e8afe69
JM
6331 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6332
af296fcd
JM
63332014-09-16 Joseph Myers <joseph@codesourcery.com>
6334
6335 [BZ #6652]
6336 * Makeconfig (soversions-default-setname): Remove variable.
6337 ($(common-objpfx)soversions.i): Don't pass default_setname to
6338 soversions.awk.
6339 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6340 oldest_abi to abi-versions.awk.
6341 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6342 * config.make.in (oldest-abi): Remove variable.
6343 * configure.ac (--enable-oldest-abi): Remove configure option.
6344 * configure: Regenerated.
6345 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6346 text.
6347 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6348 * scripts/soversions.awk: Do not handle default_setname variable.
6349 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6350 variable.
6351 * sysdeps/mach/hurd/configure: Regenerated.
6352 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6353 variable.
6354 * sysdeps/unix/sysv/linux/configure: Regenerated.
6355
545583d6
SP
63562014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6357
d330b980
SP
6358 * elf/Makefile (CFLAGS-interp.c): Remove.
6359 ($(elf-objpfx)runtime-linker.h): Generate header with linker
6360 path string.
6361 * elf/interp.c: Include generated runtime-linker.h
6362
02657da2
SP
6363 * Makerules (lib%.so): Don't include $(+interp) in
6364 prerequisites.
6365 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6366 * dlfcn/eval.c: Remove file.
6367
653b1080
SP
6368 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6369 macros.
6370
602f80ec
SP
6371 [BZ #17266]
6372 * misc/sys/cdefs.h: Define __extern_always_inline for clang
6373 4.2 and newer.
6374
545583d6
SP
6375 [BZ #17370]
6376 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6377
884ddc50
SP
63782014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
6379 Jakub Jelinek <jakub@redhat.com>
6380
6381 [BZ #17266]
6382 * libio/stdio.h: Check definition of __fortify_function
6383 instead of __extern_always_inline to include bits/stdio2.h.
6384 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6385 check if __extern_always_inline is defined.
6386 [__USE_MISC || __USE_XOPEN]: Likewise.
6387 [__USE_ISOC99] Likewise.
6388 * misc/sys/cdefs.h (__fortify_function): Define only if
6389 __extern_always_inline is defined.
6390 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6391 __extern_always_inline and __extern_inline only for g++-4.3
6392 and newer or a compatible gcc.
6393
a7b87268
AS
63942014-09-15 Andreas Schwab <schwab@linux-m68k.org>
6395
6396 [BZ #17371]
6397 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6398 last change to handle zero prefix length.
6399
3f41521d
SP
64002014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
6401
61fe374a
SP
6402 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6403 _SC_REGEX_VERSION.
6404
3f41521d
SP
6405 * posix/getconf.c (vars): Add _POSIX_IPV6 and
6406 _POSIX_RAW_SOCKETS.
6407
d8f879ee
AM
64082014-09-13 Allan McRae <allan@archlinux.org>
6409
6410 * po/ru.po: Update Russian translation from translation project.
6411
c079afb7
RM
64122014-09-12 Roland McGrath <roland@hack.frob.com>
6413
a62b3c15
RM
6414 * locale/programs/locale.c (show_locale_vars): Inline local function
6415 into its sole call site. Clean up some style nits.
6416 (print_item): New function, broken out of ...
6417 (show_info): ... local function here. Clean up style nits.
6418
d7e49b19
RM
6419 * locale/programs/ld-ctype.c (set_one_default): New function, broken
6420 out of ...
6421 (set_class_defaults): ... local function set_default here.
6422 Define set_default as a macro locally to pass constant parameters.
6423 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6424 rather than a shared local.
6425
c079afb7
RM
6426 * stdlib/rpmatch.c (try): New function, broken out of ...
6427 (rpmatch): ... local function here. Also, prototypify definition.
6428
0bd72468
JM
64292014-09-12 Joseph Myers <joseph@codesourcery.com>
6430
ba90e050
JM
6431 * scripts/soversions.awk: Do not handle configuration names.
6432 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6433 vendor and os variables to soversions.awk.
6434 * configure.ac: Do not modify gnu-* host_os.
6435 * configure: Regenerated
6436 * shlib-versions: Remove first column with configuration names.
6437 * nptl/shlib-versions: Likewise.
6438 * nptl_db/shlib-versions: Likewise.
6439 * sysdeps/hppa/shlib-versions: Likewise.
6440 * sysdeps/m68k/shlib-versions: Likewise.
6441 * sysdeps/mach/hurd/shlib-versions: Likewise.
6442 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6443 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6444 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6445 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6446 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6447 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6448 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6449 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6450 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6451 Likewise.
6452 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6453 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6454 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6455 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6456 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6457 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6458 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6459 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6460
73a39112
JM
6461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6462 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6464 Regenerated.
6465 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6466 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6467 Condition symbol version definitions on [HAVE_ELFV2_ABI].
6468
c729e7c1
JM
6469 * shlib-versions: Remove OS-specific entries. Moved to files in
6470 sysdeps.
6471 * sysdeps/mach/hurd/shlib-versions: New file.
6472 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6473
dc932a24
JM
6474 * nptl/shlib-versions: Remove architecture-specific entries.
6475 Moved to files in sysdeps.
6476 * shlib-versions: Likewise.
6477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6478 file.
6479 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6480 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6481 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6482 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6483
0bd72468
JM
6484 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6485 (UDP_NO_CHECK6_RX): Likewise.
6486
920238e0
SP
64872014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6488
6489 * sysdeps/posix/sysconf.c (__sysconf): Spell
6490 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6491
ba7b4d29
FW
64922014-08-12 Florian Weimer <fweimer@redhat.com>
6493
6494 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6495 loading.
6496 * iconv/Versions (__gconv_transliterate): Export for use from
6497 gconv modules.
6498 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6499 (struct __gconv_trans_data, __gconv_trans_fct,
6500 __gconv_trans_context_fct, __gconv_trans_query_fct,
6501 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6502 definitions.
6503 (struct __gconv_step_data): Remove __trans member.
6504 (__gconv_transliterate): Declaration moved from gconv_int.h. No
6505 longer hidden. Remove unused trans_data argument.
6506 * iconv/gconv_int.h (struct trans_struct): Remove definition.
6507 (__gconv_translit_find): Remove declaration.
6508 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
6509 prototype.
6510 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6511 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6512 trans_data argument. Add hidden definition.
6513 (__gconv_translit_find): Remove.
6514 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6515 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6516 * iconv/skeleton.c: Remove transliteration initialization.
6517 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6518 __gconv_step_data initialization.
6519 * libio/iofwide.c (__libio_translit_): Remove.
6520 (_IO_fwide): Adjust struct __gconv_step_data initialization.
6521 * wcsmbs/btowc.c (__btowc): Likewise.
6522 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6523 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6524 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6525 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6526 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6527 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6528 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6529 * wcsmbs/wctob.c (wctob): Likewise.
6530
5379aebd
SP
65312014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6532
6533 [BZ #16194]
6534 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6535 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
6536 register usage.
6537 * sysdeps/x86/Makefile: Adjust.
6538
8c0ab919
RM
65392014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
6540 Roland McGrath <roland@hack.frob.com>
6541
6542 * locale/weight.h: Add include guard.
6543 (findidx): Make static rather than auto; take new parameters
6544 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6545 * locale/weightwc.h: Likewise.
6546 * posix/fnmatch_loop.c
6547 (FCT): Change type of EXTRA from int32_t to wint_t.
6548 Don't include either header inside the function.
6549 Call FINDIDX rather than findidx, and pass new arguments.
6550 #undef FINDIDX at the end of the file.
6551 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6552 FINDIDX before including fnmatch_loop.c for the non-wide version.
6553 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6554 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6555 for the wide version.
6556 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6557 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6558 Pass new arguments to findidx.
6559 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6560 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6561 Don't #include it inside the function. Pass new arguments to findidx.
6562 * posix/regex_internal.h
6563 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6564 (re_string_elem_size_at): Don't #include it inside the function.
6565 Pass new arguments to findidx.
6566 * string/strcoll_l.c: #include WEIGHT_H at top level.
6567 (get_next_seq): Don't #include it inside the function.
6568 Pass new arguments to findidx.
6569 (get_next_seq_nocache): Likewise.
6570 * string/strxfrm_l.c: #include WEIGHT_H at top level.
6571 (STRXFRM): Don't #include it inside the function.
6572 Pass new arguments to findidx.
6573
52ffbdf2
FW
65742014-09-11 Florian Weimer <fweimer@redhat.com>
6575
6576 [BZ #17344]
6577 * malloc/malloc.c (unlink): Turn asserts into a call to
6578 malloc_printerr.
6579
984c0ea9
TL
65802014-09-11 Tim Lammens <tim.lammens@gmail.com>
6581
6582 [BZ #17370]
6583 * libio/wfileops (do_ftell_wide): Free OUT.
6584
3daee107
CM
65852014-09-10 Chris Metcalf <cmetcalf@tilera.com>
6586
6587 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6588
58b930ae
SP
65892014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
6590
6591 [BZ #17363]
6592 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6593 group if the current group is empty.
6594
3b473fec
AZ
65952014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6596
71ae8647
AZ
6597 * benchtests/bench-memset.c (test_main): Add more test from size
6598 from 32 to 512 bytes.
6599 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6600 Add POWER8 memset object.
6601 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6602 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6603 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6604 implementation.
6605 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6606 Likewise.
6607 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6608 multiarch POWER8 memset optimization.
6609 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6610 POWER8 memset optimization.
6611
3b473fec
AZ
6612 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6613 Remove bzero multiarch objects.
6614 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6615 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6616 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6617 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6618 Remove define.
6619 [__bzero]: Redefine to specific name.
6620 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6621 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6622 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6623 define.
6624 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6625 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6626
e6fb9587
FW
66272014-09-10 Florian Weimer <fweimer@redhat.com>
6628
6629 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6630 warnings into errors.
6631
6632 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6633 __cxa_thread_atexit_impl prototype.
6634
9d3a350b
SE
66352014-09-09 Steve Ellcey <sellcey@mips.com>
6636
6637 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6638 Fix capitalization of error message.
6639
0febba23
SE
66402014-09-09 Steve Ellcey <sellcey@mips.com>
6641
6642 * sysdeps/mips/preconfigure: Modify ABI tests.
6643
645a0e9c
CD
66442014-09-07 Carlos O'Donell <carlos@systemhalted.org>
6645
6646 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6647
d83f0734
CD
66482014-09-07 Roland McGrath <roland@hack.frob.com>
6649 Carlos O'Donell <carlos@systemhalted.org>
6650
6651 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6652 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6653 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6654 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6655 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6656 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6657 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6658 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6659 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6660 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6661 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6662 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6663 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6664 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6665 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6666 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6667 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6668 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6669 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6670 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6671 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6672 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6673 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6674 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6675 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6676 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6677 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6678 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6679 Deconditionalize the code that was previously under [RESET_PID].
6680 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6681 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6682 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6683 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6684 include sysdep.h.
6685
21c83793
AM
66862014-09-08 Allan McRae <allan@archlinux.org>
6687
6688 * version.h (RELEASE): Set to "development".
6689 (VERSION): Set to "2.20.90"
6690
1cd9b65c
AM
66912014-09-07 Allan McRae <allan@archlinux.org
6692
b8079dd0
AM
6693 * version.h (RELEASE): Set to "stable".
6694 (VERSION): Set to "2.20"
6695 * include/features.h (__GLIBC_MINOR__): Set to 20.
6696
c46303ef
AM
6697 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6698 Liebler.
6699
1cd9b65c
AM
6700 * po/ko.po: Update Korean translation from translation project.
6701
8622092d
CM
67022014-09-06 Chris Metcalf <cmetcalf@tilera.com>
6703
6704 [BZ #17354]
6705 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6706 macro for handling signed relocations.
6707
41488498
FW
67082014-09-03 Florian Weimer <fweimer@redhat.com>
6709
6710 [BZ #17325]
6711 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6712 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6713 assert.
6714 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6715 * iconvdata/ibm935.c (BODY): Likewise.
6716 * iconvdata/ibm937.c (BODY): Likewise.
6717 * iconvdata/ibm939.c (BODY): Likewise.
6718 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6719 assert.
6720 * iconvdata/Makefile (iconv-test.out): Pass module list to test
6721 script.
6722 * iconvdata/run-iconv-test.sh: New test loop for checking for
6723 decoder crashers.
6724
a78b712d
KR
67252014-09-02 Khem Raj <raj.khem@gmail.com>
6726
6727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6728 libm_hidden_ver.
6729
cb08abc6
AM
67302014-09-01 Allan McRae <allan@archlinux.org>
6731
2c31e102
AM
6732 * po/eo.po: Update Esperanto translation from translation project.
6733
cb08abc6
AM
6734 * po/ca.po: Update Catalan translation from translation project.
6735
17a62de1
ST
67362014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
6737
6738 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6739 __proc_dostop call.
6740
9570bc53
MW
67412014-08-27 Mark Wielaard <mjw@redhat.com>
6742
6743 [BZ #17319]
6744 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6745 to call set_thread_area instead of hand written asm.
6746 (__NR_set_thread_area): Removed define.
6747 (TLS_FLAG_WRITABLE): Likewise.
6748 (__ASSUME_SET_THREAD_AREA): Remove check.
6749 (TLS_EBX_ARG): Remove define.
6750 (TLS_LOAD_EBX): Likewise.
6751
b0f955c9
ST
67522014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
6753
6754 Simplify atomicity of socket creation in bind.
6755
6756 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6757 looking up the name after linking the file.
6758
529bf515
AM
67592014-08-27 Allan McRae <allan@archlinux.org>
6760
6761 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6762
a1a6a401
FW
67632014-08-26 Florian Weimer <fweimer@redhat.com>
6764
6765 [BZ #17187]
6766 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6767 trans_compare, open_translit, __gconv_translit_find):
6768 Remove module loading code.
6769
686ab290
AM
67702014-08-26 Allan McRae <allan@archlinux.org>
6771
e4e7cfd2
AM
6772 * po/vi.po: Update Vietnamese translation from translation project.
6773
6aa09f71
AM
6774 * po/uk.po: Update Ukrainian translation from translation project.
6775
edc0660e
AM
6776 * po/fr.po: Update French translation from translation project.
6777
7eea72ac
AM
6778 * po/ru.po: Update Russian translation from translation project.
6779
93c49eff
AM
6780 * po/pl.po: Update Polish translation from translation project.
6781
46acaf63
AM
6782 * po/cs.po: Update Czech translation from translation project.
6783
a9f5ce98
AM
6784 * po/de.po: Update German translation from translation project.
6785
373f2b78
AM
6786 * po/bg.po: Update Bulgarian translation from translation project.
6787
e7548bd8
AM
6788 * po/sv.po: Update Sweedish translation from translation project.
6789
c526bf4d
AM
6790 * po/nl.po: Update Dutch translation from translation project.
6791
686ab290
AM
6792 * po/es.po: Update Spanish translation from translation project.
6793
eb72478a
SP
67942014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6795
dd763fdb
SP
6796 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6797
318c7a58
SP
6798 * catgets/Makefile (CPPFLAGS-gencat): Remove.
6799 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6800 (CPPFLAGS-iconvconfig): Likewise.
6801 * timezone/Makefile (CPPFLAGS-zic): Likewise.
6802
eb72478a
SP
6803 * include/libc-symbols.h: Remove unnecessary check for
6804 NOT_IN_libc.
6805 * nptl/pthreadP.h: Likewise.
6806 * sysdeps/aarch64/setjmp.S: Likewise.
6807 * sysdeps/alpha/setjmp.S: Likewise.
6808 * sysdeps/arm/sysdep.h: Likewise.
6809 * sysdeps/i386/setjmp.S: Likewise.
6810 * sysdeps/m68k/setjmp.c: Likewise.
6811 * sysdeps/posix/getcwd.c: Likewise.
6812 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6813 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6814 * sysdeps/s390/s390-32/setjmp.S: Likewise.
6815 * sysdeps/s390/s390-64/setjmp.S: Likewise.
6816 * sysdeps/sh/sh3/setjmp.S: Likewise.
6817 * sysdeps/sh/sh4/setjmp.S: Likewise.
6818 * sysdeps/unix/alpha/sysdep.h: Likewise.
6819 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6820 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6821 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6822 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6825 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6826 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6827 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6828 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6829 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6830 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6831 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6832 * sysdeps/x86_64/setjmp.S: Likewise.
6833
d44a052c
JM
68342014-08-13 Joseph Myers <joseph@codesourcery.com>
6835
6836 [BZ #17263]
6837 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6838 <stdint.h>.
6839 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6840 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6841
508ce3ac
SP
68422014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6843
e44c8b0e
SP
6844 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6845
508ce3ac
SP
6846 [BZ #17262]
6847 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6848 and __x86_64__ when disabling x87 inline functions.
6849
b4acef1f
L
68502014-08-12 H.J. Lu <hongjiu.lu@intel.com>
6851
6852 [BZ #17259]
6853 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6854 asm statement with __cpuid_count.
6855
61b1ef6e
MF
68562014-08-12 Mike Frysinger <vapier@gentoo.org>
6857
6858 * configure.ac: Change __ehdr_start code to dereference the struct.
6859 Run readelf on the output to look for relocations.
6860 * configure: Regenerated.
6861
898c62f4
JM
68622014-08-12 Joseph Myers <joseph@codesourcery.com>
6863
6864 [BZ #17261]
6865 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6866 value to 0.
6867 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6868
9a8a5720
RM
68692014-08-12 Roland McGrath <roland@hack.frob.com>
6870
6871 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6872
4e75751c
BO
68732014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
6874
6875 [BZ #16892]
6876 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6877 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6878
bb2ce416
SA
68792014-08-12 Sean Anderson <seanga2@gmail.com>
6880
6881 * malloc/malloc.c: Fix typo in comment.
6882
7950a4ee
AM
68832014-08-09 Allan McRae <allan@archlinux.org>
6884
6885 * Regenerate libc.po.
6886
f469c49f
MF
68872014-08-08 Mike Frysinger <vapier@gentoo.org>
6888
6889 * intl/tst-gettext2.sh: Check every lang file for creation.
6890
656b84c2
WD
68912014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6892
6893 * sysdeps/aarch64/fpu/math_private.h
6894 (libc_feholdsetround_noex_aarch64_ctx): New function.
6895
538e9e45
W
68962014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
6897
6898 * sysdeps/arm/armv6/strcpy.S (strcpy):
6899 Fix performance issue in misaligned cases.
6900
d4795e4a
AZ
69012014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6902
6903 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6904 Move definition from termios.h.
6905 (struct termio): Likewise.
6906 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6907 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6908 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6909 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6910 Likewise.
6911 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6912 Move definition to ioctl-types.h
6913 (struct termio): Likewise.
6914 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6915 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6916 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6917 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6918 Likewise.
6919
64accb62
RH
69202014-08-05 Richard Henderson <rth@redhat.com>
6921
27bb6dc0
RH
6922 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6923 exceptions.
6924 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6925 Add fraiseexcpt.
6926 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6927 Use __feraiseexcept.
6928 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6929 Protect libm symbols with IS_IN_libm.
6930
64accb62
RH
6931 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6932
e5292691
BO
69332014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
6934
6935 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6936
5b4bd2d4
WN
69372014-08-04 Will Newton <will.newton@linaro.org>
6938
6939 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6940 file.
6941
fcadaeef
MF
69422014-08-04 Mike Frysinger <vapier@gentoo.org>
6943
6944 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6945 variants for each function.
6946
43a94c64
RM
69472014-08-04 Roland McGrath <roland@hack.frob.com>
6948
6949 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6950 appended ...
6951 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6952 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6953 appended ...
6954 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6955 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6956 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6957 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6958 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6959 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6960 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6961 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6962 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6963 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6964 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6965 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6966 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6967 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6968 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6969 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6970 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6971 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6972 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6973 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6974 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6975 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6976 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6977 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6978 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6979 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6980 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6981 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6982 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6983 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6984 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6985 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6986 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6987 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6988 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6989 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6990 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6991 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6992 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6993 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6994 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6995 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6996 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6997 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6998 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6999 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7000 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7001 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7002 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7003 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7004 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7005 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7006 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7007 Update #include.
7008 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7009 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7010
8f3c1fa4
RM
70112014-08-04 Roland McGrath <roland@hack.frob.com>
7012
7013 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7014 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7015 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7016 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7017 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7018 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7019
ca08746f
RM
70202014-08-04 Roland McGrath <roland@hack.frob.com>
7021
7022 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7023 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7024 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7025 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7026
9c925ff9
RM
70272014-08-04 Roland McGrath <roland@hack.frob.com>
7028
7029 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7030 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7031 (__libc_vfork): Define function under this name.
7032 (__vfork): Define as an alias.
7033 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7034 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7035
e641054c
RM
70362014-08-04 Roland McGrath <roland@hack.frob.com>
7037
7038 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7039 that was previously under [RESET_PID].
7040 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7041
dacdc867
AS
70422014-08-04 Andreas Schwab <schwab@suse.de>
7043
7044 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7045
41f725ff
MF
70462014-08-03 Mike Frysinger <vapier@gentoo.org>
7047
7048 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7049 (main): Likewise.
7050
277cfb31
RM
70512014-08-01 Roland McGrath <roland@hack.frob.com>
7052
7053 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7054
4896f049
RH
70552014-08-01 Richard Henderon <rth@redhat.com>
7056
7057 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7058 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7059 typo in exact zero test.
7060 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7061 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7062 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7063
6f64e7d7
RM
70642014-08-01 Roland McGrath <roland@hack.frob.com>
7065
7066 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7067 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7068 * sysdeps/arm/sysdep.h: ... here.
7069 [!__ASSEMBLER__]: Include <stdint.h>.
7070
3f3dd810
SP
70712014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
7072
a476ac4b
SP
7073 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7074 (HAVE_WCTYPE_H): Likewise.
7075 (HAVE_ISWCTYPE): Likewise.
7076 (ENABLE_NLS): Likewise.
7077 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7078 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7079
78dd658a
SP
7080 * posix/regex_internal.c: Check if DEBUG is defined and is
7081 set.
7082
3f3dd810
SP
7083 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7084 (HAVE_MBSRTOWCS): Likewise.
7085 * posix/fnmatch.c: Include string.h unconditionally.
7086
95ee7fb1
SL
70872014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
7088
7089 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7090 reversal.
7091
23fe486b
RM
70922014-07-31 Roland McGrath <roland@hack.frob.com>
7093
f61a113f
RM
7094 * sysdeps/generic/safe-fatal.h: New file.
7095 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7096 * nptl/forward.c: Include it.
7097 (__pthread_unwind): Use __safe_fatal as default action, rather
7098 than a bogus use of INTERNAL_SYSCALL that could never work.
7099
9fe7e787
RM
7100 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7101 * configure.ac (libc_cv_builtin_trap): New test.
7102 * configure: Regenerated.
7103 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7104 (ABORT_INSTRUCTION): Define using __builtin_trap.
7105
23fe486b
RM
7106 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7107 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7108 * sysdeps/nptl/nptl-signals.h: New file.
7109 * nptl/pthreadP.h: Include <nptl-signals.h>.
7110
f349489e
SL
71112014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7112
7113 * sysdeps/s390/s390-64/utf16-utf32-z9.c
7114 (ONE_DIRECTION): Define.
7115 * sysdeps/s390/s390-64/utf8-utf16-z9.c
7116 (ONE_DIRECTION): Define.
7117 * sysdeps/s390/s390-64/utf8-utf32-z9.c
7118 (ONE_DIRECTION): Define.
7119
2f438e20
SL
71202014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7121
7122 * sysdeps/s390/Makefile: Delete file.
7123 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7124 * sysdeps/s390/__longjmp.c: Delete file.
7125 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7126 Remove fields __flags and __reserved.
7127 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7128 and add versioning.
7129 * sysdeps/s390/rtld-__longjmp.c: Delete file.
7130 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7131 * sysdeps/s390/rtld-setjmp.S: Likewise.
7132 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7133 * sysdeps/s390/s390-32/__longjmp.c: ... here.
7134 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7135 * sysdeps/s390/s390-32/setjmp.S: ... here.
7136 Add versioning.
7137 (__sigsetjmp): Remove setting __flags field.
7138 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7139 * sysdeps/s390/s390-64/__longjmp.c: ... here.
7140 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7141 * sysdeps/s390/s390-64/setjmp.S: ... here.
7142 Add versioning.
7143 (__sigsetjmp): Remove setting __flags field.
7144 * sysdeps/s390/setjmp.S: Delete file.
7145 * sysdeps/s390/sigjmp.c: Likewise.
7146 * sysdeps/s390/v1-longjmp.c: Likewise.
7147 * sysdeps/s390/v1-setjmp.h: Likewise.
7148 * sysdeps/s390/v1-sigjmp.c: Likewise.
7149 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7150 Remove v1-longjmp_chk.
7151 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7152 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7153 Include debug/longjmp_chk.c and add versioning.
7154 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7155 Include nptl/pt-longjmp.c and add versioning.
7156 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7157 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7158 Include __longjmp.c.
7159 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7160 Move to ...
7161 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7162 (__getcontext): Remove setting __flags field.
7163 Add versioning.
7164 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7165 Don't restore upper high grps.
7166 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7167 Likewise.
7168 (__swapcontext): Remove setting uc_flags field.
7169 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7170 Delete file.
7171 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7172 Include __longjmp.c.
7173 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7174 Move to ...
7175 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7176 (__getcontext): Remove setting __flags field.
7177 Add versioning.
7178 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7179 (__swapcontext): Remove setting uc_flags field.
7180 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7181 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7182 Remove fields uc_high_gprs and __reserved.
7183 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7184 New file with reverted content.
7185 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7186 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7187 Regenerated.
7188 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7189 Regenerated.
7190
6c9578a2
AS
71912014-07-31 Andreas Schwab <schwab@suse.de>
7192
7193 * config.h.in (HAVE_IFUNC): Define to 0.
7194 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7195 definedness.
7196
05f3633d
LM
71972014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
7198
7199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7200 memmove-avx-unaligned, memcpy-avx-unaligned and
7201 mempcpy-avx-unaligned.
7202 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7203 Add tests for AVX memcpy functions.
7204 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7205 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7206 memcpy_chk.
7207 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7208 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7209 memmove_chk.
7210 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7211 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7212 mempcpy_chk.
7213 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7214 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7215 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7216
a53fbd8e
AZ
72172013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7218
7219 [BZ #17213]
7220 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7221 powerpc64le.
7222
0961f7e1
JL
72232014-07-29 Jeff Layton <jlayton@poochiereds.net>
7224
7225 [BZ #16839]
7226 * manual/llio.texi: Add section about open file description locks.
7227 * manual/examples/ofdlocks.c: Example of open file description
7228 lock usage.
7229 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7230 F_OFD_SETLK, and F_OFD_SETLKW.
7231
cc5fb300
AM
72322014-07-23 Allan McRae <allan@archlinux.org>
7233
7234 * po/es.po: Update Spanish translation from translation project.
7235
23329dca
AS
72362014-07-18 Andreas Schwab <schwab@linux-m68k.org>
7237
7238 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7239
9c82da17
MR
72402014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
7241
7242 [BZ #17078]
7243 * sysdeps/arm/dl-machine.h (elf_machine_rela)
7244 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7245 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7246
29c4f53e
JM
72472014-07-17 Joseph Myers <joseph@codesourcery.com>
7248
831b9896
JM
7249 [BZ #17088]
7250 * math/fesetenv.c (__fesetenv)
7251 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7252 * math/feupdateenv.c (__feupdateenv)
7253 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7254
b21c2d50
JM
7255 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7256 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7257 (__ASSUME_SOCKETCALL): Do not define.
7258
067764ef
JM
7259 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7260 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7261 (__ASSUME_SOCKETCALL): Do not define.
7262 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7263 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7264 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7265 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7266 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7267 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7268 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7269 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7270
642530c1
JM
7271 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7272 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7273 (__ASSUME_SOCKETCALL): Do not define.
7274 (__ASSUME_IPC64): Define unconditionally.
7275 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7276 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7277 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7278 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7279 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7280 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7281 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7282 Likewise.
7283
03f77315
JM
7284 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7285 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7286 (__ASSUME_SOCKETCALL): Do not define.
7287 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7288 (__ASSUME_FUTEX_LOCK_PI): Likewise.
7289 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7290 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7291 (__ASSUME_REQUEUE_PI): Define unconditionally.
7292 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7293 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7294 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7295 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7296 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7297 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7298
083b1f7c
JM
7299 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7300 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7301 (__ASSUME_SOCKETCALL): Do not define.
7302 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7303 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7304 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7305 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7306 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7307 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7308
5be44ea6
JM
7309 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7310 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7311 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7312 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7313 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7314 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7315 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7316 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7317 (__ASSUME_GETCPU_SYSCALL): Likewise.
7318
d95ffd4c
JM
7319 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7320 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
7321 cases for individual architectures.
7322 * sysdeps/gnu/configure: Regenerated.
7323 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7324 LIBC_SLIBDIR_RTLDDIR.
7325 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7326 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7327 LIBC_SLIBDIR_RTLDDIR.
7328 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7330 LIBC_SLIBDIR_RTLDDIR.
7331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7332 Regenerated.
7333 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7334 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7335 file.
7336 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7337 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7338 file.
7339 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7340 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7341 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7342 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7343
29c4f53e
JM
7344 * sysdeps/aarch64/shlib-versions: Move to ...
7345 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7346 * sysdeps/alpha/shlib-versions: Move to ...
7347 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7348 * sysdeps/arm/shlib-versions: Move to ...
7349 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7350 * sysdeps/hppa/shlib-versions: Move all contents except for
7351 libgcc_s entry to ...
7352 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
7353 entry from ...
7354 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
7355 * sysdeps/ia64/shlib-versions: Move to ...
7356 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
7357 entry from ...
7358 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
7359 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7360 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7361 * sysdeps/microblaze/shlib-versions: Move to ...
7362 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7363 * sysdeps/mips/shlib-versions: Move to ...
7364 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
7365 entry from ...
7366 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
7367 * sysdeps/tile/shlib-versions: Move to ...
7368 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7369 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7370 from ...
7371 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
7372 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7373 entry from ...
7374 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
7375
32bead5b
WN
73762014-07-17 Will Newton <will.newton@linaro.org>
7377
57977c4b
WN
7378 * sysdeps/arm/bits/atomic.h
7379 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7380 (__arch_compare_and_exchange_bool_16_int): Likewise.
7381 (__arch_compare_and_exchange_bool_64_int): Likewise.
7382
32bead5b
WN
7383 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7384 into an #else block.
7385
37fccd41
RM
73862014-07-16 Roland McGrath <roland@hack.frob.com>
7387
7388 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7389 just Linux configurations. Test empirically that the compiler sets
7390 __ARM_EABI__, rather than using the tuple to decide.
7391 * sysdeps/arm/preconfigure: Regenerated.
7392 * sysdeps/unix/sysv/linux/arm/configure: File removed.
7393 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7394 contents appended ...
7395 * sysdeps/arm/configure.ac: ... here.
7396 * sysdeps/arm/configure: Regenerated.
7397
b365f3ec
RM
73982014-07-15 Roland McGrath <roland@hack.frob.com>
7399
8badf496
RM
7400 * nptl/pthread_kill.c: New file.
7401 * nptl/pthread_sigmask.c: New file.
7402 * nptl/pthread_sigqueue.c: New file.
7403
3df6f22e
RM
7404 * sysdeps/nptl/lowlevellock.h: New file.
7405 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7406 * sysdeps/nptl/lowlevellock-futex.h: New file.
7407
b365f3ec
RM
7408 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7409 Remove dead declarations.
7410
f2fef657
L
74112014-07-14 H.J. Lu <hongjiu.lu@intel.com>
7412
7413 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7414 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7415 config-cflags-avx2.
7416 * sysdeps/x86_64/configure.ac: Likewise.
7417 * sysdeps/i386/configure: Regenerated.
7418 * sysdeps/x86_64/configure: Likewise.
7419 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7420 memset-avx2 only if config-cflags-avx2 is yes.
7421 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7422 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7423 defined.
7424 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7425 only if HAVE_AVX2_SUPPORT is defined.
7426 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7427
f6c44d47
AM
74282014-07-14 Alan Modra <amodra@gmail.com>
7429
7430 [BZ #17153]
7431 * elf/elf.h (DT_PPC64_NUM): Correct value.
7432 * NEWS: Add to fixed bug list.
7433
7ee03f00
JM
74342014-07-13 Jim Meyering <meyering@fb.com>
7435
7436 [BZ 17150]
7437 regex: don't deref NULL upon heap allocation failure
7438 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7439 failure in one more place.
7440 To trigger the segfault, configure grep -with-included-regex,
7441 build it, and run these commands:
7442 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7443
9d39d517
AS
74442014-07-13 Andreas Schwab <schwab@linux-m68k.org>
7445
7446 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7447
a75b89b7
RH
74482014-07-11 Richard Henderson <rth@redhat.com>
7449
7450 * sysdeps/aarch64/libm-test-ulps: Update.
7451
771eb141
FW
74522014-07-10 Florian Weimer <fweimer@redhat.com>
7453
7454 [BZ #17135]
7455 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7456 * nptl/allocatestack.c (__nptl_setxid_error): New function.
7457 (__nptl_setxid): Initialize error member. Call
7458 __nptl_setxid_error.
7459 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7460 * nptl/descr.h (struct xid_command): Add error member.
7461 * nptl/tst-setuid3.c: New file.
7462 * nptl/Makefile (tests): Add it.
7463
bc1da176
AZ
74642014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7465
7466 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7467 New define.
7468 (__lll_trylock): Use __lll_base_trylock.
7469 (__lll_cond_trylock): Likewise.
7470
887865fc
RM
74712014-07-10 Roland McGrath <roland@hack.frob.com>
7472
c0c6bac9
RM
7473 * nptl/pthread_create.c (start_thread): Use atomic_or and
7474 lll_futex_wake directly rather than lll_robust_dead.
7475 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7476 (lll_robust_dead): Macro removed.
6a42be57 7477 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
c0c6bac9
RM
7478 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7479 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7480 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7481 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7482 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7483 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7484 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7485 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7486 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7487 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7488 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7489 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7490 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7491 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7492
887865fc
RM
7493 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7494 Use atomic_compare_and_exchange_val_acq directly rather than
7495 lll_robust_trylock.
7496 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7497 (__lll_robust_trylock, lll_robust_trylock): Removed.
7498 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7499 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7500 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7501 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7502 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7503 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7504 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7505 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7506 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7507 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7508 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7509 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7510 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7511 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7512
58536726
FW
75132014-07-02 Florian Weimer <fweimer@redhat.com>
7514
7515 * manual/locale.texi (Locale Names): New section documenting
7516 locale name syntax. Adjust menu and node chaining accordingly.
7517 (Choosing Locale): Reference Locale Names, Locale Categories.
7518 Mention setting LC_ALL=C. Reflect that name syntax is now
7519 documented.
7520 (Locale Categories): New section title. Reference Locale Names.
7521 LC_ALL is an environment variable, but not a category.
7522 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7523 description, now in Locale Name. Reference that section. Locale
7524 name syntax is now documented.
7525
4e8f95a0
FW
75262014-07-02 Florian Weimer <fweimer@redhat.com>
7527
7528 [BZ #17137]
7529 * locale/findlocale.c (name_present, valid_locale_name): New
7530 functions.
7531 (_nl_find_locale): Use the loc_name variable to store name
7532 candidates. Call name_present and valid_locale_name to check and
7533 validate locale names. Return an error if the locale is invalid.
7534
d1836456
FW
75352014-07-02 Florian Weimer <fweimer@redhat.com>
7536
7537 * locale/setlocale.c (setlocale): Use strdup for allocating
7538 composite name copy.
7539
d69b7f5a
SP
75402014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7541
888c679b
SP
7542 Sync up with gnulib.
7543 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7544 [!_LIBC && ENABLE_NLS]: Include gettext.h.
7545 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7546 and _GL_ARG_NONNULL.
7547 [USE_UNLOCKED_IO]: Include unlocked-io.h.
7548 [!_LIBC]: Include code for Windows and Cygwin.
7549 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7550 Include prototype for int strerror_r.
7551 [!_LIBC] (is_open): New function.
7552 (flush_stdout): New function.
7553 (print_errno_message): Use it.
7554 (error): Likewise.
7555 (error_at_line): Likewise.
7556 (error_tail) Add function attribute macros. Use
7557 __builtin_expect.
7558
180e0e4b
SP
7559 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7560
d22f1fe2
SP
7561 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7562
12f2254b
SP
7563 * io/ftw.c: Include sys/param.h unconditionally.
7564
c3c7c360
SP
7565 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7566
d62aa75a
SP
7567 [BZ #17125]
7568 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7569 libc_freeres_ptr.
7570 (freecache): New function to free CACHE on exit.
7571
d69b7f5a
SP
7572 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7573 initialization.
7574
5efe06a1
DM
75752014-07-09 David S. Miller <davem@davemloft.net>
7576
7577 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7578
7000d82e
DM
7579 * sysdeps/sparc/nptl/internaltypes.h: Delete.
7580 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7581 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7582 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7583 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7584 * sysdeps/sparc/nptl/sem_init.c: Likewise.
7585 * sysdeps/sparc/nptl/sem_post.c: Likewise.
7586 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7587 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7588 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7589 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7590 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7591 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7592
c213442d
AS
75932014-07-09 Andreas Schwab <schwab@suse.de>
7594
4a2552c3
AS
7595 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7596 output.
7597 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7598 (do_test): Likewise.
7599
c213442d
AS
7600 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7601
82374e65
WN
76022014-07-09 Will Newton <will.newton@linaro.org>
7603
7604 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7605 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7606 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7607 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7608 * sysdeps/hppa/start.S (_start): Likewise.
7609
6680738a
SP
76102014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
7611
6ee3eab4
SP
7612 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7613
6680738a
SP
7614 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7615 defined.
7616
80b5c505
SP
76172014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7618
e35c53e3
SP
7619 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7620 after checking that it is non-NULL.
7621
80b5c505
SP
7622 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7623
91f4b564
AZ
76242014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7625
27b75f56
AZ
7626 * sysdeps/powerpc/memmove.c: Remove file.
7627 * sysdeps/powerpc/powerpc32/power4/memcopy.h
7628 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7629 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7630 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7631 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7632 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7633 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7634 string memmove instead of removed powerpc one.
7635
e7f95bb5
AZ
7636 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7637 [weak_alias]: Fix compiler warning due trailing data.
7638 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7639 [weak_alias]: Likewise.
7640 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7641 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7642
91f4b564
AZ
7643 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7644 (__libc_ifunc_impl_list): Add memmove functions.
7645
7c33f1e5
SP
76462014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
7647
7648 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7649 Remove code.
7650 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7651 Likewise
7652 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7653 Likewise
7654 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7655 Likewise
7656 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7657 Likewise
7658 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7659 Likewise
7660 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7661 Likewise
7662 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7663 Likewise
7664 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7665 Likewise
7666 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7667 Likewise
7668 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7669 Likewise
7670 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7671 Likewise
7672 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7673 Likewise
7674 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7675 Likewise
7676 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7677 Likewise
7678 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7679 Likewise
7680 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7681 Likewise
7682
3f17b03b
AZ
76832014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7684
87868c24
AZ
7685 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7686 to avoid alignment traps in non-cacheable memory.
7687 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7688
07aedd78
AZ
7689 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7690 multiarch objects.
7691 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7692 file: multiarch power7 memmove.
7693 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7694 multiarch default memmove.
7695 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7696 multiarch memove for powerpc32/power4.
7697
17762f66
AZ
7698 * string/bcopy.c: Use full path to include memmove.c.
7699 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7700 multiarch objects.
7701 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7702 bcopy for powerpc64.
7703 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7704 bcopy for powerpc64.
7705 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7706 and memmove implementations.
7707 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7708 optimized multiarch memmove for POWER7/powerpc64.
7709 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7710 default multiarch memmove for powerpc64.
7711 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7712 multiarch for powerpc64.
7713 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7714 for POWER7/powerpc64.
7715 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7716 memmove for POWER7/powerpc64.
7717
d6f68bbe
AZ
7718 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7719 glibc default one.
7720
3f17b03b
AZ
7721 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7722 __ELF_NATIVE_CLASS equal to 64.
7723
08192659
RM
77242014-07-07 Roland McGrath <roland@hack.frob.com>
7725
f4c4021b
RM
7726 * sysdeps/nptl/lowlevellock.h: File removed.
7727
f083450f
RM
7728 * NEWS: NPTL is no longer an add-on!
7729 * nptl/internaltypes.h: Moved ...
7730 * sysdeps/nptl/internaltypes.h: ... here.
7731 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7732 * sysdeps/nptl/fork.c: Likewise.
7733 * sysdeps/nptl/gai_misc.h: Likewise.
7734 * sysdeps/nptl/librt-cancellation.c: Likewise.
7735 * sysdeps/nptl/jmp-unwind.c: Likewise.
7736 * sysdeps/nptl/setxid.h: Likewise.
7737 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7738 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7739 * sysdeps/unix/sysv/linux/arm/Implies: New file.
7740 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7741 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7742 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7743 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7744 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7745 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7746 * sysdeps/unix/sysv/linux/mips/Implies: New file.
7747 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7748 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7749 * sysdeps/unix/sysv/linux/sh/Implies: New file.
7750 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7751 * sysdeps/unix/sysv/linux/tile/Implies: New file.
7752 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7753 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7754 * nptl/Makeconfig: Moved ...
7755 * sysdeps/nptl/Makeconfig: ... here.
7756 * nptl/configure: File removed.
7757 * nptl/ANNOUNCE: File removed.
7758 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7759 * sysdeps/unix/sysv/linux/configure: Regenerated.
7760
08192659
RM
7761 * nptl/Makefile (routines): Add libc_pthread_init,
7762 libc_multiple_threads, register-atfork and unregister-atfork.
7763 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7764 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7765 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7766 pthread-pi-defines.sym, structsem.sym.
7767 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7768 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7769 [$(subdir) = nptl] (tests): Add tst-setgetname.
7770 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7771 * sysdeps/unix/sysv/linux/sigaction.c: Just include
7772 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7773 [!LIBC_SIGACTION]: Remove aliases.
7774 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7775 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7776 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7777 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7778 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7779 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7780 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7781 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7782 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7783 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7784 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7785 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7786 __libc_allocate_rtsig_private.
7787 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7788 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7789 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7790 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7791 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7792 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7793 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7794 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7795 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7796 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7797 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7798 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7799 * nptl/internaltypes.h: ... here.
7800 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7801 * sysdeps/nptl/jmp-unwind.c: ... here.
7802 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7803 * nptl/libc-lowlevellock.c: ... here.
7804 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7805 * nptl/libc_multiple_threads.c: ... here.
7806 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7807 * nptl/libc_pthread_init.c: ... here.
7808 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7809 * nptl/lowlevelbarrier.sym: ... here.
7810 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7811 * nptl/lowlevelcond.sym: ... here.
7812 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7813 * nptl/lowlevellock.c: ... here.
7814 * nptl/lowlevellock.h: Moved ...
7815 * sysdeps/nptl/lowlevellock.h: ... here.
7816 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7817 * nptl/lowlevelrobustlock.c: ... here.
7818 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7819 * nptl/lowlevelrobustlock.sym: ... here.
7820 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7821 * nptl/lowlevelrwlock.sym: ... here.
7822 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7823 * nptl/pt-fork.c: ... here.
7824 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7825 * nptl/pthread-pi-defines.sym: ... here.
7826 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7827 * nptl/pthread_attr_getaffinity.c: ... here.
7828 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7829 * nptl/pthread_attr_setaffinity.c: ... here.
7830 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7831 * nptl/pthread_mutex_cond_lock.c: ... here.
7832 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7833 Update #include.
7834 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7835 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7836 * nptl/pthread_once.c: ... here, replacing old file.
7837 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7838 * nptl/pthread_yield.c: ... here.
7839 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7840 * nptl/register-atfork.c: ... here.
7841 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7842 * nptl/sem_post.c: ... here.
7843 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7844 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7845 * nptl/sem_timedwait.c: ... here.
7846 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7847 * nptl/sem_trywait.c: ... here.
7848 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7849 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7850 * nptl/sem_wait.c: ... here.
7851 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7852 * nptl/structsem.sym: ... here.
7853 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7854 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7855 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7856 * nptl/unregister-atfork.c: ... here.
7857 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7858 * nptl/unwindbuf.sym: ... here.
7859 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7860 * sysdeps/nptl/fork.c: ... here.
7861 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7862 * sysdeps/nptl/fork.h: ... here.
7863 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7864 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7865 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7866 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7867 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7868 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7869 * sysdeps/unix/sysv/linux/getpid.c: ... here.
7870 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7871 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7872 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7873 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7874 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7875 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7876 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7877 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7878 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7879 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7880 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7881 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7882 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7883 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7884 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7885 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7886 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7887 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7888 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7889 * sysdeps/unix/sysv/linux/raise.c: ... here.
7890 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7891 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7892 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7893 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7894 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7895 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7896 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7897 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7898 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7899 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7900 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7901 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7902 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7903 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7904 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7905
96baf6ff
SP
79062014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7907
7908 * sysdeps/generic/memcopy.h: Add comment for
7909 MEMCPY_OK_FOR_FWD_MEMMOVE.
7910
6b7b14b2
WN
79112014-07-04 Will Newton <will.newton@linaro.org>
7912
1570a72b
WN
7913 * string/memchr.c: Merge from gnulib.
7914 [_LIBC]: Remove conditionals.
7915 (__ptr_t): Remove define.
7916 (LONG_MAX_32_BITS): Likewise.
7917 (LONG_MAX): Likewise.
7918 (MEMCHR): Use ANSI prototype and optimize algorithm.
7919
6b7b14b2
WN
7920 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7921
38851324
SP
79222014-07-03 Roland McGrath <roland@hack.frob.com>
7923
3d9eb57c
RM
7924 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7925 (lll_futex_timed_wait_bitset): Fix syscall argument count.
7926
78b984ae
RM
7927 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7928 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7929 in a bare environment with no <stdlib.h> installed.
7930 * sysdeps/nptl/configure: Regenerated.
7931
2d5976a5
RM
7932 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7933
c1f5acd4
RM
7934 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7935 AC_EGREP_CPP for kernel header checks, so they only succeed if
7936 including <linux/version.h> actually works right.
7937 * sysdeps/unix/sysv/linux/configure: Regenerated.
7938
4d614fe5
RM
7939 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7940 value so it's not diagnosed as unused.
7941
38851324
SP
7942 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7943 thing) with "ifeq ($(subdir),rt)".
7944
b3ec00e5
RH
79452014-07-03 Richard Henderson <rth@redhat.com>
7946
69862e25
RH
7947 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7948 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7949 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7950
d5e16ade
RH
7951 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7952 (math_force_eval): New.
7953
ca7b945c
RH
7954 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7955 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7956
cd1175a3
RH
7957 * sysdeps/alpha/fpu/s_round.c: Remove file.
7958 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7959
b3ec00e5
RH
7960 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7961 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7962 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7963 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7964 (_dl_start, print_statistics): Likewise.
7965 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7966 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7967
7968 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7969 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7970 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7971 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7972 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7973 (HP_SMALL_TIMING_AVAIL): Define.
7974 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7975 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7976 (HP_SMALL_TIMING_AVAIL): Define.
7977 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7978 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7979
7980 * sysdeps/aarch64/hp-timing.h: New file.
7981
7982 * sysdeps/generic/hp-timing.h: Remove dead comment.
7983 * sysdeps/generic/hp-timing-common.h: New file.
7984 * sysdeps/alpha/hp-timing.h: Include it.
7985 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7986 * sysdeps/i386/i686/hp-timing.h: Likewise.
7987 * sysdeps/ia64/hp-timing.h: Likewise.
7988 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7989 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7990 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7991 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7992 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7993 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7994 (hp_timing_t): New.
7995
7996 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7997 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7998 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7999 * elf/rtld.c (_dl_start_final): Likewise.
8000 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8001 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8002 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8003 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8004 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8005 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8006 (HP_TIMING_DIFF_INIT): Remove.
8007 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8008 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8009 (HP_TIMING_DIFF_INIT): Remove.
8010 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8011 * sysdeps/i386/i686/hp-timing.c: Remove file.
8012 * sysdeps/x86_64/hp-timing.c: Remove file.
8013 * sysdeps/ia64/hp-timing.c: Remove file.
8014 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8015 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8017 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8018
8019 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8020 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8021 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8022 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8023 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8024 (HP_TIMING_ACCUM): Remove.
8025 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8026 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8027 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8028
8029 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8030 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8031 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8032 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8033 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8034 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8035 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8036 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8037
8038 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8039
225f410f
MR
80402014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
8041
8042 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8043
3247f285
SP
80442014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8045
8046 Sync up with gettext.
8047 * intl/loadmsgcat.c: Define O_BINARY if not defined.
8048 [_MSC_VER]: Include malloc.h
8049 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8050 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8051 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
8052 TEMP_FAILURE_RETRY. Cast return of alloca.
8053 [!_LIBC] Call gl_rwlock_init.
8054 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8055
d12704c7
SP
80562014-07-02 Roland McGrath <roland@hack.frob.com>
8057
8058 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8059 before checking its value.
8060
99f8dc92
SP
80612014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8062
05fdac77
SP
8063 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8064
99f8dc92
SP
8065 * debug/memcpy_chk.c: Don't include pagecopy.h.
8066 * debug/mempcpy_chk.c: Likewise.
8067 * string/memcpy.c: Likewise.
8068 * string/memmove.c: Likewise.
8069 * sysdeps/powerpc/memmove.c: Likewise.
8070 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
8071 definition of PAGE_COPY_FWD_MAYBE here...
8072 * sysdeps/generic/pagecopy.h: ... from here.
8073 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8074
bc8ea385
VR
80752014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8076 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077
8078 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8080 optimizations.
8081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8082 (__libc_ifunc_impl_list): Likewise.
8083 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8084 multiarch strcat for PPC64.
8085 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8086 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8087
fe5f34e4
RM
80882014-07-02 Roland McGrath <roland@hack.frob.com>
8089
8090 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8091
256aa665
SP
80922014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8093
d4eb8195
SP
8094 * intl/loadmsgcat.c: Remove declaration of
8095 get_sysdep_segment_value.
8096 (get_sysdep_segment_value): Use ISO C style.
8097 (_nl_load_domain): Use ISO C style. Get rid of redundant
8098 semicolon. Fix typo and formatting in comment.
8099 (_nl_unload_domain): Use ISO C style.
8100
256aa665
SP
8101 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8102
b100f9aa
WN
81032014-07-02 Will Newton <will.newton@linaro.org>
8104
8105 * malloc/obstack.c: Merge from gnulib master.
8106 [HAVE_CONFIG_H]: Remove conditional code.
8107 [!_LIBC]: Include config.h.
8108 [!ELIDE_CODE]: Don't include inttypes.h, include
8109 stdint.h unconditionally.
8110 (print_and_abort): Mark as _Noreturn.
8111 (_obstack_allocated_p): Mark as __attribute_pure__.
8112 (obstack_free): Rename to __obstack_free.
8113 [!__attribute__]: Remove conditional code.
8114 * malloc/obstack.h: Merge from gnulib master.
8115 [__cplusplus]: Move conditional down.
8116 [!__attribute_pure__]: Define __attribute_pure__ here
8117 if it is not already defined.
8118 (_obstack_memory_used): Mark as __attribute_pure__.
8119 [!__obstack_free]: Define as obstack_free.
8120 [__GNUC__]: Remove check for ancient NeXT gcc.
8121
c4c41244
PE
81222014-07-02 Will Newton <will.newton@linaro.org>
8123 Paul Eggert <eggert@cs.ucla.edu>
8124
8125 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8126
e1e041c4
SP
81272014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8128
8129 * resolv/gethnamaddr.c: Add comment warning that the file is
8130 not maintained.
8131
ccf431ff
CD
81322014-07-01 Carlos O'Donell <carlos@redhat.com>
8133
d34570a6
CD
8134 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8135 entries.
8136
ccf431ff
CD
8137 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8138 entry for aio_cancel and aio_cancel64.
8139 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8140 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8141 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8142 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8143 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8144 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8145 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8146 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8147 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8148 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8149 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8150 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8151 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8152
ca06321d
RM
81532014-07-01 Roland McGrath <roland@hack.frob.com>
8154
8155 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8156 * nptl/pthread_mutex_lock.c: Likewise.
8157 * nptl/pthread_mutex_timedlock.c: Likewise.
8158 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8159
a1ac3184
RH
81602014-07-01 Richard henderson <rth@redhat.com>
8161
631021e0
RH
8162 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8163 (__isnan, __isnanl): Remove.
8164 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8165
a1ac3184
RH
8166 * sysdeps/alpha/fpu/libm-test-ulps: Update.
8167
0c1d731f
SL
81682014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
8169
8170 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8171
76985d3e
SP
81722014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
8173
8174 * resolv/nss_dns/dns-host.c (getanswer_r)
8175 [MULTI_PTRS_ARE_ALIASES]: Remove code.
8176
b0cb3096
JM
81772014-07-01 Joseph Myers <joseph@codesourcery.com>
8178
8179 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8180 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8181 undefine.
8182 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8183 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8184
4d76cb39
RM
81852014-07-01 Roland McGrath <roland@hack.frob.com>
8186
8187 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8188 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8189
8190 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8191 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8192
8193 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8194 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8195 ... here.
8196 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8197 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8198
8199 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8200 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8201 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8202 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8203
8204 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8205 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8206 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8207 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8208 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8209 Moved ...
8210 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8211 ... here.
8212 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8213 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8214 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8215 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8216 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8217 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8218 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8219 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8220 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8221 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8222 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8223 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8224 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8225 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8226 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8227 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8228 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8229 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8230 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8231 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8232 ... here.
8233 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8234 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8235 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8236 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8237 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8238 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8239 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8240 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8241
0cdcad17
DH
82422014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
8243
8244 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8245 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8246 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8247 Add sysdep.
8248
9b71d0e3
AZ
82492014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250
8251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8252
665390c2
JM
82532014-06-30 Joseph Myers <joseph@codesourcery.com>
8254
ae05a9d7
JM
8255 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8256 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8257
a7672a2f
JM
8258 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8259
665390c2
JM
8260 * sysdeps/arm/libm-test-ulps: Regenerated.
8261
d7a05d07
MR
82622014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8263 Roland McGrath <roland@hack.frob.com>
8264
8265 * test-skeleton.c (signal_handler): Kill the whole process group
8266 before killing the child individually.
8267 (main): Report any failure on `setpgid'.
8268
46f1d8a6
RM
82692014-06-30 Roland McGrath <roland@hack.frob.com>
8270
8271 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8272 from _TLS_H to _ARM_NPTL_TLS_H.
8273 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8274 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8275
9c37ec0b
JM
82762014-06-30 Joseph Myers <joseph@codesourcery.com>
8277
ce9c5b3e
JM
8278 [BZ #16539]
8279 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8280 (__expm1l): Return argument unchanged when small but not
8281 subnormal.
8282
3a6e9887
JM
8283 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8284 include macro name.
8285 (_FP_UNPACK_RAW_1_P): Likewise.
8286 (_FP_PACK_RAW_1): Likewise.
8287 (_FP_PACK_RAW_1_P): Likewise.
8288 (_FP_MUL_MEAT_1_wide): Likewise.
8289 (_FP_MUL_MEAT_DW_1_hard): Likewise.
8290 (_FP_MUL_MEAT_1_hard): Likewise.
8291 (_FP_DIV_MEAT_1_imm): Likewise.
8292 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8293 (_FP_DIV_MEAT_1_udiv): Likewise.
8294 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8295 (_FP_UNPACK_RAW_2): Likewise.
8296 (_FP_UNPACK_RAW_2_P): Likewise.
8297 (_FP_PACK_RAW_2): Likewise.
8298 (_FP_PACK_RAW_2_P): Likewise.
8299 (_FP_MUL_MEAT_DW_2_wide): Likewise.
8300 (_FP_MUL_MEAT_2_wide): Likewise.
8301 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8302 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8303 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8304 (_FP_MUL_MEAT_2_gmp): Likewise.
8305 (_FP_DIV_MEAT_2_udiv): Likewise.
8306 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8307 (_FP_FRAC_SRL_4): Likewise.
8308 (_FP_FRAC_SRST_4): Likewise.
8309 (_FP_FRAC_SRS_4): Likewise.
8310 (_FP_UNPACK_RAW_4): Likewise.
8311 (_FP_UNPACK_RAW_4_P): Likewise.
8312 (_FP_PACK_RAW_4): Likewise.
8313 (_FP_PACK_RAW_4_P): Likewise.
8314 (_FP_MUL_MEAT_DW_4_wide): Likewise.
8315 (_FP_MUL_MEAT_4_wide): Likewise.
8316 (_FP_MUL_MEAT_4_gmp): Likewise.
8317 (umul_ppppmnnn): Likewise.
8318 (_FP_DIV_MEAT_4_udiv): Likewise.
8319 (__FP_FRAC_ADD_4): Likewise.
8320 (__FP_FRAC_SUB_3): Likewise.
8321 (__FP_FRAC_SUB_4): Likewise.
8322 (__FP_FRAC_DEC_3): Likewise.
8323 (__FP_FRAC_DEC_4): Likewise.
8324 (__FP_FRAC_ADDI_4): Likewise.
8325 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8326 (_FP_FRAC_SRL_8): Likewise.
8327 (_FP_FRAC_SRS_8): Likewise.
8328
9c37ec0b
JM
8329 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8330 include macro name.
8331 (FP_UNPACK_RAW_EP): Likewise.
8332 (FP_PACK_RAW_E): Likewise.
8333 (FP_PACK_RAW_EP): Likewise.
8334 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8335 (_FP_ISSIGNAN): Likewise.
8336 (_FP_ADD_INTERNAL): Likewise.
8337 (_FP_FMA): Likewise.
8338 (_FP_CMP): Likewise.
8339 (_FP_SQRT): Likewise.
8340 (_FP_TO_INT): Likewise.
8341 (_FP_FROM_INT): Likewise.
8342 (FP_EXTEND): Likewise.
8343 (_FP_DIV_MEAT_N_loop): Likewise.
8344
2125f674
MR
83452014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
8346
8347 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8348 throughout.
8349
edea4028
JM
83502014-06-29 Joseph Myers <joseph@codesourcery.com>
8351
8352 [BZ #17097]
8353 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8354 result with correct sign in case of exponents that produce
8355 overflow except for X very close to 1.
8356
dd0ba018
PE
83572014-06-28 Paul Eggert <eggert@cs.ucla.edu>
8358
8359 mktime: merge #if/#ifdef usage from glibc
8360 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8361 as that works with both Glibc's and Gnulib's style.
8362 See thread starting at Siddhesh Poyarekar's bug report at:
8363 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8364
64df73c2
SP
83652014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8366
8367 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8368 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8369 * sysdeps/tile/tilegx/memmove.c: Remove file.
8370
f1eafb41
JM
83712014-06-27 Joseph Myers <joseph@codesourcery.com>
8372
8373 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8374 abi-name definition.
8375 * scripts/soversions.awk: Do not handle or generate ABI lines.
8376 * shlib-versions: Remove ABI entries.
8377 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8378 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8379
58eb0862
RM
83802014-06-27 Roland McGrath <roland@hack.frob.com>
8381
37caf178
RM
8382 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8383 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8384 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8385 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8386 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8387 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8388 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8389 Moved ...
8390 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8391 ... here.
8392 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8393 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8394 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8395 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8396 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8397 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8398 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8399 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8400 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8401 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8402 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8403 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8404 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8405 Moved ...
8406 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8407 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8408 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8409 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8410 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8411 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8412 Moved ...
8413 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8414 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8415 Moved ...
8416 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8417 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8418 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8419 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8420 Moved ...
8421 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8422 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8423 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8424 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8425 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8426 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8427 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8428 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8429 Moved ...
8430 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8431 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8432 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8433 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8434 Moved ...
8435 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8436 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8437 Moved ...
8438 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8439 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8440 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8441 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8442 Moved ...
8443 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8444 ... here.
8445 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8446 Identical file removed.
8447 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8448 Moved ...
8449 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8450 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8451 Identical file removed.
8452 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8453 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8454 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8455 Moved ...
8456 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8457 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8458 Identical file removed.
8459 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8460 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8461 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8462 Identical file removed.
8463 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8464 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8465 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8466 Identical file removed.
8467 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8468 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8469 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8470 Identical file removed.
8471 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8472 Moved ...
8473 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8474 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8475 Identical file removed.
8476 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8477 Moved ...
8478 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8479 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8480 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8481 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8482 Identical file removed.
8483 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8484 Moved ...
8485 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8486 ... here.
8487 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8488 Identical file removed.
8489 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8490 Moved ...
8491 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8492 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8493 Identical file removed.
8494 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8495 Moved ...
8496 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8497 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8498 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8499 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8500 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8501 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8502 Moved ...
8503 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8504 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8505 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8506
58eb0862
RM
8507 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8508 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8509 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8510 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8511 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8512
6f12d062
AS
85132014-06-27 Arjun Shankar <arjun.is@lostca.se>
8514
8515 [BZ #17092]
8516 * nscd/nscd.c (monitor_child): Return exit status of child
8517 instead of return value from wait syscall.
8518
be254932
JM
85192014-06-27 Joseph Myers <joseph@codesourcery.com>
8520
cb403c34
JM
8521 * configure.ac (libc_commonpagesize): Remove variable.
8522 (libc_relro_required): Likewise.
8523 (libc_cv_z_relro): Remove configure test.
8524 * configure: Regenerated.
8525 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8526 variable.
8527 (libc_relro_required): Likewise.
8528 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8529 (libc_relro_required): Likewise.
8530 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8531 (libc_relro_required): Likewise.
8532 * sysdeps/arm/preconfigure: Regenerated.
8533 * sysdeps/ia64/preconfigure: Remove file.
8534 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8535 variable.
8536 (libc_relro_required): Likewise.
8537
be254932
JM
8538 [BZ #16561]
8539 [BZ #16562]
8540 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8541 (__ieee754_yn): Set FE_TONEAREST mode internally and then
8542 recompute overflowing results in original rounding mode.
8543 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8544 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8545 recompute overflowing results in original rounding mode.
8546 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8547 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8548 recompute overflowing results in original rounding mode.
8549 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8550 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8551 recompute overflowing results in original rounding mode.
8552 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8553 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8554 recompute overflowing results in original rounding mode.
8555 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8556 (libc_feholdsetround_ctx): New macro.
8557 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8558 * sysdeps/i386/fpu/libm-test-ulps: Update.
8559 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8560
b351d85a
JM
85612014-06-26 Joseph Myers <joseph@codesourcery.com>
8562
8563 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8564 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8565 corresponding .cpsetup call.
8566
3cb4de47
RM
85672014-06-26 Roland McGrath <roland@hack.frob.com>
8568
8569 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8570 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8571 * sysdeps/arm/Makefile [$(subdir) = csu]
8572 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8573 (static-only-routines): Add aeabi_read_tp here.
8574 (shared-only-routines): Add libc-aeabi_read_tp here.
8575 (CFLAGS-libc-start.c): Add -fexceptions here.
8576 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8577 (sysdep_routines, static-only-routines, shared-only-routines):
8578 Don't add to these here.
8579 (CFLAGS-libc-start.c): Likewise.
8580
8581 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8582 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8583 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8584 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8585 * sysdeps/arm/Makefile [$(subdir) = rt]
8586 (librt-sysdep_routines, librt-shared-only-routines):
8587 Append rt-aeabi_unwind_cpp_pr1 here.
8588 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8589 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8590 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8591 (libpthread-sysdep_routines, libpthread-shared-only-routines):
8592 Append nptl-aeabi_unwind_cpp_pr1 here.
8593 (tests): Filter out tst-cleanupx4 here.
8594 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8595 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8596 Don't do those here.
8597
354426bb
JM
85982014-06-26 Joseph Myers <joseph@codesourcery.com>
8599
8600 * scripts/list-sources.sh: Do not handle ports specially.
8601
28b0a8c9
RM
86022014-06-26 Roland McGrath <roland@hack.frob.com>
8603
a3dd035d
RM
8604 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8605 * sysdeps/arm/feupdateenv.c: Likewise.
8606
28b0a8c9
RM
8607 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8608
e66a8203
JM
86092014-06-26 Joseph Myers <joseph@codesourcery.com>
8610
8611 * manual/texinfo.tex: Update to version 2014-05-05.10 with
8612 trailing whitespace removed.
8613 * scripts/config.guess: Update to version 2014-03-23.
8614 * scripts/config.sub: Update to version 2014-05-01
8615 * scripts/install-sh: Update to version 2013-12-25.23.
8616 * scripts/move-if-change: Update from gnulib.
8617
74171115
SP
86182014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8619
b97c9ce5
SP
8620 * debug/memmove_chk.c: Remove pagecopy.h include.
8621
4000f892
SP
86222014-06-26 Paul Eggert <eggert@cs.ucla.edu>
8623
74171115
SP
8624 * time/mktime.c (leapyear): Remove inline keyword. The code is now
8625 identical to gnulib mktime.
8626
a8779c28
JM
86272014-06-26 Joseph Myers <joseph@codesourcery.com>
8628
e64708de
JM
8629 * configure.ac: Do not test for machine being rs6000. Do not test
8630 for powerpc*-*soft.
8631 * configure: Regenerated.
8632
a8779c28
JM
8633 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8634 test.
8635 * configure: Regenerated.
8636 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8637 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8638 Remove configure test.
8639 * sysdeps/arm/configure: Regenerated.
8640 * sysdeps/nptl/configure.ac: Do not check
8641 libc_cv_asm_cfi_directives.
8642 * sysdeps/nptl/configure: Regenerated.
8643 * sysdeps/x86_64/nptl/configure.ac: Remove file.
8644 * sysdeps/x86_64/nptl/configure: Remove generated file.
8645 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8646 unconditional.
8647 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8648
2aac0a86
SP
86492014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8650
059bf913
SP
8651 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8652 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8653 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8654 it is defined.
8655
4cf5b6d0
SP
8656 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8657 instead of whether it is defined.
8658 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8659 * sysdeps/hppa/dl-machine.h: Likewise.
8660 * sysdeps/ia64/dl-machine.h: Likewise.
8661 * sysdeps/m68k/dl-machine.h: Likewise.
8662 * sysdeps/microblaze/dl-machine.h: Likewise.
8663 * sysdeps/mips/dl-machine.: Likewise.
8664 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8665 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8666 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8667 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8668 * sysdeps/sh/dl-machine.h: Likewise.
8669 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8670 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8671 * sysdeps/tile/dl-machine.h: Likewise.
8672 * sysdeps/x86_64/dl-machine.h: Likewise.
8673
2aac0a86
SP
8674 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8675 code.
8676 (verify_persistent_db): Likewise.
8677
6ad2df0b
RM
86782014-06-26 Roland McGrath <roland@hack.frob.com>
8679
d8a483f3
RM
8680 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8681 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8682 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8683 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8684 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8685 Moved ...
8686 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8687 ... here.
8688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8689 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8690 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8691 Identical file removed.
8692 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8693 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8695 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8696 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8697 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8698 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8699 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8701 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8702 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8703 Moved ...
8704 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8705 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8706 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8707 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8708 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8710 Moved ...
8711 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8712 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8713 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8714 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8715 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8716 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8717 Identical file removed.
8718 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8719 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8720 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8721 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8723 Moved ...
8724 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8725 ... here.
8726 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8727 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8729 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8730 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8731 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8732 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8733 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8734 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8735 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8737 Moved ...
8738 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8740 Moved ...
8741 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8742 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8743 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8744 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8745 Moved ...
8746 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8747 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8748 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8749
52ae23b4
RM
8750 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8751 folded into ...
8752 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8753 * sysdeps/unix/sysv/linux/s390/Versions
8754 (libpthread: GLIBC_2.19): New version set.
8755 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8756 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8757 (librt: GLIBC_2.3.3): New version set.
8758 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8759 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8760 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8761 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8762 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8763 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8764 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8765 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8766 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8767 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8768 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8769 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8770 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8771 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8772 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8773 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8774 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8775 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8776 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8777 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8778 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8779 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8780 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8781 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8782 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8783 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8784 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8785 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8786 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8787 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8788 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8789 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8790 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8791 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8792 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8793 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8794 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8795 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8796 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8797 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8798 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8799 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8800 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8801 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8802 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8803
39507e4a
RM
8804 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8805 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8806 (__libc_vfork): Define the function under this name.
8807 [!NOT_IN_libc] (__vfork): Make this an alias.
8808 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8809 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8810 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8811 (__libc_vfork): Define the function under this name.
8812 [!NOT_IN_libc] (__vfork): Make this an alias.
8813 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8814 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8815 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8816 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8817 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8818 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8819
e549ee56
RM
8820 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8821 code that was previously under [RESET_PID].
8822 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8823 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8824 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8825
6ad2df0b
RM
8826 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8827 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8828 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8829 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8830 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8831 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8832 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8833 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8834 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8835 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8836 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8837 Moved ...
8838 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8839 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8840 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8841 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8842 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8843 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8844 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8845 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8846 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8847 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8848 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8849 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8850 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8851 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8852 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8853 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8854 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8855 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8856 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8857 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8858 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8859 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8860 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8861 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8862 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8863 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8864 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8865 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8866 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8867
7c1c1d8e
RM
88682014-06-25 Roland McGrath <roland@hack.frob.com>
8869
8870 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8871 that was previously under [RESET_PID].
8872 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8873
3e239be6
JM
88742014-06-25 Joseph Myers <joseph@codesourcery.com>
8875
74385da5
JM
8876 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8877 not undefine and redefine.
8878 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8879 [O_CLOEXEC]: Make code unconditional.
8880 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8881 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8882 <kernel-features.h>.
8883 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8884 conditional variable definition.
8885 (shm_open) [O_CLOEXEC]: Make code unconditional.
8886 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8887 code.
8888
c2570a0b
JM
8889 * configure.ac (USE_REGPARMS): Don't define here.
8890 * configure: Regenerated.
8891 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8892 * sysdeps/i386/configure: Regenerated.
8893
11b076bb
JM
8894 * nptl/createthread.c: Don't include kernel-features.h.
8895 * nptl/pthread_cancel.c: Likewise.
8896 * nptl/pthread_condattr_setclock.c: Likewise.
8897 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8898 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8899 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8900 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8901 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8902 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8903 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8904 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8905 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8906 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8907 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8908 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8909 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8910 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8911 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8912 * nscd/gai.c: Likewise.
8913 * nss/nss_db/db-open.c: Likewise.
8914 * sysdeps/generic/ldsodefs.h: Likewise.
8915 * sysdeps/sh/nptl/tls.h: Likewise.
8916 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8917 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8918 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8919 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8920 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8921 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8922 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8923 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8924 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8925 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8926 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8927 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8928 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8929 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8930 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8931 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8932 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8933 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8934 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8935 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8936 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8937 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8938 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8939 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8940 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8941 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8942 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8943 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8944 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8945 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8946 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8947 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8948 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8949 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8950 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8951 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8952 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8953 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8954 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8955 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8956 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8957 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8958 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8959 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8960 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8961 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8962 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8963 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8964 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8965 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8966 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8967 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8968 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8969 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8970 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8971 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8972 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8973 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8974 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8976 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8977 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8978 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8985 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8996 * sysdeps/unix/sysv/linux/pread.c: Likewise.
8997 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8998 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8999 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9000 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9001 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9002 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9003 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9004 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9005 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9006 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9007 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9008 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9009 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9010 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9011 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9012 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9013 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9014 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9015 * sysdeps/unix/sysv/linux/system.c: Likewise.
9016 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9017 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9018 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9019 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9020 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9021 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9022 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9023
92072d57
JM
9024 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9025 * configure: Regenerated.
9026 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9027
3e239be6
JM
9028 * configure.ac (base_machine): Do not set specially for particular
9029 machines here.
9030 * configure: Regenerated.
9031 * sysdeps/powerpc/preconfigure: Move machine and base_machine
9032 settings from configure.ac.
9033 * sysdeps/i386/preconfigure: New file.
9034 * sysdeps/s390/preconfigure: Likewise.
9035 * sysdeps/sh/preconfigure: Likewise.
9036 * sysdeps/sparc/preconfigure: Likewise.
9037
06d50baa
RM
90382014-06-25 Roland McGrath <roland@hack.frob.com>
9039
74836003
RM
9040 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9041 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9042 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9043 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9044 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9045 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9046 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9047 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9048 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9049 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9050 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9051 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9052 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9053 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9054 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9055 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9056 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9057 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9058 * sysdeps/sparc/sparc64/Makefile: ... appended here.
9059
9060 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9061 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9062 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9063 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9064 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9065 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9066 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9067 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9068 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9069 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9070 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9071 * sysdeps/sparc/sparc32/sem_post.c: ... here.
9072 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9073 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9074 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9075 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9076 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9077 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9078 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9079 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9080 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9081 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9082 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9083 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9084 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9085 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9086 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9087 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9088 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9089 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9090 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9091 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9092 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9093 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9094 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9095 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9096 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9097 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9098
06d50baa
RM
9099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9100 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9101 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9102 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9104 Moved ...
9105 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9106 ... here.
9107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9108 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9110 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9112 Moved ...
9113 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9115 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9117 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9119 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9121 Moved ...
9122 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9124 Moved ...
9125 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9127 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9129 Moved ...
9130 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9132 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9134 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9136 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9138 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9140 Moved ...
9141 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9142 ... here.
9143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9144 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9146 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9148 Moved ...
9149 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9151 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9152 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9153 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9155 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9157 Moved ...
9158 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9160 Moved ...
9161 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9163 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9165 Moved ...
9166 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9167 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9168 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9170 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9171
a4ccbc9b
JM
91722014-06-25 Joseph Myers <joseph@codesourcery.com>
9173
0828edbf
JM
9174 * timezone/checktab.awk: Update from tzcode 2014e.
9175 * timezone/private.h: Likewise.
9176 * timezone/tzfile.h: Likewise.
9177 * timezone/zdump.c: Likewise.
9178 * timezone/zic.c: Likewise.
9179
a4ccbc9b
JM
9180 * sysdeps/unix/sysv/linux/kernel-features.h
9181 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9182 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9183 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9184 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9185 Remove conditional code.
9186
9aea0cb8
WN
91872014-06-25 Will Newton <will.newton@linaro.org>
9188
9189 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9190 (_dl_arm_cap_flags): Add HWCAP2 values.
9191 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9192 (_DL_HWCAP_COUNT): Increase to 37.
9193 (_DL_HWCAP_LAST): New define.
9194 (_DL_HWCAP2_LAST): New define.
9195 (_dl_procinfo): Add support for printing
9196 AT_HWCAP2 entries.
9197 (_dl_string_hwcap): Use _dl_hwcap_string.
9198
6eaa65ce
AZ
91992014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9200
9201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9202
0f5b7185
JM
92032014-06-25 Joseph Myers <joseph@codesourcery.com>
9204
cfd2ea50
JM
9205 * README: Do not mention ports directory.
9206
cecf2ed4
JM
9207 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9208 Remove macro.
9209 * sysdeps/unix/sysv/linux/futimes.c: Do not include
9210 <kernel-features.h>.
9211 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9212 conditional variable definition.
9213 (__futimes): Update comment.
9214 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9215 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9216
a638de82
JM
9217 [BZ #16560]
9218 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9219 arguments close to 0.
9220 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9221 Likewise.
9222 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9223 Likewise.
9224 * math/auto-libm-test-in: Add more tests of exp10.
9225 * math/auto-libm-test-out: Regenerated.
9226 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9227
0f5b7185
JM
9228 * sysdeps/unix/sysv/linux/kernel-features.h
9229 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9230 * sysdeps/unix/sysv/linux/readv.c: Do not include
9231 <kernel-features.h>.
9232 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9233 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9234 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9235 unconditional.
9236 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9237 conditional code.
9238 * sysdeps/unix/sysv/linux/writev.c: Do not include
9239 <kernel-features.h>.
9240 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9241 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9242 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9243 unconditional.
9244 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9245 conditional code.
9246
c7aec4be
WN
92472014-06-25 Will Newton <will.newton@linaro.org>
9248
9249 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9250 comment changes throughout the file. Remove checks
9251 for HAVE_*_H definitions that are not required.
9252 (__gen_tempname): Call abort if an unknown kind value is
9253 passed.
9254
c5241f95
AS
92552014-06-25 Andreas Schwab <schwab@suse.de>
9256
9257 [BZ #17086]
9258 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9259 scalbln, scalblnf, scalblnl in libc.
9260
911422da
SP
92612014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9262
9263 [BZ #17086]
9264 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9265 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9266 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9267
0d749bbe
RM
92682014-06-24 Roland McGrath <roland@hack.frob.com>
9269
9270 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9271 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9272 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9273 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9274 Update #include.
9275 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9276 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9277 Update #include.
9278 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9279 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9280 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9281 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9282 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9283 * sysdeps/x86/bits/pthreadtypes.h: ... here.
9284 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9285 * sysdeps/x86/bits/semaphore.h: ... here.
9286 * sysdeps/x86/nptl/elide.h: Moved ...
9287 * sysdeps/x86/elide.h: ... here.
9288 * sysdeps/x86_64/nptl/Implies: File removed.
9289 * sysdeps/i386/nptl/Implies: File removed.
9290
0ea5d373
JM
92912014-06-24 Joseph Myers <joseph@codesourcery.com>
9292
4060283d
JM
9293 [BZ #16539]
9294 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9295 return the argument for normal arguments with exponent below -64.
9296 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9297 Likewise.
9298 * math/auto-libm-test-in: Add another test of expm1.
9299 * math/auto-libm-test-out: Regenerated.
9300
e7dd3c8c
JM
9301 [BZ #16287]
9302 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9303 calling __erfcl for arguments at least 16.
9304 * math/auto-libm-test-in: Add more tests of erf.
9305 * math/auto-libm-test-out: Regenerated.
9306
0ea5d373
JM
9307 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9308 individual architectures.
9309 * sysdeps/unix/sysv/linux/configure: Regenerated.
9310 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9311 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9312 * sysdeps/unix/sysv/linux/powerpc/configure.ac
9313 (ldd_rewrite_script): Define variable.
9314 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9316 file.
9317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9318 generated file.
9319 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9320 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9321 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9322 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9323 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9324 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9325 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9326 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9327
2307e126
SP
93282014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9329
9330 [BZ #17084]
9331 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9332 Rename member __data.d to __data.__elision_data.
9333
c0a4ed77
W
93342014-06-24 Wilco <wdijkstr@arm.com>
9335
9336 * NEWS: Add 16918 to fixed bug list.
9337
b8c00573
W
93382014-06-24 Wilco <wdijkstr@arm.com>
9339
9340 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9341
b5570d92
W
93422014-06-24 Wilco <wdijkstr@arm.com>
9343
9344 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9345 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9346 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9347 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9348 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9349 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9350 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9351 Use _FPU_MASK_RM.
9352
947bdca2
W
93532014-06-24 Wilco <wdijkstr@arm.com>
9354
9355 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9356
00f669ed
W
93572014-06-24 Wilco <wdijkstr@arm.com>
9358
9359 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9360 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9361 * sysdeps/arm/fesetround.c (fesetround): Remove space.
9362 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9363
db59bad3
W
93642014-06-24 Wilco <wdijkstr@arm.com>
9365
9366 [BZ #16918]
9367 * sysdeps/arm/feupdateenv.c (feupdateenv):
9368 Rewrite to reduce FPSCR accesses and fix return value.
9369
001f7b77
W
93702014-06-24 Wilco <wdijkstr@arm.com>
9371
9372 * sysdeps/arm/fclrexcpt.c (feclearexcept):
9373 Optimize to avoid unnecessary FPSCR writes.
9374 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9375 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9376 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9377 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9378
4841e6a6
W
93792014-06-24 Wilco <wdijkstr@arm.com>
9380
9381 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9382 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9383 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9384 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9385 Call libc_fetestexcept_vfp.
9386 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9387 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9388 __SOFTFP__ ifdef so that they can be built for softfp.
9389
0813022c
SP
93902014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
9391
08e5862f
SP
9392 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9393 argument type signed char.
9394
0813022c
SP
9395 * Makerules (check-abi): Dump diff of symlist if the test
9396 fails.
9397
3fc7236a
RM
93982014-06-23 Roland McGrath <roland@hack.frob.com>
9399
aba8ef95
RM
9400 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9401 using abort.
9402
3fc7236a
RM
9403 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9404 Remove unused variable ST.
9405
4da6db51
JM
94062014-06-23 Joseph Myers <joseph@codesourcery.com>
9407
4648909d
JM
9408 [BZ #16354]
9409 [BZ #17061]
9410 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9411 small arguments before calling __expm1.
9412 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9413 small arguments before calling __expm1f.
9414 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9415 small arguments before calling __expm1l.
9416 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9417 Likewise.
9418 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9419 * math/auto-libm-test-in: Add more cosh tests. Do not allow
9420 spurious underflow for some cosh tests.
9421 * math/auto-libm-test-out: Regenerated.
9422 * sysdeps/i386/fpu/libm-test-ulps: Update.
9423
46a3d3c7
JM
9424 [BZ #17050]
9425 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9426 (__ieee754_y1): Set errno if return value overflows.
9427 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9428 (__ieee754_y1f): Set errno if return value overflows.
9429 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9430 (__ieee754_y1l): Set errno if return value overflows.
9431 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9432 (__ieee754_y1l): Set errno if return value overflows.
9433 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9434 * math/auto-libm-test-out: Regenerated.
9435
863893ec
JM
9436 * math/gen-auto-libm-tests.c: Document use of
9437 ignore-zero-inf-sign.
9438 (input_flag_type): Add value flag_ignore_zero_inf_sign.
9439 (input_flags): Add ignore-zero-inf-sign.
9440 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9441 * math/gen-libm-test.pl (generate_testfile): Handle
9442 ignore-zero-inf-sign.
9443 * math/auto-libm-test-in: Mark some cpow tests with
9444 ignore-zero-inf-sign and some with xfail-rounding.
9445 * math/auto-libm-test-out: Regenerated.
9446 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9447 * sysdeps/i386/fpu/libm-test-ulps: Update.
9448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9449
4da6db51
JM
9450 [BZ #16315]
9451 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9452 overflowing or underflowing operations take place with sign of
9453 result.
9454 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9455 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9456 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9457 (__ieee754_pow): Recompute overflowing and underflowing results in
9458 original rounding mode.
9459 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9460 (__powl_helper): Allow negative argument X and scale negated value
9461 as needed. Avoid passing value outside [-1, 1] to f2xm1.
9462 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9463 overflowing or underflowing operations take place with sign of
9464 result.
9465 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9466 Include <math.h>.
9467 * math/auto-libm-test-in: Add more tests of pow.
9468 * math/auto-libm-test-out: Regenerated.
9469 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9470 (pow_tonearest_test_data): Remove.
9471 (pow_test_tonearest): Likewise.
9472 (pow_towardzero_test_data): Likewise.
9473 (pow_test_towardzero): Likewise.
9474 (pow_downward_test_data): Likewise.
9475 (pow_test_downward): Likewise.
9476 (pow_upward_test_data): Likewise.
9477 (pow_test_upward): Likewise.
9478 (main): Don't call removed functions.
9479 * sysdeps/i386/fpu/libm-test-ulps: Update.
9480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9481
5686b236
RM
94822014-06-23 Roland McGrath <roland@hack.frob.com>
9483
9484 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9485 Moved ...
9486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9488 Moved ...
9489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9491 Moved ...
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9494 Moved ...
9495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9497 File removed.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9499 File removed.
9500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9501 File removed.
9502 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9503 File removed.
9504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9505 File removed.
9506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9507 File removed.
9508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9509 File removed.
9510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9511 File removed.
9512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9513 File removed.
9514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9515 File removed.
9516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9517 File removed.
9518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9519 File removed.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9521 Moved ...
9522 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9524 Moved ...
9525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9526 ... here.
9527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9528 Moved ...
9529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9531 Moved ...
9532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9533 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9534 Moved ...
9535 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9536 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9537 Moved ...
9538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9540 Moved ...
9541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9543 Moved ...
9544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9546 Moved ...
9547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9550 ... here.
9551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9552 Moved ...
9553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9555 Moved ...
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9557 ... here.
9558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9559 Moved ...
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9561 ... here.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9563 Moved ...
9564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9565 ... here.
9566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9567 Moved ...
9568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9570 Moved ...
9571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9575 Moved ...
9576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9577 ... here.
9578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9579 Moved ...
9580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9581 ... here.
9582 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9583 Moved ...
9584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9586 Moved ...
9587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9589 Moved ...
9590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9592 Moved ...
9593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9595 Moved ...
9596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9597 ... here.
9598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9599 Moved ...
9600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9602 Moved ...
9603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9605 Moved ...
9606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9608 Moved ...
9609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9613 Moved ...
9614 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9616 Moved ...
9617 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9618 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9619 Moved ...
9620 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9621 ... here.
9622 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9623 Moved ...
9624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9625 ... here.
9626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9627 Moved ...
9628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9629 ... here.
9630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9631 Moved ...
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9634 Moved ...
9635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9637 Moved ...
9638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9640 Moved ...
9641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9642 ... here.
9643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9644 Moved ...
9645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9646 ... here.
9647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9648 Moved ...
9649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9650 ... here.
9651 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9652 Moved ...
9653 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9654 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9655 Moved ...
9656 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9657
e6d90d67
WD
96582014-06-23 Will Newton <will.newton@linaro.org>
9659 Wilco <wdijkstr@arm.com>
9660
9661 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9662 implementation. Include get-rounding-mode.h.
9663 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9664 [!libc_feholdsetround_noex_ctx]: Define
9665 libc_feholdsetround_noex_ctx.
9666 [!libc_feholdsetround_noexf_ctx]: Define
9667 libc_feholdsetround_noexf_ctx.
9668 [!libc_feholdsetround_noexl_ctx]: Define
9669 libc_feholdsetround_noexl_ctx.
9670 (libc_feholdsetround_ctx): New function.
9671 (libc_feresetround_ctx): New function.
9672 (libc_feholdsetround_noex_ctx): New function.
9673 (libc_feresetround_noex_ctx): New function.
9674
d42df555
RM
96752014-06-23 Roland McGrath <roland@hack.frob.com>
9676
88a46474
RM
9677 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9678 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9679 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9680 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9681 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9682 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9683
15bed472
RM
9684 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9685 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9686 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9687 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9688 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9689 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9690 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9691 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9692 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9693 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9694 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9695 Moved ...
9696 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9697 ... here.
9698 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9699 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9700 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9702 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9703 Moved ...
9704 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9705 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9706 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9707 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9708 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9709 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9710 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9711 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9712 Moved ...
9713 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9714 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9715 Moved ...
9716 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9717 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9718 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9719 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9720 Moved ...
9721 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9722 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9723 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9724 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9725 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9726 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9727 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9728 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9729 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9730 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9731 Moved ...
9732 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9733 ... here.
9734 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9735 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9736 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9737 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9738 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9739 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9740 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9741 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9742 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9743 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9744 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9745 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9746 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9747 Moved ...
9748 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9749 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9750 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9751 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9752 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9753 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9754 Moved ...
9755 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9756 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9757 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9758 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9759 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9760
d42df555
RM
9761 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9762 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9763 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9764 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9765 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9766 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9767 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9768 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9769 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9770 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9771 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9772 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9773 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9774 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9775 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9776 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9777 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9778 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9779 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9780 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9781 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9782 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9783 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9784 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9785 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9786 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9787 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9788 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9789
76e5216e
JM
97902014-06-23 Joseph Myers <joseph@codesourcery.com>
9791
9792 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9793 (FALLOC_FL_COLLAPSE_RANGE): New macro.
9794 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9795 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9796 (IPV6_PMTUDISC_INTERFACE): Likewise.
9797 (IPV6_PMTUDISC_OMIT): Likewise.
9798
7a81cbcc
AS
97992014-06-23 Andreas Schwab <schwab@suse.de>
9800
9801 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9802 Remove unused errout label.
9803
db224009
AZ
98042014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9805
9806 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9807 macro: hardware supports Vector Crypto instructions.
9808
f393b4aa
WN
98092014-06-23 Will Newton <will.newton@linaro.org>
9810
cc7d0447
WN
9811 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9812 rather than __builtin_expect.
9813
d6d06225
WN
9814 * elf/dl-lookup.c (undefined_msg): Remove variable.
9815 (_dl_lookup_symbol_x): Replace undefined_msg with string
9816 literal.
9817
f393b4aa
WN
9818 * elf/dl-lookup.c (do_lookup_unique): New function.
9819 (do_lookup_x): Move STB_GNU_UNIQUE handling code
9820 to a separate function.
9821
ac60763e
AS
98222014-06-23 Andreas Schwab <schwab@suse.de>
9823
9824 [BZ #17079]
9825 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9826 before reading the next line.
9827
c5c13355
WN
98282014-06-23 Will Newton <will.newton@linaro.org>
9829
9830 * test-skeleton.c (signal_handler): Use printf and %m
9831 rather than perror. Use printf rather than fprintf to
9832 stderr. Use puts rather than fputs to stderr.
9833 (main): Likewise.
9834
bd3675f9
LC
98352014-06-22 Ludovic Courtès <ludo@gnu.org>
9836
9837 * nscd/nscd.c (thread_info_t): Remove typedef.
9838 (thread_info): Remove variable.
9839
d03efb2f
AM
98402014-06-21 Allan McRae <allan@archlinux.org>
9841
9842 * NEWS: Mention CVE-2014-4043.
9843
bc4a86fa
RM
98442014-06-20 Roland McGrath <roland@hack.frob.com>
9845
dc9a54f8
RM
9846 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9847 * nptl/smp.h: ... here.
9848
bd7022c4
RM
9849 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9850
26ffd5e6
RM
9851 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9852 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9853 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9854 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9855
93a6d082
RM
9856 * nptl/allocatestack.c: Include <stack-aliasing.h>.
9857 * nptl/stack-aliasing.h: New file.
9858 * sysdeps/i386/i686/stack-aliasing.h: New file.
9859 * sysdeps/i386/i686/nptl/Makefile: File removed.
9860 * sysdeps/x86_64/stack-aliasing.h: New file.
9861 * sysdeps/x86_64/nptl/Makefile
9862 (CFLAGS-pthread_create.c): Variable removed.
9863
bc4a86fa
RM
9864 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9865 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9866 old file.
9867 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9868 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9869 old file.
9870
2272ffc1
JM
98712014-06-21 Joseph Myers <joseph@codesourcery.com>
9872
9873 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9874 (__ASSUME_SIGFRAME_V2): Remove macro.
9875 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9876 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9877 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9878 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9879 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9880 Declare as function. Remove conditional macro definitions.
9881 (__default_rt_sa_restorer): Likewise.
9882 (__default_sa_restorer_v1): Remove declaration.
9883 (__default_sa_restorer_v2): Likewise.
9884 (__default_rt_sa_restorer_v1): Likewise.
9885 (__default_rt_sa_restorer_v2): Likewise.
9886 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9887 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9888 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9889
4b88139b
RM
98902014-06-20 Roland McGrath <roland@hack.frob.com>
9891
9892 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9893 (libpthread-routines): Add sysdep.
9894 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9895 * sysdeps/unix/sysv/linux/sparc/Versions
9896 (libpthread: GLIBC_2.3.3): New version set.
9897 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9898 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9899 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9900 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9901 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
9902 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9903 Moved ...
9904 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9905 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9906 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9907 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9908 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9909 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9910 * sysdeps/sparc/nptl/sem_init.c: ... here.
9911 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9912 * sysdeps/sparc/nptl/sem_post.c: ... here.
9913 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9914 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9916 * sysdeps/sparc/nptl/sem_wait.c: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9918 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9919 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9920 (libpthread-routines): Add cpu_relax.
9921 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9922 File removed.
9923 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9924 (librt: GLIBC_2.3.3): New version set.
9925 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9926 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9927 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9928 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9929 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9930 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9931 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9933 Moved ...
9934 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9935 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9936 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9937 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9938 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9940 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9941 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9942 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9943 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9944 Moved ...
9945 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9946 Update #include.
9947 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9948 Moved ...
9949 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9950 Update #include.
9951 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9952 Moved ...
9953 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9954 Update #include.
9955 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9956 Moved ...
9957 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9958 Update #include.
9959 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9960 Moved ...
9961 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9962 Update #include.
9963 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9964 Moved ...
9965 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9966 Update #include.
9967 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9968 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9969 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9970 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9971 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9972 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9973 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9974 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9975 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9976 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9977 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9978 Moved ...
9979 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9980 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9981 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9982 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9983 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9984
d7109027
JM
99852014-06-20 Joseph Myers <joseph@codesourcery.com>
9986
9bc6103d
JM
9987 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9988 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9989 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9990 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9991 * nscd/nscd.c: Likewise.
9992 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9993 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9994 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9995 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9996
d7109027
JM
9997 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9998 <kernel-features.h>.
9999 (init_mq_netlink): Remove conditional have_sock_cloexec
10000 definitions. Remove code conditional on have_sock_cloexec < 0.
10001 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10002 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10003 * sysdeps/unix/sysv/linux/opensock.c: Do not include
10004 <kernel-features.h>.
10005 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10006 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10007
d92d8f8a
L
100082014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10009
10010 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10011 Add tests for memset_chk and memset.
10012
10013 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10014 with AVX2_Usable.
10015
4e6d2347
MR
100162014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10017
257ce712
MR
10018 [BZ #16046]
10019 * elf/tst-dl-iter-static.c: New file.
10020 * elf/Makefile (tests-static): Add tst-dl-iter-static.
10021
4e6d2347
MR
10022 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10023 error.
10024
a2a76afe
JM
100252014-06-20 Joseph Myers <joseph@codesourcery.com>
10026
7fd00f99
JM
10027 * sysdeps/unix/sysv/linux/kernel-features.h
10028 (__ASSUME_F_GETOWN_EX): Remove macro.
10029 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10030 <kernel-features.h>.
10031 (miss_F_GETOWN_EX): Remove variable or macro.
10032 (do_fcntl): Do not check miss_F_GETOWN_EX.
10033 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10034
4a103975
JM
10035 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10036 Remove macro.
10037 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10038 [!__ASSUME_AT_RANDOM]: Remove conditional code.
10039 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10040
a2a76afe
JM
10041 * sysdeps/unix/sysv/linux/kernel-features.h
10042 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10043 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10044 [ADJ_OFFSET_SS_READ]: Make code unconditional.
10045 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10046
90e5dd48
MR
100472014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
10048
10049 [BZ #17075]
10050 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10051 Fix calculation of the symbol's value.
10052 * sysdeps/arm/tst-armtlsdescloc.c: New file.
10053 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10054 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10055 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10056 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10057 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10058 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10059 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10060 (modules-names): Add `tst-armtlsdescmod',
10061 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10062 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10063 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10064 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10065 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10066 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10067 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10068 ($(objpfx)tst-armtlsdescloc): New dependency.
10069 ($(objpfx)tst-armtlsdescextnow): Likewise.
10070 ($(objpfx)tst-armtlsdescextlazy): Likewise.
10071 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10072 TLS scheme support.
10073 * sysdeps/arm/configure: Regenerate.
10074
809fdf0d
JM
100752014-06-20 Joseph Myers <joseph@codesourcery.com>
10076
10077 * include/fcntl.h (__atfct_seterrno): Remove prototype.
10078 (__atfct_seterrno_2): Likewise.
10079 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10080 <kernel-features.h>.
10081 (__ASSUME_ATFCTS): Do not undefine and redefine.
10082 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10083 (__have_atfcts): Remove conditional definition.
10084 (__fxstatat([__NR_fstatat64]: Make code unconditional.
10085 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10086 unreachable if [__ASSUME_ATFCTS].
10087 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10088 not undefine and redefine.
10089 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10090 <kernel-features.h>.
10091 (faccessat) [__NR_faccessat]: Make code unconditional.
10092 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10093 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10094 <kernel-features.h>.
10095 (fchmodat) [__NR_fchmodat]: Make code unconditional.
10096 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10097 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10098 <kernel-features.h>.
10099 (fchownat) [__NR_fchownat]: Make code unconditional.
10100 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10101 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10102 <kernel-features.h>.
10103 (futimesat) [__NR_futimesat]: Make code unconditional.
10104 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10105 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10106 <kernel-features.h>.
10107 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10108 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10109 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10110 <kernel-features.h>.
10111 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10112 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10113 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10114 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10115 <kernel-features.h>.
10116 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10117 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10118 * sysdeps/unix/sysv/linux/linkat.c: Do not include
10119 <kernel-features.h>.
10120 (linkat) [__NR_linkat]: Make code unconditional.
10121 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10122 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10123 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10124 <kernel-features.h>.
10125 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10126 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10127 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10128 <kernel-features.h>.
10129 (mkdirat) [__NR_mkdirat]: Make code unconditional.
10130 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10131 * sysdeps/unix/sysv/linux/openat.c: Do not include
10132 <kernel-features.h>.
10133 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10134 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10135 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10136 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10137 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10138 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10139 <kernel-features.h>.
10140 (readlinkat) [__NR_readlinkat]: Make code unconditional.
10141 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
10142 result of INLINE_SYSCALL directly, not via int variable.
10143 * sysdeps/unix/sysv/linux/renameat.c: Do not include
10144 <kernel-features.h>.
10145 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10146 (renameat) [__NR_renameat]: Make code unconditional.
10147 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10148 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10149 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10150 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10151 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10152 (__ASSUME_ATFCTS): Do not undefine and redefine.
10153 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10154 <kernel-features.h>.
10155 (symlinkat) [__NR_symlinkat]: Make code unconditional.
10156 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10157 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10158 <kernel-features.h>.
10159 (unlinkat) [__NR_unlinkat]: Make code unconditional.
10160 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10161 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10162 (__ASSUME_ATFCTS): Do not undefine and redefine.
10163 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10164 <kernel-features.h>.
10165 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10166 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10167 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10168 <kernel-features.h>.
10169 (__xmknodat) [__NR_mknodat]: Make code unconditional.
10170 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10171
224c6c51
L
101722014-06-20 H.J. Lu <hongjiu.lu@intel.com>
10173
10174 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10175
aa6ec754
AS
101762014-06-20 Andreas Schwab <schwab@linux-m68k.org>
10177
10178 [BZ #17069]
10179 * posix/regcomp.c (parse_reg_exp): Deallocate partially
10180 constructed tree before returning error.
10181 * posix/bug-regexp36.c: Expand test case.
10182
d8c2869d
SL
101832014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
10184
3ef6b850
SL
10185 [BZ #6803]
10186 * math/libm-test.inc (scalbln_test_date):
10187 Add errno expectations.
10188 * math/w_scalblnf.c: New File.
10189 Add wrapper which checks for setting errno to ERANGE.
10190 Add weak_alias for corresponding scalbln function.
10191 * math/w_scalbln.c: Likewise.
10192 * math/w_scalblnl.c: Likewise.
10193 * math/Makefile (libm-calls): Add w_scalbln.
10194 * sysdeps/ieee754/flt-32/s_scalblnf.c:
10195 Remove weak_alias for corresponding scalbln function.
10196 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10197 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10198 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10199 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10200 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10201 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10202 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10203 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10204 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10205 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10206 Remove long_double_symbol for scalblnl function in libm, libc.
10207 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10208 Add wrapper which checks for setting errno to ERANGE.
10209 Add long_double_symbol for scalblnl function in libm, libc.
10210 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10211 Remove long_double_symbol for scalblnl in libm.
10212 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10213 Add wrapper which checks for setting errno to ERANGE.
10214 Add long_double_symbol for scalblnl function in libm.
10215 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10216 Do not use wrapper because of own implementation.
10217
c8daec5c
L
102182014-06-19 H.J. Lu <hongjiu.lu@intel.com>
10219
10220 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10221 3 bytes for __pad1 for x32.
10222 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10223
5c74e47c
LM
102242014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
10225 H.J. Lu <hongjiu.lu@intel.com>
10226
10227 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10228 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10229 * sysdeps/x86_64/multiarch/memset.S: Likewise.
10230 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10231 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10232
4d43ef1e
AS
102332014-06-19 Andreas Schwab <schwab@linux-m68k.org>
10234
10235 [BZ #17069]
10236 * posix/regcomp.c (parse_expression): Deallocate partially
10237 constructed tree before returning error.
10238 * posix/Makefile.c (tests): Add bug-regex36.
10239 (generated): Add bug-regex36.mtrace.
10240 (tests-special): Add $(objpfx)bug-regex36-mem.out
10241 (bug-regex36-ENV): New variable.
10242 ($(objpfx)bug-regex36-mem.out): New rule.
10243 * posix/bug-regex36.c: New file.
10244
51a7380b
WN
102452014-06-19 Will Newton <will.newton@linaro.org>
10246
10247 * malloc/malloc.c (systrim): If extra is zero then return
10248 early.
10249
91b84fe5
SP
102502014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10251
10252 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10253
f940b965
RE
102542014-06-19 Richard Earnshaw <rearnsha@arm.com>
10255
10256 * sysdeps/aarch64/strchr.S: New file.
10257
4ba7a00f
JM
102582014-06-18 Joseph Myers <joseph@codesourcery.com>
10259
10260 [BZ #17022]
10261 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10262 from arguments -2 or below.
10263 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10264 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10265
b3a9f56b
AS
102662014-06-18 Andreas Schwab <schwab@suse.de>
10267
10268 [BZ #17062]
10269 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10270 of a bracket expr not to run off the end of the string.
10271 * posix/Makefile (tests): Add tst-fnmatch3.
10272 * posix/tst-fnmatch3.c: New file.
10273
85d89278
JM
102742014-06-18 Joseph Myers <joseph@codesourcery.com>
10275
10276 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10277 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10278 [$(cross-compiling) = no]: Likewise.
10279 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10280 [$(cross-compiling) = no]: Likewise.
10281
754c5a08
RS
102822014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10283
10284 [BZ #17031]
10285 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10286 double, adjusted for any remainder from the high double.
10287 * math/libm-test.inc (nearbyint): Add tests.
10288 (rint): Likewise.
10289
556f529d
AZ
102902014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10291
10292 * nptl/sysdeps/powerpc/Makefile: Moved ...
10293 * sysdeps/powerpc/nptl/Makefile: ... here.
10294 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10295 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10296 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10297 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10298 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10299 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10300 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10301 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10302 * nptl/sysdeps/powerpc/tls.h: Moved ...
10303 * sysdeps/powerpc/nptl/tls.h: ... here.
10304
91c03c53
JM
103052014-06-16 Joseph Myers <joseph@codesourcery.com>
10306
10307 [BZ #16681]
10308 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10309 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10310 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10311 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10312 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10313 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10314 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10315 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10316 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10317
a76e63c5
AS
103182014-06-17 Andreas Schwab <schwab@linux-m68k.org>
10319
10320 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10321
f2f6d82f
AS
103222014-06-16 Andreas Schwab <schwab@linux-m68k.org>
10323
ea8a15f6
AS
10324 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10325 defined operator.
10326
f2f6d82f
AS
10327 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10328 $TIMEOUTFACTOR.
10329
a7291117
FW
103302014-06-16 Florian Weimer <fweimer@redhat.com>
10331
10332 [BZ #17058]
10333 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10334 non-executed part of the test.
10335
3d7c00e3
AS
103362014-06-16 Andreas Schwab <schwab@suse.de>
10337
10338 * string/bits/string2.h (strdup, strndup): Update feature guard.
10339
6957fb31
DM
103402014-06-14 David S. Miller <davem@davemloft.net>
10341
10342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
10343
11b9e55b
AS
103442014-06-14 Andreas Schwab <schwab@linux-m68k.org>
10345
1d2a0492
AS
10346 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10347 that was previously under [RESET_PID].
10348 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10349
11b9e55b
AS
10350 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10351 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10352 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10353 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10354 (__libc_vfork): New strong alias.
10355 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10356
0f6901d0
AK
103572014-06-14 Andi Kleen <ak@linux.intel.com>
10358
10359 * sysdeps/generic/elide.h: New file.
10360
38bbbb9f
SL
103612014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
10362
10363 * Makefile (installed-headers): Adjust path of pthread.h header.
10364
45193bb8
RM
103652014-06-13 Roland McGrath <roland@hack.frob.com>
10366
9a25fd1e
RM
10367 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10368 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10369 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10370 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10371
4004f7e4
RM
10372 * nptl/sysdeps/s390/Makefile: Moved ...
10373 * sysdeps/s390/nptl/Makefile: ... here.
10374 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10375 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10376 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10377 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10378 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10379 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10380 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10381 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10382 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10383 * sysdeps/s390/nptl/pthreaddef.h: ... here.
10384 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10385 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10386 * nptl/sysdeps/s390/tls.h: Moved ...
10387 * sysdeps/s390/nptl/tls.h: ... here.
10388
45193bb8
RM
10389 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10390 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10391
f6fdf533
DM
103922014-06-13 David S. Miller <davem@davemloft.net>
10393
10394 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10395 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10396 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10397 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10398 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10399 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10400 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10401 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10402 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10403 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10404 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10405 Remove RESET_PID cpp guards.
10406 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10407 Remove RESET_PID cpp guards.
10408 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10409
f5d71e14
AS
104102014-06-13 Andreas Schwab <schwab@linux-m68k.org>
10411
10412 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10413 __sp to uintptr_t.
10414
b7aa8caa
AK
104152014-06-13 Andi Kleen <ak@linux.intel.com>
10416
4b266200
AZ
10417 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10418 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10419 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10420 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10421 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10422 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10423 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10424 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10425 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10426 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10427 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10428 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10429 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10430 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10431 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10432 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10433 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10434 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10435 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10436 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8491ed6d
AK
10437
10438 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
4b266200
AZ
10439 (pthread_rwlock_rdlock): Add elision.
10440 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10441 (pthread_rwlock_wrlock): Add elision.
10442 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10443 (pthread_rwlock_trywrlock): Add elision.
10444 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10445 (pthread_rwlock_tryrdlock): Add elision.
10446 * nptl/pthread_rwlock_unlock.c: Include elide.h.
10447 (pthread_rwlock_tryrdlock): Add elision unlock.
10448 * nptl/sysdeps/pthread/pthread.h:
10449 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10450 (PTHREAD_RWLOCK_INITIALIZER,
10451 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10452 Handle new elision field.
10453 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10454 * sysdeps/arm/nptl/bits/pthreadtypes.h
10455 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10456 * sysdeps/sh/nptl/bits/pthreadtypes.h
10457 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10458 * sysdeps/tile/nptl/bits/pthreadtypes.h
10459 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10460 * sysdeps/a/nptl/bits/pthreadtypes.h
10461 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10462 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10463 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10464 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10465 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10466 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10467 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10468 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10469 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10470 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10471 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10472 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10473 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10474 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10475 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10476 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10477 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10478 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10479 (elision_init): Set try_xbegin to zero when no RTM.
10480 * sysdeps/x86/nptl/bits/pthreadtypes.h
10481 (pthread_rwlock_t): Change __pad1 to __rwelision.
10482 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8491ed6d 10483
a832bdd3
AK
104842014-06-13 Andi Kleen <ak@linux.intel.com>
10485
10486 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10487 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10488 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10489 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10490
995a46bb
MI
104912014-06-13 Meador Inge <meadori@codesourcery.com>
10492
10493 [BZ #16996]
03ed7738 10494 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
995a46bb
MI
10495 that the cached result has been set before returning it.
10496
45262aee
RM
104972014-06-12 Roland McGrath <roland@hack.frob.com>
10498
febf6cc5
RM
10499 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10500 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10501 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10502 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10503 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10504 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10505
e2682246
RM
10506 * nptl/sysdeps/sparc/Makefile: Moved ...
10507 * sysdeps/sparc/nptl/Makefile: ... here.
10508 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10509 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10510 * nptl/sysdeps/sparc/tls.h: Moved ...
10511 * sysdeps/sparc/nptl/tls.h: ... here.
10512 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10513 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10514 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10515 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10516 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10517 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10518 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10519 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10520 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10521 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10522 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10523 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10524 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10525 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10526 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10527 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10528 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10529 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10530 Update #include.
10531 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10532 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10533 Update #include.
10534 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10535 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10536 Update #include.
10537 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10538 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10539 Update #include.
10540
b0725f43
RM
10541 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10542
b14368b8
RM
10543 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10544 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10545
c5620eb3
RM
10546 * sysdeps/pthread/posix-timer.h: Include <list.h>.
10547 (struct list_links): Type removed.
10548 (struct thread_node, struct timer_node): Replace struct list_links
10549 with struct list_head.
10550 (list_unlink_ip): Likewise.
10551 * sysdeps/pthread/timer_routines.c
10552 (timer_free_list, thread_free_list, thread_active_list): Likewise.
10553 (list_append, list_insbefore): Likewise.
10554 (list_init): Function removed.
10555 (thread_init, init_module): Use INIT_LIST_HEAD instead.
463dc947
RM
10556 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10557 * sysdeps/pthread/Makefile: ... here, new file.
10558
10559 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10560 * sysdeps/nptl/Implies: ... here.
10561 * sysdeps/unix/sysv/linux/Implies: Add nptl.
10562 * nptl/sysdeps/pthread/list.h: Moved ...
10563 * include/list.h: ... here.
10564 * nptl/sysdeps/pthread/createthread.c: Moved ...
10565 * nptl/createthread.c: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10567 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10568 * nptl/pt-longjmp.c: ... here.
10569 * nptl/sysdeps/pthread/Makefile: Moved ...
10570 * sysdeps/nptl/Makefile: ... here.
10571 * nptl/sysdeps/pthread/Subdirs: Moved ...
10572 * sysdeps/nptl/Subdirs: ... here.
10573 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10574 * sysdeps/nptl/aio_misc.h: ... here.
10575 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10576 * sysdeps/nptl/bits/libc-lock.h: ... here.
10577 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10578 * sysdeps/nptl/bits/libc-lockP.h: ... here.
10579 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10580 * sysdeps/nptl/bits/stdio-lock.h: ... here.
10581 * nptl/sysdeps/pthread/configure: Moved ...
10582 * sysdeps/nptl/configure: ... here.
10583 * nptl/sysdeps/pthread/configure.ac: Moved ...
10584 * sysdeps/nptl/configure.ac: ... here.
10585 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10586 * sysdeps/nptl/gai_misc.h: ... here.
10587 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10588 * sysdeps/nptl/librt-cancellation.c: ... here.
10589 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10590 * sysdeps/nptl/malloc-machine.h: ... here.
10591 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10592 * sysdeps/nptl/pthread-functions.h: ... here.
10593 * nptl/sysdeps/pthread/pthread.h: Moved ...
10594 * sysdeps/nptl/pthread.h: ... here.
10595 * nptl/sysdeps/pthread/setxid.h: Moved ...
10596 * sysdeps/nptl/setxid.h: ... here.
10597 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10598 * sysdeps/nptl/sigfillset.c: ... here.
10599 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10600 * sysdeps/nptl/tcb-offsets.h: ... here.
10601 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10602 * sysdeps/nptl/tst-mqueue8x.c: ... here.
10603 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10604 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10605 * nptl/sysdeps/pthread/allocalim.h: Moved ...
10606 * sysdeps/pthread/allocalim.h: ... here.
10607 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10608 * sysdeps/pthread/bits/sigthread.h: ... here.
10609 * nptl/sysdeps/pthread/flockfile.c: Moved ...
10610 * sysdeps/pthread/flockfile.c: ... here.
10611 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10612 * sysdeps/pthread/ftrylockfile.c: ... here.
10613 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10614 * sysdeps/pthread/funlockfile.c: ... here.
10615 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10616 * sysdeps/pthread/posix-timer.h: ... here.
10617 * nptl/sysdeps/pthread/timer_create.c: Moved ...
10618 * sysdeps/pthread/timer_create.c: ... here.
10619 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10620 * sysdeps/pthread/timer_delete.c: ... here.
10621 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10622 * sysdeps/pthread/timer_getoverr.c: ... here.
10623 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10624 * sysdeps/pthread/timer_gettime.c: ... here.
10625 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10626 * sysdeps/pthread/timer_routines.c: ... here.
10627 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10628 * sysdeps/pthread/timer_settime.c: ... here.
10629 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10630 * sysdeps/pthread/tst-timer.c: ... here.
10631 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10632 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10633
e876b090
RM
10634 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10635 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10636
f6b07b3d
RM
10637 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10638 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10639 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10640 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10641 Update #include target.
10642 * nptl/sysdeps/i386/i686/Makefile: Moved ...
10643 * sysdeps/i386/i686/nptl/Makefile: ... here.
10644 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10645 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10646 Update #include target.
10647 * nptl/sysdeps/i386/i686/tls.h: Moved ...
10648 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
10649 * nptl/sysdeps/i386/Makefile: Moved ...
10650 * sysdeps/i386/nptl/Makefile: ... here.
10651 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10652 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10653 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10654 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10655 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10656 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10657 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10658 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10659 * sysdeps/i386/nptl/pthreaddef.h: ... here.
10660 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10661 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10662 * nptl/sysdeps/i386/tls.h: Moved ...
10663 * sysdeps/i386/nptl/tls.h: ... here.
10664
45262aee
RM
10665 * sysdeps/sh/Makefile [$(subdir) = csu]
10666 (gen-as-const-headers): Add tcb-offsets.sym.
10667 * nptl/sysdeps/sh/Makefile: File removed.
10668 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10669 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10670 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10671 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10672 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10673 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10674 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10675 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10676 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10677 * sysdeps/sh/nptl/pthreaddef.h: ... here.
10678 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10679 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10680 * nptl/sysdeps/sh/tls.h: Moved ...
10681 * sysdeps/sh/nptl/tls.h: ... here.
10682 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10683 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10684 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10685 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10686 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10687 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10688 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10689 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10690 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10691 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10692 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10693 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10694 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10695 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10696 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10697 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10698 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10699 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10700 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10701 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10703 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10705 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10707 Moved ...
10708 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10709 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10710 Moved ...
10711 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10712 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10713 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10714 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10715 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10716 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10717 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10718 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10719 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10720 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10721 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10722 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10723 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10724 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10725 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10727 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10729 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10730
35a5e3e3
SL
107312014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
10732
10733 * posix/spawn_faction_addopen.c: Include string.h.
10734
14642b85
RM
107352014-06-11 Roland McGrath <roland@hack.frob.com>
10736
10737 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10738 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10739 * nptl/sysdeps/x86_64/Makefile: Moved ...
10740 * sysdeps/x86_64/nptl/Makefile: ... here.
10741 * nptl/sysdeps/x86_64/configure: Moved ...
10742 * sysdeps/x86_64/nptl/configure: ... here.
10743 * nptl/sysdeps/x86_64/configure.ac: Moved ...
10744 * sysdeps/x86_64/nptl/configure.ac: ... here.
10745 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10746 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10747 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10748 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10749 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10750 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10751 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10752 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10753 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10754 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10755 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10756 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10757 * nptl/sysdeps/x86_64/tls.h: Moved ...
10758 * sysdeps/x86_64/nptl/tls.h: ... here.
10759 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10760 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10761 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10762 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10763
10764 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10765
31c44fea
AZ
107662014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10767
10768 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10769
e81a4f9a
JM
107702014-06-11 Joseph Myers <joseph@codesourcery.com>
10771
10772 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10773 type.
10774 [POSIX] (off_t): Likewise.
10775 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10776 [POSIX] (S_ISBLK): Require macro.
10777 [POSIX] (S_ISCHR): Likewise.
10778 [POSIX] (S_ISDIR): Likewise.
10779 [POSIX] (S_ISFIFO): Likewise.
10780 [POSIX] (S_ISREG): Likewise.
10781 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10782 optional-macro.
10783 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10784 type.
10785 [POSIX] (time_t): Likewise.
10786 [POSIX] (timer_t): Likewise.
10787
89e435f3
FW
107882014-06-11 Florian Weimer <fweimer@redhat.com>
10789
10790 [BZ #17048]
10791 * posix/spawn_int.h (struct __spawn_action): Make the path string
10792 non-const to support deallocation.
10793 * posix/spawn_faction_addopen.c
10794 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10795 * posix/spawn_faction_destroy.c
10796 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
10797 path in all spawn_do_open actions.
10798 * posix/tst-spawn.c (do_test): Exercise the copy operation in
10799 posix_spawn_file_actions_addopen.
10800
c3a2ebe1
CM
108012014-06-11 Chris Metcalf <cmetcalf@tilera.com>
10802
10803 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10804 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10805 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10806 conditional code always true.
10807 (__libc_vfork): New alias.
10808
9503784a
RM
108092014-06-11 Roland McGrath <roland@hack.frob.com>
10810
c9cab3d2
RM
10811 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10812 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10813
d3996c79
RM
10814 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10815
ba5ec611
RM
10816 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10817 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10818
f12b4814
RM
10819 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10820 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10821
9503784a
RM
10822 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10823 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10824
e23d3d26
VR
108252014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
10826
10827 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10828 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10829 multiarch strcmp for PPC64.
10830 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10831 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10832 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10833 multiarch optimizations.
10834 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10835 (__libc_ifunc_impl_list): Likewise.
10836
42b1161e
SP
108372014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
10838
10839 * benchtests/scripts/validate_benchout.py: New script.
10840 * benchtests/Makefile (bench-func): Call it.
10841 * benchtests/scripts/benchout.schema.json: New file.
10842
2d0fc4dc
CM
108432014-06-10 Chris Metcalf <cmetcalf@tilera.com>
10844
4a594c34
AZ
10845 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10846 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10847 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10848 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10849 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10850 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10851 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10852 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10853 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10854 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10855 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10856 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10857 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10858 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10859 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10860 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10861 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
2d0fc4dc 10862 Moved ...
4a594c34 10863 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
2d0fc4dc 10864 ... here.
4a594c34 10865 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
2d0fc4dc 10866 Moved ...
4a594c34
AZ
10867 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10868 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
2d0fc4dc 10869 Moved ...
4a594c34 10870 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
2d0fc4dc 10871 ... here.
4a594c34 10872 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
2d0fc4dc 10873 Moved ...
4a594c34 10874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
2d0fc4dc 10875 ... here.
4a594c34 10876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
2d0fc4dc 10877 Moved ...
4a594c34
AZ
10878 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
2d0fc4dc 10880 Moved ...
4a594c34 10881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
2d0fc4dc 10882 ... here.
4a594c34 10883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
2d0fc4dc 10884 Moved ...
4a594c34 10885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
2d0fc4dc 10886 ... here.
4a594c34 10887 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
2d0fc4dc 10888 Moved ...
4a594c34
AZ
10889 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
2d0fc4dc 10891 Moved ...
4a594c34 10892 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
2d0fc4dc 10893 ... here.
4a594c34 10894 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
2d0fc4dc 10895 Moved ...
4a594c34 10896 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
2d0fc4dc 10897 ... here.
4a594c34 10898 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
2d0fc4dc 10899 Moved ...
4a594c34 10900 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
2d0fc4dc 10901 ... here.
4a594c34 10902 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
2d0fc4dc 10903 Moved ...
4a594c34
AZ
10904 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10905 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
2d0fc4dc 10906 Moved ...
4a594c34 10907 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
2d0fc4dc 10908 ... here.
4a594c34 10909 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
2d0fc4dc 10910 Moved ...
4a594c34 10911 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
2d0fc4dc 10912 ... here.
4a594c34 10913 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
2d0fc4dc 10914 Moved ...
4a594c34 10915 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
2d0fc4dc 10916 ... here.
4a594c34 10917 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
2d0fc4dc 10918 Moved ...
4a594c34
AZ
10919 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10920 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
2d0fc4dc 10921 Moved ...
4a594c34 10922 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
2d0fc4dc 10923 ... here.
4a594c34 10924 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
2d0fc4dc 10925 Moved ...
4a594c34 10926 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
2d0fc4dc 10927 ... here.
4a594c34 10928 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
2d0fc4dc 10929 Moved ...
4a594c34
AZ
10930 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10931 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
2d0fc4dc 10932 Moved ...
4a594c34 10933 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
2d0fc4dc 10934 ... here.
4a594c34 10935 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
2d0fc4dc 10936 Moved ...
4a594c34
AZ
10937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10938 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
2d0fc4dc 10939 Moved ...
4a594c34
AZ
10940 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
2d0fc4dc 10942 Moved ...
4a594c34 10943 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
2d0fc4dc 10944 ... here.
4a594c34 10945 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
2d0fc4dc 10946 Moved ...
4a594c34 10947 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
2d0fc4dc 10948 ... here.
4a594c34 10949 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
2d0fc4dc 10950 Moved ...
4a594c34 10951 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
2d0fc4dc 10952 ... here.
4a594c34 10953 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
2d0fc4dc 10954 Moved ...
4a594c34
AZ
10955 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10956 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
2d0fc4dc 10957 Moved ...
4a594c34 10958 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
2d0fc4dc 10959 ... here.
4a594c34 10960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
2d0fc4dc 10961 Moved ...
4a594c34 10962 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
2d0fc4dc 10963 ... here.
4a594c34
AZ
10964 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10965 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10966 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10967 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10968 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
2d0fc4dc 10969 Moved ...
4a594c34 10970 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
2d0fc4dc 10971 ... here.
4a594c34
AZ
10972 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10973 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10974 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10975 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10976 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10977 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10978 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10979 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10980 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10981 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10982 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10983 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10984 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
2d0fc4dc 10985 Moved ...
4a594c34
AZ
10986 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
2d0fc4dc 10988 Moved ...
4a594c34
AZ
10989 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10990 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10991 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10992 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
2d0fc4dc 10993 Moved ...
4a594c34
AZ
10994 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10998 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10999 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11000 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
2d0fc4dc 11001
0570cfed
W
110022014-06-10 Wilco <wdijkstr@arm.com>
11003
11004 * math/test-fenv-return.c: New file.
11005 * math/Makefile: Add new test test-fenv-return.
11006
f8ba1b56
JM
110072014-06-10 Joseph Myers <joseph@codesourcery.com>
11008
11009 [BZ #17042]
11010 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11011 when x - 1 is zero.
11012 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11013 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11014 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11015 0.0L for an argument of 1.0L.
11016 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11017 Likewise.
11018 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11019 value when x - 1 is zero.
11020 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11021 * sysdeps/i386/fpu/libm-test-ulps: Update.
11022 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11023
2c3520d9
BO
110242014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
11025
11026 [BZ #15119]
11027 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11028
acaa4d24
RM
110292014-06-09 Roland McGrath <roland@hack.frob.com>
11030
11031 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11032 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11033
962b744d
RM
110342014-06-09 Roland McGrath <roland@hack.frob.com>
11035
d752f0cc
RM
11036 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11037 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11038
34eda6d1
RM
11039 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11040 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11041
50f0a637
RM
11042 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11043 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11044
08f41f04
RM
11045 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11046 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11047
962b744d
RM
11048 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11049 if not already defined.
11050 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11051 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11052 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11053 (TLS_INIT_TP): Use it.
11054 (TLS_DEFINE_INIT_TP): New macro.
11055 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11056
09f19b05
JM
110572014-06-09 Joseph Myers <joseph@codesourcery.com>
11058
11059 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11060 constant.
11061 [POSIX] (IXANY): Likewise.
11062 [POSIX] (OLCUC): Likewise.
11063 [POSIX || POSIX2008] (CBAUD): Do not allow.
11064 [POSIX || POSIX2008] (DEFECHO): Likewise.
11065 [POSIX || POSIX2008] (ECHOCTL): Likewise.
11066 [POSIX || POSIX2008] (ECHOKE): Likewise.
11067 [POSIX || POSIX2008] (ECHOPRT): Likewise.
11068 [POSIX || POSIX2008] (EXTA): Likewise.
11069 [POSIX || POSIX2008] (EXTB): Likewise.
11070 [POSIX || POSIX2008] (FLUSHO): Likewise.
11071 [POSIX || POSIX2008] (LOBLK): Likewise.
11072 [POSIX || POSIX2008] (PENDIN): Likewise.
11073 [POSIX || POSIX2008] (SWTCH): Likewise.
11074 [POSIX || POSIX2008] (VDISCARD): Likewise.
11075 [POSIX || POSIX2008] (VDSUSP): Likewise.
11076 [POSIX || POSIX2008] (VLNEXT): Likewise.
11077 [POSIX || POSIX2008] (VREPRINT): Likewise.
11078 [POSIX || POSIX2008] (VSTATUS): Likewise.
11079 [POSIX || POSIX2008] (VWERASE): Likewise.
11080 (B*): Change to B[0123456789]*.
11081 * conform/data/time.h-data [POSIX || UNIX98]
11082 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11083 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11084 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11085 [POSIX] (tm_*): Do not allow.
11086
686554bf
JM
110872014-06-07 Joseph Myers <joseph@codesourcery.com>
11088
11089 * Makefile (install): Don't set LANGUAGE.
11090 * Makefile.in (install): Likewise.
11091 * assert/Makefile (test-assert-ENV): Remove variable.
11092 (test-assert-perr-ENV): Likewise.
11093 * elf/Makefile (neededtest4-ENV): Likewise.
11094 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11095 [$(cross-compiling) = no]: Don't set LANGUAGE.
11096 * io/ftwtest-sh (LANG): Remove variable.
11097 * libio/Makefile (tst-widetext-ENV): Likewise.
11098 * manual/install.texi (Running make install): Don't refer to
11099 environment settings for make install.
11100 * INSTALL: Regenerated.
11101 * nptl/tst-tls6.sh: Don't set LANG.
11102 * posix/globtest.sh (LANG): Remove variable.
11103 * string/Makefile (tester-ENV): Likewise.
11104 (inl-tester-ENV): Likewise.
11105 (noinl-tester-ENV): Likewise.
11106 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11107 [$(cross-compiling) = no]: Don't set LANGUAGE.
11108 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11109 without explicit environment settings.
11110
68e6b6b1
RM
111112014-06-06 Roland McGrath <roland@hack.frob.com>
11112
11113 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11114 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11115 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11116 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11117
4d3ae034
CM
111182014-06-06 Chris Metcalf <cmetcalf@tilera.com>
11119
11120 * crypt/crypt-private.h [DOS]: Add some includes taken from the
11121 other files in the crypt directory.
11122 * crypt/crypt.c: Remove duplicate includes.
11123 * crypt/crypt-entry.c: Likewise.
11124 * crypt/crypt_util.c: Likewise.
11125
8540f6d2
JM
111262014-06-06 Joseph Myers <joseph@codesourcery.com>
11127
11128 * Makeconfig (run-program-env): New variable.
11129 (run-program-prefix-before-env): Likewise.
11130 (run-program-prefix-after-env): Likewise.
11131 (run-program-prefix): Define in terms of new variables.
11132 (built-program-cmd-before-env): New variable.
11133 (built-program-cmd-after-env): Likewise.
11134 (built-program-cmd): Define in terms of new variables.
11135 (test-program-prefix-before-env): New variable.
11136 (test-program-prefix-after-env): Likewise.
11137 (test-program-prefix): Define in terms of new variables.
11138 (test-program-cmd-before-env): New variable.
11139 (test-program-cmd-after-env): Likewise.
11140 (test-program-cmd): Define in terms of new variables.
11141 * Rules (make-test-out): Use $(run-program-env).
11142 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11143 (help): Do not mention environment variables. Mention
11144 --timeoutfactor option.
11145 (timeoutfactor): New variable.
11146 (blacklist_exports): Remove function.
11147 (exports): Remove variable.
11148 (command): Do not include ${exports}.
11149 * manual/install.texi (Configuring and compiling): Do not mention
11150 test wrappers preserving environment variables. Mention that last
11151 assignment to a variable must take precedence.
11152 * INSTALL: Regenerated.
11153 * benchtests/Makefile (run-bench): Use $(run-program-env).
11154 * catgets/Makefile ($(objpfx)test1.cat): Use
11155 $(built-program-cmd-before-env), $(run-program-env) and
11156 $(built-program-cmd-after-env).
11157 ($(objpfx)test2.cat): Do not specify environment variables
11158 explicitly.
11159 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11160 $(run-program-env) and $(built-program-cmd-after-env).
11161 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11162 $(run-program-env) and $(test-program-cmd-after-env).
11163 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11164 explicitly.
11165 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11166 run_program_env and test_program_cmd_after_env arguments.
11167 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11168 * elf/tst-pathopt.sh: Use run_program_env argument.
11169 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11170 $(test-wrapper-env) and $(run-program-env).
11171 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11172 run_program_env arguments.
11173 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11174 * intl/Makefile ($(objpfx)tst-gettext.out): Use
11175 $(test-program-prefix-before-env), $(run-program-env) and
11176 $(test-program-prefix-after-env).
11177 ($(objpfx)tst-gettext2.out): Likewise.
11178 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11179 run_program_env and test_program_prefix_after_env arguments.
11180 * intl/tst-gettext2.sh: Likewise.
11181 * intl/tst-gettext4.sh: Do not set environment variables
11182 explicitly.
11183 * intl/tst-gettext6.sh: Likewise.
11184 * intl/tst-translit.sh: Likewise.
11185 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11186 $(test-program-prefix-before-env), $(run-program-env) and
11187 $(test-program-prefix-after-env).
11188 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11189 run_program_env and test_program_prefix_after_env arguments.
11190 * math/Makefile (run-regen-ulps): Use $(run-program-env).
11191 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11192 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
11193 explicitly with each use of ${test_wrapper_env}.
11194 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11195 $(test-program-prefix-before-env), $(run-program-env) and
11196 $(test-program-prefix-after-env).
11197 * posix/tst-getconf.sh: Do not set environment variables
11198 explicitly.
11199 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11200 run_program_env and test_program_prefix_after_env arguments.
11201 * stdio-common/tst-printf.sh: Do not set environment variables
11202 explicitly.
11203 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11204 $(test-program-prefix-before-env), $(run-program-env) and
11205 $(test-program-prefix-after-env).
11206 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11207 run_program_env and test_program_prefix_after_env arguments.
11208 Split $test calls into $test_pre and $test.
11209 * timezone/Makefile (build-testdata): Use
11210 $(built-program-cmd-before-env), $(run-program-env) and
11211 $(built-program-cmd-after-env).
11212
ed36bfa1
AZ
112132014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11214
11215 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11216 strlen for non SHARED builds.
11217
fc75bf46
SP
112182014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
11219
11220 * nptl/allocatestack.c (check_list): Inlined function...
11221 (__reclaim_stacks): ... here.
11222
d89b3d80
OB
112232014-06-05 Ondřej Bílka <neleai@seznam.cz>
11224
11225 [BZ #15698]
11226 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11227 memory overrun.
11228
2bf18041
JM
112292014-06-05 Joseph Myers <joseph@codesourcery.com>
11230
11231 * Rules (make-test-out): Include
11232 LOCPATH=$(common-objpfx)localedata in default environment.
11233 * debug/Makefile (tst-chk1-ENV): Remove variable.
11234 (tst-chk2-ENV): Likewise.
11235 (tst-chk3-ENV): Likewise.
11236 (tst-chk4-ENV): Likewise.
11237 (tst-chk5-ENV): Likewise.
11238 (tst-chk6-ENV): Likewise.
11239 (tst-lfschk1-ENV): Likewise.
11240 (tst-lfschk2-ENV): Likewise.
11241 (tst-lfschk3-ENV): Likewise.
11242 (tst-lfschk4-ENV): Likewise.
11243 (tst-lfschk5-ENV): Likewise.
11244 (tst-lfschk6-ENV): Likewise.
11245 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11246 (tst-iconv7-ENV): Likewise.
11247 * intl/Makefile (LOCPATH-ENV): Likewise.
11248 (tst-codeset-ENV): Likewise.
11249 (tst-gettext3-ENV): Likewise.
11250 (tst-gettext5-ENV): Likewise.
11251 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11252 (tst-fopenloc-ENV): Likewise.
11253 (tst-fgetws-ENV): Remove variable.
11254 (tst-ungetwc1-ENV): Likewise.
11255 (tst-ungetwc2-ENV): Likewise.
11256 (bug-ungetwc2-ENV): Likewise.
11257 (tst-swscanf-ENV): Likewise.
11258 (bug-ftell-ENV): Likewise.
11259 (tst-fgetwc-ENV): Likewise.
11260 (tst-fseek-ENV): Likewise.
11261 (tst-ftell-partial-wide-ENV): Likewise.
11262 (tst-ftell-active-handler-ENV): Likewise.
11263 (tst-ftell-append-ENV): Likewise.
11264 * posix/Makefile (tst-fnmatch-ENV): Likewise.
11265 (tst-regexloc-ENV): Likewise.
11266 (bug-regex1-ENV): Likewise.
11267 (tst-regex-ENV): Likewise.
11268 (tst-regex2-ENV): Likewise.
11269 (bug-regex5-ENV): Likewise.
11270 (bug-regex6-ENV): Likewise.
11271 (bug-regex17-ENV): Likewise.
11272 (bug-regex18-ENV): Likewise.
11273 (bug-regex19-ENV): Likewise.
11274 (bug-regex20-ENV): Likewise.
11275 (bug-regex22-ENV): Likewise.
11276 (bug-regex23-ENV): Likewise.
11277 (bug-regex25-ENV): Likewise.
11278 (bug-regex26-ENV): Likewise.
11279 (bug-regex30-ENV): Likewise.
11280 (bug-regex32-ENV): Likewise.
11281 (bug-regex33-ENV): Likewise.
11282 (bug-regex34-ENV): Likewise.
11283 (bug-regex35-ENV): Likewise.
11284 (tst-rxspencer-ENV): Likewise.
11285 (tst-rxspencer-no-utf8-ENV): Likewise.
11286 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11287 (tst-sscanf-ENV): Likewise.
11288 (tst-swprintf-ENV): Likewise.
11289 (tst-swscanf-ENV): Likewise.
11290 (test-vfprintf-ENV): Likewise.
11291 (scanf13-ENV): Likewise.
11292 (bug14-ENV): Likewise.
11293 (tst-grouping-ENV): Likewise.
11294 * stdlib/Makefile (tst-strtod-ENV): Likewise.
11295 (tst-strtod3-ENV): Likewise.
11296 (tst-strtod4-ENV): Likewise.
11297 (tst-strtod5-ENV): Likewise.
11298 (testmb2-ENV): Likewise./
11299 * string/Makefile (tst-strxfrm-ENV): Likewise.
11300 (tst-strxfrm2-ENV): Likewise.
11301 (bug-strcoll1-ENV): Likewise.
11302 (test-strcasecmp-ENV): Likewise.
11303 (test-strncasecmp-ENV): Likewise.
11304 * time/Makefile (tst-strptime-ENV): Likewise.
11305 (tst-ftime_l-ENV): Likewise.
11306 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11307 (tst-mbrtowc-ENV): Likewise.
11308 (tst-wcrtomb-ENV): Likewise.
11309 (tst-mbrtowc2-ENV): Likewise.
11310 (tst-c16c32-1-ENV): Likewise.
11311 (tst-mbsnrtowcs-ENV): Likewise.
11312
cd1fb604
OB
113132014-06-05 Ondřej Bílka <neleai@seznam.cz>
11314
11315 * manual/resource.texi (How to get information about the memory
11316 subsystem?): Fix typo.
11317 Reported by Peon de la Parra Ivan <peon@keba.com>
11318
b42eca7d
GY
113192014-06-03 Guo Yixuan <culu.gyx@gmail.com>
11320
11321 [BZ #16882]
11322 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11323 (pthread_spin_lock): Branch out of spin loop to proper location.
11324 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11325 (pthread_spin_lock): Likewise.
11326
902b71f9
DM
11327 * nptl/tst-spin4.c: New test.
11328 * nptl/Makefile (tests): Add tst-spin4.
11329
f9d2d032
AS
113302014-06-03 Andreas Schwab <schwab@suse.de>
11331
11332 [BZ #15946]
11333 * resolv/res_send.c (send_dg): Reload file descriptor after
11334 calling reopen.
11335
cf7bfd28
SL
113362014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
11337
11338 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11339
111cc714
RH
113402014-06-03 Richard Henderson <rth@redhat.com>
11341
89b4bd6b
RH
11342 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11343 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11344 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11345 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
11346 in the SAVE_PID block.
11347 (__libc_vfork): New alias.
71840409 11348 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
89b4bd6b 11349
111cc714
RH
11350 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11351 child in registers, not on the stack. Remove RESET_PID conditionals.
11352 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11353
ccc39911
MS
113542014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
11355
11356 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11357
693096cc
W
113582014-06-03 Wilco <wdijkstr@arm.com>
11359
11360 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11361 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11362 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11363 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11364 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11365 Likewise.
11366
0b4366bc
W
113672014-06-03 Wilco <wdijkstr@arm.com>
11368
11369 * sysdeps/aarch64/fpu/math_private.h
11370 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11371 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11372 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11373 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11374 Fix declarations.
11375
8747cd03
KS
113762014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11377
11378 * crypt/crypt-private.h: Include ufc-crypt.h.
11379 (__b64_from_24bit): Declare extern.
11380 * crypt/crypt_util.c(__b64_from_24bit): New function.
11381 (b64t): New static const variable.
11382 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11383 (b64t): Remove variable.
11384 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11385 * crypt/sha256-crypt.c: Include crypt-private.h.
11386 (b64t): Remove variable.
11387 (__sha256_crypt_r): Remove b64_from_24bit and replace
11388 with __b64_from_24bit.
11389 * crypt/sha512-crypt.c: Likewise.
11390
d936d379
RM
113912014-06-02 Roland McGrath <roland@hack.frob.com>
11392
11393 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11394 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11395 Label the code __libc_vfork rather than __vfork.
11396 [!NOT_IN_libc] (vfork): Define as weak alias.
11397 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11398 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11399 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11400
9fa76613
SP
114012014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11402
11403 * malloc/malloc.c (malloc_info): Fix format specifier for
11404 n_mmaps.
11405
a88dadbe
W
114062014-06-02 Wilco <wdijkstr@arm.com>
11407
11408 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11409 FPCR write.
11410
c95b3011
W
114112014-06-02 Wilco <wdijkstr@arm.com>
11412
11413 [BZ #17009]
11414 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11415 Rewrite to reduce FPCR/FPSR accesses.
11416
6b4d7a90
DM
114172014-06-01 David S. Miller <davem@davemloft.net>
11418
11419 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11420
30f3d07c
DM
114212014-05-31 David S. Miller <davem@davemloft.net>
11422
11423 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11424 to occur in round to nearest mode when |x| >= 2.0
11425
74f31c18
RH
114262014-05-30 Richard Henderson <rth@twiddle.net>
11427
f0712b54
RH
11428 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11429 (PSEUDO_RET_NOERRNO): Remove.
11430 (ret): Don't redefine.
11431 (ret_NOERRNO): Define in terms of ret.
11432 (ret_ERRVAL): Likewise.
11433
74f31c18
RH
11434 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11435 use of PSEUDO_RET; perform the error check directly.
11436
30477995
MM
114372014-05-30 Marko Myllynen <myllynen@redhat.com>
11438
11439 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11440 with __int128_t.
11441
62a58816
SP
114422014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11443
11444 * malloc/malloc (malloc_info): Fix formatting.
11445
4d653a59
SP
114462014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11447 Roland McGrath <roland@hack.frob.com>
11448
11449 * malloc/malloc (malloc_info): Also print mmapped statistics.
11450
5190c17f
RM
114512014-05-30 Roland McGrath <roland@hack.frob.com>
11452
11453 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11454 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11455
987c0269
OB
114562014-05-30 Ondřej Bílka <neleai@seznam.cz>
11457
11458 * malloc/malloc.c (malloc_info): Inline mi_arena.
11459
af4e8ef9
RH
114602014-05-29 Richard Henderson <rth@twiddle.net>
11461
1670e207
RH
11462 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11463 Remove comma before expanding ASM_ARGS_##nr.
11464 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11465 Make _x0 a strict output; make _x8 a strict input; adjust expansion
11466 of ASM_ARGS_##nr.
11467 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11468 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11469 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11470 (ASM_ARGS_1): Add leading comma.
11471
11a28aee
RH
11472 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11473 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11474 to __errno_location.
11475 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11476 Remove the expected plt for __errno_location.
11477
a17e5ffb 11478 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11a28aee 11479 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
a17e5ffb
RH
11480 call to __read_tp.
11481
b5be4597
RH
11482 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11483 Always allocate 64 bytes of stack frame. Use ldp/stp to create
11484 it and break it down.
11485 (DOCARGS_0, DOCARGS_1): Do nothing.
11486 (DOCARGS_2): Update to store into the new stack frame.
11487 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11488 (UNDOCARGS_1): Update to restore from the new stack frame.
11489 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11490 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11491
645d44ab
RH
11492 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11493 (SINGLE_THREAD_P): New parameter for result regno.
11494 (PSEUDO): Update to match; use cbz instead of beq.
11495
a8b4f04a
RH
11496 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11497 Use ENTRY to define the _nocancel entry point. Share the syscall
11498 and syscall error check paths with the cancel path.
11499 (PSEUDO_END): New.
11500
af4e8ef9
RH
11501 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11502 whitespace; tabs before and after asm mnemonics.
11503
26b0d2e1
EW
115042014-05-29 Eric Wong <normalperson@yhbt.net>
11505
11506 [BZ #15132]
11507 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11508 Call fstat64 or stat64 internally, depending on arguments passed.
11509 Replace stat buffer argument with file descriptor argument.
11510 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11511 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11512 Pass fd to __internal_statvfs instead of calling fstat64.
11513 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11514 Pass fd to __internal_statvfs64 instead of calling fstat64.
11515 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11516 Pass -1 to __internal_statvfs instead of calling stat64.
11517 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11518 Pass -1 to __internal_statvfs64 instead of calling stat64.
11519
1efe2bd9
RM
115202014-05-28 Roland McGrath <roland@hack.frob.com>
11521
0d3b7a19
RM
11522 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11523 that was previously under [RESET_PID].
11524 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11525
1efe2bd9
RM
11526 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11527 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11528
a6bea3ca
RM
115292014-05-27 Roland McGrath <roland@hack.frob.com>
11530
30b6629e
RM
11531 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11532
a6bea3ca
RM
11533 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11534 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11535
3dfb9a5c
OB
115362014-05-27 Ondřej Bílka <neleai@seznam.cz>
11537
11538 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11539
774f9285
AS
115402014-05-27 Andreas Schwab <schwab@suse.de>
11541
11542 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11543 TLS_INIT_TP macro.
11544 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11545 * elf/rtld.c (init_tls, dl_main): Likewise.
11546 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11547 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11548 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11549 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11550 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11551 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11552 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11553 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11554 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11555 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11556 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11557 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11558 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11559 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11560 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11561 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11562 * sysdeps/generic/tls.h: Update description.
11563
36ffe739
WN
115642014-05-27 Will Newton <will.newton@linaro.org>
11565
11566 [BZ #16990]
11567 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11568 and restore r2 rather than just restoring.
11569
2482ae43
SP
115702014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
11571
11572 [BZ #16724]
11573 * libio/tst-ftell-append.c: New test case.
11574 * libio/Makefile (tests): Add test case.
11575 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11576 append mode.
11577 * libio/wfileops.c (do_ftell_wide): Likewise.
11578
3d1024e8
AZ
115792014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11580
bab90016
AZ
11581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11582
c7a8d667
AZ
11583 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11584 ...
11585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11587 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11588 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11589 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11590 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11591 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11592 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11593 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11594 Moved ...
11595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11596 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11597 Moved ...
11598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11599 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11600 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11601 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11602 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11603 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11604 ...
11605 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11606 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11607 Moved ...
11608 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11609 here.
11610 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11611 ...
11612 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11613 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11614 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11615
daee7851
AZ
11616 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11617 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11618 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11619 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11620
50a40819
AZ
11621 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11622 merge into ...
11623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11624 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11625 ...
11626 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11627 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11628 ...
11629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11630 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11631 Moved ...
11632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11633 here.
11634 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11635 Moved ...
11636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11637 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11638 Moved ...
11639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11640
8464c2a1
AZ
11641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11642 conditional [RESET_PID].
11643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11644 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11645 removed.
11646 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11647 removed.
11648
3d1024e8
AZ
11649 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11650 <tcb-offsets.h>.
11651 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11652 (__libc_vfork): New strong alias.
11653 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11654 removed.
11655 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11656 Removed.
11657
11658 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11659 <tcb-offsets.h>.
11660 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11661 (__libc_vfork): New strong alias.
11662 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11663 removed.
11664 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11665 removed.
11666
fdfd175d
CD
116672014-05-26 Carlos O'Donell <carlos@redhat.com>
11668
11669 * malloc/malloc.c (mi_arena): New function.
11670 (malloc_info): Remove nested function mi_arena. Call non-nosted
11671 function mi_arena.
11672
d298c416
AZ
116732014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11674
11675 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11676 by insrwi.
11677 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11678 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11679 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11680 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11681 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11682 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11683 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11684
b60ea6ff
AS
116852014-05-26 Andreas Schwab <schwab@suse.de>
11686
11687 [BZ #16984]
11688 * locale/programs/repertoire.c (repertoire_read): Add slash
11689 between I18NPATH element and file name.
11690 * locale/programs/locfile.c (locfile_read): Likewise.
11691
67365926
SL
116922014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11693
11694 * nptl/pthread_mutexattr_settype.c
11695 (__pthread_mutexattr_settype):
11696 Disable lock elision for PTHREAD_MUTEX_NORMAL.
11697
f8bdf1f0
SL
116982014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
11699
11700 * nptl/tst-mutex5 (do_test):
11701 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11702
15eaf6ff
SP
117032014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11704
11705 * benchtests/README: Document 'init' directive.
11706 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11707 BENCH_INIT.
11708 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11709 (parse_file): Recognize 'init' directive.
11710
75f11331
KM
117112014-05-26 Kyle McMartin <kyle@redhat.com>
11712
11713 [BZ #16796]
11714 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11715 alignment of struct pthread.
11716
c3ec475c
SP
117172014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
11718
11719 [BZ #16878]
11720 * nscd/netgroupcache.c (addgetnetgrentX): Look for
11721 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11722 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11723 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11724
82aab97c
RH
117252014-05-25 Richard Henderson <rth@twiddle.net>
11726
aa2f176d
RH
11727 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11728 (SINGLE_THREAD_P_PIC): Remove.
11729 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11730 (SINGLE_THREAD_P_PIC): Remove.
11731
ca3cfa40
RH
11732 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11733 branch to syscall error ...
11734 (PSEUDO): ... here.
11735 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11736 from __local_syscall_error to .Lsyscall_error.
11737 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11738 (SYSCALL_ERROR): Update label name.
11739
6e6c2d01
RH
11740 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11741 Do not use DOARGS/UNDOARGS.
11742 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11743 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11744 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11745 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11746 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11747
c69abcee
RH
11748 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11749 block comment.
11750
82aab97c
RH
11751 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11752 define if !NOT_IN_libc.
11753 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11754 define with non-default symbol versions.
11755
8820e3ac
RH
117562014-05-23 Richard Henderson <rth@twiddle.net>
11757
900e445f
RH
11758 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11759 (vfork, __vfork): Define via compat_symbol.
11760
8820e3ac
RH
11761 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11762 [!HAVE_IFUNC] (vfork_compat): Remove.
11763 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11764
e59252a5
JM
117652014-05-23 Joseph Myers <joseph@codesourcery.com>
11766
11767 [BZ #16978]
11768 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11769 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11770 variable.
11771
132c7f5f
RH
117722014-05-23 Richard Henderson <rth@twiddle.net>
11773
bc89e962
RH
11774 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11775 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11776 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11777 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11778
11779 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11780 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11781 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11782 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11783 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11784 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11785 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11786 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11787 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11788 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11789 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11790 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11791 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11792 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11793 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11794 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11795 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11796 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11797 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11798 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11799 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11800 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11801 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11802 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11803 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11804 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11805 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11806 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11807 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11808 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11809 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11810 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11811 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11812 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11813 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11814 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11815 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11816 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11817 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11818 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11819 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11820 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11821 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11822 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11823 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11824 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11825 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11826 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11827 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11828 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11829 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11830 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11831 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11832 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11833 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11834 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11835
e2fa4bc2
RH
11836 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11837 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11838 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
11839 before exiting on error.
11840 (__libc_vfork): New strong alias.
11841 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11842 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11843
279b24e2
RH
11844 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11845 that was previously under [RESET_PID].
11846 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11847
132c7f5f
RH
11848 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11849
b72592e7
JM
118502014-05-23 Joseph Myers <joseph@codesourcery.com>
11851
11852 [BZ #16977]
11853 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11854 value when x - 1 is zero.
11855 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11856 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11857 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11858 0.0L for an argument of 1.0L.
11859 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11860 Likewise.
11861 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11862 value when x - 1 is zero.
11863 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11864 * sysdeps/i386/fpu/libm-test-ulps: Update.
11865 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11866
2302d679
RV
118672014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
11868
11869 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11870 alphasort and versionsort.
11871
32999d63
AZ
118722014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11873
11874 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11875 macro.
11876 [copysignf]: Likewise.
11877
019324d0
SP
118782014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11879
11880 * crypt/md5-crypt.c: Fix formatting.
11881
34fff5c2
KS
118822014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
11883
11884 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11885 (b64_from_24bit): New function.
11886
3d2badac
AZ
118872014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11888
11889 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11890 libc_hidden_builtin_def to ifunc.
11891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11892 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11893
f7bb179f 118942014-05-21 Roland McGrath <roland@hack.frob.com>
df54acbb
RM
11895
11896 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11897 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11898
4134b50d
JM
118992014-05-21 Joseph Myers <joseph@codesourcery.com>
11900
bb7d0337
JM
11901 * nscd/Depend (linuxthreads): Remove.
11902 (nptl): Add.
11903 * resolv/Depend (linuxthreads): Remove.
11904 * rt/Depend (linuxthreads): Remove.
11905
4134b50d
JM
11906 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11907 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11908 $(common-objpfx)elf/.
11909 (link-libc-before-gnulib): Likewise.
11910 (elfobjdir): Remove variable.
11911 * Makefile (install): Use $(elf-objpfx) instead of
11912 $(common-objpfx)elf/.
11913 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11914 $(elfobjdir)/.
11915 (link-libc-deps): Likewise.
11916 ($(common-objpfx)libc.so): Likewise.
11917 ($(common-objpfx)linkobj/libc.so): Likewise.
11918 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11919 instead of $(common-objpfx)elf/.
11920 (symbolic-link-list): Likewise.
11921 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11922 [$(cross-compiling) = no]: Likewise.
11923 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11924 $(elfobjdir)/.
11925 (static-gnulib-arch): Likewise.
11926 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11927 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11928 $(common-objpfx)elf/.
11929
3612eb8f
RH
119302014-05-21 Richard Henderson <rth@redhat.com>
11931
a6b3657b
RH
11932 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11933 (SINGLE_THREAD_P): Use the correct width load. Fold
11934 into the ldr offset.
11935
3612eb8f
RH
11936 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11937 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11938
175cef41
JM
119392014-05-20 Joseph Myers <joseph@codesourcery.com>
11940
11941 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11942 (libgcc_s_resume): Use __attribute_used__.
11943 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11944 Likewise.
11945
e13bccd3
AZ
119462014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11947
11948 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11949 optimization when used with float constants.
11950
7c112a38
AZ
11951 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11952
ae75a883
AJ
119532014-05-20 Aurelien Jarno <aurelien@aurel32.net>
11954
11955 [BZ #16915]
11956 * locale/nl_langinfo_l.c: Make direct reference to every
11957 _nl_current_CATEGORY symbol.
11958 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11959 (tests-static): Add tst-langinfo-static.
11960 (tests-special): Add tst-langinfo-static.out.
11961 ($(objpfx)tst-langinfo.out): Redirect output.
11962 ($(objpfx)tst-langinfo-static.out): New.
11963 * localedata/tst-langinfo.sh: Send output to stdout.
11964 * localedata/tst-langinfo-static.c: New file.
11965
4406c41c
AJ
11966 [BZ #16965]
11967 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11968 when the shift amount is modulo the limb size.
11969
4c0a1e63
RH
119702014-05-20 Richard Henderson <rth@redhat.com>
11971
de9d8f20
RH
11972 [BZ #16967]
11973 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11974 Change type of sa_flags from unsigned int to int.
11975
4c0a1e63
RH
11976 [BZ #16966]
11977 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
57cce706
RH
11978
11979 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11980
a60339aa
WN
119812014-05-20 Will Newton <will.newton@linaro.org>
11982
11983 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11984 Test the return value of the system call in the nocancel case.
11985
7d05a816
YR
119862014-05-20 Will Newton <will.newton@linaro.org>
11987 Yvan Roux <yvan.roux@linaro.org>
11988
11989 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11990 #include of asm/ptrace.h.
11991 (PTRACE_GET_THREAD_AREA): Remove #undef.
11992 (PTRACE_GETHBPREGS): Likewise.
11993 (PTRACE_SETHBPREGS): Likewise.
11994 (struct user_regs_struct): New structure.
11995 (struct user_fpsimd_struct): New structure.
11996 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11997 #include of asm/ptrace.h and second #include of sys/user.h.
11998 (PTRACE_GET_THREAD_AREA): Remove #undef.
11999 (PTRACE_GETHBPREGS): Likewise.
12000 (PTRACE_SETHBPREGS): Likewise.
12001 (ELF_NGREG): Use new struct user_regs_struct.
12002 (elf_fpregset_t): Use new struct user_fpsimd_struct.
12003
af121e37
AZ
120042014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12005
12006 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12007 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12008
834caf06
JM
120092014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
12010
12011 [BZ #16958]
12012 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12013 membar to avoid block loads/stores to overlap previous stores.
12014
e184a918
RH
120152014-05-17 Richard Henderson <rth@redhat.com>
12016
12017 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12018 Create the __##syscall_name##_nocancel entry point.
12019 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12020 Remove; let the sysdep-cancel.h code create it.
12021
f56c7a6a
DM
120222014-05-17 David S. Miller <davem@davemloft.net>
12023
12024 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12025 Protect with __USE_GNU.
12026 (TIOCSET_TEMPT): Likewise.
12027 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12028 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12029 these are already provided in bits/ioctl-types.h
12030
f75616b2
RM
120312014-05-16 Roland McGrath <roland@hack.frob.com>
12032
3edeca86
RM
12033 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12034 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12035
f75616b2
RM
12036 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12037 Use wait4 regardless of [__NR_waitpid].
12038
deb0f7f6
MR
120392014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
12040
12041 PR libgcc/60166
12042 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12043 (_FP_NANSIGN_Q): Set the quiet bit.
12044
79520f4b
JM
120452014-05-16 Joseph Myers <joseph@codesourcery.com>
12046
12047 * benchtests/Makefile
12048 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12049 not $(common-objpfx)math/libm.so.
12050 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12051 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12052 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12053 $(common-objpfx)dlfcn/libdl.so.
12054 ($(objpfx)tst-audit8): Depend on $(libm), not
12055 $(common-objpfx)math/libm.so.
12056 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12057 not $(common-objpfx)dlfcn/libdl.so.
12058 * math/Makefile
12059 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12060 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
12061 [$(build-shared) = yes].
12062 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12063 $(common-objpfx)nptl/libpthread.so.
12064 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12065 $(common-objpfx)math/libm.so$(libm.so-version) or
12066 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12067 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12068 $(common-objpfx)dlfcn/libdl.so.
12069 * setjmp/Makefile (link-libm): Remove variable.
12070 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12071 * stdio-common/Makefile (link-libm): Remove variable.
12072 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12073 * stdlib/Makefile (link-libm): Remove variable.
12074 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12075 ($(objpfx)tst-strtod-round): Likewise.
12076 ($(objpfx)tst-tininess): Likewise.
12077 ($(objpfx)tst-strtod-underflow): Likewise.
12078 ($(objpfx)tst-strtod6): Likewise.
12079 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12080 $(libdl), not $(common-objpfx)nptl/libpthread.so and
12081 $(common-objpfx)dlfcn/libdl.so.
12082
026b0fe4
AZ
120832014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12084
12085 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12086 BSD terminal modes definitions.
12087
def4bcb2
RM
120882014-05-16 Roland McGrath <roland@hack.frob.com>
12089
fe39b021
RM
12090 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12091 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12092
1d1fc46e 12093 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
def4bcb2
RM
12094 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12095 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12096 Don't do #include_next.
12097 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12098 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12099 Don't do #include_next.
12100 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12101 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12102 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12103 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12104
c72399fb
AM
121052014-05-16 Allan McRae <allan@archlinux.org>
12106
d51d659d
AM
12107 * po/sv.po: Update Swedish translation from translation project.
12108
c72399fb
AM
12109 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12110 in sed expression.
12111
d0583c40
AJ
121122014-05-16 Aurelien Jarno <aurelien@aurel32.net>
12113
12114 [BZ #16917]
12115 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12116 errno if the TIOCGPTN ioctl fails with an error different than
12117 EINVAL.
12118 * login/tst-ptsname.c: New file.
12119 * login/Makefile (tests): Add tst-ptsname.
12120
d16e6ec7
AJ
12121 [BZ #16943]
12122 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12123 and prlimit64.
12124
cf26a0cb
SP
121252014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
12126
12127 [BZ #16849]
12128 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12129 herrno to return EAI_AGAIN.
12130
5675da1e
RM
121312014-05-14 Roland McGrath <roland@hack.frob.com>
12132
a5d87b3d
RM
12133 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12134 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12135 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12136 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12137 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12138 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12139 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12140 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12141 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12142 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12143 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12144 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12145 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12146 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12147 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12148 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12149 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12150 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12151 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12152 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12153 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12154 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12155 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12156 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12157 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12158 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12159 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12160 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12161 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12162 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12164 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12166 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12167 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12168 Moved ...
12169 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12171 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12173 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12175 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12176 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12177 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12179 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12180 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12181 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12183 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12185 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12187 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12188 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12189 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12191 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12192 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12193 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12194 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12195 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12196 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12197 Moved ...
12198 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12199 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12200 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12201 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12202 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12203 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12204 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12205 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12206 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12207 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12208 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12209 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12210 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12211 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12212 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12213 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12214 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12215 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12216 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12217 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12218 Moved ...
12219 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12220 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12221 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12222
039890a6
RM
12223 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12224 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12225 (libpthread-sysdep_routines): Add elision-related stuff here instead.
12226 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12227 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12228 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12229 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12230 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12231 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12232 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12233 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12234 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12235 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12236 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12237 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12238 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12239 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12240 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12241 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12242 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12243 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12244 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12245 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12246 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12247 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12248 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12249 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12250 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12251 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12252 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12253 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12254
65c89320
RM
12255 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12256 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12257
348f8e8c
RM
12258 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12259 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12260 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12261 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12262 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12263 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12264 Moved ...
12265 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12266 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12267 Moved ...
12268 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12269 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12270 Moved ...
12271 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12272 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12273 Moved ...
12274 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12275 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12276 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12277 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12278 Moved ...
12279 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12280 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12281 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12282 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12283 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12284 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12285 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12286 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12287 Moved ...
12288 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12289 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12290 Moved ...
12291 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12292 ... here.
12293 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12294 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12295 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12296 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12297 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12298 Moved ...
12299 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12300 ... here.
12301 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12302 Moved ...
12303 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12304 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12305 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12306 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12307 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12308 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12309 Moved ...
12310 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12311 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12312 Moved ...
12313 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12314 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12315 Moved ...
12316 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12317 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12318 Moved ...
12319 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12320 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12321 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12322 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12323 Moved ...
12324 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12325 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12326 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12327 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12328 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12329 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12330 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12331 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12332 Moved ...
12333 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12334 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12335 Moved ...
12336 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12337 ... here.
12338 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12339 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12340 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12341 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12342 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12343 Moved ...
12344 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12345 ... here.
12346 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12347 Moved ...
12348 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12349 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12350 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12351 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12352 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12353 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12354 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12355 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12356 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12357 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12358 Moved ...
12359 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12360 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12361 Moved ...
12362 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12363 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12364 Moved ...
12365 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12366 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12367 Moved ...
12368 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12369 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12370 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12371 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12372 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12373 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12374 Moved ...
12375 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12376 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12377 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12378 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12379 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12380 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12381 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12382 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12383 Moved ...
12384 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12385 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12386 Moved ...
12387 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12388 ... here.
12389 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12390 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12391 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12392 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12393 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12394 Moved ...
12395 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12396 ... here.
12397 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12398 Moved ...
12399 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12400 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12401 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12402 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12403 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12404 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12405 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12406 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12407 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12408 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12409 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12410
5085af05
RM
12411 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12412 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12413
708f0813
RM
12414 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12415 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12416
c96067bc
RM
12417 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12418 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12419 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12420 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12421 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12422 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12423 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12424 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12425 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12426 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12427 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12428 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12429 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12430 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12431 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12432 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12433 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12434 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12435 Moved ...
12436 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12437 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12438 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12439 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12440 Moved ...
12441 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12442 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12443 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12444 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12445 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12446 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12447 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12448 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12449 Moved ...
12450 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12451 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12452 Moved ...
12453 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12454 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12455 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12456 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12457 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12458 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12459 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12460 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12461 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12462 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12463 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12464 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12465 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12466 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12467 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12468 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12469 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12470
ec136444
RM
12471 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12472 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12473 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12474 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12475 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12476
2fbdf533
RM
12477 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12478 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12479 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12480 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12481 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12482 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12483 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12484 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12485 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12486 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12487
4c68138b
RM
12488 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12489 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12490
4eaae765
RM
12491 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12492 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
3a51fb60
RM
12493 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12494 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12495 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12496 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12497 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12498 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12499 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12500 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12501 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12502 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12503 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12504 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12505 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12506 Update #include.
12507 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12508 Likewise.
12509 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12510 Likewise.
12511 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12512 Likewise.
12513 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12514 Likewise.
12515 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12516 Likewise.
12517 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12518 Likewise.
12519 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12520 Likewise.
12521 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12522 Likewise.
12523 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12524 Likewise.
4ef6befa
RM
12525 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12526 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12527 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12528 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12529 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
5aa618fb
RM
12530 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12531 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12532 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12533 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12534 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12535 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12536 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12537 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12538 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
12539 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
3a51fb60 12540
941d7dfd
RM
12541 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12542 that was previously under [RESET_PID].
12543 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12544 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12545 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12546
1b731c35
RM
12547 * sysdeps/i386/nptl/Implies: New file.
12548 * sysdeps/x86_64/nptl/Implies: New file.
12549 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12550 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12551 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12552 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12553
e2787137
RM
12554 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12555 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12556 (__libc_vfork): New strong alias.
12557 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12558 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12559
12560 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12561 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12562 (__libc_vfork): New strong alias.
12563 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12564 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12565
5675da1e
RM
12566 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12567 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12568 (__libc_vfork): New strong alias.
12569 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12570 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12571 * nptl/pt-vfork.c: New file.
12572 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12573 (libpthread: GLIBC_2.20): New version set (empty).
12574
4f02e2b8
WN
125752014-05-14 Will Newton <will.newton@linaro.org>
12576
12577 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12578 rather than #if.
12579
0bf061d3
JM
125802014-05-14 Joseph Myers <joseph@codesourcery.com>
12581
1a84c3d6
JM
12582 [BZ #16564]
12583 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12584 arguments with exponent 65 or above.
12585 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12586 arguments 0x1p113L or above.
12587 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12588 to arguments 0x1p107L or above.
12589 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12590 positive arguments with exponent 65 or above.
12591 * math/auto-libm-test-in: Add more tests of log1p.
12592 * math/auto-libm-test-out: Regenerated.
12593
01dbacd2
JM
12594 [BZ #16928]
12595 * math/s_cacos.c (__cacos): Ensure zero real part of result from
12596 non-finite arguments is +0.
12597 * math/s_cacosf.c (__cacosf): Likewise.
12598 * math/s_cacosl.c (__cacosl): Likewise.
12599 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12600 * sysdeps/i386/fpu/libm-test-ulps: Update.
12601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12602
913d03c8
JM
12603 [BZ #16927]
12604 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12605 value.
12606 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12607 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12608 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12609 for explicit high bit of mantissa when testing for argument equal
12610 to 1.
12611 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12612 * sysdeps/i386/fpu/libm-test-ulps: Update.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12614
0bf061d3
JM
12615 [BZ #16516]
12616 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12617 (__erf): Scale by 16 instead of 8 in potentially underflowing
12618 case. Ensure exception if result actually underflows.
12619 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12620 (__erff): Scale by 16 instead of 8 in potentially underflowing
12621 case. Ensure exception if result actually underflows.
12622 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12623 (efx8): Remove variable.
12624 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12625 case. Ensure exception if result actually underflows.
12626 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12627 (efx8): Remove variable.
12628 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12629 case. Ensure exception if result actually underflows.
12630 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12631 (efx8): Remove variable.
12632 (__erfl): Scale by 16 instead of 8 in potentially underflowing
12633 case. Ensure exception if result actually underflows.
12634 * math/auto-libm-test-in: Add more tests of erf.
12635 * math/auto-libm-test-out: Regenerated.
12636
73ba67cb
AS
126372014-05-14 Andreas Schwab <schwab@suse.de>
12638
3d8c8bff
AS
12639 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12640 Remove code conditionalized on USE___THREAD.
12641
73ba67cb
AS
12642 * config.h.in (HAVE_PT_CHOWN): Define as 0.
12643 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12644 not definedness.
12645
5c521ecd
JM
126462014-05-14 Joseph Myers <joseph@codesourcery.com>
12647
5e7698c6
JM
12648 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12649 Define unconditionally.
12650 (__ASSUME_O_CLOEXEC): Likewise.
12651 (__ASSUME_SOCK_CLOEXEC): Likewise.
12652 (__ASSUME_IN_NONBLOCK): Likewise.
12653 (__ASSUME_PIPE2): Likewise.
12654 (__ASSUME_EVENTFD2): Likewise.
12655 (__ASSUME_SIGNALFD4): Likewise.
12656 (__ASSUME_DUP3): Likewise.
12657 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12658 (__ASSUME_DUP3): Do not define.
12659 (__ASSUME_EVENTFD2): Likewise.
12660 (__ASSUME_IN_NONBLOCK): Likewise.
12661 (__ASSUME_O_CLOEXEC): Likewise.
12662 (__ASSUME_PIPE2): Likewise.
12663 (__ASSUME_SIGNALFD4): Likewise.
12664 (__ASSUME_SOCK_CLOEXEC): Likewise.
12665 (__ASSUME_UTIMES): Undefine.
12666 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12667 (__ASSUME_UTIMES): Do not define.
12668 (__ASSUME_O_CLOEXEC): Likewise.
12669 (__ASSUME_SOCK_CLOEXEC): Likewise.
12670 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12671 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12672 0x020621].
12673 (__ASSUME_PIPE2): Likewise.
12674 (__ASSUME_EVENTFD2): Likewise.
12675 (__ASSUME_SIGNALFD4): Likewise.
12676 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12677 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12678 Do not define.
12679 (__ASSUME_EVENTFD2): Likewise.
12680 (__ASSUME_SIGNALFD4): Likewise.
12681 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12682 (__ASSUME_32BITUIDS): Likewise.
12683 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12684 (__ASSUME_IPC64): Likewise.
12685 (__ASSUME_ST_INO_64_BIT): Likewise.
12686 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12687 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12688 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12689 (__ASSUME_UTIMES): Do not define.
12690 (__ASSUME_PSELECT): Likewise.
12691 (__ASSUME_PPOLL): Likewise.
12692 (__ASSUME_O_CLOEXEC): Likewise.
12693 (__ASSUME_SOCK_CLOEXEC): Likewise.
12694 (__ASSUME_IN_NONBLOCK): Likewise.
12695 (__ASSUME_PIPE2): Likewise.
12696 (__ASSUME_EVENTFD2): Likewise.
12697 (__ASSUME_SIGNALFD4): Likewise.
12698 (__ASSUME_DUP3): Likewise.
12699 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12700 (__ASSUME_UTIMES): Likewise.
12701 (__ASSUME_O_CLOEXEC): Likewise.
12702 (__ASSUME_SOCK_CLOEXEC): Likewise.
12703 (__ASSUME_IN_NONBLOCK): Likewise.
12704 (__ASSUME_PIPE2): Likewise.
12705 (__ASSUME_EVENTFD2): Likewise.
12706 (__ASSUME_SIGNALFD4): Likewise.
12707 (__ASSUME_DUP3): Likewise.
12708 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12709 (__ASSUME_UTIMES): Likewise.
12710 (__ASSUME_O_CLOEXEC): Likewise.
12711 (__ASSUME_SOCK_CLOEXEC): Likewise.
12712 (__ASSUME_IN_NONBLOCK): Likewise.
12713 (__ASSUME_PIPE2): Likewise.
12714 (__ASSUME_EVENTFD2): Likewise.
12715 (__ASSUME_SIGNALFD4): Likewise.
12716 (__ASSUME_DUP3): Likewise.
12717 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12718 Likewise.
12719 (__ASSUME_UTIMES): Likewise.
12720 (__ASSUME_EVENTFD2): Likewise.
12721 (__ASSUME_SIGNALFD4): Likewise.
12722 * sysdeps/unix/sysv/linux/tile/kernel-features.h
12723 (__ASSUME_O_CLOEXEC): Likewise.
12724 (__ASSUME_SOCK_CLOEXEC): Likewise.
12725 (__ASSUME_IN_NONBLOCK): Likewise.
12726 (__ASSUME_PIPE2): Likewise.
12727 (__ASSUME_EVENTFD2): Likewise.
12728 (__ASSUME_SIGNALFD4): Likewise.
12729 (__ASSUME_DUP3): Likewise.
12730 (__ASSUME_UTIMES): Undefine.
12731
5c521ecd
JM
12732 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12733 feclearexcept. Remove symbol versioning code.
12734 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
12735 symbol versioning code.
12736 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
12737 symbol versioning code.
12738 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12739 feupdateenv. Remove symbol versioning code.
12740 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12741 fegetexceptflag. Remove symbol versioning code.
12742 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12743 fesetexceptflag. Remove symbol versioning code.
12744 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12745 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
12746 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12747 (__posix_fadvise64_l32): Remove prototype.
12748 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12749 code.
12750
5da9dfad
RM
127512014-05-13 Roland McGrath <roland@hack.frob.com>
12752
12753 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12754 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12755 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12756 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12757
893b4f37
SK
127582014-05-13 Sami Kerola <kerolasa@iki.fi>
12759
12760 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12761 current working directory
12762
e0db6517
RM
127632014-05-13 Roland McGrath <roland@hack.frob.com>
12764
58aa195d
RM
12765 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12766 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12767 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12768 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12769 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12770 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12771 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12772 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12773 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12774 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12775 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12776 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12777 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12778 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12779 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12780 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12781 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12782 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12783 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12784 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12785 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12786 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12787 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12788 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12789 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12790 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12791 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12792 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12793 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12794 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12795 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12796 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12797 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12798 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12799 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12800 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12801 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12802 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12803 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12804 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12805 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12806 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12807
8c6d01f0
RM
12808 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12809 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12810
12811 * sysdeps/unix/sysv/linux/arm/Makefile
12812 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12813 Add rt-aeabi_unwind_cpp_pr1.
12814 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12815 Add nptl-aeabi_unwind_cpp_pr1.
12816 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12817 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12818 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12819 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12820 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12821 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12822
12823 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12824 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12825 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12826 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12827
bba6da4e
RM
12828 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12829 Deconditionalize the code that was previously under [RESET_PID].
12830 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12831
e0db6517
RM
12832 * sysdeps/generic/exit-thread.h: New file.
12833 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12834 * include/unistd.h (__exit_thread): Remove declaration.
12835 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12836 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12837 * csu/libc-start.c: Include <exit-thread.h>.
12838 (LIBC_START_MAIN): Pass no argument to __exit_thread.
12839 * nptl/pthread_create.c: Include <exit-thread.h>.
12840 (start_thread): Call __exit_thread in place of __exit_thread_inline.
12841 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12842 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12843 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12844 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12845 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12846 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12847 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12848 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12849 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12850 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12851 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12852 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12853 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12854 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12855 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12856 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12857
01eb16fd
AS
128582014-05-13 Andreas Schwab <schwab@suse.de>
12859
12860 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12861
637461d9
JM
128622014-05-12 Joseph Myers <joseph@codesourcery.com>
12863
12864 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12865 (__ASSUME_UTIMES): Do not condition on kernel version.
12866 (__ASSUME_PSELECT): Define unconditionally.
12867 (__ASSUME_PPOLL): Likewise.
12868 (__ASSUME_ATFCTS): Likewise.
12869 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12870 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12871 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12872 (__ASSUME_UTIMENSAT): Define unconditionally.
12873 (__ASSUME_PRIVATE_FUTEX): Likewise.
12874 (__ASSUME_FALLOCATE): Likewise.
12875 (__ASSUME_O_CLOEXEC): Likewise.
12876 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12877 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12878 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12879 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12880 (__ASSUME_IN_NONBLOCK): Likewise.
12881 (__ASSUME_PIPE2): Likewise.
12882 (__ASSUME_EVENTFD2): Likewise.
12883 (__ASSUME_SIGNALFD4): Likewise.
12884 (__ASSUME_DUP3): Likewise.
12885 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12886 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12887 (__ASSUME_AT_RANDOM): Likewise.
12888 (__ASSUME_PREADV): Likewise.
12889 (__ASSUME_PWRITEV): Likewise.
12890 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12891 (__ASSUME_F_GETOWN_EX): Define unconditionally.
12892 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12893 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12894 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12895 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12896 (__ASSUME_O_CLOEXEC): Define unconditionally.
12897 (__ASSUME_PSELECT): Do not undefine conditionally.
12898 (__ASSUME_PPOLL): Likewise.
12899 (__ASSUME_ATFCTS): Likewise.
12900 (__ASSUME_SET_ROBUST_LIST): Likewise.
12901 (__ASSUME_UTIMENSAT): Likewise.
12902 (__ASSUME_FDATASYNC): Define unconditionally.
12903 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12904 (__ASSUME_SIGFRAME_V2): Likewise.
12905 )__ASSUME_EVENTFD2): Likewise.
12906 (__ASSUME_SIGNALFD4): Likewise.
12907 (__ASSUME_PSELECT): Do not undefine conditionally.
12908 (__ASSUME_PPOLL): Likewise.
12909 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12910 (__ASSUME_PSELECT): Define unconditionally.
12911 (__ASSUME_PPOLL): Likewise.
12912 (__ASSUME_O_CLOEXEC): Likewise.
12913 (__ASSUME_SOCK_CLOEXEC): Likewise.
12914 (__ASSUME_IN_NONBLOCK): Likewise.
12915 (__ASSUME_PIPE2): Likewise.
12916 (__ASSUME_EVENTFD2): Likewise.
12917 (__ASSUME_SIGNALFD4): Likewise.
12918 (__ASSUME_DUP3): Likewise.
12919 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12920 (__ASSUME_O_CLOEXEC): Likewise.
12921 (__ASSUME_SOCK_CLOEXEC): Likewise.
12922 (__ASSUME_IN_NONBLOCK): Likewise.
12923 (__ASSUME_PIPE2): Likewise.
12924 (__ASSUME_EVENTFD2): Likewise.
12925 (__ASSUME_SIGNALFD4): Likewise.
12926 (__ASSUME_DUP3): Likewise.
12927 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12928 (__ASSUME_EVENTFD2): Likewise.
12929 (__ASSUME_SIGNALFD4): Likewise.
12930 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12931
315eb1d8
AS
129322014-05-12 Andreas Schwab <schwab@suse.de>
12933
12934 [BZ #16932]
12935 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12936 (_nss_nis_gethostbyname4_r): Return error if item length is larger
12937 than maximum RPC packet size.
12938 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12939 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12940 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12941 (_nss_nis_getservbyport_r): Likewise.
12942
91df99f7
WN
129432014-05-12 Will Newton <will.newton@linaro.org>
12944
12945 * malloc/Makefile (tests): Add tst-mallopt.
12946 * malloc/tst-mallopt.c: New file.
12947
0a982a29
RM
129482014-05-09 Roland McGrath <roland@hack.frob.com>
12949
12950 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12951 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12952
0ded08a5
AZ
129532014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12954
12955 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12956 (tst-tlsmod6.so): Likewise.
12957
55d4d550
RM
129582014-05-09 Roland McGrath <roland@hack.frob.com>
12959
12960 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12961
77d08aca
JM
129622014-05-09 Joseph Myers <joseph@codesourcery.com>
12963
12964 [BZ #16064]
12965 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12966 and <dl-procinfo.h>.
12967 (__fegetenv): Save SSE state in envp->__eip if supported.
12968 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12969 envp->__eip if supported.
12970 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12971 and <dl-procinfo.h>.
12972 (__fesetenv): Always set __eip, __cs_selector, __opcode,
12973 __data_offset and __data_selector in environment to 0. Set SSE
12974 state if supported.
12975 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12976 test-fenv-sse.
12977 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12978 -mfpmath=sse.
12979 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12980
28162f4d
WN
129812014-05-09 Will Newton <will.newton@linaro.org>
12982
12983 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12984 and libc_relro_required for ARM.
12985 * sysdeps/arm/preconfigure: Regenerate.
12986
5a414ff7
DV
129872014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
12988 Stefan Liebler <stli@linux.vnet.ibm.com>
12989
12990 * config.make.in (enable-lock-elision): New Makefile variable.
12991 * configure.ac: Likewise.
12992 * configure: Regenerate.
12993 * sysdeps/s390/configure.ac:
12994 Add check for gcc transactions support.
12995 * sysdeps/s390/configure: Regenerate.
12996 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12997 Build elision files if enabled.
12998 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12999 Add lock elision support for s390.
13000 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13001 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13002 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13003 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13004 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13005 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13006 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13007 Likewise.
13008 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13009 Likewise.
13010 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13011 Likewise.
13012 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13013 Likewise.
13014 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13015 (__lll_timedlock_elision, __lll_lock_elision)
13016 (__lll_unlock_elision, __lll_trylock_elision)
13017 (lll_timedlock_elision, lll_lock_elision)
13018 (lll_unlock_elision, lll_trylock_elision): Add.
13019 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13020 (pthread_mutex_t): Add lock elision support for s390.
13021
1a2f40e5
W
130222014-05-14 Wilco <wdijkstr@arm.com>
13023
13024 * sysdeps/arm/fclrexcpt.c: Cleanup.
13025 * sysdeps/arm/fedisblxcpt.c: Cleanup.
13026 * sysdeps/arm/feenablxcpt.c: Cleanup.
13027 * sysdeps/arm/fegetenv.c: Cleanup.
13028 * sysdeps/arm/fegetexcept.c: Cleanup.
13029 * sysdeps/arm/fegetround.c: Cleanup.
13030 * sysdeps/arm/feholdexcpt.c: Cleanup.
13031 * sysdeps/arm/fesetenv.c: Cleanup.
13032 * sysdeps/arm/fesetround.c: Cleanup.
13033 * sysdeps/arm/feupdateenv.c: Cleanup.
13034 * sysdeps/arm/fgetexcptflg.c: Cleanup.
13035 * sysdeps/arm/fraiseexcpt.c: Cleanup.
13036 * sysdeps/arm/fsetexcptflg.c: Cleanup.
13037 * sysdeps/arm/ftestexcept.c: Cleanup.
13038 * sysdeps/arm/get-rounding-mode.h: Cleanup.
13039 * sysdeps/arm/setfpucw.c: Cleanup.
13040
f63c86fe
WN
130412014-05-09 Will Newton <will.newton@linaro.org>
13042
13043 * sysdeps/arm/armv7/strcmp.S: New file.
13044 * NEWS: Mention addition of ARMv7 optimized strcmp.
13045
7a1a51b5
RM
130462014-05-08 Roland McGrath <roland@hack.frob.com>
13047
95afbbe5
RM
13048 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13049 look for %.ac rather than %.in.
13050
13051 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13052 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13053 * sysdeps/mach/hurd/configure: Regenerated.
13054 * sysdeps/unix/sysv/linux/configure: Regenerated.
13055
7a1a51b5
RM
13056 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13057
5057ad3b
SE
130582014-05-07 Steve Ellcey <sellcey@mips.com>
13059
13060 [BZ# 16922]
13061 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13062 (LONG_SUB): Ditto.
13063 (PTR_SUB): Ditto.
13064
8dc97517
AS
130652014-05-07 Andreas Schwab <schwab@suse.de>
13066
13067 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13068 when skipping over non-matching result from nscd.
13069
ce0c5b8f
OB
130702014-05-07 Ondřej Bílka <neleai@seznam.cz>
13071
13072 [BZ #16876]
13073 * nptl/sockperf.c (client): Check socket return value.
8dc97517 13074
a1189263
OB
13075 [BZ #16877]
13076 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13077 nscd security class.
ce0c5b8f 13078
0f58d252
RM
130792014-05-06 Roland McGrath <roland@hack.frob.com>
13080
13081 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13082 * sysdeps/arm/unwind.h: ... here.
13083
83df9ad0
AJ
130842014-05-06 Aurelien Jarno <aurelien@aurel32.net>
13085
ce0c5b8f
OB
13086 [BZ# 16916]
13087 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13088 Define.
83df9ad0 13089
f360f94a
VR
130902014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13091
13092 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13093 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13094 multiarch strncpy for PPC64.
13095 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13096 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13097 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13098 multiarch optimizations.
13099 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13100 (__libc_ifunc_impl_list): Likewise.
13101 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13102 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13103 multiarch stpncpy for PPC64.
13104 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13105 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13106
978a41c3
AS
131072014-05-06 Andreas Schwab <schwab@suse.de>
13108
13109 [BZ #16912]
13110 * gmon/mcount.c (_MCOUNT_DECL): Use
13111 atomic_compare_and_exchange_bool_acq instead of
13112 catomic_compare_and_exchange_bool_acq.
13113
eb1ed03d
RM
131142014-05-05 Roland McGrath <roland@hack.frob.com>
13115
fe658845
RM
13116 * elf/Makefile (others, install-bin): Remove pldd.
13117 (pldd-modules): Variable removed.
13118 ($(objpfx)pldd): Target removed.
13119 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13120 (others, install-bin): Append pldd here.
13121 ($(objpfx)pldd): New target.
13122
eb1ed03d
RM
13123 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13124 to 0, so the first #if test emitted later doesn't see it undefined.
13125 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13126 * sysdeps/gnu/errlist.c: Regenerated.
13127
19c4bec0
AZ
131282014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13129
13130 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13131 [libc_hidden_builtin_def]: Define to empty value.
13132 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13133 [libc_hidden_builtin_def]: Likewise.
13134 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13135 [libc_hidden_builtin_def]: Likewise.
13136 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13137 [libc_hidden_builtin_def]: Likewise.
13138 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13139 __redirect_memcpy and define ifunc as default hidden symbol.
13140 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13141 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13142
7776e669
AC
131432014-05-04 Adam Conrad <adconrad@0c3.net>
13144
13145 * locale/iso-4217.def: Reintroduce XDR currency.
13146
d69aeb12
AM
131472014-05-04 Allan McRae <allan@archlinux.org>
13148
13149 * po/eo.po: Update Esperanto translation from translation project.
13150
8f1df5cf
CD
131512014-05-02 Carlos O'Donell <carlos@redhat.com>
13152
13153 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13154 and FEATURE_INDEX_MAX to 1.
13155 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13156
13e402e7
SE
131572014-05-01 Steve Ellcey <sellcey@mips.com>
13158
13159 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13160 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13161 * iconvdata/big5.c (ONE_DIRECTION): Define.
13162 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13163 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13164 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13165 * iconvdata/cp932.c (ONE_DIRECTION): Define.
13166 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13167 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13168 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13169 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13170 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13171 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13172 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13173 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13174 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13175 * iconvdata/gbk.c (ONE_DIRECTION): Define.
13176 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13177 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13178 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13179 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13180 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13181 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13182 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13183 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13184 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13185 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13186 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13187 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13188 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13189 * iconvdata/iso646.c (ONE_DIRECTION): Define.
13190 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13191 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13192 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13193 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13194 * iconvdata/johab.c (ONE_DIRECTION): Define.
13195 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13196 * iconvdata/sjis.c (ONE_DIRECTION): Define.
13197 * iconvdata/t.61.c (ONE_DIRECTION): Define.
13198 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13199 * iconvdata/tscii.c (ONE_DIRECTION): Define.
13200 * iconvdata/uhc.c (ONE_DIRECTION): Define.
13201 * iconvdata/unicode.c (ONE_DIRECTION): Define.
13202 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13203 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13204 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13205
c727f032
RM
132062014-05-01 Roland McGrath <roland@hack.frob.com>
13207
8f2f08d0
RM
13208 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13209 (_IO_JUMPS_OFFSET): Define to 0.
13210
c727f032
RM
13211 * nptl/sysdeps/pthread/bits/libc-lock.h
13212 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13213 (__libc_lock_define_initialized_recursive): Always define using
13214 initializer. Modern compilers treat uninitialized (implicit zero) and
13215 explicit zero initializers the same (i.e. put the datum in bss).
13216
a849e800
AS
132172014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13218
13219 * nscd/nscd-client.h: Include <string.h>.
13220
5331255b
DM
132212014-05-01 David S. Miller <davem@davemloft.net>
13222
13223 [BZ #16885]
13224 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13225 multiple zero bytes exist at the end of a string.
13226 Reported by Aurelien Jarno <aurelien@aurel32.net>
13227
13228 * string/test-strcmp.c (check): Add explicit test for situations where
13229 there are multiple zero bytes after the first.
13230
4fdfe821
AS
132312014-05-01 Andreas Schwab <schwab@linux-m68k.org>
13232
13233 [BZ #16890]
13234 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13235 when compiling wprintf.
13236 * stdio-common/tstdiomisc.c (t3): New function.
13237 (main): Call it.
13238
0cdddc25
SE
132392014-05-01 Steve Ellcey <sellcey@mips.com>
13240
13241 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13242 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13243 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13244 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13245
6426d77e
SE
132462014-05-01 Steve Ellcey <sellcey@mips.com>
13247
13248 * stdlib/longlong.h: Updated from GCC.
13249
6d96f5e4
WN
132502014-05-01 Will Newton <will.newton@linaro.org>
13251 Bernard Ogden <bernie.ogden@linaro.org>
13252
7470db0c
WN
13253 * NEWS: Update fixed bug list.
13254
6d96f5e4
WN
13255 [BZ #15119]
13256 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13257
211d653c
DM
132582014-04-30 David S. Miller <davem@davemloft.net>
13259
4fa262fa
DM
13260 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13261 (libc_feholdexcept_setround_sparc_ctx): New function.
13262 (libc_fesetenv_sparc_ctx): Likewise.
13263 (libc_feupdateenv_sparc_ctx): Likewise.
13264 (libc_feholdsetround_sparc_ctx): Likewise.
13265 (libc_feholdexcept_setround_ctx): Define.
13266 (libc_feholdexcept_setroundf_ctx): Likewise.
13267 (libc_feholdexcept_setroundl_ctx): Likewise.
13268 (libc_fesetenv_ctx): Likewise.
13269 (libc_fesetenvf_ctx): Likewise.
13270 (libc_fesetenvl_ctx): Likewise.
13271 (libc_feupdateenv_ctx): Likewise.
13272 (libc_feupdateenvf_ctx): Likewise.
13273 (libc_feupdateenvl_ctx): Likewise.
13274 (libc_feresetround_ctx): Likewise.
13275 (libc_feresetroundf_ctx): Likewise.
13276 (libc_feresetroundl_ctx): Likewise.
13277 (libc_feholdsetround_ctx): Likewise.
13278 (libc_feholdsetroundf_ctx): Likewise.
13279 (libc_feholdsetroundl_ctx): Likewise.
13280
1d3d93ef
DM
13281 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13282 with __USE_GNU instead of XOPEN cpp guards.
13283
8aa583c3
DM
13284 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13285 0.
13286
211d653c
DM
13287 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13288 with XOPEN cpp guards.
13289
60c8f1f6
JB
132902014-04-30 Julian Brown <julian@codesourcery.com>
13291
13292 [BZ #16888]
13293 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13294 handling.
13295
9a461d46
JM
132962014-04-30 Joseph Myers <joseph@codesourcery.com>
13297
d0f5b3f8
JM
13298 [BZ #9894]
13299 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13300 Change to 2.6.32.
13301 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13302 * sysdeps/unix/sysv/linux/configure: Regenerated.
13303 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13304 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13305 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13306 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13307 * README: Update reference to required Linux kernel version.
13308 * manual/install.texi (Linux): Update reference to required Linux
13309 kernel headers version.
13310 * INSTALL: Regenerated.
13311
9a461d46
JM
13312 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13313 header inclusion.
13314 [POSIX] (limits.h): Likewise.
13315 [POSIX] (math.h): Likewise.
13316 [POSIX] (sys/wait.h): Likewise.
13317 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13318 function.
13319 [POSIX] (stddef.h): Do not allow header inclusion.
13320
1775babf
AZ
133212014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13322
57f41c40 13323 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1775babf 13324
8f630cca
YY
133252014-04-30 Yang Yingliang <yangyingliang@huawei.com>
13326
13327 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13328 Return immediately after lll_futex_wake.
13329
1cdeb237
SP
133302014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13331
bc8f194c
SP
13332 [BZ #16791]
13333 * nscd/nscd-client.h (datahead_init_common): Initialize entire
13334 structure.
13335 (datahead_init_pos): Call datahead_init_common early.
13336 (datahead_init_neg): Likewise.
13337
1cdeb237
SP
13338 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13339 datahead_init_neg): New functions.
13340 * nscd/aicache.c (addhstaiX): Use them.
13341 * nscd/grpcache.c (cache_addgr): Likewise.
13342 * nscd/hstcache.c (cache_addhst): Likewise.
13343 * nscd/initgrcache.c (addinitgroupsX): Likewise.
13344 * nscd/netgroupcache.c (do_notfound): Likewise.
13345 (addgetnetgrentX): Likewise.
13346 (addinnetgrX): Likewise.
13347 * nscd/pwdcache.c (cache_addpw): Likewise.
13348 * nscd/servicescache.c (cache_addserv): Likewise.
13349
16b293a7
SP
133502014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13351 Atsushi Onoe <atsushi@onoe.org>
13352
13353 [BZ #14308]
13354 [BZ #12994]
13355 [BZ #13651]
13356 * resolv/res_query.c (__libc_res_nsearch): Return if at least
13357 one response is valid.
13358 * resolv/res_send.c (send_dg): Check for validity of other
13359 response if the current response is a referral.
13360
a28a9b94
SE
133612014-04-29 Steve Ellcey <sellcey@mips.com>
13362
13363 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13364
2ca180e9
SL
133652014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
13366
13367 [BZ #16823]
13368 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13369 Always divide by positive zero when computing -Inf result.
13370 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13371 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13372
18f2945a
AZ
133732014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13374
13375 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13376 FPSCR if value do not change.
13377 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13378 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13379 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13380 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13381 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13382 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13383 function.
13384
5abebba4
CD
133852014-05-29 Carlos O'Donell <carlos@systemhalted.org>
13386
13387 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13388 * sysdeps/unix/sysv/linux/hppa: Move directory from
13389 ports/systeps/unix/sysv/linux/hppa.
13390 * README: Update listing for hppa-*-linux-gnu.
13391
f7ed60c2
OB
133922014-04-28 Ondřej Bílka <neleai@seznam.cz>
13393
fff763a5
OB
13394 [BZ #16754]
13395 * manual/stdio.texi (Hook functions): Fix types of stream hook
13396 functions.
f7ed60c2
OB
13397 [BZ #16854]
13398 * socket/sys/socket.h: Fix typo in comment.
13399
df639d73
WD
134002014-04-28 Wilco <wdijkstr@arm.com>
13401
f7ed60c2 13402 * sysdeps/arm/fenv_private.h: New file.
df639d73
WD
13403 * sysdeps/arm/math_private.h: New file.
13404 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13405
48332d82
L
134062014-04-25 H.J. Lu <hongjiu.lu@intel.com>
13407
13408 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13409 with __int128_t.
13410 (La_x86_64_retval): Likewise.
13411
e5e0d9a4
IB
134122014-04-24 Ian Bolton <ian.bolton@arm.com>
13413
13414 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13415 fpsr if value didn't change.
13416 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13417 to fpcr if value didn't change.
13418 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13419 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13420 fpsr or fpcr if value didn't change.
13421 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13422 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13423 fpcr if value didn't change.
13424 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13425 to fpsr if value didn't change.
13426
bacc75f7
SP
134272014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
13428
13429 * nptl/tst-sem3.c: Use test-skeleton.c
13430 (main): Rename to do_test. Use return instead of
13431 exit.
13432 * nptl/tst-sem4.c: Use test-skeleton.c
13433 (main): Rename to do_test.
13434
a059d359
DM
134352014-04-22 David S. Miller <davem@davemloft.net>
13436
13437 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13438 (struct sigaction): New struct member __glibc_reserved0, change
13439 type of sa_flags to int.
13440
ea6c92f3
YZ
134412014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
13442
13443 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13444 (COUNT_LEADING_ZEROS_0): Define for AArch64.
13445
766c4a36
SP
134462014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13447
13448 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13449 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13450
140cc7ab
VK
134512014-04-22 Will Newton <will.newton@linaro.org>
13452 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
13453
13454 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13455 (__longjmp): Add longjmp and longjmp_target SystemTap
13456 probes.
13457 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13458 (__sigsetjmp): Add setjmp SystemTap probe.
13459
c54e5cf7
CD
134602014-04-17 Carlos O'Donell <carlos@redhat.com>
13461
13462 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13463 match manual order.
13464
75ffb047
AZ
134652014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13466
13467 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13468
2cd925f7
AZ
13469 * sysdeps/powerpc/fpu/fenv_private.h
13470 (libc_feholdexcept_setroundl_ctx): Define to
13471 libc_feholdexcept_setround_ppc_ctx.
13472 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13473 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13474 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13475 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13476
39e6cd8d
IB
134772014-04-17 Ian Bolton <ian.bolton@arm.com>
13478
13479 * sysdeps/aarch64/math-tests.h: New file.
13480
f9281df9
SY
134812014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
13482
13483 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13484 New.
13485 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13486 Check and set bit_AVX2_Usable.
13487 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13488 macro.
13489 (bit_AVX2): Likewise.
13490 (index_AVX2_Usable): Likewise.
13491 (CPUID_AVX2): Likewise.
13492 (HAS_AVX2): Likewise.
13493
37d35007
WN
134942014-04-17 Will Newton <will.newton@linaro.org>
13495
7c677662
WN
13496 * manual/setjmp.texi (System V contexts): Add note that
13497 calling setcontext on a context created by a call to a
13498 signal handler is undefined. Update text to note that
13499 setcontext from a signal handler is possible but not
13500 recommended.
13501
37d35007 13502 [BZ #16629]
e04a4e9d
WN
13503 * stdlib/tst-setcontext.c: Include signal.h.
13504 (main): Check that the signal stack before and
13505 after swapcontext is the same.
13506
37d35007
WN
13507 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13508 Re-implement to restore registers in user code and avoid
13509 rt_sigreturn system call.
13510
423a7160
W
135112014-04-17 Wilco <wdijkstr@arm.com>
13512
13513 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13514 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13515 * math/test-fenv.c: Skip exception trap tests on targets which only
13516 support non-stop mode.
13517
bc93ab29
IB
135182014-04-17 Ian Bolton <ian.bolton@arm.com>
13519 Wilco Dijkstra <wilco.dijkstra@arm.com>
13520
13521 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13522 (libc_feholdsetround_aarch64_ctx)
13523 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13524 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13525 (libc_feresetround_ctx, libc_feresetroundf_ctx)
13526 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13527 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13528 (libc_feresetround_noexl_ctx): Define.
13529
95fc5fa3
RH
135302014-04-16 Richard Henderson <rth@redhat.com>
13531
ddb04724
RH
13532 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13533
d77c0899
RH
13534 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13535 unwind tables.
13536
a3df56fc
RH
13537 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13538 const from the non-libc, non-ldso copy.
13539
95fc5fa3
RH
13540 * sysdeps/alpha/libm-test-ulps: Regenerate.
13541
7e0b6763
IB
135422014-04-16 Ian Bolton <ian.bolton@arm.com>
13543 Wilco Dijkstra <wilco.dijkstra@arm.com>
13544
13545 * sysdeps/aarch64/fpu/math_private.h: New file.
13546
a9ea2e0c
MS
135472014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
13548
13549 * sysdeps/aarch64/libm-test-ulps: Regenerate.
13550
ea8ba7cd
IZ
135512014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
13552
7e54fd04 13553 [BZ #16275]
ea8ba7cd
IZ
13554 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13555 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13556 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13557 Intel MPX bound registers before _dl_profile_fixup.
13558 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13559 registers after _dl_profile_fixup. Save and restore bound
13560 registers bnd0/bnd1 when calling _dl_call_pltexit.
13561 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13562 (LR_BND_OFFSET): Likewise.
13563 (LRV_BND0_OFFSET): Likewise.
13564 (LRV_BND1_OFFSET): Likewise.
13565
9f2a4fbc
ST
135662014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13567
13568 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13569 to...
13570 * sysdeps/mach/hurd/i386/tls.h: ... here.
3c799e91
ST
13571 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13572 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13573 fields.
9f2a4fbc 13574
fd15a59b
ST
135752014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13576
13577 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13578
f19dfa0a
SL
135792014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13580
13581 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13582
4fa8bc3b
SL
135832014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
13584
13585 [BZ #14770]
13586 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13587 * sysdeps/s390/configure: Regenerate.
13588
8ea587db
SL
13589 [BZ #16824]
13590 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13591 Set round-to-nearest internally to reduce error accumulation.
13592
aa5f0ff1
AM
135932014-04-16 Alan Modra <amodra@gmail.com>
13594
13595 [BZ #16740]
13596 [BZ #16619]
13597 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13598 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 13599 * NEWS: Update fixed bug list.
aa5f0ff1 13600
bb9c256f
SP
136012014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
13602
13603 * benchtests/Makefile: Depend on libraries in build directory.
13604 (bench-math): Separate out math tests.
13605 (bench-pthread): Separate out pthread tests.
13606 (bench): Include math and pthread tests.
13607
f737dfd0
CD
136082014-04-14 Carlos O'Donell <carlos@redhat.com>
13609
13610 [BZ #16831]
13611 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13612 _dl_debug_initialize.
13613
0699f766
CD
13614 * configure.ac: Remove SELinux header check.
13615 * configure: Regenerate.
13616 * nscd/selinux.c (perms): Array of const char* to permission names.
13617 (nscd_request_avc_has_perm): Call security_deny_unknown to find
13618 default policy. Call string_to_security_class and string_to_av_perm to
13619 translate strings. Enforce default policy and call avs_has_perm with
13620 results of translated strings.
13621
809bd45f
DM
136222014-04-13 David S. Miller <davem@davemloft.net>
13623
13624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13625
89e691f2
AM
136262014-04-12 Allan McRae <allan@archlinux.org>
13627
13628 [BZ #16838]
13629 * manual/string.texi (Collation Functions): Fix qsort argument
13630 order in example.
13631 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13632
9c9daaeb
CM
136332014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13634
13635 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13636 Make the test a no-op if there are no exceptions defined.
13637
95561fb9
PP
136382014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
13639
fe8d072c 13640 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
13641 enable-hardcoded-path-in-tests
13642
970c602a
WN
136432014-04-11 Will Newton <will.newton@linaro.org>
13644
13645 * benchtests/Makefile (extra-objs): Add json-lib.o.
13646 (bench-func): Tidy up JSON output.
13647 * benchtests/bench-skeleton.c: Include json-lib.h.
13648 (main): Use JSON library functions to do output of
13649 benchmark results.
13650 * benchtests/bench-timing-type.c (main): Output the
13651 timing type simply, leaving formatting to the user.
13652 * benchtests/json-lib.c: New file.
13653 * benchtests/json-lib.h: Likewise.
13654
36875b06
TR
136552014-04-11 Torvald Riegel <triegel@redhat.com>
13656
13657 [BZ #15215]
13658 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13659 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
13660 memory barriers. Add comments.
13661 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13662 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13663 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13664 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13665 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13666 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13667
579db35a
SL
136682014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
13669
13670 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13671 * sysdeps/s390/s390-64/configure.ac: ... this ...
13672 * sysdeps/s390/configure.ac: ... to here.
13673 * sysdeps/s390/s390-32/configure: Delete file.
13674 * sysdeps/s390/s390-64/configure: Delete file.
13675 * sysdeps/s390/configure: Regenerate.
13676
c12e9f37
JAPH
136772014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
13678
13679 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13680
439bda32
WN
136812014-04-11 Will Newton <will.newton@linaro.org>
13682
13683 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13684 to zero if it is not defined elsewhere. (mtrim): Test
13685 the value of MALLOC_DEBUG with #if rather than #ifdef.
13686
6a5d6ea1
TR
136872014-04-10 Torvald Riegel <triegel@redhat.com>
13688
13689 * benchtests/pthread_once-inputs: New file.
13690 * benchtests/pthread_once-source.c: New file.
13691 * benchtests/README: Update documentation.
13692
a4c75cfd
IZ
136932014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
13694 H.J. Lu <hongjiu.lu@intel.com>
13695
7e54fd04 13696 [BZ #16275]
a4c75cfd
IZ
13697 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13698 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13699 * sysdeps/x86_64/configure: Regenerated.
13700 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13701 macro.
13702 (REGISTER_SAVE_RAX): Likewise.
13703 (REGISTER_SAVE_RCX): Likewise.
13704 (REGISTER_SAVE_RDX): Likewise.
13705 (REGISTER_SAVE_RSI): Likewise.
13706 (REGISTER_SAVE_RDI): Likewise.
13707 (REGISTER_SAVE_R8): Likewise.
13708 (REGISTER_SAVE_R9): Likewise.
13709 (REGISTER_SAVE_BND0): Likewise.
13710 (REGISTER_SAVE_BND1): Likewise.
13711 (REGISTER_SAVE_BND2): Likewise.
13712 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
13713 bound registers when calling _dl_fixup.
13714
27822ce6
AZ
137152014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13716
13717 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
57f41c40
AS
13718 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13719 of its definition.
27822ce6
AZ
13720 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13721 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13722 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13723 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13724 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13725 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13726 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13727
a88ddc90
PTB
137282014-04-09 Peter Brett <peter@peter-b.co.uk>
13729
13730 [BZ #15514]
13731 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13732 pathconf(_PC_NAME_MAX).
13733
01f8eac2
AZ
137342014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13735
13736 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13737 Remove macro usage.
13738 (__PTHREAD_SPINS): Move definition to ...
13739 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13740 (__PTHREAD_SPINS): ... here.
13741 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13742 (__PTHREAD_SPIN): Likewise.
13743 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13744 (__PTHREAD_SPIN): Likewise.
13745 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13746 (__PTHREAD_SPIN): Likewise.
13747 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13748 (__PTHREAD_SPIN): Likewise.
13749 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13750 (__PTHREAD_SPIN): Likewise.
13751 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13752 (__PTHREAD_SPIN): Likewise.
13753 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13754 (__PTHREAD_SPIN): Likewise.
13755 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13756 (__PTHREAD_SPIN): Likewise.
13757 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13758 (__PTHREAD_SPIN): Likewise.
13759 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13760 (__PTHREAD_SPIN): Likewise.
13761 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13762 (__PTHREAD_SPIN): Likewise.
13763 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13764 (__PTHREAD_SPIN): Likewise.
13765
de21c33c
AZ
13766 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13767 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13768 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13769 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13770 imply folder.
13771 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13772 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13773 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13774 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13775 correct imply path.
13776 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13777 strlen symbol for non multi-arch builds.
13778 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13779 missing hidden_def and weak_alias.
13780
862c472e
CD
137812014-04-08 Carlos O'Donell <carlos@redhat.com>
13782
13783 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13784
8667f90e
WN
137852014-04-07 Will Newton <will.newton@linaro.org>
13786
13787 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13788 and contents. [!_LIBC] Remove #ifndef and contents.
13789 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
13790 * string/memccpy.c (__memccpy): Use ANSI prototype.
13791 * string/memfrob.c (memfrob): Likewise.
13792 * string/strcoll.c (STRCOLL): Likewise.
13793 * string/strlen.c (strlen): Likewise.
13794 * string/strtok.c (STRTOK): Likewise.
13795 * string/strcat.c: Remove unused #include of memcopy.h.
13796 (strcat): Use ANSI prototype.
13797 * string/strchr.c: Remove unused #include of memcopy.h.
13798 (strchr): Use ANSI prototype.
13799 * string/strcmp.c: Remove unused #include of memcopy.h.
13800 (strcmp): Use ANSI prototype.
13801 * string/strcpy.c: Remove unused #include of memcopy.h.
13802 (strcpy): Use ANSI prototype.
13803
7ffa9423
AZ
138042014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13805
13806 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13807 * config.make.in (config-extra-cppflags): Set it from
13808 libc_extra_cppflags.
13809 * configure.ac (libc_extra_cflags): Make it accumulate over
13810 configure fragments.
13811 (libc_extra_cppflags): New flag.
13812 * configure. Regenerate.
13813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
57f41c40
AS
13814 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13815 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
7ffa9423
AZ
13816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13817
8bd70862
AZ
13818 [BZ #16815]
13819 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13820 result for FE_DOWNWARD rounding mode.
13821 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13822 Likewise.
13823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13824
d42f3448
CM
138252014-04-04 Chris Metcalf <cmetcalf@tilera.com>
13826
13827 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13828 in function argument name.
13829
1c21d115
DS
138302014-04-03 David Svoboda <svoboda@cert.org>
13831
13832 [BZ #5666]
13833 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13834 explicitly.
13835
fcccd512
RM
138362014-04-03 Roland McGrath <roland@hack.frob.com>
13837
13838 * elf/dl-unmap-segments.h: New file.
13839 * sysdeps/generic/ldsodefs.h
13840 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13841 * elf/dl-close.c: Include <dl-unmap-segments.h>.
13842 * elf/dl-fptr.c: Likewise.
13843 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13844 * sysdeps/aarch64/tlsdesc.c: Likewise.
13845 * sysdeps/arm/tlsdesc.c: Likewise.
13846 * sysdeps/i386/tlsdesc.c: Likewise.
13847 * sysdeps/tile/dl-runtime.c: Likewise.
13848 * sysdeps/x86_64/tlsdesc.c: Likewise.
13849 * elf/dl-load.h: New file.
13850 * elf/dl-load.c: Include it.
13851 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13852 Macros moved to dl-load.h.
13853 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13854 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13855 Use _dl_unmap_segments in place of __munmap.
13856 Break out segment-mapping loop into ...
13857 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13858
f6488e2b
WN
138592014-04-03 Will Newton <will.newton@linaro.org>
13860
13861 * elf/dl-lookup.c (do_lookup_x): Remove comment
13862 referring to nested function and move variable
13863 declarations down to before first use.
13864
6f05bafe
JM
138652014-04-02 Joseph Myers <joseph@codesourcery.com>
13866
a84e78c8
JM
13867 [BZ #16799]
13868 [BZ #16800]
13869 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13870 with 0 numerator.
13871 * math/s_catanf.c (__catanf): Likewise.
13872 * math/s_catanh.c (__catanh): Likewise.
13873 * math/s_catanhf.c (__catanhf): Likewise.
13874 * math/s_catanhl.c (__catanhl): Likewise.
13875 * math/s_catanl.c (__catanl): Likewise.
13876 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13877 by positive zero when computing -Inf result.
13878 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13879 (catanh_test): Likewise.
13880 * sysdeps/i386/fpu/libm-test-ulps: Update.
13881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13882
6f05bafe
JM
13883 [BZ #16789]
13884 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13885 instead of using underflowing value in computing result.
13886 * math/s_clog10.c (__clog10): Likewise.
13887 * math/s_clog10f.c (__clog10f): Likewise.
13888 * math/s_clog10l.c (__clog10l): Likewise.
13889 * math/s_clogf.c (__clogf): Likewise.
13890 * math/s_clogl.c (__clogl): Likewise.
13891 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13892 (clog10_test): Likewise.
13893 * sysdeps/i386/fpu/libm-test-ulps: Update.
13894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13895
b0abbc21
AM
138962014-04-02 Alan Modra <amodra@gmail.com>
13897
13898 [BZ #16739]
13899 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13900 output when value is near a power of two. Use int64_t for lx and
13901 remove casts. Use decimal rather than hex exponent constants.
13902 Don't use long double multiplication when double will suffice.
13903 * math/libm-test.inc (nextafter_test_data): Add tests.
13904 * NEWS: Add 16739 and 16786 to bug list.
13905
af6b1797
AM
13906 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13907
483818d7
AM
13908 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13909
f6c55796
WN
139102014-04-01 Will Newton <will.newton@linaro.org>
13911
13912 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13913 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
13914
13f7fe35
FW
139152014-04-01 Florian Weimer <fweimer@redhat.com>
13916
13917 [BZ #13347]
13918 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13919 * nptl/tst-setuid2.c: New file.
13920 * nptl/Makefile (xtests): Add tst-setuid2.
13921
c859b32e
AM
139222014-04-01 Alan Modra <amodra@gmail.com>
13923
13924 [BZ #16786]
13925 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13926
54fa2475
JM
139272014-03-31 Joseph Myers <joseph@codesourcery.com>
13928
8795b4a4
JM
13929 [BZ #6803]
13930 [BZ #6804]
13931 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13932 set errno as appropriate.
13933 * math/w_scalbf.c (__scalbf): Likewise.
13934 * math/w_scalbl.c (__scalbl): Likewise.
13935 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13936 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13937 * math/libm-test.inc (scalb_test_data): Add errno expectations.
13938 Add more NaN tests.
13939
54fa2475
JM
13940 [BZ #16349]
13941 * math/w_atan2.c: Include <errno.h>.
13942 (__atan2): Set errno for result underflowing to zero.
13943 * math/w_atan2f.c: Include <errno.h>.
13944 (__atan2f): Set errno for result underflowing to zero.
13945 * math/w_atan2l.c: Include <errno.h>.
13946 (__atan2l): Set errno for result underflowing to zero.
13947 * math/auto-libm-test-in: Don't allow missing errno for some atan2
13948 tests.
13949 * math/auto-libm-test-out: Regenerated.
13950
757d9dd5
AZ
139512014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13952
13953 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13954 Encode instruction correctly in little endian.
13955 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13956 Likewise.
13957 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13958 Likewise.
13959 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13960 Likewise.
13961 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13962 Likewise.
13963
d7a68734
JM
139642014-03-31 Joseph Myers <joseph@codesourcery.com>
13965
47c5adeb
JM
13966 [BZ #9894]
13967 * sysdeps/unix/sysv/linux/kernel-features.h
13968 [__sparc__ && !__arch64__ && !__sparc_v9__]
13969 (__ASSUME_SET_ROBUST_LIST): Do not define.
13970 [__sparc__ && !__arch64__ && !__sparc_v9__]
13971 (__ASSUME_FUTEX_LOCK_PI): Likewise.
13972 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13973 Likewise.
13974 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13975 (__ASSUME_FUTEX_LOCK_PI): Undefine.
13976 (__ASSUME_REQUEUE_PI): Likewise.
13977 (__ASSUME_SET_ROBUST_LIST): Likewise.
13978 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13979 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13980 Undefine.
13981 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13982 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13983 Likewise.
13984 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13985 Likewise.
13986 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13987 Likewise.
13988 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13989 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13990 Undefine.
13991 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13992 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13993 Likewise.
13994
d7a68734
JM
13995 [BZ #16648]
13996 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13997 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13998 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13999
c760f5c2
WN
140002014-03-31 Will Newton <will.newton@linaro.org>
14001
14002 * benchtests/Makefile (bench): Add ffs and ffsll to list
14003 of tests.
14004 * benchtests/ffs-inputs: New file.
14005 * benchtests/ffsll-inputs: Likewise.
14006
ea6029b1
JM
140072014-03-29 Joseph Myers <joseph@codesourcery.com>
14008
14009 [BZ #16770]
14010 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14011 too large before casting to int.
14012 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14013 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14014 * math/libm-test.inc (scalb_test_data): Add more tests.
14015
cf806aff
SP
140162014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
14017
56737508
SP
14018 * benchtests/Makefile (DETAILED_OPT): New make option.
14019 (bench-func): Run benchmark program with -d if DETAILED_OPT is
14020 set.
14021 * benchtests/bench-skeleton.c: Include stdbool.h.
14022 (main): Store and print timings per input.
14023 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14024 member to each argument value.
14025 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14026 (_print_arg_data): Initialize per-input timing to 0.
14027
cb5e4aad
SP
14028 * benchtests/Makefile (timing-type): New binary.
14029 (bench-clean): Also remove bench-timing-type.
14030 (bench): New target for timing-type.
14031 (bench-func): Print output in JSON format.
14032 * benchtests/bench-skeleton.c (main): Print output in JSON
14033 format.
14034 * benchtests/bench-timing-type.c: New file.
14035 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14036 (TIMING_PRINT_STATS): Remove.
14037 * benchtests/scripts/bench.py (_print_arg_data): Store variant
14038 name separately.
14039
cf806aff
SP
14040 * benchtests/bench-modf.c: Remove.
14041 * benchtests/modf-inputs: New inputs file.
14042
289e0779
JM
140432014-03-28 Joseph Myers <joseph@codesourcery.com>
14044
14045 [BZ #16362]
14046 * math/s_clog10.c (M_PI_LOG10E): New macro.
14047 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14048 imaginary parts are 0.
14049 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14050 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14051 imaginary parts are 0.
14052 * math/s_clog10l.c (M_PI_LOG10El): New macro.
14053 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14054 imaginary parts are 0.
14055 * math/libm-test.inc (clog10_test_data): Update expected results
14056 for when real and imaginary parts are 0.
14057
277ae3f1
PP
140582014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
14059
14060 * elf/dl-load.c: Finish conversion of __builtin_expect into
14061 __glibc_{un}likely.
14062
03a7091f
JM
140632014-03-27 Joseph Myers <joseph@codesourcery.com>
14064
14065 [BZ #16348]
14066 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14067 1+x for argument with exponent below -67.
14068 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14069 Likewise.
14070 * math/auto-libm-test-in: Add more tests of exp.
14071 * math/auto-libm-test-out: Regenerated.
14072
ea7d8b95
SP
140732014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14074
dd3022d7
SP
14075 [BZ #16759]
14076 * inet/getnetgrent_r.c (get_nonempty_val): New function.
14077 (nscd_getnetgrent): Use it.
14078
ea7d8b95
SP
14079 [BZ #16760]
14080 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14081 of stpcpy.
14082
df5b85da
AK
140832014-03-27 Andi Kleen <ak@linux.intel.com>
14084
57f41c40
AS
14085 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14086 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14087 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14088 (lll_robust_unlock): Remove out of line section. Use cfi
14089 intrinsics.
df5b85da 14090 (LLL_STUB_UNWIND_INFO*): Remove.
57f41c40
AS
14091 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14092 (lll_robust_lock, lll_cond_lock, lll_timedlock)
14093 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14094 (lll_robust_unlock): Remove out of line section. Use cfi
14095 intrinsics.
df5b85da
AK
14096 (LLL_STUB_UNWIND_INFO*): Remove.
14097
fbd6b5a4
SP
140982014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14099
14100 [BZ #16758]
14101 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14102 blank values.
14103
1b26b855
PP
141042014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
14105
14106 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14107
9be36fb8
JM
141082014-03-26 Joseph Myers <joseph@codesourcery.com>
14109
14110 [BZ #16198]
14111 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14112 fnstenv.
14113 * math/test-fenv-preserve.c: New file.
14114 * math/Makefile (tests): Add test-fenv-preserve.
14115
60a2f3c1
WN
141162014-03-26 Will Newton <will.newton@linaro.org>
14117
14118 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14119
a5e5f1e2
RM
141202014-03-25 Roland McGrath <roland@hack.frob.com>
14121
14122 * scripts/versionlist.awk: Partition the version sets and emit all
14123 GLIBC_* (sorted) before all others (sorted).
14124
00f4012a
JM
141252014-03-25 Joseph Myers <joseph@codesourcery.com>
14126
14127 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14128 GLIBC_2.2.5 version.
14129
7bc5a741
AZ
141302014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14131
14132 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14133 calls.
14134
7578473b
AZ
14135 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14136 previous change.
14137
f3f1dab3
AZ
14138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14139
6da36183
AS
141402014-03-25 Andreas Schwab <schwab@suse.de>
14141
14142 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14143 label to be used after in6ailist is initialized.
14144
f3f1dab3 141452014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 14146
7578473b 14147 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
14148 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14149
046651c1
JM
141502014-03-25 Joseph Myers <joseph@codesourcery.com>
14151
14152 [BZ #16357]
14153 [BZ #16599]
14154 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14155 min_plus_half.
14156 (fp_formats): Update initializers.
14157 (init_fp_formats): Initialize new field.
14158 (output_for_one_input_case): Allow underflow for results up to
14159 min_plus_half.
14160 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14161 * math/auto-libm-test-in: Don't mark some underflows from asin and
14162 atanh as spurious.
14163 * math/auto-libm-test-out: Regenerated.
14164 * sysdeps/i386/fpu/libm-test-ulps: Update.
14165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14166
003e49ed
AS
141672014-03-25 Andreas Schwab <schwab@suse.de>
14168
14169 * libio/Makefile (tst-ftell-partial-wide-ENV)
14170 (tst-ftell-active-handler-ENV): Define.
14171
de031874
SL
141722014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
14173
14174 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14175
55a81e3b
PP
141762014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14177
14178 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14179
f3426898
JM
141802014-03-24 Joseph Myers <joseph@codesourcery.com>
14181
14182 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14183 * sysdeps/x86_64/fpu/multiarch/e_exp.c
14184 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14185
a42faf59
PP
141862014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
14187
14188 [BZ #16634]
a42faf59 14189 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
14190 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14191 (open_path): Change from boolean 'secure' to complete flag 'mode'
14192 (_dl_map_object): Adjust.
a42faf59
PP
14193 * elf/Makefile (tests): Add tst-dlopen-aout.
14194 * elf/tst-dlopen-aout.c: New test.
14195
50936127
SL
141962014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14197
14198 [BZ #16714]
14199 * sysdeps/unix/sysv/linux/s390/bits/stat.h
14200 (struct stat): Rename member pad0 to __glibc_reserved0.
14201
26011b5c
SL
14202 [BZ #16712]
14203 * sysdeps/s390/s390-32/bits/wordsize.h
14204 (__WORDSIZE32_SIZE_ULONG): New define.
14205 * sysdeps/s390/s390-64/bits/wordsize.h
14206 (__WORDSIZE32_SIZE_ULONG): Likewise.
14207 * sysdeps/generic/stdint.h (SIZE_MAX):
14208 Define as UL if __WORDSIZE32_SIZE_ULONG.
14209
a2d86bf1
SL
14210 [BZ #16713]
14211 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14212 (__glibc_reserved0): New variable.
14213 (sa_flags): Change type to int.
14214
78b6eebc
SL
14215 * posix/Makefile (before-compile): Use += before-compile instead
14216 of a :=.
14217
f1399b5a
SL
14218 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14219 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14220
a071766e
AS
142212014-03-20 Andreas Schwab <schwab@suse.de>
14222
14223 [BZ #16743]
14224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14225 non-matching result from nscd.
14226
27c673b8
SP
142272014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
14228
14229 * scripts/bench.py: Moved to ...
14230 * benchtests/scripts/bench.py: ... here.
14231 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14232
44152e4b
AS
142332014-03-24 Andreas Schwab <schwab@suse.de>
14234
14235 [BZ #16002]
14236 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14237 alloca_account and account alloca use for struct in6ailist.
14238
b376a11a
JM
142392014-03-24 Joseph Myers <joseph@codesourcery.com>
14240
14241 [BZ #16284]
14242 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14243 rounding mode to recompute results that overflow to infinity or
14244 underflow to zero.
14245 * math/auto-libm-test-in: Don't mark tests as expected to fail for
14246 bug 16284.
14247 * math/auto-libm-test-out: Regenerated.
14248 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14249 (ccosh_test): Likewise.
14250 (csin_test_data): Use plus_oflow.
14251 (csin_test): Use ALL_RM_TEST.
14252 (csinh_test_data): Use plus_oflow.
14253 (csinh_test): Use ALL_RM_TEST.
14254 * sysdeps/i386/fpu/libm-test-ulps: Update.
14255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14256
f7be7376
JM
142572014-03-21 Joseph Myers <joseph@codesourcery.com>
14258
1ca2d03e
JM
14259 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14260 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14261 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14262
f7be7376
JM
14263 [BZ #16731]
14264 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14265 when x - 1 is zero.
14266 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14267 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14268 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14269 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14270 argument is 1.
14271 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14272 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14273 zero.
14274 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14275 * sysdeps/i386/fpu/libm-test-ulps: Update.
14276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14277
fdf4534d
SP
142782014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14279
df26ea53
SP
14280 * scripts/bench.pl: Remove file.
14281 * scripts/bench.py: New benchmark script.
14282 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14283 * benchtests/README: Mention python dependency.
14284 * scripts/pylintrc: New file.
14285 * scripts/pylint: New file.
14286
fdf4534d
SP
14287 * bits/mathdef.h: Use #ifdef instead of #if.
14288 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14289 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14290 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14291 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14292 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14293 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14294
6f23d093
AZ
142952014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14296 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14297
14298 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14300 and strpbrk-ppc64 objects.
14301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14302 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14303 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14304 multiarch strpbrk for POWER7.
14305 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14306 multiarch strpbrk for PPC64.
14307 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14308 ifunc selector.
14309 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14310 strpbrk for POWER7.
14311
8c92dfff
JM
143122014-03-20 Joseph Myers <joseph@codesourcery.com>
14313
14314 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14315 (atan_test): Likewise.
14316 (atanh_test_data): Use NO_TEST_INLINE for two tests.
14317 (atanh_test): Use ALL_RM_TEST.
14318 (atan2_test_data): Likewise.
14319 (cabs_test): Likewise.
14320 (cacosh_test): Likewise.
14321 (carg_test): Likewise.
14322 (casin_test): Likewise.
14323 (casinh_test): Likewise.
14324 (cbrt_test): Likewise.
14325 (csqrt_test): Likewise.
14326 (erf_test): Likewise.
14327 (erfc_test): Likewise.
14328 (pow10_test): Likewise.
14329 (exp2_test): Likewise.
14330 (hypot_test): Likewise.
14331 (j0_test): Likewise.
14332 (j1_test): Likewise.
14333 (lgamma_test): Likewise.
14334 (gamma_test): Likewise.
14335 (sincos_test): Likewise.
14336 (tanh_test): Likewise.
14337 (y0_test): Likewise.
14338 (y1_test): Likewise.
14339 * sysdeps/i386/fpu/libm-test-ulps: Update.
14340 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14341
6eaf95cb
AZ
143422014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14343
a387428c
SP
14344 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14345 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
14346 and strcspn-ppc64 objects.
14347 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14348 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14349 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14350 multiarch strcspn for POWER7.
14351 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14352 multiarch strcspn for PPC64.
14353 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14354 ifunc selector.
14355 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14356 strcspn for POWER7.
14357
ae3a5dff
JM
143582014-03-20 Joseph Myers <joseph@codesourcery.com>
14359
14360 * math/gen-libm-test.pl (generate_testfile): Expect only function
14361 name as argument to AUTO_TESTS_* and pass results for all rounding
14362 modes to parse_args.
14363 (parse_auto_input): Separate inputs of automatic tests from
14364 outputs before storing in %auto_tests.
14365 * math/libm-test.inc (acos_test_data): Update call to
14366 AUTO_TESTS_f_f.
14367 (acos_test): Use ALL_RM_TEST.
14368 (acos_tonearest_test_data): Remove.
14369 (acos_test_tonearest): Likewise.
14370 (acos_towardzero_test_data): Likewise.
14371 (acos_test_towardzero): Likewise.
14372 (acos_downward_test_data): Likewise.
14373 (acos_test_downward): Likewise.
14374 (acos_upward_test_data): Likewise.
14375 (acos_test_upward): Likewise.
14376 (acosh_test_data): Update call to AUTO_TESTS_f_f.
14377 (asin_test_data): Likewise.
14378 (asin_test): Use ALL_RM_TEST.
14379 (asin_tonearest_test_data): Remove.
14380 (asin_test_tonearest): Likewise.
14381 (asin_towardzero_test_data): Likewise.
14382 (asin_test_towardzero): Likewise.
14383 (asin_downward_test_data): Likewise.
14384 (asin_test_downward): Likewise.
14385 (asin_upward_test_data): Likewise.
14386 (asin_test_upward): Likewise.
14387 (asinh_test_data): Update call to AUTO_TESTS_f_f.
14388 (atan_test_data): Likewise.
14389 (atanh_test_data): Likewise.
14390 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14391 (cabs_test_data): Update call to AUTO_TESTS_c_f.
14392 (carg_test_data): Likewise.
14393 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14394 (ccos_test_data): Update call to AUTO_TESTS_c_c.
14395 (ccosh_test_data): Likewise.
14396 (cexp_test_data): Likewise.
14397 (clog_test_data): Likewise.
14398 (clog10_test_data): Likewise.
14399 (cos_test_data): Update call to AUTO_TESTS_f_f.
14400 (cos_test): Use ALL_RM_TEST.
14401 (cos_tonearest_test_data): Remove.
14402 (cos_test_tonearest): Likewise.
14403 (cos_towardzero_test_data): Likewise.
14404 (cos_test_towardzero): Likewise.
14405 (cos_downward_test_data): Likewise.
14406 (cos_test_downward): Likewise.
14407 (cos_upward_test_data): Likewise.
14408 (cos_test_upward): Likewise.
14409 (cosh_test_data): Update call to AUTO_TESTS_f_f.
14410 (cosh_test): Use ALL_RM_TEST.
14411 (cosh_tonearest_test_data): Remove.
14412 (cosh_test_tonearest): Likewise.
14413 (cosh_towardzero_test_data): Likewise.
14414 (cosh_test_towardzero): Likewise.
14415 (cosh_downward_test_data): Likewise.
14416 (cosh_test_downward): Likewise.
14417 (cosh_upward_test_data): Likewise.
14418 (cosh_test_upward): Likewise.
14419 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14420 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14421 (ctan_test_data): Likewise.
14422 (ctan_test): Use ALL_RM_TEST.
14423 (ctan_tonearest_test_data): Remove.
14424 (ctan_test_tonearest): Likewise.
14425 (ctan_towardzero_test_data): Likewise.
14426 (ctan_test_towardzero): Likewise.
14427 (ctan_downward_test_data): Likewise.
14428 (ctan_test_downward): Likewise.
14429 (ctan_upward_test_data): Likewise.
14430 (ctan_test_upward): Likewise.
14431 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14432 (ctanh_test): Use ALL_RM_TEST.
14433 (ctanh_tonearest_test_data): Remove.
14434 (ctanh_test_tonearest): Likewise.
14435 (ctanh_towardzero_test_data): Likewise.
14436 (ctanh_test_towardzero): Likewise.
14437 (ctanh_downward_test_data): Likewise.
14438 (ctanh_test_downward): Likewise.
14439 (ctanh_upward_test_data): Likewise.
14440 (ctanh_test_upward): Likewise.
14441 (erf_test_data): Update call to AUTO_TESTS_f_f.
14442 (erfc_test_data): Likewise.
14443 (exp_test_data): Likewise.
14444 (exp_test): Use ALL_RM_TEST.
14445 (exp_tonearest_test_data): Remove.
14446 (exp_test_tonearest): Likewise.
14447 (exp_towardzero_test_data): Likewise.
14448 (exp_test_towardzero): Likewise.
14449 (exp_downward_test_data): Likewise.
14450 (exp_test_downward): Likewise.
14451 (exp_upward_test_data): Likewise.
14452 (exp_test_upward): Likewise.
14453 (exp10_test_data): Update call to AUTO_TESTS_f_f.
14454 (exp10_test): Use ALL_RM_TEST.
14455 (exp10_tonearest_test_data): Remove.
14456 (exp10_test_tonearest): Likewise.
14457 (exp10_towardzero_test_data): Likewise.
14458 (exp10_test_towardzero): Likewise.
14459 (exp10_downward_test_data): Likewise.
14460 (exp10_test_downward): Likewise.
14461 (exp10_upward_test_data): Likewise.
14462 (exp10_test_upward): Likewise.
14463 (exp2_test_data): Update call to AUTO_TESTS_f_f.
14464 (expm1_test_data): Likewise.
14465 (expm1_test): Use ALL_RM_TEST.
14466 (expm1_tonearest_test_data): Remove.
14467 (expm1_test_tonearest): Likewise.
14468 (expm1_towardzero_test_data): Likewise.
14469 (expm1_test_towardzero): Likewise.
14470 (expm1_downward_test_data): Likewise.
14471 (expm1_test_downward): Likewise.
14472 (expm1_upward_test_data): Likewise.
14473 (expm1_test_upward): Likewise.
14474 (fma_test_data): Update call to AUTO_TESTS_fff_f.
14475 (fma_test): Use ALL_RM_TEST.
14476 (fma_towardzero_test_data): Remove.
14477 (fma_test_towardzero): Likewise.
14478 (fma_downward_test_data): Likewise.
14479 (fma_test_downward): Likewise.
14480 (fma_upward_test_data): Likewise.
14481 (fma_test_upward): Likewise.
14482 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14483 (j0_test_data): Update call to AUTO_TESTS_f_f.
14484 (j1_test_data): Likewise.
14485 (jn_test_data): Update call to AUTO_TESTS_if_f.
14486 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14487 (log_test_data): Update call to AUTO_TESTS_f_f.
14488 (log10_test_data): Likewise.
14489 (log1p_test_data): Likewise.
14490 (log2_test_data): Likewise.
14491 (pow_test_data): Update call to AUTO_TESTS_ff_f.
14492 (pow_tonearest_test_data): Likewise.
14493 (sin_test_data): Update call to AUTO_TESTS_f_f.
14494 (sin_test): Use ALL_RM_TEST.
14495 (sin_tonearest_test_data): Remove.
14496 (sin_test_tonearest): Likewise.
14497 (sin_towardzero_test_data): Likewise.
14498 (sin_test_towardzero): Likewise.
14499 (sin_downward_test_data): Likewise.
14500 (sin_test_downward): Likewise.
14501 (sin_upward_test_data): Likewise.
14502 (sin_test_upward): Likewise.
14503 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14504 (sinh_test_data): Update call to AUTO_TESTS_f_f.
14505 (sinh_test): Use ALL_RM_TEST.
14506 (sinh_tonearest_test_data): Remove.
14507 (sinh_test_tonearest): Likewise.
14508 (sinh_towardzero_test_data): Likewise.
14509 (sinh_test_towardzero): Likewise.
14510 (sinh_downward_test_data): Likewise.
14511 (sinh_test_downward): Likewise.
14512 (sinh_upward_test_data): Likewise.
14513 (sinh_test_upward): Likewise.
14514 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14515 (sqrt_test): Use ALL_RM_TEST.
14516 (sqrt_tonearest_test_data): Remove.
14517 (sqrt_test_tonearest): Likewise.
14518 (sqrt_towardzero_test_data): Likewise.
14519 (sqrt_test_towardzero): Likewise.
14520 (sqrt_downward_test_data): Likewise.
14521 (sqrt_test_downward): Likewise.
14522 (sqrt_upward_test_data): Likewise.
14523 (sqrt_test_upward): Likewise.
14524 (tan_test_data): Update call to AUTO_TESTS_f_f.
14525 (tan_test): Use ALL_RM_TEST.
14526 (tan_tonearest_test_data): Remove.
14527 (tan_test_tonearest): Likewise.
14528 (tan_towardzero_test_data): Likewise.
14529 (tan_test_towardzero): Likewise.
14530 (tan_downward_test_data): Likewise.
14531 (tan_test_downward): Likewise.
14532 (tan_upward_test_data): Likewise.
14533 (tan_test_upward): Likewise.
14534 (tanh_test_data): Update call to AUTO_TESTS_f_f.
14535 (tgamma_test_data): Likewise.
14536 (y0_test_data): Likewise.
14537 (y1_test_data): Likewise.
14538 (yn_test_data): Update call to AUTO_TESTS_if_f.
14539 (main): Do not call removed functions.
14540
d71aeee8
JM
145412014-03-19 Joseph Myers <joseph@codesourcery.com>
14542
14543 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14544 (ldexp_test_data): Remove.
14545 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
14546 scalbn_test_data.
14547 (scalb_test): Use ALL_RM_TEST.
14548
baaf1ded
AS
145492014-03-19 Andreas Schwab <schwab@suse.de>
14550
14551 * nscd/nscd.service: Also invalidate netgroup cache on reload.
14552
b1115e91
JM
145532014-03-19 Joseph Myers <joseph@codesourcery.com>
14554
14555 [BZ #16649]
14556 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14557 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14558 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14559 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14560 (__ASSUME_PREADV): Undefine.
14561 (__ASSUME_PWRITEV): Likewise.
14562
0283ecca
RM
145632014-03-18 Roland McGrath <roland@hack.frob.com>
14564
7d375303
RM
14565 * bits/mman-linux.h: Add comment about non-Linux use.
14566 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14567 bits/mman-linux.h resting place.
14568
0283ecca
RM
14569 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14570 * bits/mman-linux.h: ... here.
14571
aebe1003
AZ
145722014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14573
14574 * conform/conformtest.pl: Add standard definition when calling C
14575 preprocessor on data files.
14576 (checknamespace): Remove unused variable.
14577
b29b6bb8
JM
145782014-03-18 Joseph Myers <joseph@codesourcery.com>
14579
14580 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14581 minus_oflow, plus_uflow and minus_uflow in expected results.
14582 * math/libm-test.inc (scalbn_test_data): Add more tests of
14583 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
14584 minus_uflow.
14585 (scalbn_test): Use ALL_RM_TEST.
14586 (scalbln_test_data): Add more tests of negative arguments. Use
14587 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14588 (scalbln_test): Use ALL_RM_TEST.
14589
c8f8fa15
RM
145902014-03-18 Roland McGrath <roland@hack.frob.com>
14591
14592 * scripts/abilist.awk: Ignore symbols marked with .hidden.
14593
fede7a5f
WN
145942014-03-18 Will Newton <will.newton@linaro.org>
14595
14596 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14597 inaccurate comment.
14598
80cf0a58
JM
145992014-03-18 Joseph Myers <joseph@codesourcery.com>
14600
14601 * Makerules [!subdir] (check-abi): Exit with error status if a
14602 test failed.
14603
b3620862
JM
146042014-03-17 Joseph Myers <joseph@codesourcery.com>
14605
14606 * math/libm-test.inc (nearbyint_test_data): Include all tests used
14607 for rint. Include results for all rounding modes.
14608 (nearbyint_test): Use ALL_RM_TEST.
14609 (rint_test_data): Include all tests used for nearbyint.
14610
788bba36
WN
146112014-03-17 Will Newton <will.newton@linaro.org>
14612
04ec140a
WN
14613 * nptl/sysdeps/pthread/pthread.h: Revert previous
14614 change.
14615
7579d8d5
WN
14616 * sysdeps/generic/ldsodefs.h: Revert previous
14617 change.
14618
c15cf13a
WN
14619 * libio/genops.c: Revert previous change.
14620 * libio/libioP.h: Likewise.
14621 * stdio-common/vfprintf.c: Likewise.
14622
d0ac1324
WN
14623 * sysdeps/generic/math_private.h: Revert previous
14624 change.
14625
9290130a
WN
14626 * sysdeps/generic/math_private.h: Check whether
14627 HAVE_RM_CTX is defined with #ifdef rather
14628 than #if.
14629
afb466fc
WN
14630 * argp/argp-fmtstream.h: Check whether
14631 __STRICT_ANSI__ is defined with #ifdef rather
14632 than #if.
14633 * argp/argp.h: Likewise.
14634
f7efd7c3
WN
14635 * libio/genops.c: Check whether
14636 _IO_JUMPS_OFFSET is defined with #ifdef rather
14637 than #if.
14638 * libio/libioP.h: Likewise.
14639 * stdio-common/vfprintf.c: Likewise.
14640
53f1bed3
WN
14641 * sysdeps/generic/ldsodefs.h: Check whether
14642 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14643 than #if.
14644
788bba36
WN
14645 * nptl/sysdeps/pthread/pthread.h: Check
14646 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14647 its value.
14648
fcd89ebe
SP
146492014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
14650
ae42bbc5
SP
14651 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14652 setting O_APPEND.
14653 * libio/tst-ftell-active-handler.c (do_append_test): Add a
14654 test case.
14655
ea33158c
SP
14656 [BZ #16680]
14657 * libio/fileops.c (_IO_file_open): Seek to end of file but
14658 don't cache the offset.
14659 (get_file_offset): Remove function.
14660 (do_ftell): Use cached offset when available.
14661 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14662 don't cache the offset.
14663 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14664 case.
14665 (do_one_test): Call it.
14666 (do_ftell_test): Fix up expected old offset for a+ mode.
14667 * libio/wfileops.c (do_ftell_wide): Used cached offset when
14668 available.
14669
b1dbb426
SP
14670 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14671 up test status with function return status.
14672 (do_write_test): Likewise.
14673 (do_append_test): Likewise.
14674
fcd89ebe
SP
14675 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14676 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14677 Remove.
14678
9962a2d3
JM
146792014-03-17 Joseph Myers <joseph@codesourcery.com>
14680
14681 * math/gen-libm-test.pl (parse_args): Handle results specified for
14682 each rounding mode separately.
14683 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14684 tests and results from lrint_tonearest_test_data,
14685 lrint_towardzero_test_data, lrint_downward_test_data and
14686 lrint_upward_test_data.
14687 (lrint_test): Use ALL_RM_TEST.
14688 (lrint_tonearest_test_data): Remove.
14689 (lrint_test_tonearest): Likewise.
14690 (lrint_towardzero_test_data): Likewise.
14691 (lrint_test_towardzero): Likewise.
14692 (lrint_downward_test_data): Likewise.
14693 (lrint_test_downward): Likewise.
14694 (lrint_upward_test_data): Likewise.
14695 (lrint_test_upward): Likewise.
14696 (llrint_test_data): Merge in per-rounding-mode tests and results
14697 from llrint_tonearest_test_data, llrint_towardzero_test_data,
14698 llrint_downward_test_data and llrint_upward_test_data.
14699 (llrint_test): Use ALL_RM_TEST.
14700 (llrint_tonearest_test_data): Remove.
14701 (llrint_test_tonearest): Likewise.
14702 (llrint_towardzero_test_data): Likewise.
14703 (llrint_test_towardzero): Likewise.
14704 (llrint_downward_test_data): Likewise.
14705 (llrint_test_downward): Likewise.
14706 (llrint_upward_test_data): Likewise.
14707 (llrint_test_upward): Likewise.
14708 (rint_test_data): Merge in per-rounding-mode tests and results
14709 from rint_tonearest_test_data, rint_towardzero_test_data,
14710 rint_downward_test_data and rint_upward_test_data. Add
14711 per-rounding-mode results for tests not in those arrays.
14712 (rint_test): Use ALL_RM_TEST.
14713 (rint_tonearest_test_data): Remove.
14714 (rint_test_tonearest): Likewise.
14715 (rint_towardzero_test_data): Likewise.
14716 (rint_test_towardzero): Likewise.
14717 (rint_downward_test_data): Likewise.
14718 (rint_test_downward): Likewise.
14719 (rint_upward_test_data): Likewise.
14720 (rint_test_upward): Likewise.
14721 (main): Don't call removed functions.
14722
5006148e
RM
147232014-03-14 Roland McGrath <roland@hack.frob.com>
14724
14725 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14726 "Compiled on ..." crapola. It is anti-useful.
14727
d6fe5e58
JM
147282014-03-14 Joseph Myers <joseph@codesourcery.com>
14729
14730 * scripts/evaluate-test.sh: Handle fourth argument to determine
14731 whether test run should stop on failure.
14732 * Makeconfig (stop-on-test-failure): New variable.
14733 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14734 $(stop-on-test-failure).
14735 * Makefile (tests): Give a summary of results from testing and
14736 exit with failure status if they include an ERROR or FAIL.
14737 (xtests): Likewise.
14738 * manual/install.texi (Configuring and compiling): Mention
14739 stop-on-test-failure=y.
14740 * INSTALL: Regenerated.
14741
498a2233
RM
147422014-03-14 Roland McGrath <roland@hack.frob.com>
14743
22dbc19d
RM
14744 * scripts/versionlist.awk: New file.
14745 * Makerules [$(build-shared) = yes]
14746 (postclean-generated): Add Versions.def, not Versions.def.v and
14747 Versions.def.v.i.
14748 ($(common-objpfx)Versions.def.v.i): Target removed.
14749 ($(common-objpfx)Versions.def): New target.
14750 ($(common-objpfx)Versions.all): Depend on that rather that
14751 $(common-objpfx)Versions.def.v.
14752 * Versions.def: File removed.
14753
498a2233
RM
14754 * Makeconfig (+gccwarn): Add -Wundef.
14755 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14756 a dl-sysdep.h breaking its contract.
14757 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14758 * include/stackinfo.h: New file.
14759 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14760 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14761 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14762 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14763 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14764 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14765 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14766 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14767 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14768 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14769 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14770 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14771 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14772 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14773 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14774
c7de5025
AZ
147752014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14776
14777 [BZ #16707]
14778 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14779 implementation.
14780 * math/libm-test.inc (round_test_data): Add more tests.
14781
98fb27a3
AZ
14782 [BZ #16706]
14783 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14784 implementation.
14785 * math/libm-test.inc (nearbyint_test_data): Add more tests.
14786
374f7f61
AZ
14787 [BZ #16701]
14788 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14789 implementation.
14790 * math/libm-test.inc (ceil_test_data): Add more tests.
14791
4655c291
AZ
14792 * math/libm-test.inc (trunc_test_data): Add more tests related to
14793 BZ#16414.
14794
d7329d4b
RM
147952014-03-14 Roland McGrath <roland@hack.frob.com>
14796
14797 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14798 with #if rather than #ifdef.
14799 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14800
aa4de9ce
L
148012014-03-14 H.J. Lu <hongjiu.lu@intel.com>
14802
14803 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14804 first. Disable AVX-512 GCC support if assembler doesn't support
14805 it.
14806 * sysdeps/x86_64/configure: Regenerated.
14807
2e03fae7
CD
148082014-03-13 Carlos O'Donell <carlos@redhat.com>
14809
14810 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14811 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14812 (__old_pthread_attr_setstack): Likewise.
14813 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14814 [!_STACK_GROWS_DOWN]: Likewise.
14815
43ca83ec
MF
148162014-03-13 Mike Frysinger <vapier@gentoo.org>
14817
14818 * config.make.in (have-bash2): Delete.
14819 * configure.ac (libc_cv_have_bash2): Delete.
14820 * configure: Regenerate.
14821 * elf/Makefile (common-ldd-rewrite): Rename to ...
14822 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
14823 (sh-ldd-rewrite): Delete.
14824 (bash-ldd-rewrite): Delete.
14825 (have-bash2): Delete checks.
57f41c40
AS
14826 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14827 ldd-rewrite.
c66e48b4
MF
14828
14829 * config.make.in (have-ksh): Delete.
14830 (KSH): Delete.
14831 * configure.ac (libc_cv_have_ksh): Delete.
14832 * configure: Regenerate.
14833
b93834ef
MF
14834 * elf/Makefile: Delete $(have-ksh) check.
14835 ($(objpfx)sotruss): Change KSH to BASH.
14836 * elf/sotruss.ksh: Rename to ...
14837 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
14838 function style to match POSIX. Drop ksh vim mode setting.
14839
f3a4632a
MF
14840 * manual/time.texi (Specifying the Time Zone with TZ): Change
14841 Tuesday to Thursday.
14842
5896c8bd
MF
14843 * debug/tst-longjmp_chk2.c: Update header comment.
14844 (stackoverflow_handler): Add comment. Call assert on pass value.
14845
2d63a517
IZ
148462014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
14847
7e54fd04 14848 [BZ #16194]
2d63a517
IZ
14849 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14850 (HAVE_AVX512_ASM_SUPPORT): Likewise.
14851 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14852 (La_x86_64_vector): Add zmm.
14853 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14854 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14855 ($(objpfx)tst-audit10): New target.
14856 ($(objpfx)tst-audit10.out): Likewise.
14857 (tst-audit10-ENV): New.
14858 (AVX512-CFLAGS): Likewise.
14859 (CFLAGS-tst-audit10.c): Likewise.
14860 (CFLAGS-tst-auditmod10a.c): Likewise.
14861 (CFLAGS-tst-auditmod10b.c): Likewise.
14862 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14863 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14864 * sysdeps/x86_64/configure: Regenerated.
14865 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14866 AVX-512 zmm register support.
14867 (_dl_x86_64_save_sse): Likewise.
14868 (_dl_x86_64_restore_sse): Likewise.
14869 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14870 size vector registers.
14871 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14872 (ZMM_SIZE): Likewise.
14873 * sysdeps/x86_64/tst-audit10.c: New file.
14874 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14875 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14876
44c4e5d5
RM
148772014-03-13 Roland McGrath <roland@hack.frob.com>
14878
14879 * configure.ac (HAVE_EHDR_START): New check.
14880 * configure: Regenerated.
14881 * config.h.in (HAVE_EHDR_START): New #undef.
14882 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14883 assuming the lowest-addressed segment maps the start of the file.
14884
acd6e389
JM
148852014-03-13 Joseph Myers <joseph@codesourcery.com>
14886
14887 * INSTALL: Regenerated.
14888
6f918f36
WN
148892014-03-13 Will Newton <will.newton@linaro.org>
14890
14891 * manual/setjmp.texi (System V contexts): Improve
14892 clarity and grammar of documentation.
14893
798212a0
PP
148942014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
14895
14896 [BZ #16381]
798212a0 14897 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 14898 (tests-pie): Add tst-pie2.
798212a0
PP
14899 * elf/tst-pie2.c: New file.
14900 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14901 for ET_EXEC.
14902 * elf/rtld.c (map_doit): Load executable as lt_executable.
14903 (dl_main): Likewise.
14904
abe6d90c
JM
149052014-03-12 Joseph Myers <joseph@codesourcery.com>
14906
14907 [BZ #16642]
14908 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14909 (__ASSUME_PSELECT): Undefine.
14910
dd3946c6
AZ
149112014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14912
14913 [BZ #16689]
14914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14915 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14916 static build.
14917 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14918 selector for static builds.
14919
c44496df
SP
149202014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
14921
14922 [BZ #16695]
14923 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14924 key in the buffer.
14925
27c7220a
AZ
149262014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14927
57f41c40
AS
14928 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14929 IFUNC selector for static builds.
27c7220a 14930
600fa361
JM
149312014-03-11 Joseph Myers <joseph@codesourcery.com>
14932
76c96cf7
JM
14933 * sysdeps/mips/math_private.h [__mips_hard_float]
14934 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14935 libc_feresetround_mips_ctx.
14936 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14937 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14938 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14939
600fa361
JM
14940 [BZ #16677]
14941 * math/s_nextafter.c (__nextafter): Do not return value from
14942 overflowing computation.
14943 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14944 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14945 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14946 Likewise.
14947 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14948 Likewise.
14949 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14950 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14951
d7706c32
RM
149522014-03-11 Roland McGrath <roland@hack.frob.com>
14953
14954 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14955 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14956 Move sfi_sp use from the load-multiple (that no longer sets sp) to
14957 the new mov targetting sp.
14958
4facea47
AZ
149592014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14960
14961 [BZ #16683]
14962 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14963 Define it for static builds as well.
14964 (NO_BZERO_IMPL): Likewise.
14965
e65caf1f
VR
149662014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14967
14968 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14969 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14970 multiarch strspn for PPC64.
14971 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14972 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14973 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14974 (__libc_ifunc_impl_list): Likewise.
14975 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14976 multiarch optimizations
14977 * string/strspn.c (strspn): Using macro to redefine symbol name.
14978
ba9cc071
AZ
149792014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
14980 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14981
14982 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14983 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14984 multiarch strncat for PPC64.
14985 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14986 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14987 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14988 (__libc_ifunc_impl_list): Likewise.
14989 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14990 multiarch optimizations
14991
8b4ff974
SP
149922014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14993
14994 [BZ #16639]
14995 * nscd/nscd.service: Make service type forking.
14996
54b46a4b
AZ
149972014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14998
14999 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15000 sign in non default rounding modes.
15001 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15002
e9996ef7
JM
150032014-03-08 Joseph Myers <joseph@codesourcery.com>
15004
15005 * math/libm-test.inc (ALL_RM_TEST): New macro.
15006 (ceil_test): Use ALL_RM_TEST.
15007 (cimag_test): Likewise.
15008 (conj_test): Likewise.
15009 (copysign_test): Likewise.
15010 (cproj_test): Likewise.
15011 (creal_test): Likewise.
15012 (fabs_test): Likewise.
15013 (floor_test): Likewise.
15014 (fmax_test): Likewise.
15015 (fmin_test): Likewise.
15016 (fmod_test): Likewise.
15017 (fpclassify_test): Likewise.
15018 (frexp_test): Likewise.
15019 (ilogb_test): Likewise.
15020 (isfinite_test): Likewise.
15021 (finite_test): Likewise.
15022 (isgreater_test): Likewise.
15023 (isgreaterequal_test): Likewise.
15024 (isinf_test): Likewise.
15025 (isless_test): Likewise.
15026 (islessequal_test): Likewise.
15027 (islessgreater_test): Likewise.
15028 (isnan_test): Likewise.
15029 (isnormal_test): Likewise.
15030 (issignaling_test): Likewise.
15031 (isunordered_test): Likewise.
15032 (logb_test): Likewise.
15033 (logb_downward_test_data): Remove.
15034 (logb_test_downward): Likewise.
15035 (lround_test): Use ALL_RM_TEST.
15036 (llround_test): Likewise.
15037 (modf_test): Likewise.
15038 (nexttoward_test): Likewise.
15039 (remainder_test): Likewise.
15040 (drem_test): Likewise.
15041 (remainder_tonearest_test_data): Likewise.
15042 (remainder_test_tonearest): Likewise.
15043 (drem_test_tonearest): Likewise.
15044 (remainder_towardzero_test_data): Likewise.
15045 (remainder_test_towardzero): Likewise.
15046 (drem_test_towardzero): Likewise.
15047 (remainder_downward_test_data): Likewise.
15048 (remainder_test_downward): Likewise.
15049 (drem_test_downward): Likewise.
15050 (remainder_upward_test_data): Likewise.
15051 (remainder_test_upward): Likewise.
15052 (drem_test_upward): Likewise.
15053 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
15054 (round_test): Use ALL_RM_TEST.
15055 (signbit_test): Likewise.
15056 (trunc_test): Likewise.
15057 (significand_test): Likewise.
15058 (main): Don't call removed functions.
15059
bc61d27c
JM
150602014-03-07 Joseph Myers <joseph@codesourcery.com>
15061
5c780849
JM
15062 [BZ #16674]
15063 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15064 || __USE_XOPEN2K8].
15065 (ILL_ILLOPN): Likewise.
15066 (ILL_ILLADR): Likewise.
15067 (ILL_ILLTRP): Likewise.
15068 (ILL_PRVOPC): Likewise.
15069 (ILL_PRVREG): Likewise.
15070 (ILL_COPROC): Likewise.
15071 (ILL_BADSTK): Likewise.
15072 (FPE_INTDIV): Likewise.
15073 (FPE_INTOVF): Likewise.
15074 (FPE_FLTDIV): Likewise.
15075 (FPE_FLTOVF): Likewise.
15076 (FPE_FLTUND): Likewise.
15077 (FPE_FLTRES): Likewise.
15078 (FPE_FLTINV): Likewise.
15079 (FPE_FLTSUB): Likewise.
15080 (SEGV_MAPERR): Likewise.
15081 (SEGV_ACCERR): Likewise.
15082 (BUS_ADRALN): Likewise.
15083 (BUS_ADRERR): Likewise.
15084 (BUS_OBJERR): Likewise.
15085 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15086 (TRAP_TRACE): Likewise.
15087 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15088 __USE_XOPEN2K8].
15089 (CLD_KILLED): Likewise.
15090 (CLD_DUMPED): Likewise.
15091 (CLD_TRAPPED): Likewise.
15092 (CLD_STOPPED): Likewise.
15093 (CLD_CONTINUED): Likewise.
15094 (POLL_IN): Likewise.
15095 (POLL_OUT): Likewise.
15096 (POLL_MSG): Likewise.
15097 (POLL_ERR): Likewise.
15098 (POLL_PRI): Likewise.
15099 (POLL_HUP): Likewise.
15100 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15101 Likewise.
15102 (ILL_ILLOPN): Likewise.
15103 (ILL_ILLADR): Likewise.
15104 (ILL_ILLTRP): Likewise.
15105 (ILL_PRVOPC): Likewise.
15106 (ILL_PRVREG): Likewise.
15107 (ILL_COPROC): Likewise.
15108 (ILL_BADSTK): Likewise.
15109 (FPE_INTDIV): Likewise.
15110 (FPE_INTOVF): Likewise.
15111 (FPE_FLTDIV): Likewise.
15112 (FPE_FLTOVF): Likewise.
15113 (FPE_FLTUND): Likewise.
15114 (FPE_FLTRES): Likewise.
15115 (FPE_FLTINV): Likewise.
15116 (FPE_FLTSUB): Likewise.
15117 (SEGV_MAPERR): Likewise.
15118 (SEGV_ACCERR): Likewise.
15119 (BUS_ADRALN): Likewise.
15120 (BUS_ADRERR): Likewise.
15121 (BUS_OBJERR): Likewise.
15122 (BUS_MCEERR_AR): Likewise.
15123 (BUS_MCEERR_AO): Likewise.
15124 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15125 (TRAP_TRACE): Likewise.
15126 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15127 __USE_XOPEN2K8].
15128 (CLD_KILLED): Likewise.
15129 (CLD_DUMPED): Likewise.
15130 (CLD_TRAPPED): Likewise.
15131 (CLD_STOPPED): Likewise.
15132 (CLD_CONTINUED): Likewise.
15133 (POLL_IN): Likewise.
15134 (POLL_OUT): Likewise.
15135 (POLL_MSG): Likewise.
15136 (POLL_ERR): Likewise.
15137 (POLL_PRI): Likewise.
15138 (POLL_HUP): Likewise.
15139 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15140 (ILL_ILLOPN): Likewise.
15141 (ILL_ILLADR): Likewise.
15142 (ILL_ILLTRP): Likewise.
15143 (ILL_PRVOPC): Likewise.
15144 (ILL_PRVREG): Likewise.
15145 (ILL_COPROC): Likewise.
15146 (ILL_BADSTK): Likewise.
15147 (FPE_INTDIV): Likewise.
15148 (FPE_INTOVF): Likewise.
15149 (FPE_FLTDIV): Likewise.
15150 (FPE_FLTOVF): Likewise.
15151 (FPE_FLTUND): Likewise.
15152 (FPE_FLTRES): Likewise.
15153 (FPE_FLTINV): Likewise.
15154 (FPE_FLTSUB): Likewise.
15155 (SEGV_MAPERR): Likewise.
15156 (SEGV_ACCERR): Likewise.
15157 (BUS_ADRALN): Likewise.
15158 (BUS_ADRERR): Likewise.
15159 (BUS_OBJERR): Likewise.
15160 (BUS_MCEERR_AR): Likewise.
15161 (BUS_MCEERR_AO): Likewise.
15162 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15163 (TRAP_TRACE): Likewise.
15164 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15165 __USE_XOPEN2K8].
15166 (CLD_KILLED): Likewise.
15167 (CLD_DUMPED): Likewise.
15168 (CLD_TRAPPED): Likewise.
15169 (CLD_STOPPED): Likewise.
15170 (CLD_CONTINUED): Likewise.
15171 (POLL_IN): Likewise.
15172 (POLL_OUT): Likewise.
15173 (POLL_MSG): Likewise.
15174 (POLL_ERR): Likewise.
15175 (POLL_PRI): Likewise.
15176 (POLL_HUP): Likewise.
15177 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15178 Likewise.
15179 (ILL_ILLOPN): Likewise.
15180 (ILL_ILLADR): Likewise.
15181 (ILL_ILLTRP): Likewise.
15182 (ILL_PRVOPC): Likewise.
15183 (ILL_PRVREG): Likewise.
15184 (ILL_COPROC): Likewise.
15185 (ILL_BADSTK): Likewise.
15186 (ILL_BADIADDR): Likewise.
15187 (ILL_BREAK): Likewise.
15188 (FPE_INTDIV): Likewise.
15189 (FPE_INTOVF): Likewise.
15190 (FPE_FLTDIV): Likewise.
15191 (FPE_FLTOVF): Likewise.
15192 (FPE_FLTUND): Likewise.
15193 (FPE_FLTRES): Likewise.
15194 (FPE_FLTINV): Likewise.
15195 (FPE_FLTSUB): Likewise.
15196 (FPE_DECOVF): Likewise.
15197 (FPE_DECDIV): Likewise.
15198 (FPE_DECERR): Likewise.
15199 (FPE_INVASC): Likewise.
15200 (FPE_INVDEC): Likewise.
15201 (SEGV_MAPERR): Likewise.
15202 (SEGV_ACCERR): Likewise.
15203 (SEGV_PSTKOVF): Likewise.
15204 (BUS_ADRALN): Likewise.
15205 (BUS_ADRERR): Likewise.
15206 (BUS_OBJERR): Likewise.
15207 (BUS_MCEERR_AR): Likewise.
15208 (BUS_MCEERR_AO): Likewise.
15209 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15210 (TRAP_TRACE): Likewise.
15211 (TRAP_BRANCH): Likewise.
15212 (TRAP_HWBKPT): Likewise.
15213 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15214 __USE_XOPEN2K8].
15215 (CLD_KILLED): Likewise.
15216 (CLD_DUMPED): Likewise.
15217 (CLD_TRAPPED): Likewise.
15218 (CLD_STOPPED): Likewise.
15219 (CLD_CONTINUED): Likewise.
15220 (POLL_IN): Likewise.
15221 (POLL_OUT): Likewise.
15222 (POLL_MSG): Likewise.
15223 (POLL_ERR): Likewise.
15224 (POLL_PRI): Likewise.
15225 (POLL_HUP): Likewise.
15226 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15227 (ILL_ILLOPN): Likewise.
15228 (ILL_ILLADR): Likewise.
15229 (ILL_ILLTRP): Likewise.
15230 (ILL_PRVOPC): Likewise.
15231 (ILL_PRVREG): Likewise.
15232 (ILL_COPROC): Likewise.
15233 (ILL_BADSTK): Likewise.
15234 (FPE_INTDIV): Likewise.
15235 (FPE_INTOVF): Likewise.
15236 (FPE_FLTDIV): Likewise.
15237 (FPE_FLTOVF): Likewise.
15238 (FPE_FLTUND): Likewise.
15239 (FPE_FLTRES): Likewise.
15240 (FPE_FLTINV): Likewise.
15241 (FPE_FLTSUB): Likewise.
15242 (SEGV_MAPERR): Likewise.
15243 (SEGV_ACCERR): Likewise.
15244 (BUS_ADRALN): Likewise.
15245 (BUS_ADRERR): Likewise.
15246 (BUS_OBJERR): Likewise.
15247 (BUS_MCEERR_AR): Likewise.
15248 (BUS_MCEERR_AO): Likewise.
15249 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15250 (TRAP_TRACE): Likewise.
15251 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15252 __USE_XOPEN2K8].
15253 (CLD_KILLED): Likewise.
15254 (CLD_DUMPED): Likewise.
15255 (CLD_TRAPPED): Likewise.
15256 (CLD_STOPPED): Likewise.
15257 (CLD_CONTINUED): Likewise.
15258 (POLL_IN): Likewise.
15259 (POLL_OUT): Likewise.
15260 (POLL_MSG): Likewise.
15261 (POLL_ERR): Likewise.
15262 (POLL_PRI): Likewise.
15263 (POLL_HUP): Likewise.
15264 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15265 (ILL_ILLOPN): Likewise.
15266 (ILL_ILLADR): Likewise.
15267 (ILL_ILLTRP): Likewise.
15268 (ILL_PRVOPC): Likewise.
15269 (ILL_PRVREG): Likewise.
15270 (ILL_COPROC): Likewise.
15271 (ILL_BADSTK): Likewise.
15272 (FPE_INTDIV): Likewise.
15273 (FPE_INTOVF): Likewise.
15274 (FPE_FLTDIV): Likewise.
15275 (FPE_FLTOVF): Likewise.
15276 (FPE_FLTUND): Likewise.
15277 (FPE_FLTRES): Likewise.
15278 (FPE_FLTINV): Likewise.
15279 (FPE_FLTSUB): Likewise.
15280 (SEGV_MAPERR): Likewise.
15281 (SEGV_ACCERR): Likewise.
15282 (BUS_ADRALN): Likewise.
15283 (BUS_ADRERR): Likewise.
15284 (BUS_OBJERR): Likewise.
15285 (BUS_MCEERR_AR): Likewise.
15286 (BUS_MCEERR_AO): Likewise.
15287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15288 (TRAP_TRACE): Likewise.
15289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15290 __USE_XOPEN2K8].
15291 (CLD_KILLED): Likewise.
15292 (CLD_DUMPED): Likewise.
15293 (CLD_TRAPPED): Likewise.
15294 (CLD_STOPPED): Likewise.
15295 (CLD_CONTINUED): Likewise.
15296 (POLL_IN): Likewise.
15297 (POLL_OUT): Likewise.
15298 (POLL_MSG): Likewise.
15299 (POLL_ERR): Likewise.
15300 (POLL_PRI): Likewise.
15301 (POLL_HUP): Likewise.
15302 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15303 (ILL_ILLOPN): Likewise.
15304 (ILL_ILLADR): Likewise.
15305 (ILL_ILLTRP): Likewise.
15306 (ILL_PRVOPC): Likewise.
15307 (ILL_PRVREG): Likewise.
15308 (ILL_COPROC): Likewise.
15309 (ILL_BADSTK): Likewise.
15310 (FPE_INTDIV): Likewise.
15311 (FPE_INTOVF): Likewise.
15312 (FPE_FLTDIV): Likewise.
15313 (FPE_FLTOVF): Likewise.
15314 (FPE_FLTUND): Likewise.
15315 (FPE_FLTRES): Likewise.
15316 (FPE_FLTINV): Likewise.
15317 (FPE_FLTSUB): Likewise.
15318 (SEGV_MAPERR): Likewise.
15319 (SEGV_ACCERR): Likewise.
15320 (BUS_ADRALN): Likewise.
15321 (BUS_ADRERR): Likewise.
15322 (BUS_OBJERR): Likewise.
15323 (BUS_MCEERR_AR): Likewise.
15324 (BUS_MCEERR_AO): Likewise.
15325 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15326 (TRAP_TRACE): Likewise.
15327 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15328 __USE_XOPEN2K8].
15329 (CLD_KILLED): Likewise.
15330 (CLD_DUMPED): Likewise.
15331 (CLD_TRAPPED): Likewise.
15332 (CLD_STOPPED): Likewise.
15333 (CLD_CONTINUED): Likewise.
15334 (POLL_IN): Likewise.
15335 (POLL_OUT): Likewise.
15336 (POLL_MSG): Likewise.
15337 (POLL_ERR): Likewise.
15338 (POLL_PRI): Likewise.
15339 (POLL_HUP): Likewise.
15340 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15341 (ILL_ILLOPN): Likewise.
15342 (ILL_ILLADR): Likewise.
15343 (ILL_ILLTRP): Likewise.
15344 (ILL_PRVOPC): Likewise.
15345 (ILL_PRVREG): Likewise.
15346 (ILL_COPROC): Likewise.
15347 (ILL_BADSTK): Likewise.
15348 (ILL_DBLFLT): Likewise.
15349 (ILL_HARDWALL): Likewise.
15350 (FPE_INTDIV): Likewise.
15351 (FPE_INTOVF): Likewise.
15352 (FPE_FLTDIV): Likewise.
15353 (FPE_FLTOVF): Likewise.
15354 (FPE_FLTUND): Likewise.
15355 (FPE_FLTRES): Likewise.
15356 (FPE_FLTINV): Likewise.
15357 (FPE_FLTSUB): Likewise.
15358 (SEGV_MAPERR): Likewise.
15359 (SEGV_ACCERR): Likewise.
15360 (BUS_ADRALN): Likewise.
15361 (BUS_ADRERR): Likewise.
15362 (BUS_OBJERR): Likewise.
15363 (BUS_MCEERR_AR): Likewise.
15364 (BUS_MCEERR_AO): Likewise.
15365 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15366 (TRAP_TRACE): Likewise.
15367 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15368 __USE_XOPEN2K8].
15369 (CLD_KILLED): Likewise.
15370 (CLD_DUMPED): Likewise.
15371 (CLD_TRAPPED): Likewise.
15372 (CLD_STOPPED): Likewise.
15373 (CLD_CONTINUED): Likewise.
15374 (POLL_IN): Likewise.
15375 (POLL_OUT): Likewise.
15376 (POLL_MSG): Likewise.
15377 (POLL_ERR): Likewise.
15378 (POLL_PRI): Likewise.
15379 (POLL_HUP): Likewise.
15380 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15381 (ILL_ILLOPN): Likewise.
15382 (ILL_ILLADR): Likewise.
15383 (ILL_ILLTRP): Likewise.
15384 (ILL_PRVOPC): Likewise.
15385 (ILL_PRVREG): Likewise.
15386 (ILL_COPROC): Likewise.
15387 (ILL_BADSTK): Likewise.
15388 (FPE_INTDIV): Likewise.
15389 (FPE_INTOVF): Likewise.
15390 (FPE_FLTDIV): Likewise.
15391 (FPE_FLTOVF): Likewise.
15392 (FPE_FLTUND): Likewise.
15393 (FPE_FLTRES): Likewise.
15394 (FPE_FLTINV): Likewise.
15395 (FPE_FLTSUB): Likewise.
15396 (SEGV_MAPERR): Likewise.
15397 (SEGV_ACCERR): Likewise.
15398 (BUS_ADRALN): Likewise.
15399 (BUS_ADRERR): Likewise.
15400 (BUS_OBJERR): Likewise.
15401 (BUS_MCEERR_AR): Likewise.
15402 (BUS_MCEERR_AO): Likewise.
15403 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15404 (TRAP_TRACE): Likewise.
15405 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15406 __USE_XOPEN2K8].
15407 (CLD_KILLED): Likewise.
15408 (CLD_DUMPED): Likewise.
15409 (CLD_TRAPPED): Likewise.
15410 (CLD_STOPPED): Likewise.
15411 (CLD_CONTINUED): Likewise.
15412 (POLL_IN): Likewise.
15413 (POLL_OUT): Likewise.
15414 (POLL_MSG): Likewise.
15415 (POLL_ERR): Likewise.
15416 (POLL_PRI): Likewise.
15417 (POLL_HUP): Likewise.
15418 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15419 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15420
bc61d27c
JM
15421 [BZ #16670]
15422 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15423 before #include of <time.h>.
15424 [!__USE_XOPEN2K] (__need_timespec): Likewise.
15425 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15426 (test-xfail-UNIX98/sched.h/conform): Likewise.
15427
302949e2
MS
154282014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
15429
15430 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15431 error absence of trapping exception support.
15432 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15433
a00f522a
JM
154342014-03-07 Joseph Myers <joseph@codesourcery.com>
15435
6f99f280
JM
15436 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15437 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15438 * timezone/Makefile (testdata): Move definition above include of
15439 Rules.
15440 (test-zones): New variable.
15441 (tests-special): Add zone files.
15442 (build-testdata): Use $(evaluate-test).
15443
0b20a9e8
JM
15444 * elf/Makefile (tests-special): Rename tests to end with .out.
15445 ($(objpfx)noload-mem): Likewise.
15446 ($(objpfx)tst-leaks1-mem): Likewise.
15447 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15448 * iconv/Makefile (xtests-special): Change test-iconvconfig to
15449 $(objpfx)test-iconvconfig.out.
15450 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
15451 set -e inside subshell and redirect output to file.
15452 * iconvdata/Makefile (generated): Rename tests to end with .out.
15453 Correct type.
15454 (tests-special): Rename tests to end with .out.
15455 ($(objpfx)mtrace-tst-loading): Likewise.
15456 * intl/Makefile (generated): Likewise.
15457 (tests-special): Likewise.
15458 ($(objpfx)mtrace-tst-gettext): Likewise.
15459 * misc/Makefile (generated): Likewise.
15460 (tests-special): Likewise.
15461 ($(objpfx)tst-error1-mem): Likewise.
15462 * nptl/Makefile (tests-special): Likewise.
15463 ($(objpfx)tst-stack3-mem): Likewise.
15464 (generated): Likewise.
15465 * posix/Makefile (generated): Likewise.
15466 (tests-special): Likewise.
15467 (xtests-special): Likewise.
15468 ($(objpfx)tst-fnmatch-mem): Likewise.
15469 ($(objpfx)bug-regex2-mem): Likewise.
15470 ($(objpfx)bug-regex14-mem): Likewise.
15471 ($(objpfx)bug-regex21-mem): Likewise.
15472 ($(objpfx)bug-regex31-mem): Likewise.
15473 ($(objpfx)tst-vfork3-mem): Likewise.
15474 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15475 ($(objpfx)tst-pcre-mem): Likewise.
15476 ($(objpfx)tst-boost-mem): Likewise.
15477 ($(objpfx)bug-ga2-mem): Likewise.
15478 ($(objpfx)bug-glob2-mem): Likewise.
15479 * resolv/Makefile (generate): Likewise.
15480 (tests-special): Likewise.
15481 (xtests-special): Likewise.
15482 (generated): Likewise.
15483 ($(objpfx)mtrace-tst-leaks): Likewise.
15484 ($(objpfx)mtrace-tst-leaks2): Likewise.
15485
265d52ab
JM
15486 * scripts/merge-test-results.sh: New file.
15487 * Makefile (tests-special-notdir): New variable.
15488 (tests): Run merge-test-results.sh.
15489 (xtests): Likewise.
15490 * Rules (tests-special-notdir): New variable.
15491 (xtests-special-notdir): Likewise.
15492 (tests): Run merge-test-results.sh
15493 (xtests): Likewise.
15494
54ee292d
JM
15495 * Makeconfig (test-xfail-name): New variable.
15496 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15497 compute variable name for expected failures.
15498 * conform/Makefile (conformtest-headers-data): New variable.
15499 (conformtest-standards): Likewise.
15500 (conformtest-headers-ISO): Likewise.
15501 (conformtest-headers-ISO99): Likewise.
15502 (conformtest-headers-ISO11): Likewise.
15503 (conformtest-headers-POSIX): Likewise.
15504 (conformtest-headers-XPG3): Likewise.
15505 (conformtest-headers-XPG4): Likewise.
15506 (conformtest-headers-UNIX98): Likewise.
15507 (conformtest-headers-XOPEN2K): Likewise.
15508 (conformtest-headers-POSIX2008): Likewise.
15509 (conformtest-headers-XOPEN2K8): Likewise.
15510 (conformtest-header-list-base): Likewise.
15511 (conformtest-header-list-tests): Likewise.
15512 (conformtest-header-base): Likewise.
15513 (conformtest-header-tests): Likewise.
15514 (tests-special): Add $(conformtest-header-list-tests). If
15515 [$(fast-check) && !$(cross-compiling)], add
15516 $(conformtest-header-tests) instead of
15517 $(objpfx)run-conformtest.out.
15518 (generated): Add $(conformtest-header-list-base). If
15519 [$(fast-check) && !$(cross-compiling)], add
15520 $(conformtest-header-base). Remove previous setting.
15521 ($(conformtest-header-list-tests)): New target.
15522 (test-xfail-run-conformtest): Remove variable.
15523 ($(objpfx)run-conformtest.out): Remove target.
15524 (test-xfail-ISO11/complex.h/conform): New variable.
15525 (test-xfail-ISO11/stdalign.h/conform): Likewise.
15526 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15527 (test-xfail-XPG3/varargs.h/conform): Likewise.
15528 (test-xfail-XPG4/varargs.h/conform): Likewise.
15529 (test-xfail-UNIX98/varargs.h/conform): Likewise.
15530 (test-xfail-XPG4/ndbm.h/conform): Likewise.
15531 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15532 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15533 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15534 (test-xfail-XPG3/fcntl.h/conform): Likewise.
15535 (test-xfail-XPG3/ftw.h/conform): Likewise.
15536 (test-xfail-XPG3/grp.h/conform): Likewise.
15537 (test-xfail-XPG3/langinfo.h/conform): Likewise.
15538 (test-xfail-XPG3/limits.h/conform): Likewise.
15539 (test-xfail-XPG3/pwd.h/conform): Likewise.
15540 (test-xfail-XPG3/search.h/conform): Likewise.
15541 (test-xfail-XPG3/signal.h/conform): Likewise.
15542 (test-xfail-XPG3/stdio.h/conform): Likewise.
15543 (test-xfail-XPG3/stdlib.h/conform): Likewise.
15544 (test-xfail-XPG3/string.h/conform): Likewise.
15545 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15546 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15547 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15548 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15549 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15550 (test-xfail-XPG3/sys/types.h/conform): Likewise.
15551 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15552 (test-xfail-XPG3/termios.h/conform): Likewise.
15553 (test-xfail-XPG3/time.h/conform): Likewise.
15554 (test-xfail-XPG3/unistd.h/conform): Likewise.
15555 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15556 (test-xfail-XPG4/fcntl.h/conform): Likewise.
15557 (test-xfail-XPG4/langinfo.h/conform): Likewise.
15558 (test-xfail-XPG4/netdb.h/conform): Likewise.
15559 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15560 (test-xfail-XPG4/signal.h/conform): Likewise.
15561 (test-xfail-XPG4/stdio.h/conform): Likewise.
15562 (test-xfail-XPG4/stdlib.h/conform): Likewise.
15563 (test-xfail-XPG4/stropts.h/conform): Likewise.
15564 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15565 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15566 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15567 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15568 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15569 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15570 (test-xfail-XPG4/sys/time.h/conform): Likewise.
15571 (test-xfail-XPG4/sys/types.h/conform): Likewise.
15572 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15573 (test-xfail-XPG4/termios.h/conform): Likewise.
15574 (test-xfail-XPG4/ucontext.h/conform): Likewise.
15575 (test-xfail-XPG4/unistd.h/conform): Likewise.
15576 (test-xfail-XPG4/utmpx.h/conform): Likewise.
15577 (test-xfail-POSIX/sched.h/conform): Likewise.
15578 (test-xfail-POSIX/signal.h/conform): Likewise.
15579 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15580 (test-xfail-POSIX/tar.h/conform): Likewise.
15581 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15582 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15583 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15584 (test-xfail-UNIX98/netdb.h/conform): Likewise.
15585 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15586 (test-xfail-UNIX98/sched.h/conform): Likewise.
15587 (test-xfail-UNIX98/signal.h/conform): Likewise.
15588 (test-xfail-UNIX98/stdio.h/conform): Likewise.
15589 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15590 (test-xfail-UNIX98/stropts.h/conform): Likewise.
15591 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15592 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15593 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15594 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15595 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15596 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15597 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15598 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15599 (test-xfail-UNIX98/unistd.h/conform): Likewise.
15600 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15601 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15602 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15603 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15604 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15605 (test-xfail-XOPEN2K/math.h/conform): Likewise.
15606 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15607 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15608 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15609 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15610 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15611 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15612 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15613 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15614 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15615 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15616 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15617 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15618 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15619 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15620 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15621 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15622 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15623 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15624 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15625 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15626 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15627 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15628 (test-xfail-POSIX2008/signal.h/conform): Likewise.
15629 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15630 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15631 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15632 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15633 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15634 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15635 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15636 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15637 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15638 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15639 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15640 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15641 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15642 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15643 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15644 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15645 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15646 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15647 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15648 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15649 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15650 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15651 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15652 (conformtest-cc-flags): Likewise.
15653 ($(conformtest-header-tests): New target.
15654 * conform/check-header-lists.sh: New file.
15655 * conform/run-conformtest.sh: Remove.
15656
a00f522a
JM
15657 * conform/conformtest.pl: Allow ' and \ in values given for
15658 constants.
15659 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15660 inclusion.
15661 [POSIX] (sys/types.h): Likewise.
15662 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15663 inclusion.
15664 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15665 inclusion.
15666 * conform/data/signal.h-data (SIGIO): Remove expectation.
15667 [XPG3] (SIGBUS): Do not expect.
15668 [POSIX || XPG3] (SIGPOLL): Likewise.
15669 [POSIX || XPG3] (SIGPROF): Likewise.
15670 [POSIX || XPG3] (SIGSYS): Likewise.
15671 [XPG3] (SIGTRAP): Likewise.
15672 [POSIX || XPG3] (SIGURG): Likewise.
15673 [POSIX || XPG3] (SIGVTALRM): Likewise.
15674 [POSIX || XPG3] (SIGXCPU): Likewise.
15675 [POSIX || XPG3] (SIGXFSZ): Likewise.
15676 [POSIX] (SA_SIGINFO): Expect.
15677 [XPG3] (siginfo_t): Do not expect type or contents.
15678 [POSIX] (si_pid): Do not expect element.
15679 [POSIX] (si_uid): Likewise.
15680 [POSIX] (si_addr): Likewise.
15681 [POSIX] (si_status): Likewise.
15682 [POSIX] (si_band): Likewise.
15683 [XPG4] (si_value): Likewise.
15684 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15685 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15686 [POSIX || XPG3] (ILL_ILLADR): Likewise.
15687 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15688 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15689 [POSIX || XPG3] (ILL_PRVREG): Likewise.
15690 [POSIX || XPG3] (ILL_COPROC): Likewise.
15691 [POSIX || XPG3] (ILL_BADSTK): Likewise.
15692 [POSIX || XPG3] (FPE_INTDIV): Likewise.
15693 [POSIX || XPG3] (FPE_INTOVF): Likewise.
15694 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15695 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15696 [POSIX || XPG3] (FPE_FLTUND): Likewise.
15697 [POSIX || XPG3] (FPE_FLTRES): Likewise.
15698 [POSIX || XPG3] (FPE_FLTINV): Likewise.
15699 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15700 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15701 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15702 [POSIX || XPG3] (BUS_ADRALN): Likewise.
15703 [POSIX || XPG3] (BUS_ADRERR): Likewise.
15704 [POSIX || XPG3] (BUS_OBJERR): Likewise.
15705 [POSIX || XPG3] (CLD_EXITED): Likewise.
15706 [POSIX || XPG3] (CLD_KILLED): Likewise.
15707 [POSIX || XPG3] (CLD_DUMPED): Likewise.
15708 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15709 [POSIX || XPG3] (CLD_STOPPED): Likewise.
15710 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15711 [POSIX || XPG3] (POLL_IN): Likewise.
15712 [POSIX || XPG3] (POLL_OUT): Likewise.
15713 [POSIX || XPG3] (POLL_MSG): Likewise.
15714 [POSIX || XPG3] (POLL_ERR): Likewise.
15715 [POSIX || XPG3] (POLL_PRI): Likewise.
15716 [POSIX || XPG3] (POLL_HUP): Likewise.
15717 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15718 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15719 (SIG*): Do not allow.
15720 [XPG3] (si_*): Likewise.
15721 [XPG3] (SI_*): Likewise.
15722 [XPG3 || XPG4] (sigev_*): Likewise.
15723 [XPG3 || XPG4] (SIGEV_*): Likewise.
15724 [XPG3 || XPG4] (sival_*): Likewise.
15725 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15726 [POSIX || XPG3] (BUS_*): Likewise.
15727 [POSIX || XPG3] (CLD_*): Likewise.
15728 [POSIX || XPG3] (FPE_*): Likewise.
15729 [POSIX || XPG3] (ILL_*): Likewise.
15730 [POSIX || XPG3] (POLL_*): Likewise.
15731 [POSIX || XPG3] (SEGV_*): Likewise.
15732 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15733 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15734 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15735 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15736 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15737 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15738 Specify type and value.
15739 (TVERSLEN): Likewise.
15740 (REGTYPE): Likewise.
15741 (AREGTYPE): Likewise.
15742 (LNKTYPE): Likewise.
15743 (SYMTYPE): Likewise.
15744 (CHRTYPE): Likewise.
15745 (BLKTYPE): Likewise.
15746 (DIRTYPE): Likewise.
15747 (FIFOTYPE): Likewise.
15748 (CONTTYPE): Likewise.
15749 (TSUID): Likewise.
15750 (TSGID): Likewise.
15751 (TSVTX): Likewise.
15752 (TUREAD): Likewise.
15753 (TUWRITE): Likewise.
15754 (TUEXEC): Likewise.
15755 (TGREAD): Likewise.
15756 (TGWRITE): Likewise.
15757 (TGEXEC): Likewise.
15758 (TOREAD): Likewise.
15759 (TOWRITE): Likewise.
15760 (TOEXEC): Likewise.
15761 [POSIX] (TSVTX): Expect constant.
15762
aa97dee1
JM
157632014-03-06 Joseph Myers <joseph@codesourcery.com>
15764
f214606a
JM
15765 * Makefile (tests): Change dependencies to ....
15766 (tests-special): ... additions to this variable.
15767 (tests): Depend on $(tests-special).
15768 * Makerules (check-abi-list): New variable.
15769 (check-abi): Depend on $(check-abi-list).
15770 [$(subdir) = elf] (tests-special): Add
15771 $(objpfx)check-abi-libc.out.
15772 [$(build-shared) = yes && subdir] (tests-special): Add
15773 $(check-abi-list).
15774 [$(build-shared) = yes && subdir] (tests): Do not depend on
15775 check-abi.
15776 * Rules (tests): Depend on $(tests-special).
15777 (xtests): Depend on $(xtests-special).
15778 * catgets/Makefile (tests): Change dependencies to ....
15779 (tests-special): ... additions to this variable.
15780 * conform/Makefile (tests): Change dependencies to ....
15781 (tests-special): ... additions to this variable.
15782 * elf/Makefile (tests): Change dependencies to ....
15783 (tests-special): ... additions to this variable.
15784 * grp/Makefile (tests): Change dependencies to ....
15785 (tests-special): ... additions to this variable.
15786 * iconv/Makefile (xtests): Change dependencies to ....
15787 (xtests-special): ... additions to this variable.
15788 * iconvdata/Makefile (tests): Change dependencies to ....
15789 (tests-special): ... additions to this variable.
15790 * intl/Makefile (tests): Change dependencies to ....
15791 (tests-special): ... additions to this variable. Also add
15792 $(objpfx)tst-gettext.out.
15793 * io/Makefile (tests): Change dependencies to ....
15794 (tests-special): ... additions to this variable.
15795 * libio/Makefile (tests): Change dependencies to ....
15796 (tests-special): ... additions to this variable.
15797 * malloc/Makefile (tests): Change dependencies to ....
15798 (tests-special): ... additions to this variable.
15799 * misc/Makefile (tests): Change dependencies to ....
15800 (tests-special): ... additions to this variable.
15801 * nptl/Makefile (tests): Change dependencies to ....
15802 (tests-special): ... additions to this variable.
15803 * nptl_db/Makefile (tests): Change dependencies to ....
15804 (tests-special): ... additions to this variable.
15805 * posix/Makefile (tests): Change dependencies to ....
15806 (tests-special): ... additions to this variable.
15807 (xtests): Change dependencies to ....
15808 (xtests-special): ... additions to this variable.
15809 * resolv/Makefile (tests): Change dependencies to ....
15810 (tests-special): ... additions to this variable.
15811 (xtests): Change dependencies to ....
15812 (xtests-special): ... additions to this variable.
15813 * stdio-common/Makefile (tests): Change dependencies to ....
15814 (tests-special): ... additions to this variable.
15815 (do-tst-unbputc): Remove target.
15816 (do-tst-printf): Likewise.
15817 * stdlib/Makefile (tests): Change dependencies to ....
15818 (tests-special): ... additions to this variable.
15819 * string/Makefile (tests): Change dependencies to ....
15820 (tests-special): ... additions to this variable.
15821 * sysdeps/x86/Makefile (tests): Change dependencies to ....
15822 (tests-special): ... additions to this variable.
15823
81700b53
JM
15824 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15825 whole file.
15826 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15827 whole file.
15828 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15829 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15830
2ea18461
JM
15831 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15832 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15833 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15834 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15835 * conform/data/libgen.h-data [XPG3]: Likewise.
15836 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15837 * conform/data/ndbm.h-data [XPG3]: Likewise.
15838 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15839 * conform/data/netdb.h-data [XPG3]: Likewise.
15840 * conform/data/netinet/in.h-data [XPG3]: Likewise.
15841 * conform/data/poll.h-data [XPG3]: Likewise.
15842 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15843 * conform/data/strings.h-data [XPG3]: Likewise.
15844 * conform/data/stropts.h-data [XPG3]: Likewise.
15845 * conform/data/sys/mman.h-data [XPG3]: Likewise.
15846 * conform/data/sys/resource.h-data [XPG3]: Likewise.
15847 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15848 Likewise.
15849 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15850 * conform/data/sys/time.h-data [XPG3]: Likewise.
15851 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15852 * conform/data/sys/uio.h-data [XPG3]: Likewise.
15853 * conform/data/sys/un.h-data [XPG3]: Likewise.
15854 * conform/data/syslog.h-data [XPG3]: Likewise.
15855 * conform/data/ucontext.h-data [XPG3]: Likewise.
15856 * conform/data/utmpx.h-data [XPG3]: Likewise.
15857 * conform/data/varargs.h-data [UNIX98]: Enable file.
15858
355bc986
JM
15859 * manual/Makefile (INSTALL_INFO): Remove variable setting.
15860
215db402
JM
15861 * math/libm-test.inc (struct test_f_f_data): Move expected results
15862 into structure for each rounding mode.
15863 (struct test_ff_f_data): Likewise.
15864 (struct test_ff_f_data_nexttoward): Likewise.
15865 (struct test_fi_f_data): Likewise.
15866 (struct test_fl_f_data): Likewise.
15867 (struct test_if_f_data): Likewise.
15868 (struct test_fff_f_data): Likewise.
15869 (struct test_c_f_data): Likewise.
15870 (struct test_f_f1_data): Likewise.
15871 (struct test_fF_f1_data): Likewise.
15872 (struct test_ffI_f1_data): Likewise.
15873 (struct test_c_c_data): Likewise.
15874 (struct test_cc_c_data): Likewise.
15875 (struct test_f_i_data): Likewise.
15876 (struct test_ff_i_data): Likewise.
15877 (struct test_f_l_data): Likewise.
15878 (struct test_f_L_data): Likewise.
15879 (struct test_fFF_11_data): Likewise.
15880 (RM_): New macro.
15881 (RM_FE_DOWNWARD): Likewise.
15882 (RM_FE_TONEAREST): Likewise.
15883 (RM_FE_TOWARDZERO): Likewise.
15884 (RM_FE_UPWARD): Likewise.
15885 (RUN_TEST_LOOP_f_f): Update references to expected results.
15886 (RUN_TEST_LOOP_2_f): Likewise.
15887 (RUN_TEST_LOOP_fff_f): Likewise.
15888 (RUN_TEST_LOOP_c_f): Likewise.
15889 (RUN_TEST_LOOP_f_f1): Likewise.
15890 (RUN_TEST_LOOP_fF_f1): Likewise.
15891 (RUN_TEST_LOOP_fI_f1): Likewise.
15892 (RUN_TEST_LOOP_ffI_f1): Likewise.
15893 (RUN_TEST_LOOP_c_c): Likewise.
15894 (RUN_TEST_LOOP_cc_c): Likewise.
15895 (RUN_TEST_LOOP_f_i): Likewise.
15896 (RUN_TEST_LOOP_f_i_tg): Likewise.
15897 (RUN_TEST_LOOP_ff_i_tg): Likewise.
15898 (RUN_TEST_LOOP_f_b): Likewise.
15899 (RUN_TEST_LOOP_f_b_tg): Likewise.
15900 (RUN_TEST_LOOP_f_l): Likewise.
15901 (RUN_TEST_LOOP_f_L): Likewise.
15902 (RUN_TEST_LOOP_fFF_11): Likewise.
15903 * math/gen-libm-test.pl (parse_args): Output four copies of
15904 expected results for each test.
15905
67737b8f
JM
15906 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15907 (__ASSUME_UTIMES): Remove.
15908 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15909 (__ASSUME_UTIMES): Likewise.
15910
aa97dee1
JM
15911 * math/gen-auto-libm-tests.c: Update comment on output format.
15912 (output_for_one_input_case): Generate before-rounding and
15913 after-rounding information as conditions on output flags not
15914 floating-point format.
15915 * math/auto-libm-test-out: Regenerated.
15916 * math/gen-libm-test.pl (cond_value): New function.
15917 (or_cond_value): Use cond_value.
15918 (generate_testfile): Handle conditional exceptions.
15919
e6b6a857
JM
159202014-03-05 Joseph Myers <joseph@codesourcery.com>
15921
2f0a0f44
JM
15922 * math/libm-test.inc (max_valid_error): New variable.
15923 (init_max_error): Take new argument specifying whether function
15924 results are exactly determined. Set max_valid_error and bound
15925 other variables for errors based on this argument.
15926 (set_max_error): Do not record results above max_valid_error.
15927 (check_float_internal): Only accept errors of up to 0.5ulps if
15928 also at most max_valid_error.
15929 (START): Take new argument EXACT and pass it to init_max_error.
15930 (acos_test): Update call to START.
15931 (acos_test_tonearest): Likewise.
15932 (acos_test_towardzero): Likewise.
15933 (acos_test_downward): Likewise.
15934 (acos_test_upward): Likewise.
15935 (acosh_test): Likewise.
15936 (asin_test): Likewise.
15937 (asin_test_tonearest): Likewise.
15938 (asin_test_towardzero): Likewise.
15939 (asin_test_downward): Likewise.
15940 (asin_test_upward): Likewise.
15941 (asinh_test): Likewise.
15942 (atan_test): Likewise.
15943 (atanh_test): Likewise.
15944 (atan2_test): Likewise.
15945 (cabs_test): Likewise.
15946 (cacos_test): Likewise.
15947 (cacosh_test): Likewise.
15948 (carg_test): Likewise.
15949 (casin_test): Likewise.
15950 (casinh_test): Likewise.
15951 (catan_test): Likewise.
15952 (catanh_test): Likewise.
15953 (cbrt_test): Likewise.
15954 (ccos_test): Likewise.
15955 (ccosh_test): Likewise.
15956 (ceil_test): Likewise.
15957 (cexp_test): Likewise.
15958 (cimag_test): Likewise.
15959 (clog_test): Likewise.
15960 (clog10_test): Likewise.
15961 (conj_test): Likewise.
15962 (copysign_test): Likewise.
15963 (cos_test): Likewise.
15964 (cos_test_tonearest): Likewise.
15965 (cos_test_towardzero): Likewise.
15966 (cos_test_downward): Likewise.
15967 (cos_test_upward): Likewise.
15968 (cosh_test): Likewise.
15969 (cosh_test_tonearest): Likewise.
15970 (cosh_test_towardzero): Likewise.
15971 (cosh_test_downward): Likewise.
15972 (cosh_test_upward): Likewise.
15973 (cpow_test): Likewise.
15974 (cproj_test): Likewise.
15975 (creal_test): Likewise.
15976 (csin_test): Likewise.
15977 (csinh_test): Likewise.
15978 (csqrt_test): Likewise.
15979 (ctan_test): Likewise.
15980 (ctan_test_tonearest): Likewise.
15981 (ctan_test_towardzero): Likewise.
15982 (ctan_test_downward): Likewise.
15983 (ctan_test_upward): Likewise.
15984 (ctanh_test): Likewise.
15985 (ctanh_test_tonearest): Likewise.
15986 (ctanh_test_towardzero): Likewise.
15987 (ctanh_test_downward): Likewise.
15988 (ctanh_test_upward): Likewise.
15989 (erf_test): Likewise.
15990 (erfc_test): Likewise.
15991 (exp_test): Likewise.
15992 (exp_test_tonearest): Likewise.
15993 (exp_test_towardzero): Likewise.
15994 (exp_test_downward): Likewise.
15995 (exp_test_upward): Likewise.
15996 (exp10_test): Likewise.
15997 (exp10_test_tonearest): Likewise.
15998 (exp10_test_towardzero): Likewise.
15999 (exp10_test_downward): Likewise.
16000 (exp10_test_upward): Likewise.
16001 (pow10_test): Likewise.
16002 (exp2_test): Likewise.
16003 (expm1_test): Likewise.
16004 (expm1_test_tonearest): Likewise.
16005 (expm1_test_towardzero): Likewise.
16006 (expm1_test_downward): Likewise.
16007 (expm1_test_upward): Likewise.
16008 (fabs_test): Likewise.
16009 (fdim_test): Likewise.
16010 (floor_test): Likewise.
16011 (fma_test): Likewise.
16012 (fma_test_towardzero): Likewise.
16013 (fma_test_downward): Likewise.
16014 (fma_test_upward): Likewise.
16015 (fmax_test): Likewise.
16016 (fmin_test): Likewise.
16017 (fmod_test): Likewise.
16018 (fpclassify_test): Likewise.
16019 (frexp_test): Likewise.
16020 (hypot_test): Likewise.
16021 (ilogb_test): Likewise.
16022 (isfinite_test): Likewise.
16023 (finite_test): Likewise.
16024 (isgreater_test): Likewise.
16025 (isgreaterequal_test): Likewise.
16026 (isinf_test): Likewise.
16027 (isless_test): Likewise.
16028 (islessequal_test): Likewise.
16029 (islessgreater_test): Likewise.
16030 (isnan_test): Likewise.
16031 (isnormal_test): Likewise.
16032 (issignaling_test): Likewise.
16033 (isunordered_test): Likewise.
16034 (j0_test): Likewise.
16035 (j1_test): Likewise.
16036 (jn_test): Likewise.
16037 (ldexp_test): Likewise.
16038 (lgamma_test): Likewise.
16039 (gamma_test): Likewise.
16040 (lrint_test): Likewise.
16041 (lrint_test_tonearest): Likewise.
16042 (lrint_test_towardzero): Likewise.
16043 (lrint_test_downward): Likewise.
16044 (lrint_test_upward): Likewise.
16045 (llrint_test): Likewise.
16046 (llrint_test_tonearest): Likewise.
16047 (llrint_test_towardzero): Likewise.
16048 (llrint_test_downward): Likewise.
16049 (llrint_test_upward): Likewise.
16050 (log_test): Likewise.
16051 (log10_test): Likewise.
16052 (log1p_test): Likewise.
16053 (log2_test): Likewise.
16054 (logb_test): Likewise.
16055 (logb_test_downward): Likewise.
16056 (lround_test): Likewise.
16057 (llround_test): Likewise.
16058 (modf_test): Likewise.
16059 (nearbyint_test): Likewise.
16060 (nextafter_test): Likewise.
16061 (nexttoward_test): Likewise.
16062 (pow_test): Likewise.
16063 (pow_test_tonearest): Likewise.
16064 (pow_test_towardzero): Likewise.
16065 (pow_test_downward): Likewise.
16066 (pow_test_upward): Likewise.
16067 (remainder_test): Likewise.
16068 (drem_test): Likewise.
16069 (remainder_test_tonearest): Likewise.
16070 (drem_test_tonearest): Likewise.
16071 (remainder_test_towardzero): Likewise.
16072 (drem_test_towardzero): Likewise.
16073 (remainder_test_downward): Likewise.
16074 (drem_test_downward): Likewise.
16075 (remainder_test_upward): Likewise.
16076 (drem_test_upward): Likewise.
16077 (remquo_test): Likewise.
16078 (rint_test): Likewise.
16079 (rint_test_tonearest): Likewise.
16080 (rint_test_towardzero): Likewise.
16081 (rint_test_downward): Likewise.
16082 (rint_test_upward): Likewise.
16083 (round_test): Likewise.
16084 (scalb_test): Likewise.
16085 (scalbn_test): Likewise.
16086 (scalbln_test): Likewise.
16087 (signbit_test): Likewise.
16088 (sin_test): Likewise.
16089 (sin_test_tonearest): Likewise.
16090 (sin_test_towardzero): Likewise.
16091 (sin_test_downward): Likewise.
16092 (sin_test_upward): Likewise.
16093 (sincos_test): Likewise.
16094 (sinh_test): Likewise.
16095 (sinh_test_tonearest): Likewise.
16096 (sinh_test_towardzero): Likewise.
16097 (sinh_test_downward): Likewise.
16098 (sinh_test_upward): Likewise.
16099 (sqrt_test): Likewise.
16100 (sqrt_test_tonearest): Likewise.
16101 (sqrt_test_towardzero): Likewise.
16102 (sqrt_test_downward): Likewise.
16103 (sqrt_test_upward): Likewise.
16104 (tan_test): Likewise.
16105 (tan_test_tonearest): Likewise.
16106 (tan_test_towardzero): Likewise.
16107 (tan_test_downward): Likewise.
16108 (tan_test_upward): Likewise.
16109 (tanh_test): Likewise.
16110 (tgamma_test): Likewise.
16111 (trunc_test): Likewise.
16112 (y0_test): Likewise.
16113 (y1_test): Likewise.
16114 (yn_test): Likewise.
16115 (significand_test): Likewise.
16116
e6b6a857
JM
16117 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16118 individual tests in comment.
16119 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16120 (prev_max_error): New variable.
16121 (prev_real_max_error): Likewise.
16122 (prev_imag_max_error): Likewise.
16123 (compare_ulp_data): Don't refer to test names in comment.
16124 (find_test_ulps): Remove function.
16125 (find_function_ulps): Likewise.
16126 (find_complex_function_ulps): Likewise.
16127 (init_max_error): Take function name as argument. Look up ulps
16128 for that function.
16129 (print_ulps): Remove function.
16130 (print_max_error): Use prev_max_error instead of calling
16131 find_function_ulps.
16132 (print_complex_max_error): Use prev_real_max_error and
16133 prev_imag_max_error instead of calling find_complex_function_ulps.
16134 (check_float_internal): Take max_ulp parameter instead of calling
16135 find_test_ulps. Don't call print_ulps.
16136 (check_float): Update call to check_float_internal.
16137 (check_complex): Update calls to check_float_internal.
16138 (START): Pass argument to init_max_error.
16139 * math/gen-libm-test.pl (%results): Don't include "kind"
16140 information.
16141 (parse_ulps): Don't handle ulps of individual tests.
16142 (print_ulps_file): Likewise.
16143 (output_ulps): Likewise.
16144 * math/README.libm-test: Update.
16145 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16146 individual tests.
16147 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16148 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16149 * sysdeps/arm/libm-test-ulps: Likewise.
16150 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16151 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16152 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16153 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16154 * sysdeps/microblaze/libm-test-ulps: Likewise.
16155 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16156 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16157 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16158 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16159 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16160 * sysdeps/sh/libm-test-ulps: Likewise.
16161 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16162 * sysdeps/tile/libm-test-ulps: Likewise.
16163 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16164
45adef3c
JM
161652014-03-04 Joseph Myers <joseph@codesourcery.com>
16166
16167 * math/libm-test.inc (print_complex_max_error): Check separately
16168 whether real and imaginary errors are within allowed range and
16169 pass 0 to print_complex_function_ulps instead of value within
16170 allowed range.
16171
000232b9
SP
161722014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
16173
d4b17258
SP
16174 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16175 formatting.
16176 (get_handles_fopen): Likewise.
16177 (do_write_test): Likewise.
16178
091eff71
SP
16179 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16180
fa3cd248
SP
16181 * libio/fileops.c (do_ftell): Use cached offset when
16182 available.
16183 * libio/iofwide.c (do_ftell_wide): Likewise.
16184 * libio/iofdopen.c (_IO_new_fdopen): Don't use
16185 _IO_file_attach.
16186 * libio/wfileops.c (_IO_fwide): Don't cache offset.
16187
000232b9
SP
16188 [BZ #16532]
16189 * libio/libioP.h (get_file_offset): New function.
16190 * libio/fileops.c (get_file_offset): Likewise.
16191 (do_ftell): Likewise.
16192 (_IO_new_file_seekoff): Split out ftell logic.
16193 * libio/wfileops.c (do_ftell_wide): Likewise.
16194 (_IO_wfile_seekoff): Split out ftell logic.
16195 * libio/tst-ftell-active-handler.c: New test case.
16196 * libio/Makefile (tests): Add it.
16197
116f4d1a
RM
161982014-03-03 Roland McGrath <roland@hack.frob.com>
16199
16200 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16201 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16202
532a6035
SP
162032014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
16204
16205 [BZ #16639]
16206 * nscd/connections.c (nscd_init): Call do_exit.
16207 (start_threads): Call do_exit and notify_parent.
16208 (begin_drop_privileges): Call do_exit.
16209 (finish_drop_privileges): Likewise.
16210 * nscd/selinux.c (preserve_capabilities): Likewise.
16211 (install_real_capabilities): Likewise.
16212 (nscd_selinux_enabled): Likewise.
16213 (avc_create_thread): Likewise.
16214 (avc_alloc_lock): Likewise.
16215 (nscd_avc_init): Likewise.
16216 * nscd/nscd.c (parent_fd): New static variable.
16217 (main): Create a pipe between parent and child processes.
16218 Skip closing parent_fd.
16219 (monitor_child): New function.
16220 (do_exit): Likewise.
16221 (notify_parent): Likewise.
16222 * nscd/nscd.h (notify_parent): Likewise.
16223 (do_exit): Likewise.
16224
d6285c9f
CD
162252014-03-03 Carlos O'Donell <carlos@redhat.com>
16226
16227 * malloc/malloc.c (__libc_calloc): Revert last change.
16228
2b85d2a0
AZ
162292014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16230
16231 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16232
c7debbdf
RS
162332014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16234
16235 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16236 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16237 implementation.
16238 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16239 (__libc_ifunc_impl_list): Likewise.
16240 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16241 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16242 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16243 * string/strrchr.c: Define STRRCHR.
16244
235eed86
OB
162452014-02-28 Ondřej Bílka <neleai@seznam.cz>
16246
16247 * benchtest/bench-strtok.c (simple_strtok): Delete.
16248 (strtok_string): Use as benchmark.
16249 * string/strtok (STRTOK): New macro.
16250
8e25d1e7
CD
162512014-02-28 Carlos O'Donell <carlos@redhat.com>
16252
ef563f92
CD
16253 * manual/threads.texi: Add header and standard comments to all
16254 functions.
16255
8e25d1e7
CD
16256 * elf/dl-lookup.c (check_match): New function.
16257 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16258 (do_lookup_x): Remove nested function check_match. Use non-nested
16259 function check_match.
16260
ff71cc37
RM
162612014-02-28 Roland McGrath <roland@hack.frob.com>
16262
f08e9a26
RM
16263 * csu/Makefile (generated, before-compile): Use += rather than =.
16264 * catgets/Makefile (generated, generated-dirs): Likewise.
16265 * debug/Makefile (generated): Likewise.
16266 * dlfcn/Makefile (generated): Likewise.
16267 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16268 * iconvdata/Makefile (before-compile, generated): Likewise.
16269 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16270 * libio/Makefile (generated): Likewise.
16271 * malloc/Makefile (generated): Likewise.
16272 * manual/Makefile (generated, generated-dirs): Likewise.
16273 * misc/Makefile (generated): Likewise.
16274 * posix/Makefile (generated): Likewise.
16275 * resolv/Makefile (generated): Likewise.
16276 * sunrpc/Makefile (generated, generated-dirs): Likewise.
16277 * timezone/Makefile (generated, generated-dirs): Likewise.
16278
ff71cc37
RM
16279 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16280
fe13a20c
AZ
162812014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16282
57f41c40
AS
16283 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16284 power8 implementation.
16285 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16286 file: POWER8 llround ifunc implementation.
16287 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16288 (__lllround): Add POWER8 implementation.
fe13a20c
AZ
16289 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16290 POWER8 llround implementation.
16291
57f41c40
AS
16292 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16293 power8 implementation.
16294 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16295 file: POWER8 llrint ifunc implementation.
16296 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16297 Add POWER8 implementation.
1ad8950a
AZ
16298 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16299 POWER8 llrint implementation.
16300
57f41c40
AS
16301 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16302 power8 implementation.
16303 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16304 file: POWER8 finite ifunc implementation.
16305 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16306 Add POWER8 implementation.
cac626d6
AZ
16307 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16308 Likewise.
16309 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16310 POWER8 finite implementation.
16311 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16312
57f41c40
AS
16313 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16314 power8 implementation.
16315 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16316 file: POWER8 isinf ifunc implementation.
4393fc11
AZ
16317 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16318 POWER8 implementation.
16319 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16320 Likewise.
57f41c40
AS
16321 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16322 isinf implementation.
4393fc11
AZ
16323 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16324
57f41c40
AS
16325 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16326 (INIT_ARCH): Add hwcap2 initialization.
16327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16328 power8 implementation.
16329 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16330 file: POWER8 isnan ifunc implementation.
487972ae
AZ
16331 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16332 POWER8 implementation.
16333 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16334 Likewise.
57f41c40
AS
16335 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16336 isnan implementation.
487972ae
AZ
16337 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16338
7d92b787
JY
163392014-02-27 Joey Ye <joey.ye@arm.com>
16340
16341 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16342 (_FP_NANFRAC_Q): Set to zero.
16343
1cadc858
SP
163442014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16345
16346 [BZ #16623]
16347 * math/auto-libm-test-in: New test inputs.
16348 * math/auto-libm-test-out: Regenerate.
16349 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16350 and DA.
16351 (__cos): Likewise.
16352 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16353
f8c17e79
JM
163542014-02-27 Joseph Myers <joseph@codesourcery.com>
16355
16356 * scripts/evaluate-test.sh: Take new argument indicating whether
16357 failure is expected.
16358 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16359 indicating whether failure is expected.
16360 * conform/Makefile (test-xfail-run-conformtest): New variable.
16361 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16362 level.
16363 * posix/Makefile (test-xfail-annexc): New variable.
16364 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16365
a5f891ac
JM
163662014-02-26 Joseph Myers <joseph@codesourcery.com>
16367
16368 * argp/Makefile: Include Makeconfig immediately after defining
16369 subdir.
16370 * assert/Makefile: Likewise.
16371 * benchtests/Makefile: Likewise.
16372 * catgets/Makefile: Likewise.
16373 * conform/Makefile: Likewise.
16374 * crypt/Makefile: Likewise.
16375 * csu/Makefile: Likewise.
16376 (all): Remove target.
16377 * ctype/Makefile: Include Makeconfig immediately after defining
16378 subdir.
16379 * debug/Makefile: Likewise.
16380 * dirent/Makefile: Likewise.
16381 * dlfcn/Makefile: Likewise.
16382 * gmon/Makefile: Likewise.
16383 * gnulib/Makefile: Likewise.
16384 * grp/Makefile: Likewise.
16385 * gshadow/Makefile: Likewise.
16386 * hesiod/Makefile: Likewise.
16387 * hurd/Makefile: Likewise.
16388 (all): Remove target.
16389 * iconvdata/Makefile: Include Makeconfig immediately after
16390 defining subdir.
16391 * inet/Makefile: Likewise.
16392 * intl/Makefile: Likewise.
16393 * io/Makefile: Likewise.
16394 * libio/Makefile: Likewise.
16395 (all): Remove target.
16396 * locale/Makefile: Include Makeconfig immediately after defining
16397 subdir.
16398 * login/Makefile: Likewise.
16399 * mach/Makefile: Likewise.
16400 (all): Remove target.
16401 * malloc/Makefile: Include Makeconfig immediately after defining
16402 subdir.
16403 (all): Remove target.
16404 * manual/Makefile: Include Makeconfig immediately after defining
16405 subdir.
16406 * math/Makefile: Likewise.
16407 * misc/Makefile: Likewise.
16408 * nis/Makefile: Likewise.
16409 * nss/Makefile: Likewise.
16410 * po/Makefile: Likewise.
16411 (all): Remove target.
16412 * posix/Makefile: Include Makeconfig immediately after defining
16413 subdir.
16414 * pwd/Makefile: Likewise.
16415 * resolv/Makefile: Likewise.
16416 * resource/Makefile: Likewise.
16417 * rt/Makefile: Likewise.
16418 * setjmp/Makefile: Likewise.
16419 * shadow/Makefile: Likewise.
16420 * signal/Makefile: Likewise.
16421 * socket/Makefile: Likewise.
16422 * soft-fp/Makefile: Likewise.
16423 * stdio-common/Makefile: Likewise.
16424 * stdlib/Makefile: Likewise.
16425 * streams/Makefile: Likewise.
16426 * string/Makefile: Likewise.
16427 * sunrpc/Makefile: Likewise.
16428 (all): Remove target.
16429 * sysvipc/Makefile: Include Makeconfig immediately after defining
16430 subdir.
16431 * termios/Makefile: Likewise.
16432 * time/Makefile: Likewise.
16433 * timezone/Makefile: Likewise.
16434 (all): Remove target.
16435 * wcsmbs/Makefile: Include Makeconfig immediately after defining
16436 subdir.
16437 * wctype/Makefile: Likewise.
16438
5b456e9d
SE
164392014-02-26 Steve Ellcey <sellcey@mips.com>
16440
16441 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16442 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16443 (libc_feholdexcept_setround_mips): Ditto.
16444 (libc_feholdsetround): New.
16445 (libc_feholdsetroundf): New.
16446 (libc_feholdsetroundl): New.
16447 (libc_feupdateenv_test_mips): New.
16448 (libc_feupdateenv_test): New.
16449 (libc_feupdateenv_testf): New.
16450 (libc_feupdateenv_testl): New.
16451 (libc_feresetround): New.
16452 (libc_feresetroundf): New.
16453 (libc_feresetroundl): New.
16454 (libc_fetestexcept_mips): New.
16455 (libc_fetestexcept): New.
16456 (libc_fetestexceptf): New.
16457 (libc_fetestexceptl): New.
16458 (HAVE_RM_CTX): New.
16459 (libc_feholdexcept_setround_mips_ctx): New.
16460 (libc_feholdexcept_setround_ctx): New.
16461 (libc_feholdexcept_setroundf_ctx): New.
16462 (libc_feholdexcept_setroundl_ctx): New.
16463 (libc_fesetenv_mips_ctx): New.
16464 (libc_fesetenv_ctx): New.
16465 (libc_fesetenv_ctxf): New.
16466 (libc_fesetenv_ctxl): New.
16467 (libc_feupdateenv_mips_ctx): New.
16468 (libc_feupdateenv_ctx): New.
16469 (libc_feupdateenvf_ctx): New.
16470 (libc_feupdateenvl_ctx): New.
16471 (libc_feholdsetround_mips_ctx): New.
16472 (libc_feholdsetround_ctx): New.
16473 (libc_feholdsetroundf_ctx): New.
16474 (libc_feholdsetroundl_ctx): New.
16475 (libc_feresetround_mips_ctx): New.
16476 (libc_feresetround_ctx): New.
16477 (libc_feresetroundf_ctx): New.
16478 (libc_feresetroundl_ctx): New.
16479
085d0e35
CD
164802014-02-26 Carlos O'Donell <carlos@redhat.com>
16481
f067bf1f
CD
16482 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16483
085d0e35
CD
16484 * manual/ipc.texi: New file.
16485 * manual/Makefile (chapters): Add ipc.
16486 * manual/job.texi: Add "Inter-Process Communication" to next.
16487 * manual/process.texi: Add "Inter-Process Communication" to prev.
16488
86e58c08
AZ
164892014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16490
16491 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16492
4248f0da
OB
164932014-02-26 Ondřej Bílka <neleai@seznam.cz>
16494
16495 * malloc/malloc.c (__libc_calloc): Simplify implementation.
16496
cf822e3c
OB
16497 * manual/arith.texi: Fix spaces after sentences.
16498 * manual/charset.texi: Likewise.
16499 * manual/errno.texi: Likewise.
16500 * manual/install.texi: Likewise.
16501 * manual/llio.texi: Likewise.
16502 * manual/locale.texi: Likewise.
16503 * manual/maint.texi: Likewise.
16504 * manual/math.texi: Likewise.
16505 * manual/memory.texi: Likewise.
16506 * manual/message.texi: Likewise.
16507 * manual/probes.texi: Likewise.
16508 * manual/resource.texi: Likewise.
16509 * manual/signal.texi: Likewise.
16510 * manual/socket.texi: Likewise.
16511 * manual/stdio.texi: Likewise.
16512 * manual/string.texi: Likewise.
16513 * manual/time.texi: Likewise.
16514 * manual/users.texi: Likewise.
16515
ade40b10
CD
165162014-02-25 Carlos O'Donell <carlos@redhat.com>
16517
16518 [BZ #16632]
16519 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16520 _DEFAULT_SOURCE is defined.
16521
d0503676
CD
165222014-02-25 Ulrich Drepper <drepper@gmail.com>
16523 Carlos O'Donell <carlos@redhat.com>
16524
16525 [BZ #16613]
16526 * elf/dl-tls.c (_dl_count_modids): New function.
16527 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16528 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16529 audit library and increment generation counter.
16530 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16531 * elf/tst-audit9.c: New file.
16532 * elf/tst-auditmod9a.c: New file.
16533 * elf/tst-auditmod9b.c: New file.
16534 * elf/Makefile: Add rules to build and run tst-audit9.
16535
4cbf380c
FW
165362014-02-25 Florian Weimer <fweimer@redhat.com>
16537
16538 [BZ #15347]
16539 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16540
80a56cc3
WN
165412014-02-25 Will Newton <will.newton@linaro.org>
16542
16543 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16544 (__longjmp): Restore sp and lr before restoring callee
16545 saved registers. Add longjmp and longjmp_target
16546 SystemTap probe point.
16547 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16548 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16549 Define to zero to match jmpbuf layout.
16550 * sysdeps/arm/setjmp.S: Include stap-probe.h.
16551 (__sigsetjmp): Save sp and lr before saving callee
16552 saved registers. Add setjmp SystemTap probe point.
16553
3ea0f74e
SL
165542014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
16555
16556 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16557
b04acb26
AS
165582014-02-24 Andreas Schwab <schwab@suse.de>
16559
16560 [BZ #15804]
16561 * elf/pldd.c (wait_for_ptrace_stop): New function.
16562 (main): Call it after attaching.
16563
098ad55c
RM
165642014-02-22 Roland McGrath <roland@hack.frob.com>
16565
d4ec6ae1
RM
16566 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16567 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16568 Versions files is now verboten.
16569 * hurd/Versions (libc: GLIBC_2.0):
16570 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16571 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16572 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16573 * mach/Versions: Likewise.
16574
098ad55c
RM
16575 * csu/Versions: Remove unused %include.
16576 * resolv/Versions: Likewise.
16577
acd7f096
JM
165782014-02-21 Joseph Myers <joseph@codesourcery.com>
16579
f0881698
JM
16580 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16581 ($(objpfx)check-local-headers.out): Likewise.
16582 ($(objpfx)begin-end-check.out): Likewise.
16583 * Makerules (check-abi-%.out): Likewise.
16584 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16585 ($(objpfx)test2.cat): Likewise.
16586 ($(objpfx)de/libc.cat): Likewise.
16587 ($(objpfx)test-gencat.out): Likewise.
16588 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16589 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16590 ($(objpfx)noload-mem): Likewise.
16591 ($(objpfx)tst-pathopt.out): Likewise.
16592 ($(objpfx)tst-rtld-load-self.out): Likewise.
16593 ($(objpfx)tst-array1-cmp.out): Likewise.
16594 ($(objpfx)tst-array1-static-cmp.out): Likewise.
16595 ($(objpfx)tst-array2-cmp.out): Likewise.
16596 ($(objpfx)tst-array3-cmp.out): Likewise.
16597 ($(objpfx)tst-array4-cmp.out): Likewise.
16598 ($(objpfx)tst-array5-cmp.out): Likewise.
16599 ($(objpfx)tst-array5-static-cmp.out): Likewise.
16600 ($(objpfx)check-textrel.out): Likewise.
16601 ($(objpfx)check-execstack.out): Likewise.
16602 ($(objpfx)check-localplt.out): Likewise.
16603 ($(objpfx)order2-cmp.out): Likewise.
16604 ($(objpfx)tst-leaks1-mem): Likewise.
16605 ($(objpfx)tst-leaks1-static-mem): Likewise.
16606 ($(objpfx)tst-initorder-cmp.out): Likewise.
16607 ($(objpfx)tst-initorder2-cmp.out): Likewise.
16608 ($(objpfx)tst-unused-dep.out): Likewise.
16609 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16610 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16611 * iconv/Makefile (test-iconvconfig): Likewise.
16612 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16613 ($(objpfx)iconv-test.out): Likewise.
16614 ($(objpfx)tst-tables.out): Likewise.
16615 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16616 ($(objpfx)tst-gettext.out): Likewise.
16617 ($(objpfx)tst-translit.out): Likewise.
16618 ($(objpfx)tst-gettext2.out): Likewise.
16619 ($(objpfx)tst-gettext4.out): Likewise.
16620 ($(objpfx)tst-gettext6.out): Likewise.
16621 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16622 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16623 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16624 ($(objpfx)tst-fopenloc-mem.out): Likewise.
16625 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16626 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16627 * posix/Makefile ($(objpfx)globtest.out): Likewise.
16628 ($(objpfx)wordexp-tst.out): Likewise.
16629 ($(objpfx)annexc.out): Likewise.
16630 ($(objpfx)tst-fnmatch-mem): Likewise.
16631 ($(objpfx)bug-regex2-mem): Likewise.
16632 ($(objpfx)bug-regex14-mem): Likewise.
16633 ($(objpfx)bug-regex21-mem): Likewise.
16634 ($(objpfx)bug-regex31-mem): Likewise.
16635 ($(objpfx)tst-vfork3-mem): Likewise.
16636 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16637 ($(objpfx)tst-pcre-mem): Likewise.
16638 ($(objpfx)tst-boost-mem): Likewise.
16639 ($(objpfx)tst-getconf.out): Likewise.
16640 ($(objpfx)bug-ga2-mem): Likewise.
16641 ($(objpfx)bug-glob2-mem): Likewise.
16642 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16643 ($(objpfx)mtrace-tst-leaks2): Likewise.
16644 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16645 ($(objpfx)tst-printf.out): Likewise.
16646 ($(objpfx)tst-setvbuf1.out): Likewise.
16647 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16648 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16649 ($(objpfx)tst-fmtmsg.out): Likewise.
16650 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16651 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16652
acd7f096
JM
16653 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16654 * bits/sigaction.h [__USE_MISC]: Likewise.
16655 * bits/waitstatus.h: Update #endif comments.
16656 * ctype/ctype.h: Likewise.
16657 * dirent/dirent.h: Likewise.
16658 [__USE_MISC]: Remove redundant conditionals.
16659 * grp/grp.h: Update #endif comments.
16660 [__USE_GNU]: Remove redundant conditionals.
16661 [__USE_MISC]: Likewise.
16662 * inet/netinet/in.h [__USE_GNU]: Likewise.
16663 * io/sys/stat.h [__USE_MISC]: Likewise.
16664 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16665 * libio/bits/stdio.h: Update #endif comments.
16666 [__USE_MISC]: Remove redundant conditionals.
16667 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16668 * libio/stdio.h: Update #endif comments.
16669 [__USE_MISC]: Remove redundant conditionals.
16670 * math/bits/math-finite.h [__USE_MISC]: Likewise.
16671 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16672 * math/math.h: Update #else and #endif comments.
16673 [__USE_MISC]: Remove redundant conditionals.
16674 * misc/sys/uio.h: Update #endif comments.
16675 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16676 * posix/glob.h [__USE_MISC]: Likewise.
16677 * posix/sys/types.h: Update #endif comments.
16678 [__USE_MISC]: Remove redundant conditionals.
16679 * posix/sys/wait.h: Update #endif comments.
16680 [__USE_MISC]: Remove redundant conditionals.
16681 * posix/unistd.h: Update #endif comments.
16682 [__USE_MISC]: Remove redundant conditionals.
16683 * pwd/pwd.h [__USE_GNU]: Likewise.
16684 [__USE_MISC]: Likewise.
16685 * resolv/netdb.h [__USE_GNU]: Likewise.
16686 * signal/signal.h: Update #endif comments.
16687 [__USE_MISC]: Remove redundant conditionals.
16688 * stdlib/stdlib.h: Update #else and #endif comments.
16689 [__USE_MISC]: Remove redundant conditionals.
16690 [__USE_GNU]: Likewise.
16691 * string/bits/string2.h [__USE_MISC]: Likewise.
16692 * string/string.h: Update #endif comments.
16693 [__USE_MISC]: Remove redundant conditionals.
16694 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16695 Likewise.
16696 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16697 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16698 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16699 Likewise.
16700 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16701 Likewise.
16702 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16703 comments.
16704 [__USE_MISC]: Remove redundant conditionals.
16705 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16706 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16707 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16708 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16709 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16710 Likewise.
16711 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16712 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16713 Likewise.
16714 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16716 Likewise.
16717 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16718 Likewise.
16719 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16720 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16721 Likewise.
16722 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16723 Likewise.
16724 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16725 * sysdeps/x86/bits/string.h: Update #endif comments.
16726 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16727 conditionals.
16728 * time/sys/time.h: Update #endif comments.
16729 * time/time.h: Likewise.
16730 [__USE_MISC]: Remove redundant conditionals.
16731
a5d82e4e
YG
167322014-02-21 Yury Gribov <y.gribov@samsung.com>
16733
16734 [BZ #16600]
16735 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16736
9a80491d
AS
167372014-02-21 Andreas Schwab <schwab@linux-m68k.org>
16738
16739 * Versions.def (librt): Add GLIBC_2.17.
16740
105fa381
AC
167412014-02-21 Adam Conrad <adconrad@0c3.net>
16742
16743 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16744 synonym for _SYS_AUXV_H to allow direct inclusion.
16745 * sysdeps/sparc/bits/hwcap.h: Likewise.
16746 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16747 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16748 * sysdeps/sparc/sysdep.h: Likewise.
16749
b8cd1c4e
SP
167502014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
16751
16752 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16753
bd939d23
RS
167542014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16755
16756 * benchtests/bench-strrchr.c: Print length instead of position.
16757
5d7b57ca
JM
167582014-02-20 Joseph Myers <joseph@codesourcery.com>
16759
bc688c10
JM
16760 [BZ #16611]
16761 * sysdeps/unix/sysv/linux/kernel-features.h
16762 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16763 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16764 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16765 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16766 Likewise.
16767 [__i386__ || __powerpc__ || __sh__ || __sparc__]
16768 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16769 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16770 (__ASSUME_SENDMMSG): Define instead of using previous
16771 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16772 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16773 (__ASSUME_SENDMMSG_SYSCALL): Define.
16774 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16775 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16776 Likewise.
16777 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16778 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16779 Likewise.
16780 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16781 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16782 Likewise.
16783 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16784 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16785 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16786 [__ASSUME_SENDMMSG]: Change conditionals to
16787 [__ASSUME_SENDMMSG_SOCKETCALL].
16788 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16789 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16790 Define.
16791 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16792 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16793 Likewise.
16794 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16795 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16796 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16797 [!__ASSUME_SENDMMSG]: Change conditional to
16798 [!__ASSUME_SENDMMSG_SOCKETCALL].
16799 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16800 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16801 Define.
16802
0e31b18c
JM
16803 [BZ #16610]
16804 * sysdeps/unix/sysv/linux/kernel-features.h
16805 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16806 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16807 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16808 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16809 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16810 [__i386__ || __sparc__]
16811 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16812 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16813 (__ASSUME_RECVMMSG): Define instead of using previous
16814 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16815 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16816 (__ASSUME_RECVMMSG_SYSCALL): Define.
16817 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16818 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16819 Likewise.
16820 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16821 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16822 Likewise.
16823 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16824 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16825 Likewise.
16826 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16827 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16828 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16829 [__ASSUME_RECVMMSG]: Change condition to
16830 [__ASSUME_RECVMMSG_SOCKETCALL].
16831 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16832 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16833 Define.
16834 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16835 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16836 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16837 Likewise.
16838 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16839 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16840 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16841 [!__ASSUME_RECVMMSG]: Change condition to
16842 [!__ASSUME_RECVMMSG_SOCKETCALL].
16843 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16844 (__ASSUME_RECVMMSG_SYSCALL): Define.
16845
dd481ccf
JM
16846 [BZ #16609]
16847 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16848 __powerpc__ || __s390__ || __sh__ || __sparc__]
16849 (__ASSUME_SOCKETCALL): Define.
16850 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16851 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16852 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16853 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16854 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16855 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16856 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16857 (__ASSUME_ACCEPT4): Define instead of using previous
16858 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16859 __powerpc__ || __sparc__ || __s390__)] condition.
16860 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16861 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16862 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16863 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16864 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16865 [!__ASSUME_ACCEPT4]: Change condition to
16866 [!__ASSUME_ACCEPT4_SOCKETCALL].
16867 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16868 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
16869 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16870 * sysdeps/unix/sysv/linux/arm/kernel-features.h
16871 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16872 __ASSUME_ACCEPT4_SYSCALL.
16873 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16874 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16875 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16876 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16877 __ASSUME_ACCEPT4_SYSCALL.
16878 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16879 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16880 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16881 [__ASSUME_ACCEPT4]: Change condition to
16882 [__ASSUME_ACCEPT4_SOCKETCALL].
16883 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16884 (__ASSUME_SOCKETCALL): Define.
16885 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16886 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16887 (__ASSUME_SOCKETCALL): Define.
16888 (__ASSUME_ACCEPT4): Remove.
16889 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16890 Define.
16891 * sysdeps/unix/sysv/linux/mips/kernel-features.h
16892 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16893 Likewise.
16894 * sysdeps/unix/sysv/linux/tile/kernel-features.h
16895 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16896
5d7b57ca
JM
16897 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16898 macro.
16899 (HWCAP_ARM_LPAE): Likewise.
16900 (HWCAP_ARM_EVTSTRM): Likewise.
16901 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16902 Add vpfd32, lpae and evtstrm.
16903 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16904 Increase to 22.
16905
63689d61
JM
169062014-02-19 Joseph Myers <joseph@codesourcery.com>
16907
16908 * math/auto-libm-test-in: Add tests of clog10.
16909 * math/auto-libm-test-out: Regenerated.
16910 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16911 * sysdeps/i386/fpu/libm-test-ulps: Update.
16912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16913
ab09bf61
AS
169142014-02-18 Andreas Schwab <schwab@suse.de>
16915
16916 [BZ #16574]
16917 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16918 Store non-zero if the second buffer was newly allocated.
16919 (send_dg): Likewise.
16920 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16921 to send_vc and send_dg.
16922 (res_nsend): Pass NULL for ansp2_malloced.
16923 * resolv/res_query.c (__libc_res_nquery): Add parameter
16924 answerp2_malloced and pass it down to __libc_res_nsend.
16925 (res_nquery): Pass additional NULL to __libc_res_nquery.
16926 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16927 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
16928 second answer buffer if answerp2_malloced was set.
16929 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16930 (__libc_res_nquerydomain): Add parameter
16931 answerp2_malloced and pass it down to __libc_res_nquery.
16932 (res_nquerydomain): Pass additional NULL to
16933 __libc_res_nquerydomain.
16934 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16935 additional NULL to __libc_res_nsend and __libc_res_nquery.
16936 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16937 additional NULL to __libc_res_nsearch.
16938 (_nss_dns_gethostbyname4_r): Revert last change. Use new
16939 parameter of __libc_res_nsearch to check for separately allocated
16940 second buffer.
16941 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16942 __libc_res_nquery.
16943 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16944 additional NULL to __libc_res_nquery.
16945 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16946 __libc_res_nsearch.
16947 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16948 * include/resolv.h: Update prototypes of __libc_res_nquery,
16949 __libc_res_nsearch, __libc_res_nsend.
16950
a4fb7861
JM
169512014-02-18 Joseph Myers <joseph@codesourcery.com>
16952
c6af2d89
JM
16953 * math/auto-libm-test-in: Add tests of fma.
16954 * math/auto-libm-test-out: Regenerated.
16955 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16956 (fma_towardzero_test_data): Likewise.
16957 (fma_downward_test_data): Likewise.
16958 (fma_upward_test_data): Likewise.
16959 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16960 mpc_mode.
16961 (rounding_modes): Add values for new field.
16962 (func_calc_method): Add value mpfr_fff_f.
16963 (func_calc_desc): Add mpfr_fff_f union field.
16964 (test_function): Add field exact_args.
16965 (FUNC): Add macro argument EXACT_ARGS.
16966 (FUNC_mpfr_f_f): Update call to FUNC.
16967 (FUNC_mpfr_f_f): Likewise.
16968 (FUNC_mpfr_ff_f): Likewise.
16969 (FUNC_mpfr_if_f): Likewise.
16970 (FUNC_mpc_c_f): Likewise.
16971 (FUNC_mpc_c_c): Likewise.
16972 (test_functions): Add fma. Update calls to FUNC.
16973 (handle_input_arg): Add argument exact_args.
16974 (add_test): Update call to handle_input_arg.
16975 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
16976 (output_for_one_input_case): Update call to calc_generic_results.
16977 Recalculate exact zero results in each rounding mode.
16978
a4fb7861
JM
16979 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16980 non-negative before setting low bit.
16981 * math/auto-libm-test-in: Mark one asin test possibly having
16982 spurious underflow.
16983 * math/auto-libm-test-out: Regenerated.
16984 * sysdeps/i386/fpu/libm-test-ulps: Update.
16985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16986
ef114eaf
DH
169872014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
16988
2b7f4f2c
SP
16989 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16990 * sysdeps/unix/sysv/linux/microblaze: Move directory from
16991 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
16992 * README: Add missing listing for microblaze*-*-linux-gnu.
16993
8125aedc
AM
169942014-02-16 Ondřej Bílka <neleai@seznam.cz>
16995
16996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16997 duplicate code
16998
c70a4b1d
MF
169992014-02-16 Mike Frysinger <vapier@gentoo.org>
17000
17001 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17002 * sysdeps/unix/sysv/linux/ia64: Move directory from
17003 ports/sysdeps/unix/sysv/linux/ia64.
17004 * README: Update listing for ia64-*-linux-gnu.
17005
591aeaf7
TD
170062014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
17007 Joseph Myers <joseph@codesourcery.com>
17008
17009 * Makeconfig (test-name): New variable.
17010 (evaluate-test): Likewise.
17011 * Makerules (do-test-clean): Remove .test-result files.
17012 (common-mostlyclean): Likewise.
17013 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17014 * scripts/evaluate-test.sh: New file.
17015
6e89caf1
JM
170162014-02-14 Joseph Myers <joseph@codesourcery.com>
17017
7f98f180
JM
17018 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17019 separate $(objpfx)tst-fopenloc-cmp.out and
17020 $(objpfx)tst-fopenloc-mem.out targets.
17021 (tests): Update dependencies.
17022 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17023 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17024 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17025 (tst-rxspencer-no-utf8-ARGS): New variable.
17026 (tst-rxspencer-no-utf8-ENV): Likewise.
17027 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17028 instead of $(objpfx)tst-rxspencer-mem.
17029 ($(objpfx)tst-rxspencer-mem): Change target to
17030 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
17031 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17032 * posix/tst-rxspencer-no-utf8.c: New file.
17033
6e89caf1
JM
17034 * elf/Makefile ($(objpfx)order.out): Remove rule.
17035 [$(run-built-tests) = yes] (tests): Depend on
17036 $(objpfx)order-cmp.out.
17037 ($(objpfx)order-cmp.out): New rule.
17038 [$(run-built-tests) = yes] (tests): Depend on
17039 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17040 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17041 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17042 $(objpfx)tst-array5-static-cmp.out.
17043 ($(objpfx)tst-array1.out): Remove rule.
17044 ($(objpfx)tst-array1-cmp.out): New rule.
17045 ($(objpfx)tst-array1-static.out): Remove rule.
17046 ($(objpfx)tst-array1-static-cmp.out): New rule.
17047 ($(objpfx)tst-array2.out): Remove rule.
17048 ($(objpfx)tst-array2-cmp.out): New rule.
17049 ($(objpfx)tst-array3.out): Remove rule.
17050 ($(objpfx)tst-array3-cmp.out): New rule.
17051 ($(objpfx)tst-array4.out): Remove rule.
17052 ($(objpfx)tst-array4-cmp.out): New rule.
17053 ($(objpfx)tst-array5.out): Remove rule.
17054 ($(objpfx)tst-array5-cmp.out): New rule.
17055 ($(objpfx)tst-array5-static.out): Remove rule.
17056 ($(objpfx)tst-array5-static-cmp.out): New rule.
17057 [$(run-built-tests) = yes] (tests): Depend on
17058 $(objpfx)order2-cmp.out.
17059 ($(objpfx)order2.out): Remove rule.
17060 ($(objpfx)order2-cmp.out): New rule.
17061 ($(objpfx)tst-initorder.out): Remove rule.
17062 [$(run-built-tests) = yes] (tests): Depend on
17063 $(objpfx)tst-initorder-cmp.out.
17064 ($(objpfx)tst-initorder-cmp.out): New rule.
17065 ($(objpfx)tst-initorder2.out): Remove rule.
17066 [$(run-built-tests) = yes] (tests): Depend on
17067 $(objpfx)tst-initorder2-cmp.out.
17068 ($(objpfx)tst-initorder2-cmp.out): New rule.
17069 [$(run-built-tests) = yes] (tests): Depend on
17070 $(objpfx)tst-unused-dep-cmp.out.
17071 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17072 ($(objpfx)tst-unused-dep-cmp.out): New rule.
17073 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17074 on $(objpfx)tst-setvbuf1-cmp.out.
17075 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17076 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17077 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17078 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17079 ($(objpfx)tst-svc.out): Remove rule.
17080 ($(objpfx)tst-svc-cmp.out): New rule.
17081
ed9a38e2
JM
170822014-02-13 Joseph Myers <joseph@codesourcery.com>
17083
17084 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17085 * ctype/ctype.h [__USE_MISC]: Likewise.
17086 * dirent/dirent.h [__USE_MISC]: Likewise.
17087 * grp/grp.h [__USE_MISC]: Likewise.
17088 * io/fcntl.h [__USE_MISC]: Likewise.
17089 * io/sys/stat.h [__USE_MISC]: Likewise.
17090 * libio/stdio.h [__USE_MISC]: Likewise.
17091 * posix/unistd.h [__USE_MISC]: Likewise.
17092 * pwd/pwd.h [__USE_MISC]: Likewise.
17093 * stdlib.h [__USE_MISC]: Likewise.
17094 * string/bits/string2.h [__USE_MISC]: Likewise.
17095 * string/string.h [__USE_MISC]: Likewise.
17096 * time/time.h [__USE_MISC]: Likewise.
17097
d6680619
AS
170982014-02-13 Andreas Schwab <schwab@suse.de>
17099
17100 [BZ #16574]
17101 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17102 second answer buffer if it was separately allocated.
17103
ace614b8
JM
171042014-02-12 Joseph Myers <joseph@codesourcery.com>
17105
743151ae
JM
17106 * sysdeps/mips/math-tests.h: Include <features.h>.
17107 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17108 (ROUNDING_TESTS_long_double): Do not define.
17109 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17110 (EXCEPTION_TESTS_long_double): Likewise.
17111 * sysdeps/mips/mips64/libm-test-ulps: Update.
17112
498afc54
JM
17113 * include/features.h (__USE_BSD): Remove macro definitions.
17114 (__USE_SVID): Likewise.
17115 (_BSD_SOURCE): Likewise.
17116 (_SVID_SOURCE): Likewise.
17117 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17118 from definition of _DEFAULT_SOURCE.
17119 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17120 [_DEFAULT_SOURCE].
17121 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17122 * bits/mman.h [__USE_BSD]: Likewise.
17123 * bits/termios.h [__USE_BSD]: Likewise.
17124 * bits/waitstatus.h [__USE_BSD]: Likewise.
17125 * ctype/ctype.h [__USE_SVID]: Likewise.
17126 * dirent/dirent.h [__USE_BSD]: Likewise.
17127 * grp/grp.h [__USE_SVID]: Likewise.
17128 [__USE_BSD]: Likewise.
17129 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17130 * io/fcntl.h [__USE_BSD]: Likewise.
17131 * io/ftw.h [__USE_BSD]: Likewise.
17132 * io/sys/stat.h [__USE_BSD]: Likewise.
17133 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17134 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17135 * libio/stdio.h [__USE_SVID]: Likewise.
17136 [__USE_BSD]: Likewise.
17137 * math/math.h [__USE_SVID]: Likewise.
17138 [__USE_BSD]: Likewise.
17139 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17140 * misc/bits/syslog.h [__USE_BSD]: Likewise.
17141 * misc/search.h [__USE_SVID]: Likewise.
17142 * misc/sys/mman.h [__USE_BSD]: Likewise.
17143 * misc/sys/syslog.h [__USE_BSD]: Likewise.
17144 * misc/sys/uio.h [__USE_BSD]: Likewise.
17145 * posix/bits/unistd.h [__USE_BSD]: Likewise.
17146 * posix/glob.h [__USE_BSD]: Likewise.
17147 * posix/regex.h [__USE_BSD]: Likewise.
17148 * posix/sys/types.h [__USE_BSD]: Likewise.
17149 [__USE_SVID]: Likewise.
17150 * posix/sys/utsname.h [__USE_SVID]: Likewise.
17151 * posix/sys/wait.h [__USE_BSD]: Likewise.
17152 [__USE_SVID]: Likewise.
17153 * posix/unistd.h [__USE_BSD]: Likewise.
17154 [__USE_SVID]: Likewise.
17155 * pwd/pwd.h [__USE_SVID]: Likewise.
17156 * resolv/netdb.h [__USE_BSD]: Likewise.
17157 * setjmp/setjmp.h [__USE_BSD]: Likewise.
17158 * signal/signal.h [__USE_BSD]: Likewise.
17159 [__USE_SVID]: Likewise.
17160 * socket/sys/socket.h [__USE_BSD]: Likewise.
17161 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17162 * stdlib/stdlib.h [__USE_BSD]: Likewise.
17163 [__USE_SVID]: Likewise.
17164 * string/bits/string2.h [__USE_BSD]: Likewise.
17165 [__USE_SVID]: Likewise.
17166 * string/bits/string3.h [__USE_BSD]: Likewise.
17167 * string/endian.h [__USE_BSD]: Likewise.
17168 * string/string.h [__USE_SVID]: Likewise.
17169 [__USE_BSD]: Likewise.
17170 * string/strings.h [__USE_BSD]: Likewise.
17171 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17172 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17173 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17174 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17175 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17176 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17177 Likewise.
17178 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17179 Likewise.
17180 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17181 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17182 Likewise.
17183 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17184 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17185 Likewise.
17186 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17187 Likewise.
17188 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17189 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17190 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17191 Likewise.
17192 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17193 Likewise.
17194 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17195 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17196 * termios/termios.h [__USE_BSD]: Likewise.
17197 * time/sys/time.h [__USE_BSD]: Likewise.
17198 * time/time.h [__USE_BSD]: Likewise.
17199 [__USE_SVID]: Likewise.
17200
dd7b064c
JM
17201 * Makefile (subdir_targets): Remove subdir_lint.out.
17202
a2c4c199
JM
17203 * stdio-common/Makefile (do-tst-unbputc): Remove target.
17204 (do-tst-printf): Likewise.
17205 (tests): Depend directly on $(objpfx)tst-unbputc.out and
17206 $(objpfx)tst-printf.out.
17207
8756f740
JM
17208 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17209
1b6dd3f1
JM
17210 * Makerules (check-abi-%): Change target to
17211 $(objpfx)check-abi-%.out.
17212 (check-abi target): Update dependencies.
17213 (check-abi-pattern variable): Redirect output of diff to $@.
17214 (check-abi variable): Likewise.
17215 * elf/Makefile (check-abi): Update dependencies.
17216
ace614b8
JM
17217 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17218 unused.
17219 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17220 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17221 subnormal range.
17222 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17223 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17224 value has largest subnormal exponent.
17225 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17226 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17227 * sysdeps/aarch64/soft-fp/sfp-machine.h
17228 (_FP_TININESS_AFTER_ROUNDING): New macro.
17229 * sysdeps/alpha/soft-fp/sfp-machine.h
17230 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17231 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17232 Likewise.
17233 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17234 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17235 * sysdeps/mips/soft-fp/sfp-machine.h
17236 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17237 * sysdeps/powerpc/soft-fp/sfp-machine.h
17238 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17239 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17240 Likewise.
17241 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17242 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17243 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17244 (_FP_TININESS_AFTER_ROUNDING): Likewise.
17245 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17246 Likewise.
17247
fbfdf9cb
DAS
172482014-02-12 Dylan Alex Simon <dylan@dylex.net>
17249
17250 [BZ #16545]
17251 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17252 model 1.
17253
68b7efaa
RH
172542014-02-12 Richard Henderson <rth@redhat.com>
17255
c70a4b1d 17256 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
17257 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17258 * sysdeps/unix/sysv/linux/alpha: Move directory from
17259 ports/sysdeps/unix/sysv/linux/alpha.
17260 * README: Update listing for alpha-*-linux-gnu.
17261
cb4a2928
JM
172622014-02-11 Joseph Myers <joseph@codesourcery.com>
17263
c941736c
JM
17264 * include/features.h: Update comment documenting feature test
17265 macros.
17266 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
17267 _DEFAULT_SOURCE.
17268 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17269 (_SVID_SOURCE): Likewise.
17270 (_DEFAULT_SOURCE): Update description of default features.
17271 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17272 with _GNU_SOURCE.
17273 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17274 (S_ISVTX): Likewise.
17275 * manual/math.texi (Mathematical Constants): Likewise.
17276 * manual/signal.texi (Interrupted Primitives): Likewise.
17277 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17278 * math/test-matherr.c (_SVID_SOURCE): Do not define.
17279 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17280 Don't refer to _SVID_SOURCE in warning text.
17281
e8d8d7ec
JM
17282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17283
cb4a2928
JM
17284 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17285 already defined.
17286 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17287 * sysdeps/mips/dl-lookup.c: Remove.
17288 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17289
7e6424e3
AK
172902014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
17291
17292 [BZ #16447]
17293 * math/auto-libm-test-in: Add testcase for expl.
17294 * math/auto-libm-test-out: Regenerate.
17295 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17296 calculation of unsafe.
17297 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17298
75eff3fe
MS
172992014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
17300
17301 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17302 * sysdeps/unix/sysv/linux/aarch64: Move directory from
17303 ports/sysdeps/unix/sysv/linux/aarch64.
17304 * README: Update listing for aarch64*-*-linux-gnu.
17305
d35f1e80
WN
173062014-02-11 Will Newton <will.newton@linaro.org>
17307
17308 * manual/probes.texi (Mathematical Function Probes): Use
17309 "triggered" instead of "hit".
17310
7b3436d4
WN
17311 * manual/probes.texi (Internal Probes): Add documentation
17312 of setjmp, longjmp and longjmp_target probes.
17313
b4f12ca3
WN
17314 * include/stap-probe.h: Add comment about probe argument
17315 format.
17316
c13a72b7
WN
17317 * malloc/mtrace.c (attribute_hidden): Remove unused macro
17318 definition. (tr_where, tr_freehook, tr_mallochook,
17319 tr_reallochook, tr_memalignhook): Use ANSI protoype.
17320
195b8165
DM
173212014-02-11 David S. Miller <davem@davemloft.net>
17322
17323 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17324 processing int_tests.
17325
2ad7600b
JM
173262014-02-10 Joseph Myers <joseph@codesourcery.com>
17327
17328 * sysdeps/mips: Move directory from ports/sysdeps/mips.
17329 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17330 * sysdeps/unix/sysv/linux/mips: Move directory from
17331 ports/sysdeps/unix/sysv/linux/mips.
17332 * README: Update listing for mips-*-linux-gnu and
17333 mips64-*-linux-gnu.
17334
73588a72
AS
173352014-02-10 Andreas Schwab <schwab@linux-m68k.org>
17336
17337 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17338 * sysdeps/unix/sysv/linux/m68k: Move directory from
17339 ports/sysdeps/unix/sysv/linux/m68k.
17340 * README: Update listing for m68k-*-linux-gnu.
17341
4372980f
CM
173422014-02-10 Chris Metcalf <cmetcalf@tilera.com>
17343
17344 * sysdeps/tile: Move directory from ports/sysdeps/tile.
17345 * sysdeps/unix/sysv/linux/generic: Move directory from
17346 ports/sysdeps/unix/sysv/linux/generic.
17347 * sysdeps/unix/sysv/linux/tile: Move directory from
17348 ports/sysdeps/unix/sysv/linux/tile.
17349 * README: Update listing for tile*-*-linux-gnu.
17350
a1ffb40e
OB
173512014-02-10 Ondřej Bílka <neleai@seznam.cz>
17352
57f41c40
AS
17353 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17354 __builtin_expect.
a1ffb40e
OB
17355 * benchtests/bench-memmem.c (simple_memmem): Likewise.
17356 * catgets/open_catalog.c (__open_catalog): Likewise.
17357 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17358 * debug/confstr_chk.c: Likewise.
17359 * debug/fread_chk.c (__fread_chk): Likewise.
17360 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17361 * debug/getgroups_chk.c: Likewise.
17362 * debug/mbsnrtowcs_chk.c: Likewise.
17363 * debug/mbsrtowcs_chk.c: Likewise.
17364 * debug/mbstowcs_chk.c: Likewise.
17365 * debug/memcpy_chk.c: Likewise.
17366 * debug/memmove_chk.c: Likewise.
17367 * debug/mempcpy_chk.c: Likewise.
17368 * debug/memset_chk.c: Likewise.
17369 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17370 * debug/strcat_chk.c (__strcat_chk): Likewise.
17371 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17372 * debug/strncat_chk.c (__strncat_chk): Likewise.
17373 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17374 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17375 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17376 * debug/wcpncpy_chk.c: Likewise.
17377 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17378 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17379 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17380 * debug/wcsncpy_chk.c: Likewise.
17381 * debug/wcsnrtombs_chk.c: Likewise.
17382 * debug/wcsrtombs_chk.c: Likewise.
17383 * debug/wcstombs_chk.c: Likewise.
17384 * debug/wmemcpy_chk.c: Likewise.
17385 * debug/wmemmove_chk.c: Likewise.
17386 * debug/wmempcpy_chk.c: Likewise.
17387 * debug/wmemset_chk.c: Likewise.
17388 * dirent/scandirat.c (SCANDIRAT): Likewise.
17389 * dlfcn/dladdr1.c (dladdr1): Likewise.
17390 * dlfcn/dladdr.c (dladdr): Likewise.
17391 * dlfcn/dlclose.c (dlclose_doit): Likewise.
17392 * dlfcn/dlerror.c (__dlerror): Likewise.
17393 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17394 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17395 * dlfcn/dlopen.c (dlopen_doit): Likewise.
17396 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17397 * dlfcn/dlsym.c (dlsym_doit): Likewise.
17398 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17399 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17400 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17401 Likewise.
17402 * elf/dl-conflict.c: Likewise.
17403 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17404 * elf/dl-dst.h: Likewise.
17405 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17406 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17408 * elf/dl-init.c (call_init, _dl_init): Likewise.
17409 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
57f41c40
AS
17410 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17411 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17412 Likewise.
a1ffb40e
OB
17413 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17414 Likewise.
17415 * elf/dl-minimal.c (__libc_memalign): Likewise.
17416 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17417 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17418 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17419 * elf/dl-sym.c (do_sym): Likewise.
57f41c40
AS
17420 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17421 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
a1ffb40e
OB
17422 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17423 * elf/dl-writev.h (_dl_writev): Likewise.
17424 * elf/ldconfig.c (search_dir): Likewise.
57f41c40
AS
17425 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17426 (dl_main): Likewise.
a1ffb40e
OB
17427 * elf/setup-vdso.h (setup_vdso): Likewise.
17428 * grp/compat-initgroups.c (compat_call): Likewise.
17429 * grp/fgetgrent.c (fgetgrent): Likewise.
17430 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17431 * grp/putgrent.c (putgrent): Likewise.
17432 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17433 Likewise.
17434 * hurd/hurdinit.c: Likewise.
17435 * iconvdata/8bit-gap.c (struct): Likewise.
17436 * iconvdata/ansi_x3.110.c : Likewise.
17437 * iconvdata/big5.c : Likewise.
17438 * iconvdata/big5hkscs.c : Likewise.
17439 * iconvdata/cp1255.c: Likewise.
17440 * iconvdata/cp1258.c : Likewise.
17441 * iconvdata/cp932.c : Likewise.
17442 * iconvdata/euc-cn.c: Likewise.
17443 * iconvdata/euc-jisx0213.c : Likewise.
17444 * iconvdata/euc-jp.c: Likewise.
17445 * iconvdata/euc-jp-ms.c : Likewise.
17446 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17447 * iconvdata/gb18030.c : Likewise.
17448 * iconvdata/gbbig5.c (const): Likewise.
17449 * iconvdata/gbgbk.c: Likewise.
17450 * iconvdata/gbk.c : Likewise.
17451 * iconvdata/ibm1364.c : Likewise.
17452 * iconvdata/ibm930.c : Likewise.
17453 * iconvdata/ibm932.c: Likewise.
17454 * iconvdata/ibm933.c : Likewise.
17455 * iconvdata/ibm935.c : Likewise.
17456 * iconvdata/ibm937.c : Likewise.
17457 * iconvdata/ibm939.c : Likewise.
17458 * iconvdata/ibm943.c: Likewise.
17459 * iconvdata/iso_11548-1.c: Likewise.
17460 * iconvdata/iso-2022-cn.c : Likewise.
17461 * iconvdata/iso-2022-cn-ext.c : Likewise.
17462 * iconvdata/iso-2022-jp-3.c: Likewise.
17463 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17464 * iconvdata/iso-2022-kr.c : Likewise.
17465 * iconvdata/iso646.c (gconv_end): Likewise.
17466 * iconvdata/iso_6937-2.c : Likewise.
17467 * iconvdata/iso_6937.c : Likewise.
17468 * iconvdata/iso8859-1.c: Likewise.
17469 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17470 * iconvdata/shift_jisx0213.c : Likewise.
17471 * iconvdata/sjis.c : Likewise.
17472 * iconvdata/t.61.c : Likewise.
17473 * iconvdata/tcvn5712-1.c : Likewise.
17474 * iconvdata/tscii.c: Likewise.
17475 * iconvdata/uhc.c : Likewise.
17476 * iconvdata/unicode.c (gconv_end): Likewise.
17477 * iconvdata/utf-16.c (gconv_end): Likewise.
17478 * iconvdata/utf-32.c (gconv_end): Likewise.
17479 * iconvdata/utf-7.c (base64): Likewise.
17480 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17481 * iconv/gconv_close.c (__gconv_close): Likewise.
17482 * iconv/gconv_open.c (__gconv_open): Likewise.
57f41c40
AS
17483 * iconv/gconv_simple.c (internal_ucs4_loop_single)
17484 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17485 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17486 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17487 (ucs4le_internal_loop_single): Likewise.
a1ffb40e
OB
17488 * iconv/iconv.c (iconv): Likewise.
17489 * iconv/iconv_close.c: Likewise.
17490 * iconv/loop.c (SINGLE): Likewise.
17491 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17492 * include/atomic.h: Likewise.
17493 * inet/inet6_option.c (option_alloc): Likewise.
17494 * intl/bindtextdom.c (set_binding_values): Likewise.
17495 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17496 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17497 * intl/localealias.c (read_alias_file): Likewise.
17498 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
57f41c40
AS
17499 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17500 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
a1ffb40e
OB
17501 * libio/fmemopen.c (fmemopen): Likewise.
17502 * libio/iofgets.c (_IO_fgets): Likewise.
17503 * libio/iofgets_u.c (fgets_unlocked): Likewise.
17504 * libio/iofgetws.c (fgetws): Likewise.
17505 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17506 * libio/iogetdelim.c (_IO_getdelim): Likewise.
57f41c40
AS
17507 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17508 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
a1ffb40e
OB
17509 * locale/findlocale.c (_nl_find_locale): Likewise.
17510 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17511 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17512 Likewise.
17513 * locale/setlocale.c (setlocale): Likewise.
17514 * login/programs/pt_chown.c (main): Likewise.
17515 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17516 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
57f41c40
AS
17517 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17518 (mmap, mmap64, mremap, munmap): Likewise.
a1ffb40e
OB
17519 * math/e_exp2l.c: Likewise.
17520 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17521 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17522 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17523 * math/s_catan.c (__catan): Likewise.
17524 * math/s_catanf.c (__catanf): Likewise.
17525 * math/s_catanh.c (__catanh): Likewise.
17526 * math/s_catanhf.c (__catanhf): Likewise.
17527 * math/s_catanhl.c (__catanhl): Likewise.
17528 * math/s_catanl.c (__catanl): Likewise.
17529 * math/s_ccosh.c (__ccosh): Likewise.
17530 * math/s_ccoshf.c (__ccoshf): Likewise.
17531 * math/s_ccoshl.c (__ccoshl): Likewise.
17532 * math/s_cexp.c (__cexp): Likewise.
17533 * math/s_cexpf.c (__cexpf): Likewise.
17534 * math/s_cexpl.c (__cexpl): Likewise.
17535 * math/s_clog10.c (__clog10): Likewise.
17536 * math/s_clog10f.c (__clog10f): Likewise.
17537 * math/s_clog10l.c (__clog10l): Likewise.
17538 * math/s_clog.c (__clog): Likewise.
17539 * math/s_clogf.c (__clogf): Likewise.
17540 * math/s_clogl.c (__clogl): Likewise.
17541 * math/s_csin.c (__csin): Likewise.
17542 * math/s_csinf.c (__csinf): Likewise.
17543 * math/s_csinh.c (__csinh): Likewise.
17544 * math/s_csinhf.c (__csinhf): Likewise.
17545 * math/s_csinhl.c (__csinhl): Likewise.
17546 * math/s_csinl.c (__csinl): Likewise.
17547 * math/s_csqrt.c (__csqrt): Likewise.
17548 * math/s_csqrtf.c (__csqrtf): Likewise.
17549 * math/s_csqrtl.c (__csqrtl): Likewise.
17550 * math/s_ctan.c (__ctan): Likewise.
17551 * math/s_ctanf.c (__ctanf): Likewise.
17552 * math/s_ctanh.c (__ctanh): Likewise.
17553 * math/s_ctanhf.c (__ctanhf): Likewise.
17554 * math/s_ctanhl.c (__ctanhl): Likewise.
17555 * math/s_ctanl.c (__ctanl): Likewise.
17556 * math/w_pow.c: Likewise.
17557 * math/w_powf.c: Likewise.
17558 * math/w_powl.c: Likewise.
17559 * math/w_scalb.c (sysv_scalb): Likewise.
17560 * math/w_scalbf.c (sysv_scalbf): Likewise.
17561 * math/w_scalbl.c (sysv_scalbl): Likewise.
17562 * misc/error.c (error_tail): Likewise.
17563 * misc/pselect.c (__pselect): Likewise.
17564 * nis/nis_callback.c (__nis_create_callback): Likewise.
17565 * nis/nis_call.c (__nisfind_server): Likewise.
17566 * nis/nis_creategroup.c (nis_creategroup): Likewise.
17567 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17568 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17569 * nis/nis_getservlist.c (nis_getservlist): Likewise.
17570 * nis/nis_lookup.c (nis_lookup): Likewise.
17571 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
57f41c40
AS
17572 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17573 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
a1ffb40e 17574 * nis/nis_xdr.c (xdr_endpoint): Likewise.
57f41c40
AS
17575 * nis/nss_compat/compat-grp.c (getgrent_next_file)
17576 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17577 * nis/nss_compat/compat-initgroups.c (add_group)
17578 (internal_getgrent_r): Likewise.
17579 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17580 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17581 * nis/nss_compat/compat-spwd.c (getspent_next_file)
17582 (internal_getspnam_r): Likewise.
17583 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17584 (_nss_nis_getaliasbyname_r): Likewise.
17585 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17586 (_nss_nis_getntohost_r): Likewise.
17587 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17588 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17589 (_nss_nis_getgrgid_r): Likewise.
17590 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17591 (internal_nis_gethostent_r, internal_gethostbyname2_r)
17592 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17593 (_nss_nis_gethostbyname4_r): Likewise.
17594 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17595 (initgroups_netid): Likewise.
a1ffb40e 17596 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
57f41c40
AS
17597 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17598 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17599 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17600 (_nss_nis_getprotobynumber_r): Likewise.
17601 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17602 (_nss_nis_getsecretkey): Likewise.
17603 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17604 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17605 (_nss_nis_getpwuid_r): Likewise.
17606 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17607 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17608 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17609 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17610 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17611 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
a1ffb40e
OB
17612 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17613 Likewise.
57f41c40
AS
17614 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17615 (_nss_nisplus_getntohost_r): Likewise.
17616 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17617 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17618 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17619 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
a1ffb40e 17620 Likewise.
57f41c40
AS
17621 * nis/nss_nisplus/nisplus-initgroups.c
17622 (_nss_nisplus_initgroups_dyn): Likewise.
17623 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17624 (_nss_nisplus_getnetbyaddr_r): Likewise.
17625 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17626 (_nss_nisplus_getprotobynumber_r): Likewise.
17627 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17628 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
a1ffb40e
OB
17629 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17630 Likewise.
57f41c40
AS
17631 * nis/nss_nisplus/nisplus-service.c
17632 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17633 (_nss_nisplus_getservbyport_r): Likewise.
17634 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17635 (_nss_nisplus_getspnam_r): Likewise.
17636 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17637 Likewise.
a1ffb40e
OB
17638 * nscd/aicache.c (addhstaiX): Likewise.
17639 * nscd/cache.c (cache_search, prune_cache): Likewise.
57f41c40
AS
17640 * nscd/connections.c (register_traced_file, send_ro_fd)
17641 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17642 (main_loop_epoll): Likewise.
a1ffb40e
OB
17643 * nscd/grpcache.c (addgrbyX): Likewise.
17644 * nscd/hstcache.c (addhstbyX): Likewise.
17645 * nscd/initgrcache.c (addinitgroupsX): Likewise.
17646 * nscd/mem.c (gc, mempool_alloc): Likewise.
57f41c40
AS
17647 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17648 (addinnetgrX): Likewise.
17649 * nscd/nscd-client.h (__nscd_acquire_maplock)
17650 (__nscd_drop_map_ref): Likewise.
a1ffb40e
OB
17651 * nscd/nscd_getai.c (__nscd_getai): Likewise.
17652 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17653 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17654 Likewise.
17655 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17656 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
57f41c40
AS
17657 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17658 (__nscd_get_map_ref): Likewise.
a1ffb40e 17659 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
57f41c40
AS
17660 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17661 Likewise.
a1ffb40e
OB
17662 * nscd/pwdcache.c (addpwbyX): Likewise.
17663 * nscd/selinux.c (preserve_capabilities): Likewise.
17664 * nscd/servicescache.c (addservbyX): Likewise.
17665 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17666 * posix/fnmatch.c (fnmatch): Likewise.
17667 * posix/getopt.c (_getopt_internal_r): Likewise.
17668 * posix/glob.c (glob, glob_in_dir): Likewise.
17669 * posix/wordexp.c (exec_comm_child): Likewise.
57f41c40
AS
17670 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17671 (getanswer_r, gaih_getanswer_slice): Likewise.
a1ffb40e
OB
17672 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17673 * resolv/res_init.c: Likewise.
17674 * resolv/res_mkquery.c (res_nmkquery): Likewise.
17675 * resolv/res_query.c (__libc_res_nquery): Likewise.
17676 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17677 Likewise.
17678 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17679 * stdio-common/perror.c (perror): Likewise.
17680 * stdio-common/printf_fp.c (___printf_fp): Likewise.
17681 * stdio-common/tmpnam.c (tmpnam): Likewise.
17682 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17683 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
57f41c40
AS
17684 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17685 Likewise.
a1ffb40e
OB
17686 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17687 * stdlib/putenv.c (putenv): Likewise.
17688 * stdlib/setenv.c (__add_to_environ): Likewise.
17689 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17690 * stdlib/strtol_l.c (INTERNAL): Likewise.
17691 * string/memmem.c (memmem): Likewise.
17692 * string/strerror.c (strerror): Likewise.
17693 * string/strnlen.c (__strnlen): Likewise.
17694 * string/test-memmem.c (simple_memmem): Likewise.
17695 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17696 * sunrpc/pm_getport.c (__get_socket): Likewise.
17697 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17698 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
57f41c40
AS
17699 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17700 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
a1ffb40e
OB
17701 Likewise.
17702 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17703 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17704 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17705 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17706 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
57f41c40
AS
17707 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17708 Likewise.
17709 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17710 Likewise.
a1ffb40e
OB
17711 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17712 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17713 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17714 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17715 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17716 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17717 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17718 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17719 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17720 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17721 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17722 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17723 Likewise.
17724 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17725 Likewise.
17726 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17727 Likewise.
17728 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17729 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17730 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17731 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17732 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17733 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17734 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17735 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17736 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17737 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17738 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17740 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17741 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17742 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57f41c40
AS
17743 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17744 Likewise.
a1ffb40e
OB
17745 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17746 Likewise.
17747 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17748 Likewise.
17749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17750 Likewise.
17751 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17752 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17753 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17754 Likewise.
17755 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17756 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17757 * sysdeps/posix/opendir.c (__opendirat): Likewise.
17758 * sysdeps/posix/sleep.c: Likewise.
17759 * sysdeps/posix/tempname.c: Likewise.
17760 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17761 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17762 Likewise.
57f41c40
AS
17763 * sysdeps/powerpc/powerpc32/dl-machine.h
17764 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
a1ffb40e
OB
17765 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17767 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17768 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17769 Likewise.
17770 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17771 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17772 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17773 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17774 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17775 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17776 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17777 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17778 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17779 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17780 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17781 (elf_machine_lazy_rel): Likewise.
a1ffb40e 17782 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17783 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17784 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17785 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17786 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17787 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17788 * sysdeps/unix/grantpt.c (grantpt): Likewise.
17789 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17790 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17791 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17792 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17793 Likewise.
17794 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17795 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17796 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17797 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17798 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17799 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17800 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17801 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17802 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17803 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17804 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17805 Likewise.
17806 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17807 (__posix_fallocate64_l64): Likewise.
17808 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17809 (posix_fallocate): Likewise.
57f41c40
AS
17810 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17811 Likewise.
a1ffb40e 17812 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57f41c40
AS
17813 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17814 (getifaddrs_internal): Likewise.
a1ffb40e
OB
17815 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17816 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17817 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17818 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17819 * sysdeps/unix/sysv/linux/posix_fallocate64.c
17820 (__posix_fallocate64_l64): Likewise.
17821 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17822 Likewise.
17823 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57f41c40
AS
17824 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17825 (__get_clockfreq): Likewise.
a1ffb40e
OB
17826 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17827 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17828 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17830 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17831 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17832 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17833 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17834 Likewise.
17835 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17836 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17837 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17838 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17839 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17840 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17841 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17842 Likewise.
17843 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17844 (posix_fallocate): Likewise.
17845 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17846 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17847 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57f41c40
AS
17848 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17849 (elf_machine_rela, elf_machine_rela_relative)
17850 (elf_machine_lazy_rel): Likewise.
a1ffb40e
OB
17851 * time/asctime.c (asctime_internal): Likewise.
17852 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17853 * time/tzset.c (__tzset_parse_tz): Likewise.
17854 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17855 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17856 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17857 * wcsmbs/wcsmbsload.h: Likewise.
17858
f3d338c9
OB
17859 [BZ #15894]
17860 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17861
57f41c40
AS
17862 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17863 (arena_get2): Remove THREAD_STATS conditionals.
17864 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17865 (__malloc_stats, int): Likewise.
bdfe308a 17866
d674667c
MF
178672014-02-08 Mike Frysinger <vapier@gentoo.org>
17868
17869 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17870 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
17871
6349768c
MF
17872 * manual/setjmp.texi: Fix typos/grammar errors.
17873
0b7c7473
MF
17874 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17875 Only return early when n is <= 0. Delete unused return statement.
17876
ac8cc9e3
MF
17877 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17878 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17879 * debug/tst-longjmp_chk3.c: New file.
17880
c5bb8e23
MF
17881 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17882 (test_main): Replace code with set_fortify_handler call.
17883 * debug/test-strcpy_chk.c: Likewise.
17884 * debug/tst-chk1.c: Likewise.
17885 * debug/tst-longjmp_chk.c: Likewise.
17886 * test-skeleton.c: Include fcntl.h & paths.h
17887 (set_fortify_handler): Define.
17888
10444e42
MF
17889 * debug/tst-longjmp_chk.c: Add header comment and include
17890 ../test-skeleton.c.
17891 (do_test): Mark static.
17892 (TEST_FUNCTION): Define.
17893
1e805e8d
MF
17894 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17895 (IP_PMTUDISC_INTERFACE): Likewise.
17896 (IP_MULTICAST_IF): Likewise.
17897 (IP_MULTICAST_TTL): Likewise.
17898 (IP_MULTICAST_LOOP): Likewise.
17899 (IP_ADD_MEMBERSHIP): Likewise.
17900 (IP_DROP_MEMBERSHIP): Likewise.
17901 (IP_UNBLOCK_SOURCE): Likewise.
17902 (IP_BLOCK_SOURCE): Likewise.
17903 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17904 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17905 (IP_MSFILTER): Likewise.
17906 (MCAST_JOIN_GROUP): Likewise.
17907 (MCAST_BLOCK_SOURCE): Likewise.
17908 (MCAST_UNBLOCK_SOURCE): Likewise.
17909 (MCAST_LEAVE_GROUP): Likewise.
17910 (MCAST_JOIN_SOURCE_GROUP): Likewise.
17911 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17912 (MCAST_MSFILTER): Likewise.
17913 (IP_MULTICAST_ALL): Likewise.
17914 (IP_UNICAST_IF): Likewise.
17915
73f79bb7
MF
17916 * timezone/Makefile: Delete $(have-ksh) check.
17917 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17918 * timezone/tzselect.ksh: Add +x mode bits.
17919
8da79b60
MF
17920 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17921 (ANON_INODE_FS_MAGIC): Likewise.
17922 (BDEVFS_MAGIC): Likewise.
17923 (BINFMTFS_MAGIC): Likewise.
17924 (BTRFS_TEST_MAGIC): Likewise.
17925 (CRAMFS_MAGIC_WEND): Likewise.
17926 (DEBUGFS_MAGIC): Likewise.
17927 (ECRYPTFS_SUPER_MAGIC): Likewise.
17928 (EXT3_SUPER_MAGIC): Likewise.
17929 (EXT4_SUPER_MAGIC): Likewise.
17930 (FUTEXFS_SUPER_MAGIC): Likewise.
17931 (HOSTFS_SUPER_MAGIC): Likewise.
17932 (HUGETLBFS_MAGIC): Likewise.
17933 (MINIX3_SUPER_MAGIC): Likewise.
17934 (MTD_INODE_FS_MAGIC): Likewise.
17935 (NILFS_SUPER_MAGIC): Likewise.
17936 (OPENPROM_SUPER_MAGIC): Likewise.
17937 (PIPEFS_MAGIC): Likewise.
17938 (PSTOREFS_MAGIC): Likewise.
17939 (QNX6_SUPER_MAGIC): Likewise.
17940 (RAMFS_MAGIC): Likewise.
17941 (REISERFS_SUPER_MAGIC_STRING): Likewise.
17942 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17943 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17944 (SECURITYFS_MAGIC): Likewise.
17945 (SELINUX_MAGIC): Likewise.
17946 (SMACK_MAGIC): Likewise.
17947 (SOCKFS_MAGIC): Likewise.
17948 (SQUASHFS_MAGIC): Likewise.
17949 (STACK_END_MAGIC): Likewise.
17950 (TMPFS_MAGIC): Likewise.
17951 (USBDEVICE_SUPER_MAGIC): Likewise.
17952 (V9FS_MAGIC): Likewise.
17953 (XENFS_SUPER_MAGIC): Likewise.
17954 (CRAMFS_MAGIC): Fix typo in comment.
17955 (EXT2_SUPER_MAGIC): Update comment.
17956 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17957
464263cc
JM
179582014-02-08 Joseph Myers <joseph@codesourcery.com>
17959
c6bfe5c4
JM
17960 * sysdeps/arm: Move directory from ports/sysdeps/arm.
17961 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17962 * sysdeps/unix/sysv/linux/arm: Move directory from
17963 ports/sysdeps/unix/sysv/linux/arm.
17964 * README: Update listing for arm-*-linux-gnueabi.
17965
464263cc
JM
17966 * README: Remove mention of am33.
17967
32749f6c
RM
179682014-02-07 Roland McGrath <roland@hack.frob.com>
17969
17970 * bits/sigset.h (__sigemptyset): Use a statement expression rather
17971 than the comma operator, to avoid "rhs of comma has no effect"
17972 compiler warnings.
17973 (__sigfillset, __sigandset, __sigorset): Likewise.
17974 * include/signal.h (__sigemptyset): Likewise.
17975 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17976
d5b396c1
AM
179772014-02-07 Allan McRae <allan@archlinux.org>
17978
17979 * version.h (RELEASE): Set to "development".
17980 (VERSION): Set to "2.19.90"
17981 * NEWS: Add 2.20 section.
17982
3bfff2ed
CD
179832014-02-06 Carlos O'Donell <carlos@redhat.com>
17984
17985 [BZ #16529]
17986 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17987
ee7cc385
SP
179882014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
17989
17990 * manual/contrib.texi: Update entry for Carlos O'Donell,
17991 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17992
f877c4f2
CD
179932014-02-05 Carlos O'Donell <carlos@rehdat.com>
17994
27e839f6
CD
17995 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17996
f877c4f2
CD
17997 * sysdeps/unix/sysv/linux/kernel-features.h
17998 [__LINUX_KERNEL_VERSION >= 0x020621]
17999 (__ASSUME_PROC_PID_TASK_COMM): Define.
18000
68159946
SP
180012014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18002
ba17cdbd
SP
18003 [BZ #16398]
18004 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18005 conversion when destination buffer does not have enough space.
18006 * libio/tst-ftell-partial-wide.c: New test case.
18007 * libio/Makefile (tests): Add tst-ftell-partial-wide.
18008
68159946
SP
18009 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18010 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
18011 Leonard and Allan McRae.
18012
2b528732
DM
180132014-02-04 David S. Miller <davem@davemloft.net>
18014
18015 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18016 32-bit.
18017
0ff82463
AZ
180182014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18019
57f41c40
AS
18020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18021 New file
c01603f7
AZ
18022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18023 New file
57f41c40
AS
18024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18025 New file.
18026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18027 New file.
c01603f7
AZ
18028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18029 New file.
57f41c40
AS
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18031 New file.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18033 New file.
c01603f7
AZ
18034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18035 New file.
18036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18037 New file.
18038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18039 New file.
18040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18041 New file.
18042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18043 New file.
18044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18045 New file.
18046
180472014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18048
0ff82463
AZ
18049 * nptl/shlib-versions: Change powerpc*le start to 2.17.
18050 * shlib-versions: Likewise.
18051
1695c773
AZ
180522014-02-04 Roland McGrath <roland@hack.frob.com>
18053 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18054
18055 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18056 (abilist-pattern): New variable, set to %-le.abilist.
18057
18058 * Makerules (abilist-pattern): New variable.
18059 (vpath): Use $(abilist-pattern) in place of %.abilist.
18060 (check-abi-% pattern rule): Likewise.
18061 (check-abi, update-abi): Likewise.
18062
6c0ce4b4
EW
180632014-02-04 Eric Wong <normalperson@yhbt.net>
18064
18065 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18066
481e3524
CD
180672014-02-03 Carlos O'Donell <carlos@redhat.com>
18068
18069 * manual/startup.texi: Add next, previous, and top entries for
18070 the `Program Arguments' and `Environment Variables' nodes.
18071
375592d3
AO
180722014-02-03 Alexandre Oliva <aoliva@redhat.com>
18073
18074 * manual/macros.texi: Add comments before MTASC-safety macros.
18075
f54838ba
AO
18076 * manual/users.texi: Document MTASC-safety properties.
18077
57f41c40
AS
18078 * manual/threads.texi (pthread_key_create, pthread_key_delete)
18079 (pthread_getspecific, pthread_setspecific): Format with
909e12ad
AO
18080 @deftypefun, and add @safety note.
18081 * manual/signal.texi: Move comments that analyze the above
18082 functions to their home place.
18083
fd3daba4
AM
180842014-02-03 Allan McRae <allan@archlinux.org>
18085
18086 * po/sl.po: Update Slovenian translation from translation project.
18087
597636d7
AO
180882014-02-02 Alexandre Oliva <aoliva@redhat.com>
18089
18090 * manual/time.texi (timegm): Add missing blank after @c.
18091 Reported by Joseph Myers <joseph@codesourcery.com>.
18092
ee196e3c
AO
180932014-02-01 Alexandre Oliva <aoliva@redhat.com>
18094
18095 * manual/check-safety.sh: New.
18096 * manual/Makefile ($(objpfx)stamp-summary): Run it.
18097
f8d529d5
AO
18098 * manual/terminal.texi: Document MTASC-safety properties.
18099
de55fdf4
AO
18100 * manual/filesys.texi: Document MTASC-safety properties.
18101
c3299c08
AO
18102 * manual/errno.texi: Document MTASC-safety properties.
18103
06e90b14
AO
18104 * manual/intro.texi: Document safety identifiers and
18105 conditionals.
18106
1acd4371
AO
18107 * manual/string.texi (wcstok): Fix prototype.
18108 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18109
23e5b8cb
AO
18110 * manual/time.texi: Document MTASC-safety properties.
18111
11087373
AO
18112 * manual/string.texi: Document MTASC-safety properties.
18113
5da2c93d
AO
18114 * manual/threads.texi: Document MTASC-safety properties.
18115
171e9210
AO
18116 * manual/stdio.texi: Document MTASC-safety properties.
18117
d9e02532
AO
18118 * manual/syslog.texi: Document MTASC-safety properties.
18119
6af8bab7
AO
18120 * manual/sysinfo.texi: Document MTASC-safety properties.
18121
663b02d7
AO
18122 * manual/startup.texi: Document MTASC-safety properties.
18123
973f180b
AO
18124 * manual/socket.texi: Document MTASC-safety properties.
18125
8f3c25c8
AO
18126 * manual/signal.texi: Document MTASC-safety properties.
18127
542210fb
AO
181282014-01-31 Alexandre Oliva <aoliva@redhat.com>
18129
18130 * manual/setjmp.texi: Document MTASC-safety properties.
18131
433c45a2
AO
18132 * manual/search.texi: Document MTASC-safety properties.
18133
c8ce789c
AO
18134 * manual/resource.texi: Document MTASC-safety properties.
18135
19f5d29c
AO
18136 * manual/process.texi: Document MTASC-safety properties.
18137
e2dfb7f4
AO
18138 * manual/platform.texi: Document MTASC-safety properties.
18139
8c1413f5
AO
18140 * manual/pipe.texi: Document MTASC-safety properties.
18141
03483ada
AO
18142 * manual/pattern.texi: Document MTASC-safety properties.
18143
29e7e2df
AO
18144 * manual/message.texi: Document MTASC-safety properties.
18145
9f529d7c
AO
18146 [BZ #12751]
18147 * manual/memory.texi: Document MTASC-safety properties.
18148
27aaa791
AO
18149 * manual/math.texi: Document MTASC-safety properties.
18150
f2d58726
AO
18151 * manual/locale.texi: Document MTASC-safety properties.
18152
2cc3615c
AO
18153 * manual/llio.texi: Document MTASC-safety properties.
18154
d9f0ec97
AO
18155 * manual/libdl.texi: New.
18156
e7c4409a
AO
18157 * manual/lang.texi: Document MTASC-safety properties.
18158
27bdc63c
AO
18159 * manual/job.texi: Document MTASC-safety properties.
18160
a7b90ea9
AO
18161 * manual/getopt.texi: Document MTASC-safety properties.
18162
c49130e3
AO
18163 * manual/ctype.texi: Document MTASC-safety properties.
18164
0d23a5c1
MR
181652014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
18166
18167 [BZ #16046]
18168 * csu/libc-tls.c (static_map): Remove variable.
18169 (__libc_setup_tls): Use main executable's link map for TLS data.
18170 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18171 casing for LM_ID_BASE and GL(dl_nns).
18172 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18173 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
18174 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18175 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18176 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18177 member.
18178 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18179 l_phnum members.
18180
0037bb60
AO
181812014-01-30 Alexandre Oliva <aoliva@redhat.com>
18182
18183 * manual/debug.texi: Document MTASC-safety properties.
18184
409e00bd
L
181852014-01-29 H.J. Lu <hongjiu.lu@intel.com>
18186
18187 [BZ #16510]
18188 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18189 of __x86_64__ when disabling x87 inline functions.
18190
86e60666
AO
181912014-01-29 Alexandre Oliva <aoliva@redhat.com>
18192
18193 * manual/charset.texi: Document MTASC-safety properties.
18194
76167637
AO
18195 * manual/crypt.texi: Document MTASC-safety properties.
18196
e567f2a0
AO
18197 * manual/conf.texi: Document MTASC-safety properties.
18198
b719dafd
AO
18199 * manual/arith.texi: Document MTASC-safety properties.
18200
4a16c662
AO
18201 * manual/argp.texi: Document MTASC-safety properties.
18202
0a57b83e
AO
18203 * manual/macros.texi: Introduce macros to document multi
18204 thread, asynchronous signal and asynchronous cancellation
18205 safety properties.
18206 * manual/intro.texi: Introduce the properties themselves.
18207
feab2397
KK
182082014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18209
18210 * sysdeps/sh/sh4/Makefile: New file.
18211
1c0d11bc
AS
182122014-01-27 Andreas Schwab <schwab@linux-m68k.org>
18213
18214 * math/gen-libm-test.pl ($srcdir): New variable.
18215 ($auto_input): Use it.
18216
af37a8a3
SP
182172014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
18218
d7b00f98
SP
18219 [BZ #16506]
18220 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18221 access beyond array bounds when parsing netgroups file.
18222
af37a8a3
SP
18223 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18224 the old buffer before realloc.
18225
0c00f062
AM
182262014-01-27 Allan McRae <allan@archlinux.org>
18227
18228 * po/fr.po: Update French translation from translation project.
18229
7d69a1b0
KK
182302014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18231
18232 * sysdeps/sh/libm-test-ulps: Regenerate.
18233
6e697ff7
DM
182342014-01-24 David S. Miller <davem@davemloft.net>
18235
18236 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18237
9cadb35c
KK
182382014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18239
18240 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18241 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18242
5d41dadf
SP
182432013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
18244
18245 [BZ #16474]
18246 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18247 string pointers after reallocation.
18248
0bad441c
KK
182492014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18250
18251 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18252 __SH4A__ instead of __SH_FPU_ANY__.
18253
7007c661
KK
182542014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18255
18256 * sysdeps/sh/fpu_control.h: New file.
18257 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18258 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18259 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18260 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18261 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18262 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18263 * sysdeps/sh/sys/ucontext.h: Remove.
18264 * sysdeps/sh/sys: Remove directory.
18265
0f0c35e4
AK
182662014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18267
18268 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18269 s390/sys/ucontext.h.
18270 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18271 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18272
4959e284
L
182732014-01-20 H.J. Lu <hongjiu.lu@intel.com>
18274
18275 [BZ #15605]
18276 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18277
d98720e0
AZ
182782014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18279
18280 [BZ#16431]
18281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18282 Adjust the vDSO correctly for internal calls.
18283 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18284
91cbd0bc
AM
182852014-01-20 Allan McRae <allan@archlinux.org>
18286
18287 * po/ca.po: Update Catalan translation from translation project.
18288
7a02cfad
MF
182892014-01-16 Mike Frysinger <vapier@gentoo.org>
18290
18291 * sysdeps/s390/sotruss-lib.c: New file.
18292
736c304a
AZ
182932014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18294
18295 [BZ#16430]
6e077ee5 18296 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
18297 (__GI___gettimeofday): Alias for a different internal symbol to avoid
18298 local calls issues by not having a PLT stub required for IFUNC calls.
18299 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18300
94d0cea0
JM
183012014-01-16 Joseph Myers <joseph@codesourcery.com>
18302
18303 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18304 * math/test-fpucw-static.c: Likewise.
18305
980cb518
SP
183062013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18307
18308 [BZ #16453]
18309 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18310
2393fc01
AZ
183112014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18312
18313 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18314 implementation for powerpc.
18315
d359bcc2
OB
183162014-01-15 Ondřej Bílka <neleai@seznam.cz>
18317
18318 [BZ #14782]
18319 * sysdeps/posix/system.c (__libc_system): Do not enable
18320 asynchronous cancellation.
18321
7beb48cb
AK
183222014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18323
18324 [BZ #16427]
18325 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18326 handling only for numbers special also in the IEEE case.
18327
c20d5bf5
AK
183282014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18329
18330 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18331
e83bd4ee
AM
183322014-01-11 Allan McRae <allan@archlinux.org>
18333
76d0ea69
AM
18334 * po/bg.po: Update Bulgarian translation from translation project.
18335
e83bd4ee
AM
18336 * po/de.po: Update German translation from translation project.
18337
bc2ba20a
RM
183382014-01-10 Roland McGrath <roland@hack.frob.com>
18339
18340 * sysdeps/generic/gcc-compat.h: New file.
18341
649ecea2
SP
183422014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
18343
18344 * benchtests/asin-inputs: Correct slow inputs.
18345 * benchtests/acos-inputs: Likewise.
18346
1b19c006
AM
183472014-01-10 Allan McRae <allan@archlinux.org>
18348
a46dab08
AM
18349 * po:sv.po: Update Swedish translation from translation project.
18350
421df74a
AM
18351 * po/vi.po: Update Vietnamese translation from translation project.
18352
d61c51a7
AM
18353 * po/eo.po: Update Esperanto translation from translation project.
18354
0339a319
AM
18355 * po/cs.po: Update Czech translation from translation project.
18356
94ad3e99
AM
18357 * po/nl.po: Update Dutch translation from translation project.
18358
e349ca71
AM
18359 * po/pl.po: Update Polish translation from translation project.
18360
ddf930c1
AM
18361 * po/ru.po: Update Russian translation from translation project.
18362
1b19c006
AM
18363 * po/uk.po: Update Ukrainian translation from translation project.
18364
9f236c49
BM
183652014-01-08 Brooks Moses <bmoses@google.com>
18366
18367 * elf/dl-load.c: Fix comment typo.
18368
cd6701cf
CD
183692014-01-08 Carlos O'Donell <carlos@redhat.com>
18370
18371 * po/header.pot: Rename to...
18372 * po/pot.header: ... this.
18373 * po/Makefile: Use pot.header.
18374
66671c84
YK
183752014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
18376 Maxim Kuvyrkov <maxim@kugelworks.com>
18377
18378 [BZ #16394]
cd6701cf
CD
18379 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18380 SRC and DEST against LEN.
66671c84 18381
38f34581
AZ
183822014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18383
18384 [BZ #16414]
18385 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18386 implementation.
18387 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18388
183892014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
18390
18391 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18392
4c327f2a
JM
183932014-01-08 Joseph Myers <joseph@codesourcery.com>
18394
18395 [BZ #16408]
18396 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18397 for large positive arguments.
18398
b821f414
JM
183992014-01-07 Joseph Myers <joseph@codesourcery.com>
18400
1f0f2067
JM
18401 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18402
a5a326f6
JM
18403 * math/auto-libm-test-in: Mark various tests with
18404 xfail-rounding:ldbl-128ibm.
18405 * math/auto-libm-test-out: Regenerated.
18406
b821f414
JM
18407 [BZ #16407]
18408 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18409 Increase overflow threshold.
18410
94c8a4bc
OB
184112014-01-07 Ondřej Bílka <neleai@seznam.cz>
18412
18413 [BZ #14286]
18414 * stdio-common/vfprintf.c: Check for integer overflow.
18415
87ded0c3
AK
184162014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18417
18418 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18419 the first argument and return value of __tls_get_addr_internal.
18420
c5eebdd0
AK
184212014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18422
18423 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18424 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18425
05d138ef
AK
184262014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
18427
18428 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18429 * sysdeps/s390/rtld-global-offsets.sym: New file.
18430 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18431 GLIBC_2.19 symbol.
18432 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18433 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18434 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18435 ... this.
18436 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18437 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18438 ... this.
18439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18440 Regenerate.
18441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18442 Regenerate.
18443 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18444 halfs of GPRs for high_gprs contexts.
18445 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18446 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
18447 field.
18448 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18449 uc_flags field.
18450 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18451 64 bit versions:
18452 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18453 for high GPRs (uc_high_gprs) and for future extensions
18454 (__reserved).
18455 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18456 for future extensions (__reserved).
18457 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18458 64 bit versions:
18459 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18460 SC_HIGHGPRS offset definition.
18461 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18462 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18463
93a45ff1
AK
18464 * Versions.def: Add GLIBC_2.19 for libpthread.
18465 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18466 siglongjmp for libpthread with GLIBC_2.19 symver.
18467 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18468 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18469 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18470 * sysdeps/s390/__longjmp.c: New file.
18471 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18472 * sysdeps/s390/longjmp.c: New file.
18473 * sysdeps/s390/setjmp.S: New file.
18474 * sysdeps/s390/sigjmp.S: New file.
18475 * sysdeps/s390/v1-longjmp.c: New file.
18476 * sysdeps/s390/v1-setjmp.h: New file.
18477 * sysdeps/s390/v1-sigjmp.c: New file.
18478 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18479 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18480 GLIBC_2.19 version.
18481 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18482 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18483 versioned symbols for ____longjmp_chk.
18484 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18485 Likewise.
18486 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18487 Regenerate.
18488 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18489 Regenerate.
18490 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18491 Regenerate.
18492 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18493 Regenerate.
18494 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18495 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18496 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18497 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18498 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18499 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18500 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18501 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18502 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18503 * sysdeps/s390/rtld-__longjmp.c: New file.
18504 * sysdeps/s390/rtld-setjmp.S: New file.
18505
eb3fc44b
JM
185062014-01-06 Joseph Myers <joseph@codesourcery.com>
18507
18508 [BZ #16400]
18509 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18510 Return -__logl (x) for small positive arguments without evaluating
18511 a polynomial.
18512
9341dde4
MF
185132014-01-06 Mike Frysinger <vapier@gentoo.org>
18514
18515 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18516 Rename to ...
18517 (__ptrace_peeksiginfo_args): ... this.
18518 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18519 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18520 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18521
4cff0293
AM
185222014-01-06 Allan McRae <allan@archlinux.org>
18523
18524 * inet/netinet/in.h: Fix typo in comment.
18525
75595dcf
AJ
185262014-01-05 Andreas Jaeger <aj@suse.de>
18527
18528 * sysdeps/i386/fpu/libm-test-ulps: Update.
18529
79c1e109
AM
185302014-01-05 Allan McRae <allan@archlinux.org>
18531
dd804818
AM
18532 * po/libc.pot: Regenerated.
18533
79c1e109
AM
18534 * malloc/memusagestat.c: Fix gettext call formatting.
18535
0c813d1f
SK
185362014-01-04 Sami Kerola <kerolasa@iki.fi>
18537
18538 * nscd/nscd.c: Improve usage() output.
18539
20f4a8d9
MF
185402014-01-04 Mike Frysinger <vapier@gentoo.org>
18541
18542 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18543 * sysdeps/unix/sysv/linux/configure: Regenerated.
18544 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18545 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18546
22562bb2
JM
185472014-01-03 Joseph Myers <joseph@codesourcery.com>
18548
18549 [BZ #16390]
18550 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18551 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18552
d7ad2d9b
AZ
185532014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18554
18555 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18556 extra tokens at end of #undef directive.
18557 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18558 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18559 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18560
7dd009d8
JM
185612014-01-03 Joseph Myers <joseph@codesourcery.com>
18562
24db925a
JM
18563 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18564
7dd009d8
JM
18565 * math/auto-libm-test-in: Mark various tests with
18566 xfail-rounding:ldbl-128ibm.
18567 * math/auto-libm-test-out: Regenerated.
18568
396e3ecf
JM
185692014-01-02 Joseph Myers <joseph@codesourcery.com>
18570
819e5d50
JM
18571 [BZ #16386]
18572 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18573 numbers with subnormal high part when calculating exponent.
18574
90b6a1e5
JM
18575 [BZ #16385]
18576 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18577 fabs.
18578
396e3ecf
JM
18579 [BZ #16384]
18580 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18581 M_LN2l.
18582 (__ieee754_acoshl): Use __log1pl not __log1p.
18583
6c8dbf00
OB
185842013-01-02 Ondřej Bílka <neleai@seznam.cz>
18585
57f41c40
AS
18586 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18587 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18588 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18589 (grow_heap, heap_trim, _int_new_arena, get_free_list)
18590 (reused_arena, arena_get2): Convert to GNU style.
18591 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18592 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18593 (memalign_check, __malloc_set_state): Likewise.
6c8dbf00 18594 * malloc/mallocbug.c (main): Likewise.
57f41c40
AS
18595 * malloc/malloc.c (__malloc_assert, malloc_init_state)
18596 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18597 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18598 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18599 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18600 (__posix_memalign, malloc_info): Likewise.
6c8dbf00 18601 * malloc/malloc.h: Likewise.
57f41c40
AS
18602 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18603 (mallochook, memalignhook, reallochook, mabort): Likewise.
6c8dbf00 18604 * malloc/mcheck.h: Likewise.
57f41c40
AS
18605 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18606 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6c8dbf00
OB
18607 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18608 * malloc/morecore.c (__default_morecore): Likewise.
18609 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57f41c40
AS
18610 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18611 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18612 (print_and_abort): Likewise.
6c8dbf00
OB
18613 * malloc/obstack.h: Likewise.
18614 * malloc/set-freeres.c (__libc_freeres): Likewise.
18615 * malloc/tst-mallocstate.c (main): Likewise.
18616 * malloc/tst-mtrace.c (main): Likewise.
18617 * malloc/tst-realloc.c (do_test): Likewise.
18618
d4124212
SP
186192013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
18620
9a3c6a6f
SP
18621 [BZ #16366]
18622 * nscd/netgroupcache.c (do_notfound): New function.
18623 (addgetnetgrentX): Use it.
18624
d4124212
SP
18625 [BZ # 16365]
18626 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18627 NSS_STATUS_NOTFOUND.
18628
97b9a009
JM
186292014-01-01 Joseph Myers <joseph@codesourcery.com>
18630
18631 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18633
d4697bc9
AM
186342014-01-01 Allan McRae <allan@archlinux.org>
18635
ddb3687f
AM
18636 * scripts/update-copyrights: Update configure input file suffix.
18637
88726d48
AM
18638 * NEWS: Update copyright year.
18639 * catgets/gencat.c: Likewise.
18640 * csu/version.c: Likewise.
18641 * debug/catchsegv.sh: Likewise.
18642 * debug/pcprofiledump.c: Likewise.
18643 * debug/xtrace.sh: Likewise.
18644 * elf/ldconfig.c: Likewise.
18645 * elf/ldd.bash.in: Likewise.
18646 * elf/pldd.c: Likewise.
18647 * elf/sotruss.ksh: Likewise.
18648 * elf/sprof.c: Likewise.
18649 * iconv/iconv_prog.c: Likewise.
18650 * iconv/iconvconfig.c: Likewise.
18651 * locale/programs/locale.c: Likewise.
18652 * locale/programs/localedef.c: Likewise.
18653 * login/programs/pt_chown.c: Likewise.
18654 * malloc/memusage.sh: Likewise.
18655 * malloc/memusagestat.c: Likewise.
18656 * malloc/mtrace.pl: Likewise.
18657 * manual/libc.texinfo: Likewise.
18658 * nscd/nscd.c: Likewise.
18659 * nss/getent.c: Likewise.
18660 * nss/makedb.c: Likewise.
18661 * posix/getconf.c: Likewise.
18662 * scripts/test-installation.pl: Likewise.
18663
d4697bc9
AM
18664 * All files with FSF copyright notices: Update copyright dates
18665 using scripts/update-copyrights.
18666 * intl/plural.c: Regenerated.
18667 * locale/programs/charmap-kw.h: Likewise.
18668 * locale/programs/locfile-kw.h: Likewise.
18669
c8590f9d
MF
186702013-12-31 Mike Frysinger <vapier@gentoo.org>
18671
18672 * sysdeps/unix/sysv/linux/configure: Regenerated.
18673 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18674 the linux/fanotify.h header.
18675 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18676 HAVE_LINUX_FANOTIFY_H is defined.
18677
b19221b9
SP
186782013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
18679
dd1d85e5
SP
18680 * benchtests/cos-inputs: New inputs.
18681 * benchtests/sin-inputs: Likewise.
18682
1acbb90f
SP
18683 * benchtests/atan-inputs: New inputs. Fix name of multiple
18684 precision fallback inputs.
18685
4c012ed3
SP
18686 * benchtests/atanh-inputs: New inputs.
18687 * benchtests/tanh-inputs: Likewise.
18688
eff98324
SP
18689 * benchtests/acosh-inputs: New inputs.
18690 * benchtests/asinh-inputs: Likewise.
18691
ce641152
SP
18692 * benchtests/cosh-inputs: New inputs.
18693 * benchtests/sinh-inputs: Likewise.
18694
b19221b9
SP
18695 * benchtests/acos-inputs: Add more inputs.
18696 * benchtests/asin-inputs: Likewise.
18697
030a4976 186982013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 18699
030a4976 18700 [BZ #16375]
9dcc8f11
VS
18701 * manual/arith.texi: Fix spelling.
18702 * manual/charset.texi: Likewise.
18703 * manual/errno.texi: Likewise.
18704 * manual/filesys.texi: Likewise.
18705 * manual/lang.texi: Likewise.
18706 * manual/llio.texi: Likewise.
18707 * manual/locale.texi: Likewise.
18708 * manual/message.texi: Likewise.
18709 * manual/resource.texi: Likewise.
18710 * manual/search.texi: Likewise.
18711 * manual/setjmp.texi: Likewise.
18712 * manual/stdio.texi: Likewise.
18713 * manual/string.texi: Likewise.
18714 * manual/sysinfo.texi: Likewise.
18715 * manual/time.texi: Likewise.
18716
11520a57
CD
187172013-12-27 Carlos O'Donell <carlos@redhat.com>
18718
18719 * po/sl.po: New file.
18720
471103ae
MF
187212013-12-27 Mike Frysinger <vapier@gentoo.org>
18722
18723 * .gitignore: Add core/.gdbinit/.gdb_history.
18724
6c9642ed
AM
187252013-12-27 Allan McRae <allan@archlinux.org>
18726
18727 [BZ #16369]
18728 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18729 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18730
3f637079
BM
187312013-12-24 Brooks Moses <bmoses@google.com>
18732
18733 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18734 all compilers that claim C++98 compliance, not just GCC.
18735 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18736 Likewise.
18737
abc26e99
MK
187382013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18739
18740 * NEWS: Restore accidentally deleted bug-fix entries.
18741
362b47fe
MK
187422013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
18743 Ondřej Bílka <neleai@seznam.cz>
18744
18745 [BZ #15073]
18746 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 18747 have_lock.
362b47fe 18748
b9bcbbcb
OB
187492013-12-23 Ondřej Bílka <neleai@seznam.cz>
18750
18751 [BZ #12986]
18752 * manual/stdio.texi (String Input Conversions): Clarify that character
18753 classes are not supported.
18754
fb55fcd2
AZ
187552013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18756
18757 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18758
ef7344f0
JM
187592013-12-22 Joseph Myers <joseph@codesourcery.com>
18760
4f40e4b3
JM
18761 [BZ #16337]
18762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18763 Calculate results for small negative arguments directly rather
18764 than using reflection formula with special underflow handling.
18765
ef7344f0
JM
18766 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18767 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18768 sysdeps/unix/bsd/bsd4.4/syscalls.list.
18769 (fchflags): Likewise.
18770 (revoke): Likewise.
18771 (setlogin): Likewise.
18772 (sigaltstack): Likewise.
18773 (wait4): Likewise.
18774 (sigblock): Remove.
18775 (sigsetmask): Likewise.
18776 (wait3): Likewise.
18777 (waitpid): Likewise.
18778 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18779 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18780 file.
18781 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18782 * sysdeps/unix/bsd/Makefile: ... here.
18783 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18784 * sysdeps/unix/bsd/Versions: ... here.
18785 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18786 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18787 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18788 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18789 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18790 * sysdeps/unix/bsd/sigblock.c: ... here.
18791 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18792 * sysdeps/unix/bsd/sigsetmask.c: ... here.
18793 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18794 * sysdeps/unix/bsd/sigvec.c: ... here.
18795 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18796 * sysdeps/unix/bsd/tcdrain.c: ... here.
18797 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18798 * sysdeps/unix/bsd/tcgetattr.c: ... here.
18799 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18800 * sysdeps/unix/bsd/tcsetattr.c: ... here.
18801 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18802 * sysdeps/unix/bsd/wait.c: ... here.
18803 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18804 * sysdeps/unix/bsd/wait3.c: ... here.
18805 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18806 * sysdeps/unix/bsd/waitpid.c: ... here.
18807
5b0626b9
JM
188082013-12-21 Joseph Myers <joseph@codesourcery.com>
18809
18810 [BZ #16356]
18811 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18812 round-to-nearest for [!USE_AS_EXPM1L].
18813 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18814 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
18815 more tests of exp and exp10. Expect some exp10 tests to miss
18816 exceptions or fail in directed rounding modes.
18817 * math/auto-libm-test-out: Regenerated.
18818 * math/libm-test.inc (exp10_tonearest_test_data): New array.
18819 (exp10_test_tonearest): New function.
18820 (exp10_towardzero_test_data): New array.
18821 (exp10_test_towardzero): New function.
18822 (exp10_downward_test_data): New array.
18823 (exp10_test_downward): New function.
18824 (exp10_upward_test_data): New array.
18825 (exp10_test_upward): New function.
18826 (main): Call the new functions.
18827 * sysdeps/i386/fpu/libm-test-ulps: Update.
18828 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18829
7fda5682
JM
188302013-12-20 Joseph Myers <joseph@codesourcery.com>
18831
31e3a405
JM
18832 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18833 asinh, atan, atan2, atanh, cbrt, cos and cosh.
18834 * math/auto-libm-test-out: Regenerated.
18835 * math/libm-test.inc (acosh_test_data): Add more tests.
18836 (atanh_test_data): Likewise.
18837 (ceil_test_data): Likewise.
18838 (copysign_test_data): Likewise.
18839 * sysdeps/i386/fpu/libm-test-ulps: Update.
18840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18841
85bff96a
JM
18842 * timezone/checktab.awk: Update from tzcode 2013i.
18843 * timezone/private.h: Likewise.
18844 * timezone/scheck.c: Likewise.
18845 * timezone/tzfile.h: Likewise.
18846 * timezone/tzselect.ksh: Likewise.
18847 * timezone/zdump.c: Likewise.
18848 * timezone/zic.c: Likewise.
18849
b7867a3b
JM
18850 * math/auto-libm-test-in: Add tests of cpow.
18851 * math/auto-libm-test-out: Regenerated.
18852 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
57f41c40 18853 * math/gen-auto-libm-tests.c (func_calc_method): Add value
b7867a3b
JM
18854 mpc_cc_c.
18855 (func_calc_desc): Add mpc_cc_c union field.
18856 (test_functions): Add cpow.
18857 (special_fill_2pi): New function.
18858 (special_real_inputs): Add 2pi.
18859 (calc_generic_results): Handle mpc_cc_c.
18860 * sysdeps/i386/fpu/libm-test-ulps: Update.
18861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18862
7fda5682
JM
18863 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18864 csqrt, ctan and ctanh.
18865 * math/auto-libm-test-out: Regenerated.
18866 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18867 (TEST_COND_x86): Likewise.
18868 (ccos_test_data): Use AUTO_TESTS_c_c.
18869 (ccosh_test_data): Likewise.
18870 (cexp_test_data): Likewise.
18871 (clog_test_data): Likewise.
18872 (csqrt_test_data): Likewise.
18873 (ctan_test_data): Likewise.
18874 (ctan_tonearest_test_data): Likewise.
18875 (ctan_towardzero_test_data): Likewise.
18876 (ctan_downward_test_data): Likewise.
18877 (ctan_upward_test_data): Likewise.
18878 (ctanh_test_data): Likewise.
18879 (ctanh_tonearest_test_data): Likewise.
18880 (ctanh_towardzero_test_data): Likewise.
18881 (ctanh_downward_test_data): Likewise.
18882 (ctanh_upward_test_data): Likewise.
18883 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18884 mpc_c_c.
18885 (func_calc_desc): Add mpc_c_c union field.
18886 (FUNC_mpc_c_c): New macro.
18887 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18888 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18889 ctanh.
18890 (special_fill_min_subnorm_p120): New function.
18891 (special_real_inputs): Add min_subnorm_p120.
18892 (calc_generic_results): Handle mpc_c_c.
18893 * sysdeps/i386/fpu/libm-test-ulps: Update.
18894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18895
5ff8d60e
SP
188962013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
18897
57f41c40
AS
18898 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18899 (do_sin_slow): New functions.
18900 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18901 (cslow2, csloww1, csloww2): Use the new functions.
392dd2de 18902
84ba214c
SP
18903 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18904 Use M to change sign of result instead of X. Assume X is
18905 positive.
18906 (csloww1): Likewise.
18907 (__sin): Adjust.
18908 (__cos): Adjust.
18909
975195e4
SP
18910 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18911 arguments A and DA.
18912 (__sin): Adjust.
18913 (__cos): Likewise.
18914
5ff8d60e
SP
18915 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18916 (__cos): Likewise.
18917 (sloww1): Don't adjust sign of DX.
18918 (csloww1): Likewise.
18919 (sloww2): Use X directly and don't adjust sign of DX.
18920 (csloww2): Likewise.
18921
eb983568
JM
189222013-12-19 Joseph Myers <joseph@codesourcery.com>
18923
64a17f1a
JM
18924 * math/auto-libm-test-in: Add tests of cabs and carg.
18925 * math/auto-libm-test-out: Regenerated.
18926 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18927 (carg_test_data): Likewise.
18928 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18929 mpc_c_f.
18930 (func_calc_desc): Add mpc_c_f union field.
18931 (test_functions): Add cabs and carg.
18932 (calc_generic_results): Handle mpc_c_f.
18933
eb983568
JM
18934 * sysdeps/powerpc/powerpc32/libgcc-compat.S
18935 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18936 as a macro and a compat symbol.
18937 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18938 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18939 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18940 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18941 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18942 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18943 not use .hidden.
18944 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18945 Likewise.
18946 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18947 Likewise.
18948 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18949 Likewise.
18950 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18951 Likewise.
18952 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18953 Likewise.
18954 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18955 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18956 from GLIBC_2.3.2.
18957
6eeb678a
AZ
189582013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18959
18960 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18961
6f6fc482
JM
189622013-12-19 Joseph Myers <joseph@codesourcery.com>
18963
21fea2e2
JM
18964 * manual/texinfo.tex: Update to version 2013-11-26.10 with
18965 trailing whitespace removed.
18966 * scripts/config.guess: Update to version 2013-11-29.
18967 * scripts/config.sub: Update to version 2013-10-01.
18968
6f6fc482
JM
18969 * math/auto-libm-test-in: Add tests of sincos.
18970 * math/auto-libm-test-out: Regenerated.
18971 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18972 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18973 mpfr_f_11.
18974 (func_calc_desc): Add mpfr_f_11 union field.
18975 (test_functions): Add sincos.
18976 (calc_generic_results): Handle mpfr_f_11.
18977 * sysdeps/i386/fpu/libm-test-ulps: Update.
18978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18979
83f5c32d
AS
189802013-12-19 Andreas Schwab <schwab@suse.de>
18981
18982 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18983 CALL_MCOUNT.
18984 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18985 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18986 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18987
c688b419
JM
189882013-12-19 Joseph Myers <joseph@codesourcery.com>
18989
335ee092
JM
18990 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18991 * sysdeps/i386/fpu/libm-test-ulps: Update.
18992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18993
f88acd39
JM
18994 [BZ #16293]
18995 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18996 round-to-nearest mode when using frndint.
18997 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18998 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18999 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19000 Likewise.
19001 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
19002 sinh test to fail.
19003 * math/auto-libm-test-out: Regenerated.
19004 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19005 (TEST_COND_x86): Likewise.
19006 (expm1_tonearest_test_data): New array.
19007 (expm1_test_tonearest): New function.
19008 (expm1_towardzero_test_data): New array.
19009 (expm1_test_towardzero): New function.
19010 (expm1_downward_test_data): New array.
19011 (expm1_test_downward): New function.
19012 (expm1_upward_test_data): New array.
19013 (expm1_test_upward): New function.
19014 (main): Run the new test functions.
19015 * sysdeps/i386/fpu/libm-test-ulps: Update.
19016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19017
c688b419
JM
19018 * include/features.h: Update comment documenting feature test
19019 macros. Mention _DEFAULT_SOURCE in comment.
19020 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19021 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19022 _BSD_SOURCE and _SVID_SOURCE.
19023 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19024 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19025 !_SVID_SOURCE]: Likewise.
19026 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19027 (__USE_POSIX_IMPLICITLY): Define.
19028 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19029 (_POSIX_SOURCE): Undefine and redefine.
19030 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19031 (_POSIX_C_SOURCE): Likewise.
19032 * manual/creature.texi (_DEFAULT_SOURCE): Document.
19033 (Feature Test Macros): Update documentation of default features.
19034
9f6e964c
RS
190352013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19036
19037 * benchtests/Makefile: Add bench-strtok.
19038 * benchtests/bench-strtok.c: New file: strtok benchtest.
19039
ee0a148a
AM
190402013-12-19 Allan McRae <allan@archlinux.org>
19041
19042 * manual/install.texi: Suppress menu for plain text output.
19043 * INSTALL: Regenerated.
19044
b9ab448f
BM
190452013-12-18 Brooks Moses <bmoses@google.com>
19046
19047 [BZ #15846]
19048 * misc/getauxval.c: Include errno.h.
19049 (__getauxval): Set errno to ENOENT if the requested type is not
19050 found.
19051 * misc/sys/auxv.h (getauxval): Document that it may set errno;
19052 don't declare with __attribute_const__.
19053 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19054 * manual/startup.texi: Document that getauxval sets errno.
19055
23776487
JM
190562013-12-18 Joseph Myers <joseph@codesourcery.com>
19057
f889953b
JM
19058 * math/auto-libm-test-in: Add tests of jn and yn.
19059 * math/auto-libm-test-out: Regenerated.
19060 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19061 (yn_test_data): Likewise.
19062 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19063 mpfr_if_f.
19064 (func_calc_desc): Add mpfr_if_f union field.
19065 (FUNC_mpfr_if_f): New macro.
19066 (test_functions): Add jn and yn.
19067 (calc_generic_results): Assert type of second input for
19068 mpfr_ff_f. Handle mpfr_if_f.
19069 (output_for_one_input_case): Disable all checking for arguments
19070 fitting floating-point types in case of an integer argument.
19071 * sysdeps/i386/fpu/libm-test-ulps: Update.
19072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19073
23776487
JM
19074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19075 Don't expect fegetround reference in libm.so.
19076
cb756c6d
MS
190772013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19078
19079 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19080 $(config-cflags-nofma).
19081
2dec468f
JM
190822013-12-18 Joseph Myers <joseph@codesourcery.com>
19083
5953eb3a
JM
19084 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19085 * math/auto-libm-test-out: Regenerated.
19086
2dec468f
JM
19087 [BZ #16338]
19088 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19089 to determine exponent and adjust argument to have exponent of -1.
19090 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19091 log2.
19092 * math/auto-libm-test-out: Regenerated.
19093 * sysdeps/i386/fpu/libm-test-ulps: Update.
19094 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19095
4d84e6ad
OB
190962013-12-18 Ondřej Bílka <neleai@seznam.cz>
19097
19098 * manual/probes.texi: Remove cases when per-thread arenas are
19099 disabled.
19100
1818483b
AS
191012013-12-18 Andreas Schwab <schwab@suse.de>
19102
19103 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19104 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19105 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19106 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19107 * sysdeps/i386/i686/multiarch/Makefile: Update.
19108 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19109
25de95bf
JM
191102013-12-17 Joseph Myers <joseph@codesourcery.com>
19111
19112 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19113 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19114
674762d9
PE
191152013-12-17 Paul Eggert <eggert@cs.ucla.edu>
19116
ed27ed83 19117 [BZ #15968]
0748546f
PE
19118 Support TZ transition times < 00:00:00.
19119 This is needed for version-3 tz-format files; it supports time
19120 stamps past 2037 for America/Godthab (the only entry in the tz
19121 database for which this change is relevant).
19122 * manual/time.texi (TZ Variable): Document transition times
19123 from -167:59:59 through -00:00:01.
19124 * time/tzset.c (tz_rule): Time of day is now signed.
19125 (__tzset_parse_tz): Parse negative time of day.
19126
4480e934
PE
19127 Document TZ transition times >= 25:00:00.
19128 * manual/time.texi (TZ Variable): Document transition times from
19129 25:00:00 through 167:59:59. These are already supported, and this
19130 support will help with version-3 tz-format files.
19131
69947401
PE
19132 * manual/time.texi (TZ Variable): Modernize North America example
19133 to reflect current (i.e., 2007-and-later) daylight saving rules.
19134
674762d9
PE
19135 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19136
7011c262
JM
191372013-12-17 Joseph Myers <joseph@codesourcery.com>
19138
2fc6557e
JM
19139 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19140 * sysdeps/unix/bsd/bits/stat.h: Likewise.
19141 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19142 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19143 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19144 * sysdeps/unix/bsd/bsdstat.h: Likewise.
19145 * sysdeps/unix/bsd/clock.c: Likewise.
19146 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19147 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19148 * sysdeps/unix/bsd/init-posix.c: Likewise.
19149 * sysdeps/unix/bsd/poll.c: Likewise.
19150 * sysdeps/unix/bsd/ptsname.c: Likewise.
19151 * sysdeps/unix/bsd/seekdir.c: Likewise.
19152 * sysdeps/unix/bsd/setegid.c: Likewise.
19153 * sysdeps/unix/bsd/seteuid.c: Likewise.
19154 * sysdeps/unix/bsd/setgid.c: Likewise.
19155 * sysdeps/unix/bsd/setrgid.c: Likewise.
19156 * sysdeps/unix/bsd/setruid.c: Likewise.
19157 * sysdeps/unix/bsd/setsid.c: Likewise.
19158 * sysdeps/unix/bsd/setuid.c: Likewise.
19159 * sysdeps/unix/bsd/sigaction.c: Likewise.
19160 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19161 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19162 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19163 * sysdeps/unix/bsd/telldir.c: Likewise.
19164 * sysdeps/unix/bsd/times.c: Likewise.
19165 * sysdeps/unix/bsd/usleep.c: Likewise.
19166
029c7b25
JM
19167 * misc/Makefile (install-lib): Remove libbsd-compat.a.
19168 ($(objpfx)libbsd-compat.a): Remove rule.
19169
7011c262
JM
19170 * include/features.h (__FAVOR_BSD): Do not define.
19171 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19172 features conflicting with POSIX.
19173 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19174 (_BSD_SOURCE): Remove description of not being a subset of other
19175 feature test macros.
19176 * manual/job.texi (getpgrp): Do not document BSD version.
19177 (getpgid): Do not document by reference to BSD getpgrp.
19178 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19179 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19180 * signal/signal.h [__FAVOR_BSD]: Likewise.
19181 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19182 instead of making contents conditional on [__FAVOR_BSD].
19183 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19184
affb6f78
AZ
191852013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19186
19187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19188
c88769dd
JM
191892013-12-17 Joseph Myers <joseph@codesourcery.com>
19190
6432a540
JM
19191 [BZ #16314]
19192 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19193 values below 2**-450, not 2**-500.
19194 * math/auto-libm-test-in: Don't allow spurious underflow from
19195 hypot.
19196 * math/auto-libm-test-out: Regenerated.
19197
c88769dd
JM
19198 [BZ #16316]
19199 [BZ #16330]
19200 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19201 values of ha and hb and sort them after adjusting subnormal
19202 arguments.
19203 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19204 Likewise.
19205 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19206 values of ea and eb and sort them after adjusting subnormal
19207 arguments.
19208 * math/auto-libm-test-in: Do not expect some hypot tests of
19209 subnormals to fail. Add more hypot tests.
19210 * math/auto-libm-test-out: Regenerated.
19211
29618f6b
KK
192122013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19213
19214 [BZ #13304]
19215 * sysdeps/sh/s_fma.c: New file.
19216 * sysdeps/sh/s_fmaf.c: New file.
19217 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
19218 version.
19219 * sysdeps/sh/Implies: Add sh/soft-fp.
19220
eacfdfbf
RM
192212013-12-16 Roland McGrath <roland@hack.frob.com>
19222
19223 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
19224 level of indirection to members `objname', `errstring', `malloced'.
19225 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19226 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
19227 it as the __longjmp argument (just pass 1 instead).
19228 (_dl_catch_error): Initialize C with argument pointers and address of
19229 volatile local ERRCODE rather than copying values out of C at return.
19230
ff362e5b
JM
192312013-12-16 Joseph Myers <joseph@codesourcery.com>
19232
19233 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19234 * math/auto-libm-test-out: Regenerated.
19235 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19236 (hypot_test_data): Likewise.
19237 (pow_test_data): Likewise.
19238 (pow_tonearest_test_data): Likewise.
19239 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19240 mpfr_ff_f.
19241 (func_calc_desc): Add mpfr_ff_f union field.
19242 (FUNC_mpfr_ff_f): New macro.
19243 (test_functions): Add atan2, hypot and pow.
19244 (special_fill_min): New function.
19245 (special_fill_minus_min): Likewise.
19246 (special_fill_min_subnorm): Likewise.
19247 (special_fill_minus_min_subnorm): Likewise.
19248 (special_real_inputs): Add min, -min, min_subnorm and
19249 -min_subnorm.
19250 (calc_generic_results): Handle mpfr_ff_f.
19251 * sysdeps/i386/fpu/libm-test-ulps: Update.
19252 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19253
5764c27f
WN
192542013-12-16 Will Newton <will.newton@linaro.org>
19255
19256 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19257 (Aligned Memory Blocks): Add documentation for aligned_alloc
19258 and suggest it as an alternative to posix_memalign.
19259 (Hooks for Malloc): Document __memalign_hook is also called
19260 for aligned_alloc. (Summary of Malloc): Add summary for
19261 aligned alloc. Document __memalign_hook is also called
19262 for aligned_alloc.
19263
0a096e44
WN
192642013-12-16 Will Newton <will.newton@linaro.org>
19265
19266 * manual/memory.texi (Malloc Examples): Clarify default
19267 alignment documentation. Suggest posix_memalign rather
19268 than memalign or valloc.
19269 (Aligned Memory Blocks): Remove suggestion to use memalign
19270 or valloc. Remove obsolete comment about BSD.
19271 Document memalign errno values and mark the function obsolete.
19272 Document posix_memalign returned error codes. Mark valloc
19273 as obsolete. (Hooks for Malloc): __memalign_hook is also
19274 called for posix_memalign and valloc.
19275 (Summary of Malloc): Add posix_memalign to function summary.
19276 __memalign_hook is also called for posix_memalign and valloc.
19277
8d561986
SP
192782013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
19279
19280 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19281 TAYLOR_SIN.
19282 (__sin): Adjust.
19283 (__cos): Likewise.
19284 (sloww): Use mynumber union. Expand ternary operator into
19285 if-else statements.
19286 (cslow): use mynumber union.
19287
73616a74
AM
192882013-12-16 Allan McRae <allan@archlinux.org>
19289
9e8ac24b
AM
19290 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19291 * configure: Regenerated.
19292
6f8e37eb
AM
19293 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19294
8894bad3
AM
19295 [BZ #14120]
19296 * configure.ac: Added --enable-maintainer-mode. Check for
19297 autoconf when enabled.
19298 * configure: Regenerated.
19299
73616a74
AM
19300 * nscd/nscd.service: New file.
19301 * nscd/nscd.tmpfiles: New file.
19302
584b18eb
OB
193032013-12-14 Ondřej Bílka <neleai@seznam.cz>
19304
19305 [BZ #12100]
19306 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19307 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19308 * sysdeps/x86_64/multiarch/strstr.c: ... here.
19309 (strstr): Add __strstr_sse2_unaligned ifunc.
19310 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19311 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19312 (strcasestr): Remove __strcasestr_sse42 ifunc.
19313 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19314 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19315 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19316
8a5c7897
KK
193172013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19318
19319 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19320 * sysdeps/sh/bits/fenv.h: ... here.
19321 * sysdeps/sh/sh4/fpu/bits: Remove directory.
19322
fd712ef3
AZ
193232013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19324
19325 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19326
42fcb46c
AZ
19327 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19328 hypotf multiarch implementations.
19329 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19330 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19331 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19332 multiarch hypot for PPC64.
19333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19334 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19335 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19336 multiarch hypotf for PPC64.
19337
83efded4
AZ
19338 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19339 modff multiarch implementations.
19340 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19341 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19342 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19343 multiarch modf for PPC64.
19344 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19345 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19346 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19347 multiarch modff for PPC64.
19348
43e246d2
AZ
19349 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19350 and logl multiarch implementations.
19351 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19352 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19353 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19354 multiarch logb for PPC64.
19355 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19356 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19357 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19358 multiarch logb for PPC64.
19359 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19360 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19361 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19362 multiarch logb for PPC64.
19363
8fdad123
AZ
19364 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19365 isinff multiarch implementation.
19366 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19367 file.
19368 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19369 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19370 multiarch isinf for PPC64.
19371 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19372 file.
19373 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19374 multiarch isinff for PPC64.
19375
1481d706
AZ
19376 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19377 finitef multiarch implementation.
19378 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19379 file.
19380 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19381 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19382 multiarch finite for PPC64.
19383 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19384 file.
19385 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19386 multiarch finitef for PPC64.
19387
5ccd5fc8
AZ
19388 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19389 lrint multiarch implementation.
19390 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19391 file.
19392 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19393 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19394 multiarch llrint for PPC64.
19395 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19396 multiarch lrint for PPC64.
19397
2568f3fa
AZ
19398 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19399 copysignf multiarch implementation.
19400 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19401 file.
19402 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19403 file.
19404 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19405 multiarch copysign for PPC64.
19406 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19407 multiarch copysignf for PPC64.
19408
1cb341fd
AZ
19409 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19410 multiarch implementation.
19411 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19412 file.
19413 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19414 file.
19415 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19416 file.
19417 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19418 file.
19419 multiarch llround for PPC64.
19420 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19421 multiarch trunc for PPC64.
19422 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19423 multiarch truncf for PPC64.
19424
59a3e194
AZ
19425 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19426 multiarch implementation.
19427 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19428 file.
19429 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19430 file.
19431 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19432 file.
19433 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19434 file.
19435 multiarch llround for PPC64.
19436 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19437 multiarch round for PPC64.
19438 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19439 multiarch roundf for PPC64.
19440
357fd3b4
AZ
19441 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19442 multiarch implementation.
19443 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19444 file.
19445 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19446 file.
19447 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19448 file.
19449 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19450 file.
19451 multiarch llround for PPC64.
19452 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19453 multiarch floor for PPC64.
19454 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19455 multiarch floorf for PPC64.
19456
96770f12
AZ
19457 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19458 multiarch implementation.
19459 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19460 file.
19461 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19462 file.
19463 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19464 file.
19465 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19466 file.
19467 multiarch llround for PPC64.
19468 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19469 multiarch ceil for PPC64.
19470 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19471 multiarch ceilf for PPC64.
19472
c3627f6e
AZ
19473 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19474 multiarch implementation.
19475 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19476 file.
19477 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19478 file.
19479 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19480 file.
19481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19482 multiarch llround for PPC64.
19483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19484 multiarch lround for PPC64.
19485
b2284ad7
AZ
19486 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19487 multiarch implementation.
19488 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19490 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19491 file.
19492 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19493 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19494 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19495 multiarch isnan for PPC64.
19496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19497 multiarch isnanf for PPC64.
19498
69bbc63d
AZ
19499 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19500 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19501 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19502 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19503 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19505
c24517c9
AZ
19506 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19507 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19508 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19509 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19510
a52374e8
AZ
19511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19512 multiarch implementations.
19513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19514 (__libc_ifunc_impl_list): Likewise.
19515 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19516 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19517 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19518 multiarch stpcpy for PPC64.
19519
7f5ec113
AZ
19520 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19521 multiarch implementations.
19522 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19523 (__libc_ifunc_impl_list): Likewise.
19524 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19525 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19526 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19527 multiarch strcpy for PPC64.
19528
e28bcd42
AZ
19529 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19530 redefine function name.
19531 (_wordcopy_fwd_dest_aligned): Likewise.
19532 (_wordcopy_bwd_aligned): Likewise.
19533 (_wordcopy_bwd_dest_aligned): Likewise.
19534 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19535 multiarch implementations.
19536 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19537 (__libc_ifunc_impl_list): Likewise.
19538 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19539 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19540 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19541 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19542 multiarch wcscpy for PPC64.
19543
92cacfce
AZ
19544 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19545 multiarch implementations.
19546 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19547 (__libc_ifunc_impl_list): Likewise.
19548 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19549 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19550 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19551 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19552 multiarch wcscpy for PPC64.
19553
7b714620
AZ
19554 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19555 multiarch implementations.
19556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19557 (__libc_ifunc_impl_list): Likewise.
19558 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19559 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19560 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19561 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19562 multiarch wcsrchr for PPC64.
19563
16fd2ae3
AZ
19564 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19565 multiarch implementations.
19566 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19567 (__libc_ifunc_impl_list): Likewise.
19568 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19569 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19570 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19571 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19572 multiarch wcschr for PPC64.
19573
9ee2969b
AZ
19574 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19575 multiarch implementations.
19576 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19577 (__libc_ifunc_impl_list): Likewise.
19578 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19579 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19580 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19581 multiarch strchrnul for PPC64.
19582
372dc060
AZ
19583 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19584 implementations.
19585 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19586 (__libc_ifunc_impl_list): Likewise.
19587 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19588 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19589 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19590 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19591 strchr for PPC64.
19592
24c2c3b9
AZ
19593 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19594 implementations.
19595 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19596 (__libc_ifunc_impl_list): Likewise.
19597 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19598 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19599 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19600 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19601 strncmp for PPC64.
19602
1c92d9a0
AZ
19603 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19604 multiarch implementations.
19605 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19606 (__libc_ifunc_impl_list): Likewise.
19607 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19608 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19609 strncasecmp for PPC64.
19610 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19611 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19612 multiarch strncasecmp_l for PPC64.
19613
17de3ee3
AZ
19614 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19615 multiarch implementations.
19616 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19617 (__libc_ifunc_impl_list): Likewise.
19618 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19619 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19620 multiarch strcasecmp for PPC64.
19621 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19622 file.
19623 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19624 multiarch strcasecmp_l for PPC64.
19625
62982bf9
AZ
19626 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19627 implementations.
19628 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19629 (__libc_ifunc_impl_list): Likewise.
19630 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19631 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19632 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19633 strnlen for PPC64.
19634
a65f4904
AZ
19635 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19636 implementations.
19637 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19638 (__libc_ifunc_impl_list): Likewise.
19639 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19640 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19641 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19642 strlen for PPC64.
19643
1fd005ad
AZ
19644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19645 implementations.
19646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19647 (__libc_ifunc_impl_list): Likewise.
19648 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19649 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19650 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19651 rawmemrchr for PPC64.
19652
cd05ba91
AZ
19653 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19654 implementation.
19655 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19656 (__libc_ifunc_impl_list): Likewise.
19657 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19658 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19659 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19660 memrchr for PPC64.
19661
870f8676
AZ
19662 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19663 implementation.
19664 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19665 (__libc_ifunc_impl_list): Likewise.
19666 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19667 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19668 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19669 memchr for PPC64.
19670
f00be62b
AZ
19671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19672 implementation.
19673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19674 (__libc_ifunc_impl_list): Likewise.
19675 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19676 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19677 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19678 mempcpy for PPC64.
19679
8a29a3d0
AZ
19680 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19681 avoid cretion of __bzero symbol.
19682 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19683 Likewise.
19684 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19685 Likewise.
19686 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19687 Likewise.
19688 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19689 multiarch implementations.
19690 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19691 (__libc_ifunc_impl_list): Likewise.
19692 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19693 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19694 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19695 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19696 bzero for PPC32.
19697 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19698 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19699 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19700 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19701 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19702 memset for PPC64.
19703 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19704
07253fcf
AZ
19705 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19706 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19707 implementations.
19708 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19709 (__libc_ifunc_impl_list): Likewise.
19710 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19711 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19712 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19713 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19714 memcmp for PPC64.
19715
b5beafbc
AZ
19716 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19717 multiarch for POWER/PPC64.
19718 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19719 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19720 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19721 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19722 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19723 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19724 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19725 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19726 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19727 memcpy for PPC64.
19728
5e6a4d4b
AZ
19729 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19730 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19731 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19732 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19733 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19734 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19735 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19736 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19737 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19738 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19739 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19740 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19741 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19742 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19743 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19751
ddfab6dc
KK
197522013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19753
19754 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19755
19b5525e
SP
197562013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
19757
19758 * benchtests/Makefile (bench): Add exp2 and log2.
19759 (LDLIBS-bench-exp2): Add -lm.
19760 (LDLIBS-bench-log2): Likewise.
19761 * benchtests/exp2-inputs: New inputs file.
19762 * benchtests/log2-inputs: New inputs file.
19763 * benchtests/log-inputs: Add new inputs.
19764 * benchtests/tan-inputs: Likewise.
19765
196f7f5d
SP
197662013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19767
7a74607f
SP
19768 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19769 definition...
57f41c40
AS
19770 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19771 (csloww2): ... from here.
7a74607f 19772
196f7f5d
SP
19773 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19774 instead of structures.
19775 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19776 (POLYNOMIAL): Likewise.
19777 (TAYLOR_SLOW): Likewise.
19778 (__sin): Likewise.
19779 (__cos): Likewise.
19780 (slow1): Likewise.
19781 (slow2): Likewise.
19782 (sloww): Likewise.
19783 (sloww1); Likewise.
19784 (sloww2): Likewise.
19785 (bsloww1): Likewise.
19786 (bsloww2): Likewise.
19787 (cslow2): Likewise.
19788 (csloww): Likewise.
19789 (csloww1): Likewise.
19790 (csloww2): Likewise.
19791
0dfa665c
OB
197922013-12-10 Ondřej Bílka <neleai@seznam.cz>
19793
19794 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
57f41c40
AS
19795 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19796 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
0dfa665c
OB
19797 * malloc/hooks.c (realloc_check): Likewise.
19798
5782a80f
OB
19799 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19800 * malloc/arena.c: Remove PER_THREAD conditional.
19801 [!PER_THREAD]: Remove code.
19802 (ptmalloc_unlock_all2): Likewise.
19803 (ptmalloc_init): Likewise.
19804 (_int_new_arena): Likewise.
19805 (arena_get2): Likewise.
19806 * malloc/hooks.c (__malloc_get_state): Likewise.
19807 (__malloc_set_state): Likewise.
19808 * malloc/malloc.c: Likewise.
19809 (struct malloc_state): Likewise.
19810 (struct malloc_par): Likewise.
19811 (__libc_realloc): Likewise.
19812 (__libc_mallopt): Likewise.
19813
aeb95445
AZ
198142013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19815
19816 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19817
e8349efd
OB
198182013-12-09 Ondřej Bílka <neleai@seznam.cz>
19819
19820 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19821 macro to a function. Check for zero perturb_byte.
19822 (_int_malloc, _int_free): Remove zero perturb_byte checks.
19823
f3eeb3fc 19824 * malloc/malloc.c: (force_reg): Remove.
57f41c40
AS
19825 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19826 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
f3eeb3fc
OB
19827 force_reg by atomic_forced_read.
19828 * malloc/arena.c (ptmalloc_init): Likewise.
19829 * malloc/hooks.c (top_check): Likewise.
19830
be2f9009
AZ
198312013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19832
19833 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19834
e7b914bd
MT
198352013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
19836
19837 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19838
9f0be4f8
JM
198392013-12-08 Joseph Myers <joseph@codesourcery.com>
19840
19841 * math/auto-libm-test-in: Add tests of lgamma.
19842 * math/auto-libm-test-out: Regenerated.
19843 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19844 (M_LOG_2_SQRT_PIl): Likewise.
19845 (lgamma_test_data): Use AUTO_TESTS_f_f1.
19846 * math/gen-auto-libm-tests.c (func_calc_method): Add value
19847 mpfr_f_f1.
19848 (func_calc_desc): Add mpfr_f_f1 union field.
19849 (ARGS1): New macro.
19850 (ARGS2): Likewise.
19851 (ARGS3): Likewise.
19852 (ARGS4): Likewise.
19853 (RET1): Likewise.
19854 (RET2): Likewise.
19855 (CALC): Likewise.
19856 (FUNC): Likewise.
19857 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19858 (test_functions): Add lgamma.
19859 (calc_generic_results): Handle mpfr_f_f1.
19860 * sysdeps/i386/fpu/libm-test-ulps: Update.
19861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19862
24eeafdb
AZ
198632013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19864
19865 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19866 __mpn_add_n for PowerPC64/POWER7.
19867 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19868 __mpn_sub_n for PowerPC64/POWER7.
19869
4a2c0fd4
AZ
19870 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19871 __mpn_addmul_1 for PowerPC64.
19872 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19873 __mpn_submul_1 for PowerPC64.
19874 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19875 for PowerPC64.
19876 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19877 for PowerPC64.
19878
4b5b548c
FS
198792013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
19880
19881 [BZ #15089]
19882 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19883
0a3ac0aa
AZ
198842013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19885
19886 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19887
ccdc8438
AZ
19888 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19889 add multiarch folders.
19890 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19891 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19892 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19893 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19894 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19895 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19896 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19897 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19898 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19899 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19900 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19907
2e973d99
AZ
19908 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19909 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19910 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19911 New file.
19912 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19913 New file.
19914 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19915 multiarch __ieee754_hypot for PowerPC32.
19916 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19917 New file.
19918 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19919 New file.
19920 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19921 multiarch __ieee754_hypotf for PowerPC32.
19922
2d9470b2
AZ
19923 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19924 long_double_symbol only if __logbl is defined.
19925 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19926 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19927 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19928 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19929 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19930 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19931 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19932 path for implementation.
19933 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19934 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19935 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19936 logb, and logbl multiarch implementations for PowerPC32.
19937 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19938 file.
19939 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19940 file.
19941 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19942 multiarch logb for PowerPC32.
19943 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19944 file.
19945 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19946 file.
19947 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19948 multiarch logbf for PowerPC32.
19949 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19950 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19951 file.
19952 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19953 multiarch logbl implementation for PowerPC32.
19954
5212ffce
AZ
19955 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19956 and modff multiarch implementations.
19957 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19958 New file.
19959 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19960 New file.
19961 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19962 multiarch modf for PowerPC32.
19963 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19964 New file.
19965 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19966 New file.
19967 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19968 multiarch modff for PowerPC32.
19969
79dccf31
AZ
19970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19971 and lrintf multiarch implementations.
19972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19973 New file.
19974 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19975 New file.
19976 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19977 multiarch lrint for PowerPC32.
19978 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19979 file: multiarch lrintf for PowerPC32.
19980
deb66480
AZ
19981 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19982 and lroundf multiarch implementations.
19983 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19984 New file.
19985 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19986 New file.
19987 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19988 New file.
19989 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19990 multiarch lround for PowerPC32.
19991 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19992 file: multiarch lroundf for PowerPC32.
19993
264b036b
AZ
19994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19995 copysign and copysignf multiarch implementations.
19996 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19997 New file.
19998 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19999 New file.
20000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20001 file: multiarch copysign for PowerPC32.
20002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20003 file: multiarch copysignf for PowerPC32.
20004
d47db6c9
AZ
20005 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20006 and truncf multiarch implementations.
20007 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20008 New file.
20009 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20010 file.
20011 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20012 multiarch trunc for PowerPC32.
20013 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20014 New file.
20015 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20016 New file.
20017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20018 multiarch truncf for PowerPC32.
20019
ddb60b5a
AZ
20020 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20021 and roundf multiarch implementations.
20022 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20023 New file.
20024 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20025 file.
20026 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20027 multiarch round for PowerPC32.
20028 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20029 New file.
20030 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20031 New file.
20032 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20033 multiarch roundf for PowerPC32.
20034
bedcf49b
AZ
20035 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20036 and floorf multiarch implementations.
20037 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20038 New file.
20039 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20040 file.
20041 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20042 multiarch floor for PowerPC32.
20043 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20044 New file.
20045 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20046 New file.
20047 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20048 multiarch floorf for PowerPC32.
20049
35ae5b40
AZ
20050 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20051 and ceilf multiarch implementations.
20052 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20053 New file.
20054 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20055 file.
20056 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20057 multiarch ceil for PowerPC32.
20058 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20059 New file.
20060 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20061 file.
20062 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20063 multiarch ceilf for PowerPC32.
20064
ae1a4cd9
AZ
20065 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20066 is defined.
20067 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20068 FINITEF is defined.
20069 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20070 and finitef multiarch implementations.
20071 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20072 New file.
20073 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20074 file.
20075 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20076 multiarch finite for PowerPC32.
20077 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20078 New file.
20079 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20080 file: multiarch finitef for PowerPC32.
20081
64fffd65
AZ
20082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20083 and isinff multiarch implementations.
20084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20085 file.
20086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20087 file.
20088 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20089 multiarch isinf for PowerPC32.
20090 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20091 New file.
20092 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20093 multiarch isinff for PowerPC32.
20094
8e4e7ba2
AZ
20095 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20096 alias when __isnan is defined.
20097 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20098 and isnanf multiarch implementations.
20099 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20100 file.
20101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20102 file.
20103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20104 file.
20105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20106 file.
20107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20108 multiarch isnan for PowerPC32.
20109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20110 New file.
20111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20112 New file.
20113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20114 multiarch isnanf for PowerPC32.
20115
ddba588e
AZ
20116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20117 and sqrtf multiarch implementations.
20118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20119 file.
20120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20121 file.
20122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20123 multiarch sqrt for PowerPC32.
20124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20125 file.
20126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20127 file.
20128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20129 multiarch sqrtf for PowerPC32.
20130
0f96a2f0
AZ
20131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20132 and llroundf multiarch implementations.
20133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20134 New file.
20135 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20136 New file.
20137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20138 New file.
20139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20140 file: multiarch llround for PowerPC32.
20141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20142 file: multiarch llroundf for PowerPC32.
20143
c9b5d79e
AZ
20144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20145 multiarch PowerPC32 fpu implementations.
20146 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20147 New file.
20148 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20149 New file.
20150 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20151 multiarch llrint for PowerPC32.
20152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20153 New file.
20154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20155 New file.
20156 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20157 file.
20158
9cbb3aab
AZ
20159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20160
ea5a72f8
AZ
20161 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20162 file.
20163 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20164 file.
20165 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20166 file.
20167 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20168 multiarch wordcopy for PPC32.
20169 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20170 wordcopy objects.
20171 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20172 (__libc_ifunc_impl_list): Likewise.
20173 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20174 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20175 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20176 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20177 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20178 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20179
93be09e7
AZ
20180 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20181 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20182 file.
20183 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20184 file.
20185 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20186 file.
20187 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20188 multiarch wcscpy for PPC32.
20189 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20190 multiarch objects.
20191 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20192 (__libc_ifunc_impl_list): Likewise.
20193 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20194 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20195 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20196 sysdeps/powerpc/power6/wcscpy.c.
20197
bb04e529
AZ
20198 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20199 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20200 file.
20201 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20202 file.
20203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20204 file.
20205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20206 multiarch wcsrchr for PPC32.
20207 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20208 multiarch objects.
20209 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20210 (__libc_ifunc_impl_list): Likewise.
20211 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20212 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20213 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20214 sysdeps/powerpc/power6/wcsrchr.c.
20215
05b5cd1c
AZ
20216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20217 file.
20218 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20219 file.
20220 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20221 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20222 multiarch wcschr for PPc32.
20223 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20224 multiarch objects.
20225 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20226 (__libc_ifunc_impl_list): Likewise.
20227 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20228 * sysdeps/powerpc/power6/wcschr.c: ... to here.
20229 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20230 sysdeps/powerpc/power6/wcschr.c.
20231
ba964147
AZ
20232 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20233 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20234 file.
20235 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20236 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20237 file: multiarch strchr for PPC32.
20238 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20239 multiarch objects.
20240 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20241 (__libc_ifunc_impl_list): Likewise.
20242
31c81aaa
AZ
20243 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20244 name.
20245 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20246 file.
20247 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20248 file.
20249 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20250 multiarch strchrnul for PPC32.
20251 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20252 multiarch objects.
20253 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20254 (__libc_ifunc_impl_list): Likewise.
20255
0d0607d9
AZ
20256 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20257 file.
20258 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20259 multiarch strncasecmp for PPC32.
20260 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20261 file.
20262 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20263 multiarch strncasecmp_l for PPC32.
20264 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20265 strncasecmp multiarch objects.
20266 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20267 (__libc_ifunc_impl_list): Likewise.
20268
4dfd5c86
AZ
20269 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20270 file.
20271 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20272 multiarch strncasecmp for PPC32.
20273 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20274 New file.
20275 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20276 multiarch strcasecmp_l for PPC32.
20277 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20278 multiarch objects.
20279 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20280 (__libc_ifunc_impl_list): Likewise.
20281
a19e01a3
AZ
20282 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20283 file.
20284 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20285 file.
20286 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20287 multiarch strncmp for PPC32.
20288 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20289 multiarch objects.
20290 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20291 (__libc_ifunc_impl_list): Likewise.
20292
ae9cf7a2
AZ
20293 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20294 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20295 file.
20296 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20297 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20298 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20299 multiarch objects.
20300 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20301 (__libc_ifunc_impl_list): Likewise.
20302
3148bb7d
AZ
20303 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20304 file.
20305 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20306 file.
20307 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20308 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20309 multiarch objects.
20310 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20311 (__libc_ifunc_impl_list): Likewise.
20312
7af8b946
AZ
20313 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20314 file.
20315 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20316 file.
20317 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20318 multiarch rawmemchr for PPC32.
20319 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20320 multiarch objects.
20321 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20322 (__libc_ifunc_impl_list): Likewise.
20323
03a6aa6a
AZ
20324 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20325 file.
20326 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20327 file.
20328 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20329 file: memrchr multiarch for PPC32.
20330 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20331 multiarch objects.
20332 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20333 (__libc_ifunc_impl_list): Likewise.
20334
1c62e6d9
AZ
20335 * string/memchr.c (__memchr): Using macro to redefine symbol name.
20336 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20337 file.
20338 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20339 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20340 multiarch memchr for PPC32.
20341 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20342 multiarch objects.
20343 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20344 (__libc_ifunc_impl_list): Likewise.
20345
87da8bdb
AZ
20346 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20347 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20348 file.
20349 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20350 file.
20351 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20352 file: multiarch mempcpy for PPC32.
20353 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20354 multiarch objects.
20355 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20356 (__libc_ifunc_impl_list): Likewise.
20357
20ed4714
AZ
20358 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20359 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20360 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20361 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20362 multiarch bzero for PPC32.
20363 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20364 file.
20365 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20366 file.
20367 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20368 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20369 file: multiarch memset for PPC32.
20370 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20372 memset multiarch objects.
20373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20374 (__libc_ifunc_impl_list): Likewise.
20375
ab3e3a46
AZ
20376 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20377 file.
20378 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20379 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20380 memcmp for PPC32.
20381 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20383 multiarch objects.
20384 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20385 (__libc_ifunc_impl_list): Likewise.
20386
930de6f0
AZ
20387 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20388 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20389 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20390 file.
20391 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20392 file.
20393 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20394 file.
20395 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20396 multiarch memcpy for PPC32.
20397 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20398 multiarch objects.
20399 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20400 (__libc_ifunc_impl_list): Likewise.
20401
4c628e00
AZ
20402 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20403 support multiarch for POWER/PPC32.
20404 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20405 Likewise.
20406 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20408 Implies file to make multiarch folder appers before the fpu and
20409 default folder for power4 configuration.
20410
f4479220
SP
204112013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20412
20413 * scripts/bench.pl: Append volatile keyword to type.
20414
8517800f
KK
204152013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20416
20417 * sysdeps/sh/sotruss-lib.c: New file.
20418 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20419
180138f1
AZ
204202013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20421
20422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20423
bbf37bdc
JM
204242013-12-05 Joseph Myers <joseph@codesourcery.com>
20425
e47cc4e0
JM
20426 [BZ #6810]
20427 * math/w_tgamma.c: Include <errno.h>.
20428 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
20429 * math/w_tgammaf.c: Include <errno.h>.
20430 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
20431 * math/w_tgammal.c: Include <errno.h>.
20432 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
20433 * math/auto-libm-test-in: Do not allow missing errno on tgamma
20434 underflow. Add more tgamma tests.
20435 * math/auto-libm-test-out: Regenerated.
20436 * sysdeps/i386/fpu/libm-test-ulps: Update.
20437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20438
bbf37bdc
JM
20439 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20440 sin, sinh, tan, tanh, tgamma, y0 and y1.
20441 * math/auto-libm-test-out: Regenerated.
20442 * math/libm-test.inc (TEST_COND_x86_64): New macro.
20443 (TEST_COND_x86): Likewise.
20444 (M_E2l): Remove macro.
20445 (M_E3l): Likewise.
20446 (M_2_SQRT_PIl): Likewise.
20447 (M_SQRT_PIl): Likewise.
20448 (M_1_DIV_El): Likewise.
20449 (log_test_data): Use AUTO_TESTS_f_f.
20450 (log10_test_data): Likewise.
20451 (log1p_test_data): Likewise.
20452 (log2_test_data): Likewise.
20453 (sin_test_data): Likewise.
20454 (sin_tonearest_test_data): Likewise.
20455 (sin_towardzero_test_data): Likewise.
20456 (sin_downward_test_data): Likewise.
20457 (sin_upward_test_data): Likewise.
20458 (sinh_test_data): Likewise.
20459 (sinh_tonearest_test_data): Likewise.
20460 (sinh_towardzero_test_data): Likewise.
20461 (sinh_downward_test_data): Likewise.
20462 (sinh_upward_test_data): Likewise.
20463 (tan_test_data): Likewise.
20464 (tan_tonearest_test_data): Likewise.
20465 (tan_towardzero_test_data): Likewise.
20466 (tan_downward_test_data): Likewise.
20467 (tan_upward_test_data): Likewise.
20468 (tanh_test_data): Likewise.
20469 (tgamma_test_data): Likewise.
20470 (y0_test_data): Likewise.
20471 (y1_test_data): Likewise.
20472 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20473 (special_real_inputs): Add pi/4.
20474 * sysdeps/i386/fpu/libm-test-ulps: Update.
20475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20476
eb5ad6b9
AZ
204772013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20478
20479 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20480 "longjmp_target" static probes.
20481 (__longjmp): Rename to __longjmp_symbol.
20482 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20483 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20484 on which longjmp to generate.
20485 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20486 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20487 probe.
20488 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20489 (__sigjmp_save): Rename to __sigjmp_save_symbol.
20490 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20491 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20492 and __sigjmp_save_symbol based on which sigsetjmp to generated.
20493 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20495 __longjmp_symbol based on which __longjmp to generate.
20496 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20497 probe.
20498 (setjmp): Rename to setjmp_symbol.
20499 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20500 (_setjmp): Rename to _setjmp_symbol.
20501 (__sigsetjmp): Rename to __sigsetjmp_symbol.
20502 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20503 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20504 which setjmp to generate.
20505 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20506 "longjmp_target" static probes.
20507
d136c6dc
SP
205082013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
20509
9298ecba
SP
20510 * benchtests/README: Add note about output arguments.
20511 * benchtests/bench-sincos.c: Remove file.
20512 * benchtests/sincos-inputs: New file.
20513 * scripts/bench.pl: Identify output arguments and define
20514 static variables for them.
20515
232983e9
SP
20516 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20517
d136c6dc
SP
20518 [BZ #15941]
20519 * Makefile (INSTALL): Add install-plain.texi as the primary
20520 dependency.
20521 * manual/install-plain.texi: New file.
20522 * manual/install.texi: Include node directive only for
20523 non-plaintext output.
20524
699ff837
JM
205252013-12-04 Joseph Myers <joseph@codesourcery.com>
20526
ab07cea8
JM
20527 * stdlib/longlong.h: Update from GCC.
20528
699ff837
JM
20529 [BZ #6807]
20530 [BZ #15901]
20531 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20532 * math/w_j0f.c (y0f): Likewise.
20533 * math/w_j0l.c (__y0l): Likewise.
20534 * math/w_j1.c (y1): Likewise.
20535 * math/w_j1f.c (y1f): Likewise.
20536 * math/w_j1l.c (__y1l): Likewise
20537 * math/w_jn.c (yn): Likewise.
20538 * math/w_jnf.c (ynf): Likewise.
20539 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20540 Bessel function pole errors in _POSIX_ mode. Use NAN as return
20541 value for Bessel function domain errors outside _SVID_ mode.
20542 Adjust sign of return value for yn (negative integer, 0).
20543 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20544 by zero in return for negative x and set sign appropriately for
20545 negative n.
20546 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20547 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20548 * math/libm-test.inc (y0_test_data): Add more tests and adjust
20549 expectations in error cases.
20550 (y1_test_data): Likewise.
20551 (yn_test_data): Likewise.
20552 * sysdeps/i386/fpu/libm-test-ulps: Update.
20553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20554
5b118558
UW
205552013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20556
20557 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20558 "64" to "64-v1". Add "64-v2".
20559 (abi-64-options): Rename to ...
20560 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
20561 (abi-64-condition): Rename to ...
20562 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
20563 (abi-64-ld-soname): Rename to ...
20564 (abi-64-v1-ld-soname): ... this.
20565 (abi-64-v2-options): Define.
20566 (abi-64-v2-condition): Likewise.
20567 (abi-64-v2-ld-soname): Likewise.
20568 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20569 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20573
61cd8fe4
UW
205742013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20575 Alan Modra <amodra@gmail.com>
20576
20577 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20578 New versions for use with the ELFv2 ABI.
20579 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20580 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20581 declaration.
20582 (struct La_ppc64v2_retval): Likewise.
20583 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20584 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20585 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20586 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20587 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20588 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20589 Do not save or restore CR.
20590 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20591 (_dl_profile_resolve): Do no save or restore CR. Support extended
20592 return values for ELFv2 ABI. Fix location of FPR return registers.
20593 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20594 updated values for _CALL_ELF == 2.
20595 (La_regs, La_retval, int_retval): Likewise.
20596
8b8a692c
UW
205972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20598
20599 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20600 (FRAME_MIN_SIZE_PARM): Likewise.
20601 (FRAME_BACKCHAIN): Likewise.
20602 (FRAME_CR_SAVE): Likewise.
20603 (FRAME_LR_SAVE): Likewise.
20604 (FRAME_TOC_SAVE): Likewise.
20605 (FRAME_PARM_SAVE): Likewise.
20606 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20607 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20608 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20609 (call_mcount_parm_offset): New macro.
20610 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20611 (PROF): Use symbolic stack frame offsets.
20612 (TAIL_CALL_SYSCALL_ERROR): Likewise.
20613 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20614 Redefine in terms of FRAME_MIN_SIZE.
20615 (_dl_runtime_resolve): Use symbolic stack frame offsets.
20616 (_dl_profile_resolve): Likewise. Update comment.
20617 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20618 symbols stack frame offsets.
20619 (__sigsetjmp): Likewise.
20620 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20621 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20622 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20623 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20624
20625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20626 (FRAME_BACKCHAIN): Remove.
20627 (FRAME_CR_SAVE): Likewise.
20628 (FRAME_LR_SAVE): Likewise.
20629 (FRAME_COMPILER_DW): Likewise.
20630 (FRAME_LINKER_DW): Likewise.
20631 (FRAME_TOC_SAVE): Likewise.
20632 (FRAME_PARM_SAVE): Likewise.
57f41c40
AS
20633 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20634 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20635 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8b8a692c
UW
20636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20637 (CHECK_SP): Use symbolic stack frame offsets.
20638 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20639 zone" instead of caller's parameter save area for temp storage.
20640 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20641 Likewise. Also, use symbolic stack frame offsets.
20642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20643 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20644 our own stack frame instead of the caller's.
20645 (__socket): Use symbolic stack frame offsets.
20646
122b66de
UW
206472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20648 Alan Modra <amodra@gmail.com>
20649
20650 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20651 Define.
57f41c40
AS
20652 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20653 (PPC64_LOCAL_ENTRY_OFFSET): Define.
122b66de
UW
20654 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20655 New function.
20656 (elf_machine_fixup_plt): Call it.
20657 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
20658 reloc arguments.
20659 (elf_machine_rela): Update call to elf_machine_plt_conflict.
57f41c40
AS
20660 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20661 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
20662 r2 before calling target.
20663
696caf1d
UW
206642013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20665 Alan Modra <amodra@gmail.com>
20666
20667 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20668 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20669 versions of macros to support ELFv2 ABI.
20670 (LOCALENTRY): New macro.
20671 (ENTRY, EALIGN): Use it.
20672 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20673 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20674 fall through into ENTRY entry point.
20675 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20676 Only define if _CALL_ELF != 2.
20677
20678 (elf_machine_matches_host): Verify ABI version matches.
20679 (RTLD_START): Use LOCALENTRY.
20680 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20681 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20682 (PLT_ENTRY_WORDS): New macro.
20683 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20684 (elf_machine_runtime_setup): Support ELFv2 ABI.
20685 (elf_machine_fixup_plt): Likewise.
20686 (elf_machine_plt_conflict): Likewise.
20687 (resolve_ifunc): Likewise.
20688 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20689 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20690 Likewise.
20691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20692 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20693 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20694 (makecontext): Support ELFv2 ABI.
20695 * elf/elf.h (EF_PPC64_ABI): Define.
20696
d31beafa
UW
206972013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20698
57f41c40
AS
20699 * sysdeps/powerpc/powerpc64/sysdep.h
20700 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20701 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20702 (ENTRY) [ASSEMBLER]: ... but instead here ...
20703 (EALIGN) [ASSEMBLER]: ... and here.
20704 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20705 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20706 (ENTRY_2) [!ASSEMBLER]: Use it.
d31beafa
UW
20707 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20708 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
57f41c40
AS
20709 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20710 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
d31beafa
UW
20711 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20713 Use PPC64_LOAD_FUNCPTR.
20714
b525166b
UW
20715 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20716
7ec07d9a
AM
207172013-12-04 Alan Modra <amodra@gmail.com>
20718
20719 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20720 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20721 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20722 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20723
20724 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20725 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20726 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20727 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20728 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20729 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20730
5162e7dd
UW
207312013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
20732
20733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20734 (__makecontext): Fix incorrect CFI when backtracing out of
20735 context created via makecontext.
20736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20737 (__setcontext): Fix incorrect CFI during switch to new context.
20738 (__novec_setcontext): Likewise.
20739
19e3372b
OB
207402013-12-04 Ondřej Bílka <neleai@seznam.cz>
20741
20742 [BZ #4772]
20743 * time/strptime_l.c (__strptime_internal): Allow modifiers
20744 in strptime.
20745 * time/tst-strptime.c (day_tests): Add testcase.
20746
ecaf142d
SP
207472013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20748
20749 * scripts/bench.pl: Skip over blank lines.
20750
fbf964ae
PE
207512013-12-04 Paul Eggert <eggert@cs.ucla.edu>
20752
20753 [BZ #926]
20754 * manual/time.texi (Calendar Time): Clarify what timezone functions
20755 use.
20756
fa60a674
AZ
207572013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20758
20759 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20760
d674f0ef
OB
207612013-12-04 Ondřej Bílka <neleai@seznam.cz>
20762
20763 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20764 implementation.
20765 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20766 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20767 * debug/memset_chk.c (__memset_chk): Likewise.
20768 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20769 * debug/strncpy_chk.c: Likewise.
20770
17dea188
JM
207712013-12-03 Joseph Myers <joseph@codesourcery.com>
20772
749008ff
JM
20773 [BZ #15268]
20774 [BZ #15425]
20775 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20776 (__ieee754_exp): For possibly underflowing results, check size of
20777 result and force underflow exception if required.
20778 * math/auto-libm-test-in: Add more tests of exp.
20779 * math/auto-libm-test-out: Regenerated.
20780 * sysdeps/i386/fpu/libm-test-ulps: Update.
20781 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20782
17dea188
JM
20783 [BZ #16283]
20784 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20785 * math/w_exp2f.c (__exp2f): Likewise.
20786 * math/w_exp2l.c (__exp2l): Likewise.
20787 * math/auto-libm-test-in: Do not allow missing errno on exp2
20788 underflow.
20789 * math/auto-libm-test-out: Regenerated.
20790
b20de2c3
OB
207912013-12-03 Ondřej Bílka <neleai@seznam.cz>
20792
20793 [BZ #16274]
20794 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20795 handle filename validation.
20796 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20797 (do_open): Delete.
20798
d8e2dbe3
JM
207992013-12-03 Joseph Myers <joseph@codesourcery.com>
20800
34e16df5
JM
20801 [BZ #6786]
20802 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20803 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20804 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20805 <float.h>.
20806 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20807 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20808 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20809 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20810 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20812 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20813 * math/auto-libm-test-in: Don't allow missing errno from erfc.
20814 Add more erfc tests.
20815 * math/auto-libm-test-out: Regenerated.
20816 * sysdeps/i386/fpu/libm-test-ulps: Update.
20817 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20818
d8e2dbe3
JM
20819 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20820 exp2, expm1, j0 and j1.
20821 * math/auto-libm-test-out: Regenerated.
20822 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20823 (erfc_test_data): Likewise.
20824 (exp_test_data): Likewise.
20825 (exp_tonearest_test_data): Likewise.
20826 (exp_towardzero_test_data): Likewise.
20827 (exp_downward_test_data): Likewise.
20828 (exp_upward_test_data): Likewise.
20829 (exp10_test_data): Likewise.
20830 (exp2_test_data): Likewise.
20831 (expm1_test_data): Likewise.
20832 (j0_test_data): Likewise.
20833 (j1_test_data): Likewise.
20834 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20835 (input_flag_type): Add flag_xfail_rounding.
20836 (input_flags): Add xfail-rounding.
20837 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20838 (output_for_one_input_case): Handle flag_xfail_rounding.
20839 * sysdeps/i386/fpu/libm-test-ulps: Update.
20840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20841
18d14251
AJ
208422013-12-03 Aurelien Jarno <aurelien@aurel32.net>
20843
3d2e6075 20844 [BZ #16289]
18d14251
AJ
20845 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20846 division by 0.
20847
520d437b
SP
208482013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
20849
20850 [BZ #16195]
20851 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20852 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20853 (STAP_PROBE0): New macro.
20854 (STAP_PROBE1): Likewise.
20855 (STAP_PROBE2): Likewise.
20856 (STAP_PROBE3): Likewise.
20857 (STAP_PROBE4): Likewise.
20858
416e0145
OB
208592013-12-02 Ondřej Bílka <neleai@seznam.cz>
20860
20861 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20862
9d17796a
SE
208632013-12-02 Steve Ellcey <sellcey@mips.com>
20864
20865 * benchtests/Makefile (bench): Add sqrt.
20866 (LDLIBS-bench-sqrt): New.
20867 * benchtests/sqrt-input: New.
20868
f524d6a8
PS
208692013-12-02 Pavel Simerda <psimerda@redhat.com>
20870
639a0ef8
PS
20871 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20872 (GAIH_EAI): Likewise.
20873 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20874 (gaih_inet): Likewise.
20875 (getaddrinfo): Don't use GAIH_EAI.
20876
f524d6a8
PS
20877 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20878 (struct gaih): Remove definition.
20879
df3aedaf
SP
208802013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
20881
20882 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20883 Use HERRNOP directly.
20884
1ab19dec
AZ
208852013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20886
b42ad38d 20887 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 20888
176b0c79
JM
208892013-11-30 Joseph Myers <joseph@codesourcery.com>
20890
20891 * math/gen-auto-libm-tests.c (test_functions): Add more
20892 single-argument functions.
20893 (special_fill_pi_2): New function.
20894 (special_fill_minus_pi_2): Likewise.
20895 (special_fill_pi_6): Likewise.
20896 (special_fill_minus_pi_6): Likewise.
20897 (special_fill_pi_3): Likewise.
20898 (special_fill_2pi_3): Likewise.
20899 (special_fill_e): Likewise.
20900 (special_fill_1_e): Likewise.
20901 (special_fill_e_minus_1): Likewise.
20902 (special_real_inputs): Add more special inputs.
20903 (output_for_one_input_case): Do not require ERANGE on underflow to
20904 zero if round-to-nearest result does not underflow to zero, unless
20905 exact results required.
20906 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20907 atan, atanh, cbrt, cos and cosh.
20908 * math/auto-libm-test-out: Regenerated.
20909 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20910 (acos_tonearest_test_data): Likewise.
20911 (acos_towardzero_test_data): Likewise.
20912 (acos_downward_test_data): Likewise.
20913 (acos_upward_test_data): Likewise.
20914 (acosh_test_data): Likewise.
20915 (asin_test_data): Likewise.
20916 (asin_tonearest_test_data): Likewise.
20917 (asin_towardzero_test_data): Likewise.
20918 (asin_upward_test_data): Likewise.
20919 (asinh_test_data): Likewise.
20920 (atan_test_data): Likewise.
20921 (atanh_test_data): Likewise.
20922 (cbrt_test_data): Likewise.
20923 (cos_test_data): Likewise.
20924 (cos_tonearest_test_data): Likewise.
20925 (cos_towardzero_test_data): Likewise.
20926 (cos_downward_test_data): Likewise.
20927 (cos_upward_test_data): Likewise.
20928 (cosh_test_data): Likewise.
20929 (cosh_tonearest_test_data): Likewise.
20930 (cosh_towardzero_test_data): Likewise.
20931 (cosh_downward_test_data): Likewise.
20932 (cosh_upward_test_data): Likewise.
20933 * sysdeps/i386/fpu/libm-test-ulps: Update.
20934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20935
ffb536d0
JM
209362013-11-29 Joseph Myers <joseph@codesourcery.com>
20937
2a77a467
JM
20938 [BZ #6787]
20939 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20940 * math/w_exp10f.c (__exp10f): Likewise.
20941 * math/w_exp10l.c (__exp10l): Likewise.
20942 * math/libm-test.inc (exp10_test_data): Add more tests and expect
20943 errno settings in existing tests.
20944
ea3bc4e8
JM
20945 [BZ #14032]
20946 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20947 precision control set to double precision.
20948 * sysdeps/i386/fpu/w_sqrt.c: New file.
20949 * math/auto-libm-test-in: Add more tests.
20950 * math/auto-libm-test-out: Update.
20951
0712c9d8
JM
20952 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20953 (sqrt_test_tonearest): New function.
20954 (sqrt_towardzero_test_data): New variable.
20955 (sqrt_test_towardzero): New function.
20956 (sqrt_downward_test_data): New variable.
20957 (sqrt_test_downward): New function.
20958 (sqrt_upward_test_data): New variable.
20959 (sqrt_test_upward): New function.
20960 (main): Call the new functions.
20961
ffb536d0
JM
20962 * math/gen-auto-libm-tests.c: New file.
20963 * math/auto-libm-test-in: Likewise.
20964 * math/auto-libm-test-out: New generated file.
20965 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20966 variables.
20967 (%beautify): Add generated representations of zero.
20968 (top level): Set $auto_input and call parse_auto_input.
20969 (beautify): Remove trailing "f" from hex float constants.
20970 (parse_args): Handle XFAIL_TEST.
20971 (convert_condition): New function.
20972 (or_value): Likewise.
20973 (or_cond_value): Likewise.
20974 (generate_testfile): Handle AUTO_TESTS_* lines.
20975 (parse_auto_input): New function.
20976 * math/libm-test.inc (XFAIL_TEST): New macro.
20977 (ERRNO_UNCHANGED): Update value.
20978 (ERRNO_EDOM): Likewise.
20979 (ERRNO_ERANGE): Likewise.
20980 (IGNORE_RESULT): Likewise.
20981 (TEST_COND_flt_32): New macro.
20982 (TEST_COND_dbl_64): Likewise.
20983 (TEST_COND_ldbl_96_intel): Likewise.
20984 (TEST_COND_ldbl_96_m68k): Likewise.
20985 (TEST_COND_ldbl_128): Likewise.
20986 (TEST_COND_ldbl_128ibm): Likewise.
20987 (TEST_COND_long32): Likewise.
20988 (TEST_COND_long64): Likewise.
20989 (TEST_COND_before_rounding): Likewise.
20990 (TEST_COND_after_rounding): Likewise.
20991 (enable_test): Handle XFAIL_TEST flag.
20992 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20993 with finite results.
20994 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20995 auto-libm-test-out.
20996
acd98a8e
AK
209972013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
20998 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20999
21000 [BZ #16214]
21001 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21002 __tls_get_addr_internal instead of __tls_get_offset in order to
21003 avoid GOT pointer dependency. Make rtld export
21004 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21005 __tls_get_addr since we are a __tls_get_offset platform.
21006 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21007 GOT pointer being set up before.
21008 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21009
3c1c46a6
JM
210102013-11-28 Joseph Myers <joseph@codesourcery.com>
21011
7475aef5
JM
21012 * manual/math.texi (Errors in Math Functions): Document accuracy
21013 goals.
21014
8bca7cd8
JM
21015 [BZ #15004]
21016 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21017 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21018 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21019 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21020 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21021 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21022 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21023 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21024 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21025 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21026 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21027 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21028 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21029 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21030 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21031 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21032
91a1f3fe
JM
21033 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21034 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21035 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21036 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21037 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21038 Likewise.
21039 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21040 Likewise.
21041 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21042 Likewise.
21043 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21044 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21045 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21046 atomic-feupdateenv and flt-rounds.
21047 * sysdeps/powerpc/nofpu/Versions (libc): Add
21048 __atomic_feholdexcept, __atomic_feclearexcept,
21049 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21050 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21051 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21052 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21053 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21054 here.
21055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21056 Update.
21057
c5df7609
JM
21058 * manual/arith.texi (FP Exceptions): Document that exceptions may
21059 not be raised when matherr is used.
21060 (Math Error Reporting): Document overflow in directed rounding
21061 modes. Document that errno may not be set when finite values are
21062 returned on overflow. Document intent to set errno on underflow
21063 only for underflow to zero.
21064
3c1c46a6
JM
21065 [BZ #16271]
21066 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21067 round-to-nearest then adjust result for other rounding modes.
21068 * include/fenv.h (fegetround): Use libm_hidden_proto.
21069 * math/fegetround.c (fegetround): Use libm_hidden_def.
21070 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21071 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21072 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21073 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21074 Likewise.
21075 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21076 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21077 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21078 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21079
5a4c6d53
SP
210802013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21081
21082 [BZ #16077]
21083 * nss/Versions (libnss_files): Add
21084 _nss_files_gethostbyname3_r.
21085 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21086 New function.
21087 (HOST_DB_LOOKUP): Remove macro.
21088 (_nss_files_gethostbyname_r): Implement function without the
21089 HOST_DB_LOOKUP macro.
21090 (_nss_files_gethostbyname2_r): Likewise.
21091
897b98ba
OB
210922013-11-28 Ondřej Bílka <neleai@seznam.cz>
21093
21094 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21095
6f476861
UB
210962013-11-26 Uros Bizjak <ubizjak@gmail.com>
21097
21098 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21099 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21100 warning.
21101
bd12ab55
AZ
211022013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21103
21104 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21105 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21106 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21107 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21108 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21109 __fe_nomask_env_priv and attribute_hidden.
21110 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21111 (libc_feupdateenv_test_ppc): Likewise.
21112 (libc_feresetround_ppc): Likewise.
21113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21114 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21115 compat_symbol macro.
21116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21117 (__fe_nomask_env): Likewise.
21118 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21119
52bb6543
OB
211202013-11-26 Ondřej Bílka <neleai@seznam.cz>
21121
21122 * string/Makefile: Remove ifunc tests.
21123 * string/test-string.h: Define TEST_IFUNC.
21124 * string/test-bcopy-ifunc.c: Remove.
21125 * string/test-bzero-ifunc.c: Likewise.
21126 * string/test-memccpy-ifunc.c: Likewise.
21127 * string/test-memchr-ifunc.c: Likewise.
21128 * string/test-memcmp-ifunc.c: Likewise.
21129 * string/test-memcpy-ifunc.c: Likewise.
21130 * string/test-memmem-ifunc.c: Likewise.
21131 * string/test-memmove-ifunc.c: Likewise.
21132 * string/test-mempcpy-ifunc.c: Likewise.
21133 * string/test-memrchr-ifunc.c: Likewise.
21134 * string/test-memset-ifunc.c: Likewise.
21135 * string/test-rawmemchr-ifunc.c: Likewise.
21136 * string/test-stpcpy-ifunc.c: Likewise.
21137 * string/test-stpncpy-ifunc.c: Likewise.
21138 * string/test-strcasecmp-ifunc.c: Likewise.
21139 * string/test-strcasestr-ifunc.c: Likewise.
21140 * string/test-strcat-ifunc.c: Likewise.
21141 * string/test-strchr-ifunc.c: Likewise.
21142 * string/test-strchrnul-ifunc.c: Likewise.
21143 * string/test-strcmp-ifunc.c: Likewise.
21144 * string/test-strcpy-ifunc.c: Likewise.
21145 * string/test-strcspn-ifunc.c: Likewise.
21146 * string/test-strlen-ifunc.c: Likewise.
21147 * string/test-strncasecmp-ifunc.c: Likewise.
21148 * string/test-strncat-ifunc.c: Likewise.
21149 * string/test-strncmp-ifunc.c: Likewise.
21150 * string/test-strncpy-ifunc.c: Likewise.
21151 * string/test-strnlen-ifunc.c: Likewise.
21152 * string/test-strpbrk-ifunc.c: Likewise.
21153 * string/test-strrchr-ifunc.c: Likewise.
21154 * string/test-strspn-ifunc.c: Likewise.
21155 * string/test-strstr-ifunc.c: Likewise.
21156
ab260039 211572013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
21158
21159 * benchtests/Makefile: Remove ifunc tests.
21160 * benchtests/bench-string.h: Define TEST_IFUNC.
21161 * benchtests/bench-bcopy-ifunc.c: Remove.
21162 * benchtests/bench-bzero-ifunc.c: Likewise.
21163 * benchtests/bench-memccpy-ifunc.c: Likewise.
21164 * benchtests/bench-memchr-ifunc.c: Likewise.
21165 * benchtests/bench-memcmp-ifunc.c: Likewise.
21166 * benchtests/bench-memcpy-ifunc.c: Likewise.
21167 * benchtests/bench-memmem-ifunc.c: Likewise.
21168 * benchtests/bench-memmove-ifunc.c: Likewise.
21169 * benchtests/bench-mempcpy-ifunc.c: Likewise.
21170 * benchtests/bench-memrchr-ifunc.c: Likewise.
21171 * benchtests/bench-memset-ifunc.c: Likewise.
21172 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21173 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21174 * benchtests/bench-stpcpy-ifunc.c: Likewise.
21175 * benchtests/bench-stpncpy-ifunc.c: Likewise.
21176 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21177 * benchtests/bench-strcasestr-ifunc.c: Likewise.
21178 * benchtests/bench-strcat-ifunc.c: Likewise.
21179 * benchtests/bench-strchr-ifunc.c: Likewise.
21180 * benchtests/bench-strchrnul-ifunc.c: Likewise.
21181 * benchtests/bench-strcmp-ifunc.c: Likewise.
21182 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21183 * benchtests/bench-strcpy-ifunc.c: Likewise.
21184 * benchtests/bench-strcspn-ifunc.c: Likewise.
21185 * benchtests/bench-strlen-ifunc.c: Likewise.
21186 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21187 * benchtests/bench-strncat-ifunc.c: Likewise.
21188 * benchtests/bench-strncmp-ifunc.c: Likewise.
21189 * benchtests/bench-strncpy-ifunc.c: Likewise.
21190 * benchtests/bench-strnlen-ifunc.c: Likewise.
21191 * benchtests/bench-strpbrk-ifunc.c: Likewise.
21192 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 21193 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
21194 * benchtests/bench-strspn-ifunc.c: Likewise.
21195 * benchtests/bench-strstr-ifunc.c: Likewise.
21196
211972013-11-26 Ondřej Bílka <neleai@seznam.cz>
21198
ab260039
OB
21199 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21200
d1d9eaf4 212012013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 21202
d1d9eaf4
OB
21203 * resolv/netdb.h: Use __glibc_reserved instead __unused.
21204 * rt/aio.h: Likewise.
21205 * sysdeps/gnu/bits/utmp.h: Likewise.
21206 * sysdeps/gnu/bits/utmpx.h: Likewise.
21207 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21208 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21209 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21210 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21211 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21212 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21213 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21214 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21215 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21216 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21217 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21218 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21219 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21222 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21223 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21224 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21225 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21226 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21227 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21228 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21229 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21230 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21231 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21232 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21233 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21234 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21235 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21236 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21237 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21238 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21239 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21240 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21241 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21242 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21243 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21244 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21245 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21246 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21247 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21248 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21249
a7624ed9
CD
212502013-11-25 Carlos O'Donell <carlos@redhat.com>
21251
21252 [BZ #16245]
21253 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21254 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21255
63cfe52b
JM
212562013-11-25 Joseph Myers <joseph@codesourcery.com>
21257
21258 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21259 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21260 Likewise.
21261
41e8926a
AZ
212622013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21263
21264 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21265 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21266 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21267 (__fesetround): Remove define.
21268 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21269 rounding and exceptions handling.
21270 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21271 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21272 (__fe_nomask_env): Likewise.
21273 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21274 __fegetround instead of fegetround.
21275 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21276 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21277
6851bd4d
RM
212782013-11-21 Roland McGrath <roland@hack.frob.com>
21279
070906ff
RM
21280 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21281 it's there.
21282
6851bd4d
RM
21283 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21284
84ae135d
MI
212852013-11-21 Meador Inge <meadori@codesourcery.com>
21286
21287 [BZ #11157]
21288 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21289 (encrypt_r): Likewise.
21290 * malloc/obstack.h (obstack_free): Likewise.
21291 * posix/unistd.h (encrypt): Likewise.
21292
daf75146
GM
212932013-11-21 Guy Martin <gmsoft@tuxicoman.be>
21294
21295 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21296 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21297 DL_CALL_DT_FINI() that call the functions directly.
21298 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21299 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21300 * elf/dl-fini.c: Likewise.
21301
10ad46bc
OB
213022013-11-20 Ondřej Bílka <neleai@seznam.cz>
21303
21304 * malloc/hooks.c (memalign_check): Add alignment rounding.
21305 * malloc/malloc.c (_mid_memalign): New function.
21306 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21307 Implement by calling _mid_memalign.
21308 * manual/probes.texi (Memory Allocation Probes): Remove
21309 memory_valloc_retry and memory_pvalloc_retry.
21310
f3fd2628
SP
213112013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
21312
4712799f
SP
21313 * locale/programs/locarchive.c (open_archive): Add const
21314 qualifier to ARCHIVEFNAME and copy default fname to
21315 DEFAULT_FNAME.
21316
0417b20f
SP
21317 [BZ #15601]
21318 * libio/tst-widetext.input: Rename Oriya to Odia.
21319 * locale/iso-639.def: Likewise.
21320
f3fd2628
SP
21321 * manual/probes.texi (Mathematical Function Probes): Add
21322 documentation for sin, cos, asin and acos probes.
21323 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21324 (__sin32): Add slowasin probe.
21325 (__cos32): Add slowacos probe.
21326 (__mpsin): Add slowsin probe.
21327 (__mpcos): Add slowcos probe.
21328
73c1ce4f
JM
213292013-11-19 Joseph Myers <joseph@codesourcery.com>
21330
21331 [BZ #15483]
21332 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21333 thread-local __sim_exceptions_thread and global
21334 __sim_exceptions_global.
21335 (__sim_disabled_exceptions): Change to thread-local
21336 __sim_disabled_exceptions_thread and global
21337 __sim_disabled_exceptions_global.
21338 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21339 and global __sim_round_mode_global.
21340 (__simulate_exceptions): Use thread-local floating-point state and
21341 set global state from it as needed.
21342 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21343 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21344 __sim_round_mode_thread.
21345 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21346 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21347 and global __sim_exceptions_global.
21348 (__sim_disabled_exceptions): Change to thread-local
21349 __sim_disabled_exceptions_thread and global
21350 __sim_disabled_exceptions_global.
21351 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21352 and global __sim_round_mode_global.
21353 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21354 (SIM_SET_GLOBAL): Likewise.
21355 * sysdeps/powerpc/soft-fp/sfp-machine.h
21356 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21357 __sim_round_mode_thread.
21358 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21359 __sim_disabled_exceptions_thread.
21360 (__sim_exceptions): Change to __sim_exceptions_thread.
21361 (__sim_disabled_exceptions): Change to
21362 __sim_disabled_exceptions_thread.
21363 (__sim_round_mode): Change to __sim_round_mode_thread.
21364 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21365 thread-local floating-point state and set global state from it as
21366 needed.
21367 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21368 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21369 (__sim_disabled_exceptions): Remove extern declaration.
21370 (feenableexcept): Use thread-local floating-point state and set
21371 global state from it as needed.
21372 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21373 extern declaration.
21374 (__sim_disabled_exceptions): Likewise.
21375 (__sim_round_mode): Likewise.
21376 (__fegetenv): Use thread-local floating-point state.
21377 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21378 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21379 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21380 floating-point state and set global state from it as needed.
21381 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21382 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21383 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21384 Likewise.
21385 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21386 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21387 Likewise.
21388 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21389 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21390 Use __sim_round_mode_thread.
21391 * math/test-fenv-tls.c: New file.
21392 * math/Makefile (tests): Add test-fenv-tls.
21393 ($(objpfx)test-fenv-tls): Depend on
21394 $(common-objpfx)nptl/libpthread.so.
21395
b5449b12
AS
213962013-11-19 Andreas Schwab <schwab@suse.de>
21397
21398 * locale/programs/locale.c (show_info): Decode wordarray elements.
21399 * locale/categories.def (LC_MONETARY): Add element for
21400 _NL_MONETARY_CRNCYSTR.
21401 * locale/C-monetary.c (conversion_rate): New variable.
21402 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21403 element.
21404
e186536b
CM
214052013-11-18 Chris Metcalf <cmetcalf@tilera.com>
21406
21407 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21408 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21409
5c349950
PP
214102013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
21411
21412 * elf/Makefile (tst-auxv): New test.
21413 * elf/tst-auxv.c: New
21414 * elf/rtld.c (dl_main): Adjust AT_EXECFN
21415
699df45b
JM
214162013-11-18 Joseph Myers <joseph@codesourcery.com>
21417
21418 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21419 (hidden_proto): Caller changed.
21420 (hidden_tls_proto): New macro.
21421 (libc_hidden_tls_proto): Likewise.
21422 (rtld_hidden_tls_proto): Likewise.
21423 (libm_hidden_tls_proto): Likewise.
21424 (libresolv_hidden_tls_proto): Likewise.
21425 (librt_hidden_tls_proto): Likewise.
21426 (libdl_hidden_tls_proto): Likewise.
21427 (libnss_files_hidden_tls_proto): Likewise.
21428 (libnsl_hidden_tls_proto): Likewise.
21429 (libnss_nisplus_hidden_tls_proto): Likewise.
21430 (libutil_hidden_tls_proto): Likewise.
21431
b7589107
OB
214322013-11-18 Ondřej Bílka <neleai@seznam.cz>
21433
21434 [BZ #10253]
21435 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21436 (decompose_rpath): Defer expansion to fillin_rpath.
21437 (_dl_init_paths): Pass linkmap to fillin_rpath.
21438
250c23bd
RS
214392013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
21440
21441 * benchtests/Makefile: Add strsep.
21442 * benchtests/bench-strsep.c: New file: strsep benchtest.
21443 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21444
a7931fcf
AS
214452013-11-18 Andreas Schwab <schwab@suse.de>
21446
21447 * locale/programs/locale.c (show_info) [case byte]: Check for
21448 '\377' instead of '\177'.
21449 * locale/C-monetary.c (not_available): Always use "\377".
21450 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21451 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
21452 detect unavailable sign_posn locale elements.
21453 * locale/localeconv.c (__localeconv): For grouping and
21454 mon_grouping handle "\177" and "\377" like no grouping.
21455 (INT_ELEM): New macro. Use it to set all numeric members.
21456 * locale/programs/ld-monetary.c (monetary_read)
21457 <tok_mon_grouping>: Normalize single -1 to the empty string.
21458 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21459 Likewise.
21460
728dab0e
OB
214612013-11-07 Ondřej Bílka <neleai@seznam.cz>
21462
21463 [BZ #16055]
21464 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21465 when we match (nil).
21466 * stdio-common/tst-sscanf.c (struct test): Add testcase.
21467
66294491
JM
214682013-11-16 Joseph Myers <joseph@codesourcery.com>
21469
ce665817
JM
21470 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21471 (NO_TEST_INLINE): Update value.
21472 (ERRNO_UNCHANGED): Likewise.
21473 (ERRNO_EDOM): Likewise.
21474 (ERRNO_ERANGE): Likewise.
21475 (IGNORE_RESULT): Likewise.
21476 (check_float_internal): Check signs of NaN results if
21477 TEST_NAN_SIGN used.
21478 (check_complex): Pass TEST_NAN_SIGN flag through to second
21479 check_float_internal call.
21480 (copysign_test_data): Add tests with quiet NaNs as second
21481 argument. Use TEST_NAN_SIGN.
21482 (fabs_test_data): Add test of negative quiet NaN argument. Use
21483 TEST_NAN_SIGN.
21484 (signbit_test_data): Add tests of quiet NaN argument.
21485 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21486
ee1466a9
JM
21487 * math/gen-libm-test.pl (show_exceptions): Take extra argument
21488 $ignore_result.
21489 (parse_args): Handle function results specified as IGNORE.
21490 * math/libm-test.inc (IGNORE_RESULT): New macro.
21491 (check_float_internal): Do not check numerical result if flag
21492 IGNORE_RESULT set.
21493 (check_complex): Pass through IGNORE_RESULT to second
21494 check_float_internal call.
21495 (check_int): Do not check numerical result if flag IGNORE_RESULT
21496 set.
21497 (check_long): Likewise.
21498 (check_bool): Likewise.
21499 (check_longlong): Likewise.
21500 (lrint_test_data): Add tests of infinite and NaN arguments.
21501 (lrint_tonearest_test_data): Likewise.
21502 (lrint_towardzero_test_data): Likewise.
21503 (lrint_downward_test_data): Likewise.
21504 (lrint_upward_test_data): Likewise.
21505 (llrint_test_data): Likewise.
21506 (llrint_tonearest_test_data): Likewise.
21507 (llrint_towardzero_test_data): Likewise.
21508 (llrint_downward_test_data): Likewise.
21509 (llrint_upward_test_data): Likewise.
21510 (lround_test_data): Likewise.
21511 (llround_test_data): Likewise.
21512
14407b7e
JM
21513 * math/libm-test.inc (NO_TEST_INLINE): New macro.
21514 (ERRNO_UNCHANGED): Update value.
21515 (ERRNO_EDOM): Likewise.
21516 (ERRNO_ERANGE): Likewise.
21517 (NO_TEST_INLINE_FLOAT): New macro.
21518 (NO_TEST_INLINE_DOUBLE): Likewise.
21519 (enable_test): New function.
21520 (RUN_TEST_f_f): Check enable_test before running test.
21521 (RUN_TEST_2_f): Likewise.
21522 (RUN_TEST_fff_f): Likewise.
21523 (RUN_TEST_c_f): Likewise.
21524 (RUN_TEST_f_f1): Likewise.
21525 (RUN_TEST_fF_f1): Likewise.
21526 (RUN_TEST_fI_f1): Likewise.
21527 (RUN_TEST_ffI_f1): Likewise.
21528 (RUN_TEST_c_c): Likewise.
21529 (RUN_TEST_cc_c): Likewise.
21530 (RUN_TEST_f_i): Likewise.
21531 (RUN_TEST_f_i_tg): Likewise.
21532 (RUN_TEST_ff_i_tg): Likewise.
21533 (RUN_TEST_f_b): Likewise.
21534 (RUN_TEST_f_b_tg): Likewise.
21535 (RUN_TEST_f_l): Likewise.
21536 (RUN_TEST_f_L): Likewise.
21537 (RUN_TEST_fFF_11): Likewise.
21538 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21539 conditionals.
21540 (cosh_test_data): Likewise.
21541 (exp_test_data): Likewise.
21542 (expm1_test_data): Likewise.
21543 (hypot_test_data): Likewise.
21544 (pow_test_data): Likewise.
21545 (sinh_test_data): Likewise.
21546 (tanh_test_data): Likewise.
21547 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21548 flags argument.
21549
ca07f197
JM
21550 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21551 tests with quiet NaN input and output.
21552 (acosh_test_data): Likewise.
21553 (asin_test_data): Likewise.
21554 (asinh_test_data): Likewise.
21555 (atan_test_data): Likewise.
21556 (atanh_test_data): Likewise.
21557 (atan2_test_data): Likewise.
21558 (cbrt_test_data): Likewise.
21559 (cos_test_data): Likewise.
21560 (cosh_test_data): Likewise.
21561 (erf_test_data): Likewise.
21562 (erfc_test_data): Likewise.
21563 (exp_test_data): Likewise.
21564 (exp10_test_data): Likewise.
21565 (exp2_test_data): Likewise.
21566 (expm1_test_data): Likewise.
21567 (hypot_test_data): Likewise.
21568 (j0_test_data): Likewise.
21569 (j1_test_data): Likewise.
21570 (jn_test_data): Likewise.
21571 (lgamma_test_data): Likewise.
21572 (log_test_data): Likewise.
21573 (log10_test_data): Likewise.
21574 (log1p_test_data): Likewise.
21575 (log2_test_data): Likewise.
21576 (pow_test_data): Likewise.
21577 (scalb_test_data): Likewise.
21578 (sin_test_data): Likewise.
21579 (sincos_test_data): Likewise.
21580 (sinh_test_data): Likewise.
21581 (tan_test_data): Likewise.
21582 (tanh_test_data): Likewise.
21583 (tgamma_test_data): Likewise.
21584 (y0_test_data): Likewise.
21585 (y1_test_data): Likewise.
21586 (yn_test_data): Likewise.
21587
66294491
JM
21588 [BZ #16167]
21589 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21590 argument being NaN and avoid computations with second argument in
21591 that case.
21592 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21593 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21594 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21595
1820b143
CL
215962013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
21597
21598 * locale/iso-639.def: Add Chitwani Tharu (the).
21599
714bd261
AS
216002013-11-14 Andreas Schwab <schwab@suse.de>
21601
21602 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21603 word instead of empty string.
21604
7ab44563
AZ
216052013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21606
21607 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21608 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21610 (__fe_nomask_env): Likewise.
21611
e8470ea2
SE
216122013-11-13 Steve Ellcey <sellcey@mips.com>
21613
21614 * benchtests/bench-timing.h: Include time.h.
21615
17c1d9f0
L
216162013-11-13 H.J. Lu <hongjiu.lu@intel.com>
21617
21618 [BZ #15997]
21619 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21620 to 3.4.0 for x32.
21621 * sysdeps/unix/sysv/linux/configure: Regenerated.
21622
9310c284
JM
216232013-11-13 Joseph Myers <joseph@codesourcery.com>
21624
21625 [BZ #16151]
21626 * stdlib/strtod_l.c (round_and_return): Do not consider
21627 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21628 exponent one less than half the least subnormal exponent.
21629 * stdlib/test-strtod-round-data: Add more tests.
21630 * stdlib/tst-strtod-round.c (tests): Regenerated.
21631
7a2ad8cf
AZ
216322013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21633
21634 [BZ #14143]
21635 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21636 (__fe_mask_env): Likewise.
21637 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21638 libm_hidden_proto and add function prototype.
21639 (__fe_mask_env): Add function prototype.
21640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21641 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21643 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21645 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21646
50727aa7
MS
216472013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21648
b2f386c1 21649 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
21650 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21651
a615be46
MS
216522013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21653
21654 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21655 of htab_find_slot().
21656
7ddace62
DM
216572013-11-11 David S. Miller <davem@davemloft.net>
21658
21659 [BZ #16150]
21660 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21661 symbol in the non-vis3 case in static builds.
21662 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21663 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21664 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21665 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21666
9182aa67
JK
216672013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
21668
21669 [BZ #387]
21670 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21671 it is empty.
21672
450a2e2d
AZ
216732013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21674
b2f386c1
SP
21675 * benchtests/Makefile: Add bench-strtod.
21676 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 21677
8ec3f656
AS
216782013-11-11 Andreas Schwab <schwab@suse.de>
21679
21680 [BZ #16153]
21681 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21682 terminating NUL in key length.
21683
76a9b998
AZ
216842013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21685
21686 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21687 Add artificial ODP entry for vDSO symbol for PPC64.
21688 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21689 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21690
e4368156
OB
216912013-11-07 Ondřej Bílka <neleai@seznam.cz>
21692
21693 [BZ #15374]
21694 * nss/getent.c (services_keys): Recognize services starting with digit.
21695
8d6bb57c
DM
216962013-11-06 David S. Miller <davem@davemloft.net>
21697
21698 [BZ #15985]
21699 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21700 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21701
e256c421
WN
217022013-11-06 Will Newton <will.newton@linaro.org>
21703
21704 * manual/memory.texi (Malloc Examples): Remove register
21705 keyword from examples.
21706
f6e12daa 217072013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 21708
f6e12daa 21709 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 21710
9d880655
AS
217112013-11-04 Joseph Myers <joseph@codesourcery.com>
21712
fd2f9486 21713 [BZ #6981]
9d880655
AS
21714 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21715 depending on [__GCC_IEC_559 > 0].
21716 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21717 depending on [__GCC_IEC_559_COMPLEX > 0].
21718
ae129d3c
CL
217192013-11-03 Chris Leonard <cjl@sugarlabs.org>
21720
21721 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21722 to iso-639.def.
21723
4a15c2a4 217242013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
21725
21726 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21727
8b35e35d
OB
217282013-11-01 Ondřej Bílka <neleai@seznam.cz>
21729
21730 [BZ #16112]
21731 * malloc/malloc (malloc_info): Do not handle first bin as
21732 special case.
21733
1d70fd6c
CL
217342013-11-01 Chris Leonard <cjl@sugarlabs.org>
21735
21736 * locale/iso-639.def: Add Central Nahuatl (nhn).
21737
8c5c2600
BH
217382013-11-01 Bruno Haible <bruno@clisp.org>
21739
21740 [BZ #7003]
21741 * manual/math.texi (BSD Random): Specify range upper bound as
21742 in POSIX.
21743
da5579c2
CL
217442013-10-31 Chris Leonard <cjl@sugarlabs.org>
21745
21746 * locale/iso-639.def: Add Meadow Mari (mhr).
21747
5d30d853
OB
217482013-10-31 Ondřej Bílka <neleai@seznam.cz>
21749
21750 [BZ #14752], [BZ #15763]
21751 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21752 Validate name.
21753 * rt/tst_shm.c: Add test for escaping directory.
21754
a4966c61
AS
217552013-10-31 Andreas Schwab <schwab@suse.de>
21756
8a43e768 21757 [BZ #15917]
a4966c61
AS
21758 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21759 followed by 'x' as part of digit sequence.
21760 * stdio-common/tst-sscanf.c (double_tests2): New tests.
21761
28d708c4
MAP
217622013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21763
21764 [BZ #16037]
21765 * configure.ac: allow GNU Make 4.0 and greater.
21766 * configure: Regenerated.
21767
a56ee40b
WN
217682013-10-30 Will Newton <will.newton@linaro.org>
21769
21770 [BZ #16038]
21771 * malloc/hooks.c (memalign_check): Limit alignment to the
21772 maximum representable power of two.
21773 * malloc/malloc.c (__libc_memalign): Likewise.
21774 * malloc/tst-memalign.c (do_test): Add test for very
21775 large alignment values.
21776 * malloc/tst-posix_memalign.c (do_test): Likewise.
21777
c6e4925d
OB
217782013-10-30 Ondřej Bílka <neleai@seznam.cz>
21779
21780 [BZ #11087]
21781 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21782 (munmap_chunk): Likewise.
21783 (mremap_chunk): Likewise.
21784
217852013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 21786
8a43e768 21787 [BZ #15799]
bbea82f7
OB
21788 * stdlib/div.c (div): Remove obsolete code.
21789 * stdlib/ldiv.c (ldiv): Likewise.
21790 * stdlib/lldiv.c (lldiv): Likewise.
21791
977f4b31
SP
217922013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21793
21794 [BZ #16071]
21795 * nss/nss_files/files-XXX.c (get_contents_ret): New
21796 enumerator.
21797 (get_contents): New function.
21798 (internal_getent): Use it. Expand size of LINEBUFLEN.
21799
cb8a6dbd
MF
218002013-10-30 Mike Frysinger <vapier@gentoo.org>
21801
21802 * configure.in: Moved to ...
21803 * configure.ac: ... here. Change reference to configure.in
21804 to configure.ac.
21805 * sysdeps/arm/preconfigure.ac: ... here.
21806 configure.in to configure.ac.
21807 * sysdeps/gnu/configure.in: Moved to ...
21808 * sysdeps/gnu/configure.ac: ... here.
21809 * sysdeps/i386/configure.in: Moved to ...
21810 * sysdeps/i386/configure.ac: ... here.
21811 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21812 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21813 * sysdeps/mach/configure.in: Moved to ...
21814 * sysdeps/mach/configure.ac: ... here.
21815 * sysdeps/mach/hurd/configure.in: Moved to ...
21816 * sysdeps/mach/hurd/configure.ac: ... here.
21817 * sysdeps/powerpc/configure.in: Moved to ...
21818 * sysdeps/powerpc/configure.ac: ... here.
21819 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21820 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21821 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21822 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21823 * sysdeps/s390/s390-32/configure.in: Moved to ...
21824 * sysdeps/s390/s390-32/configure.ac: ... here.
21825 * sysdeps/s390/s390-64/configure.in: Moved to ...
21826 * sysdeps/s390/s390-64/configure.ac: ... here.
21827 * sysdeps/sh/configure.in: Moved to ...
21828 * sysdeps/sh/configure.ac: ... here.
21829 * sysdeps/sparc/configure.in: Moved to ...
21830 * sysdeps/sparc/configure.ac: ... here.
21831 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21832 * sysdeps/unix/sysv/linux/configure.ac: ... here.
21833 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21834 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21835 * sysdeps/x86_64/configure.in: Moved to ...
21836 * sysdeps/x86_64/configure.ac: ... here.
21837 * sysdeps/x86_64/preconfigure.in: Moved to ...
21838 * sysdeps/x86_64/preconfigure.ac: ... here.
21839 * aclocal.m4: Change reference to configure.in to configure.ac.
21840 * config.h.in: Likewise.
21841 * manual/install.texi: Likewise.
21842 * manual/maint.texi: Likewise.
21843 * Makefile: Likewise.
21844 * malloc/Makefile: Likewise.
21845 * nscd/Makefile: Likewise.
21846 * Makeconfig: Change reference to configure.in and
21847 preconfigure.in to configure.ac and preconfigure.ac
21848 respectively.
21849 * INSTALL: Regenerated.
21850 * configure: Likewise.
21851 * sysdeps/gnu/configure: Likewise.
21852 * sysdeps/i386/configure: Likewise.
21853 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21854 * sysdeps/mach/configure: Likewise.
21855 * sysdeps/mach/hurd/configure: Likewise.
21856 * sysdeps/powerpc/configure: Likewise.
21857 * sysdeps/powerpc/powerpc32/configure: Likewise.
21858 * sysdeps/powerpc/powerpc64/configure: Likewise.
21859 * sysdeps/s390/s390-32/configure: Likewise.
21860 * sysdeps/s390/s390-64/configure: Likewise.
21861 * sysdeps/sh/configure: Likewise.
21862 * sysdeps/sparc/configure: Likewise.
21863 * sysdeps/unix/sysv/linux/configure: Likewise.
21864 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21865 * sysdeps/x86_64/configure: Likewise.
21866 * sysdeps/x86_64/preconfigure: Likewise.
21867
36a4953a
AS
218682013-10-29 Andreas Schwab <schwab@suse.de>
21869
21870 * stdio-common/Makefile (tst-swscanf-ENV): Define.
21871
c79a1204
SP
218722013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21873
dfa1b402
SP
21874 * benchtests/pow-inputs: Add new inputs.
21875
54f73d9c
SP
21876 * benchtests/exp-inputs: Add new inputs.
21877
c79a1204
SP
21878 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21879 conditional check for return value.
21880 (__cos32): Likewise.
21881
67beb545 218822013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
21883
21884 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21885 to provide a boost for large inputs with word alignment.
21886 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21887 implementation based on optimized PPC64 strcpy.
21888 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21889 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21890 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21891 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21892
151659f6
OB
218932013-10-25 Ondřej Bílka <neleai@seznam.cz>
21894
482a077e 21895 [BZ #2801]
151659f6
OB
21896 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21897
10b0f26b
OB
218982013-10-25 Ondřej Bílka <neleai@seznam.cz>
21899
21900 [BZ #14876]
21901 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21902 * time/tst-strptime.c (day_tests): Add testcase.
21903
ca42d35e
OB
219042013-10-25 Ondřej Bílka <neleai@seznam.cz>
21905
482a077e 21906 [BZ #14029]
ca42d35e
OB
21907 * manual/pattern.texi: Acknowledge that fnmatch can fail.
21908
52e6d801
FB
219092013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
21910
21911 [BZ #16074]
21912 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21913 MAP_FAILED on error.
21914
7cbcdb36
SP
219152013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
21916
21917 [BZ #16072]
21918 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21919 heap for large requests.
21920
894f3f10
AM
219212013-10-25 Aurelien Jarno <aurelien@aurel32.net>
21922
21923 [BZ #9954]
21924 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21925 result if the result has no associated interface.
21926 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21927 interface for all 127.X.Y.Z addresses.
21928
b85545a6
CL
219292013-10-24 Chris Leonard <cjl@sugarlabs.org>
21930
21931 * locale/iso-639.def: Add Ligurian (lij)
21932
d1f23d46
OB
219332013-10-21 Ondřej Bílka <neleai@seznam.cz>
21934
21935 [BZ #15825]
21936 * sunrpc/rpc_main.c: Document rpcgen -5.
21937
4db5b08f
MS
219382013-10-19 Michael Stahl <mstahl@redhat.com>
21939
21940 * elf/rtld.c (do_preload): Print the reason why preloading failed.
21941
a471e96a
OB
219422013-10-19 Ondřej Bílka <neleai@seznam.cz>
21943
d1f23d46 21944 [BZ #10278]
a471e96a
OB
21945 * posix/glob.c: Match only directories when trailing slash is present.
21946 * posix/tst-gnuglob.c (my_opendir): Do not open files.
21947 (main): Add testcase.
21948
45c30c61
OB
219492013-10-19 Ondřej Bílka <neleai@seznam.cz>
21950
21951 [BZ #15670]
21952 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21953
484c12fb
CD
219542013-10-18 Carlos O'Donell <carlos@redhat.com>
21955
3d7dc513
CD
21956 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21957 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21958 AUTH_DES and cindex for FIPS 140-2.
21959 (DES Encryption): Add cindex FIPS 46-3.
21960
484c12fb
CD
21961 * locale/locarchive.h (struct locarhandle): Add fname.
21962 * locale/programs/localedef.c (main): Pass ARGV[remaining]
21963 if an optional argument was specified to --list-archive,
21964 otherwise NULL.
21965 * locale/programs/locarchive.c (show_archive_content): Take new
21966 argument fname and pass it via ah.fname to open_archive.
21967 * locale/programs/localedef.h: Update decl.
21968 (open_archive): If AH->fname is non-null, open that file
21969 rather than the default file name, and don't ignore ENOENT.
21970 (create_archive): Set AH.fname to NULL.
21971 (delete_locales_from_archive): Likewise.
21972 (add_locales_to_archive): Likewise.
21973 * locale/programs/locfile.c (write_all_categories): Likewise.
21974
3c8325fb
JM
219752013-10-18 Joseph Myers <joseph@codesourcery.com>
21976 Aldy Hernandez <aldyh@redhat.com>
21977
21978 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21979 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21980 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21981 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21982 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21983 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21984 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21985 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21986 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21987 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21988 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21989 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21990 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21991 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21992 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21993 Likewise.
21994 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21995 Likewise.
21996 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21997 Likewise.
21998 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21999 Likewise.
22000 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22001 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22002 Likewise.
22003 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22004 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22005 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22006 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22007 Likewise.
22008 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22009 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22010 * sysdeps/powerpc/preconfigure: Likewise.
22011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22012 Likewise.
22013 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22014 Replace contents of file by #include of <fenv_libc.h>.
22015 * sysdeps/powerpc/soft-fp/sfp-machine.h
22016 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22017 and <sys/prctl.h>.
22018 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22019 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22020 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22021 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22022 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22023 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22024 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22025 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22026 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22027 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22028 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22029 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22031 Allow copysignl PLT reference to be missing.
22032
5abe0682
RS
220332013-10-18 Richard Sandiford <richard@codesourcery.com>
22034 Joseph Myers <joseph@codesourcery.com
22035
22036 [BZ #15948]
22037 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22038 single character.
22039 (add_to_tablewc): Assert sequence of wide characters is nonempty.
22040
c7738d08
SP
220412013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22042
22043 * elf/tst-tls-dlinfo.c: Don't include tls.h.
22044 * elf/tst-tls1.c: Likewise.
22045 * elf/tst-tls10.h: Likewise.
22046 * elf/tst-tls14.c: Likewise.
22047 * elf/tst-tls2.c: Likewise.
22048 * elf/tst-tls3.c: Likewise.
22049 * elf/tst-tls4.c: Likewise.
22050 * elf/tst-tls5.c: Likewise.
22051 * elf/tst-tls6.c: Likewise.
22052 * elf/tst-tls7.c: Likewise.
22053 * elf/tst-tls8.c: Likewise.
22054 * elf/tst-tls9.c: Likewise.
22055 * elf/tst-tlsmod1.c: Likewise.
22056 * elf/tst-tlsmod13.c: Likewise.
22057 * elf/tst-tlsmod13a.c: Likewise.
22058 * elf/tst-tlsmod14a.c: Likewise.
22059 * elf/tst-tlsmod16a.c: Likewise.
22060 * elf/tst-tlsmod16b.c: Likewise.
22061 * elf/tst-tlsmod2.c: Likewise.
22062 * elf/tst-tlsmod3.c: Likewise.
22063 * elf/tst-tlsmod4.c: Likewise.
22064 * elf/tst-tlsmod5.c: Likewise.
22065 * elf/tst-tlsmod6.c: Likewise.
22066
0bfcf2c7
OB
220672013-10-18 Ondřej Bílka <neleai@seznam.cz>
22068
22069 [BZ #12486]
22070 * malloc/malloc.c: remove checks for statistics.
22071
264aad1e
OB
220722013-10-17 Ondřej Bílka <neleai@seznam.cz>
22073
22074 [BZ #15277]
22075 * inet/inet_net.c (inet_network): Detect additional invalid strings.
22076 * inet/tst-network.c: Add testcase.
22077
b957ced8
AS
220782013-10-17 Andreas Schwab <schwab@suse.de>
22079
22080 [BZ #15218]
22081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22082 to determine canonical name.
22083
c5d5d574
OB
220842013-10-17 Ondřej Bílka <neleai@seznam.cz>
22085
22086 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22087 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22088 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22089 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22090 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22091 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22092 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22093 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22094 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22095 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22096 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22097 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22098 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22099 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22100 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22101 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22102 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22103 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22104 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22105 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22106 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22107 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22108 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22109 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22110 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22111 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22112 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22113 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22114 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22115 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22116 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22117 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22118 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22119 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22120 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22121 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22122 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22123 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22124 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22125 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22126 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22127 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22128 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22129 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22130 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22131 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22132 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22133 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22134 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22135 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22136 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22137 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22138 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22139 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22140 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22141 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22142 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22143 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22144
e5c2c2d0
JM
221452013-10-17 Joseph Myers <joseph@codesourcery.com>
22146
22147 [BZ #16041]
22148 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22149 make result into a quiet NaN.
22150
51ca9e29
JM
221512013-10-16 Joseph Myers <joseph@codesourcery.com>
22152
22153 * soft-fp/adddf3.c: Fix horizontal whitespace.
22154 * soft-fp/addsf3.c: Likewise.
22155 * soft-fp/addtf3.c: Likewise.
22156 * soft-fp/divdf3.c: Likewise.
22157 * soft-fp/divsf3.c: Likewise.
22158 * soft-fp/divtf3.c: Likewise.
22159 * soft-fp/double.h: Likewise.
22160 * soft-fp/eqdf2.c: Likewise.
22161 * soft-fp/eqsf2.c: Likewise.
22162 * soft-fp/eqtf2.c: Likewise.
22163 * soft-fp/extenddftf2.c: Likewise.
22164 * soft-fp/extended.h: Likewise.
22165 * soft-fp/extendsfdf2.c: Likewise.
22166 * soft-fp/extendsftf2.c: Likewise.
22167 * soft-fp/extendxftf2.c: Likewise.
22168 * soft-fp/fixdfdi.c: Likewise.
22169 * soft-fp/fixdfsi.c: Likewise.
22170 * soft-fp/fixdfti.c: Likewise.
22171 * soft-fp/fixsfdi.c: Likewise.
22172 * soft-fp/fixsfsi.c: Likewise.
22173 * soft-fp/fixsfti.c: Likewise.
22174 * soft-fp/fixtfdi.c: Likewise.
22175 * soft-fp/fixtfsi.c: Likewise.
22176 * soft-fp/fixtfti.c: Likewise.
22177 * soft-fp/fixunsdfdi.c: Likewise.
22178 * soft-fp/fixunsdfsi.c: Likewise.
22179 * soft-fp/fixunsdfti.c: Likewise.
22180 * soft-fp/fixunssfdi.c: Likewise.
22181 * soft-fp/fixunssfsi.c: Likewise.
22182 * soft-fp/fixunssfti.c: Likewise.
22183 * soft-fp/fixunstfdi.c: Likewise.
22184 * soft-fp/fixunstfsi.c: Likewise.
22185 * soft-fp/fixunstfti.c: Likewise.
22186 * soft-fp/floatdidf.c: Likewise.
22187 * soft-fp/floatdisf.c: Likewise.
22188 * soft-fp/floatditf.c: Likewise.
22189 * soft-fp/floatsidf.c: Likewise.
22190 * soft-fp/floatsisf.c: Likewise.
22191 * soft-fp/floatsitf.c: Likewise.
22192 * soft-fp/floattidf.c: Likewise.
22193 * soft-fp/floattisf.c: Likewise.
22194 * soft-fp/floattitf.c: Likewise.
22195 * soft-fp/floatundidf.c: Likewise.
22196 * soft-fp/floatundisf.c: Likewise.
22197 * soft-fp/floatunditf.c: Likewise.
22198 * soft-fp/floatunsidf.c: Likewise.
22199 * soft-fp/floatunsisf.c: Likewise.
22200 * soft-fp/floatunsitf.c: Likewise.
22201 * soft-fp/floatuntidf.c: Likewise.
22202 * soft-fp/floatuntisf.c: Likewise.
22203 * soft-fp/floatuntitf.c: Likewise.
22204 * soft-fp/fmadf4.c: Likewise.
22205 * soft-fp/fmasf4.c: Likewise.
22206 * soft-fp/fmatf4.c: Likewise.
22207 * soft-fp/gedf2.c: Likewise.
22208 * soft-fp/gesf2.c: Likewise.
22209 * soft-fp/getf2.c: Likewise.
22210 * soft-fp/ledf2.c: Likewise.
22211 * soft-fp/lesf2.c: Likewise.
22212 * soft-fp/letf2.c: Likewise.
22213 * soft-fp/muldf3.c: Likewise.
22214 * soft-fp/mulsf3.c: Likewise.
22215 * soft-fp/multf3.c: Likewise.
22216 * soft-fp/negdf2.c: Likewise.
22217 * soft-fp/negsf2.c: Likewise.
22218 * soft-fp/negtf2.c: Likewise.
22219 * soft-fp/op-1.h: Likewise.
22220 * soft-fp/op-2.h: Likewise.
22221 * soft-fp/op-4.h: Likewise.
22222 * soft-fp/op-8.h: Likewise.
22223 * soft-fp/op-common.h: Likewise.
22224 * soft-fp/quad.h: Likewise.
22225 * soft-fp/single.h: Likewise.
22226 * soft-fp/soft-fp.h: Likewise.
22227 * soft-fp/sqrtdf2.c: Likewise.
22228 * soft-fp/sqrtsf2.c: Likewise.
22229 * soft-fp/sqrttf2.c: Likewise.
22230 * soft-fp/subdf3.c: Likewise.
22231 * soft-fp/subsf3.c: Likewise.
22232 * soft-fp/subtf3.c: Likewise.
22233 * soft-fp/truncdfsf2.c: Likewise.
22234 * soft-fp/trunctfdf2.c: Likewise.
22235 * soft-fp/trunctfsf2.c: Likewise.
22236 * soft-fp/trunctfxf2.c: Likewise.
22237 * soft-fp/unorddf2.c: Likewise.
22238 * soft-fp/unordsf2.c: Likewise.
22239 * soft-fp/unordtf2.c: Likewise.
22240
9ebb0332
JM
222412013-10-15 Joseph Myers <joseph@codesourcery.com>
22242
22243 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22244 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22245
4b1a6d8b
OB
222462013-10-15 Ondřej Bílka <neleai@seznam.cz>
22247
22248 * elf/dl-libc.c: Clear initfini list after freeing.
22249
1e145589
JM
222502013-10-14 Joseph Myers <joseph@codesourcery.com>
22251
22252 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22253 * soft-fp/addsf3.c: Likewise.
22254 * soft-fp/addtf3.c: Likewise.
22255 * soft-fp/divdf3.c: Likewise.
22256 * soft-fp/divsf3.c: Likewise.
22257 * soft-fp/divtf3.c: Likewise.
22258 * soft-fp/double.h: Likewise.
22259 * soft-fp/eqdf2.c: Likewise.
22260 * soft-fp/eqsf2.c: Likewise.
22261 * soft-fp/eqtf2.c: Likewise.
22262 * soft-fp/extenddftf2.c: Likewise.
22263 * soft-fp/extended.h: Likewise.
22264 * soft-fp/extendsfdf2.c: Likewise.
22265 * soft-fp/extendsftf2.c: Likewise.
22266 * soft-fp/extendxftf2.c: Likewise.
22267 * soft-fp/fixdfdi.c: Likewise.
22268 * soft-fp/fixdfsi.c: Likewise.
22269 * soft-fp/fixdfti.c: Likewise.
22270 * soft-fp/fixsfdi.c: Likewise.
22271 * soft-fp/fixsfsi.c: Likewise.
22272 * soft-fp/fixsfti.c: Likewise.
22273 * soft-fp/fixtfdi.c: Likewise.
22274 * soft-fp/fixtfsi.c: Likewise.
22275 * soft-fp/fixtfti.c: Likewise.
22276 * soft-fp/fixunsdfdi.c: Likewise.
22277 * soft-fp/fixunsdfsi.c: Likewise.
22278 * soft-fp/fixunsdfti.c: Likewise.
22279 * soft-fp/fixunssfdi.c: Likewise.
22280 * soft-fp/fixunssfsi.c: Likewise.
22281 * soft-fp/fixunssfti.c: Likewise.
22282 * soft-fp/fixunstfdi.c: Likewise.
22283 * soft-fp/fixunstfsi.c: Likewise.
22284 * soft-fp/fixunstfti.c: Likewise.
22285 * soft-fp/floatdidf.c: Likewise.
22286 * soft-fp/floatdisf.c: Likewise.
22287 * soft-fp/floatditf.c: Likewise.
22288 * soft-fp/floatsidf.c: Likewise.
22289 * soft-fp/floatsisf.c: Likewise.
22290 * soft-fp/floatsitf.c: Likewise.
22291 * soft-fp/floattidf.c: Likewise.
22292 * soft-fp/floattisf.c: Likewise.
22293 * soft-fp/floattitf.c: Likewise.
22294 * soft-fp/floatundidf.c: Likewise.
22295 * soft-fp/floatundisf.c: Likewise.
22296 * soft-fp/floatunsidf.c: Likewise.
22297 * soft-fp/floatunsisf.c: Likewise.
22298 * soft-fp/floatuntidf.c: Likewise.
22299 * soft-fp/floatuntisf.c: Likewise.
22300 * soft-fp/floatuntitf.c: Likewise.
22301 * soft-fp/fmadf4.c: Likewise.
22302 * soft-fp/fmasf4.c: Likewise.
22303 * soft-fp/fmatf4.c: Likewise.
22304 * soft-fp/gedf2.c: Likewise.
22305 * soft-fp/gesf2.c: Likewise.
22306 * soft-fp/getf2.c: Likewise.
22307 * soft-fp/ledf2.c: Likewise.
22308 * soft-fp/lesf2.c: Likewise.
22309 * soft-fp/letf2.c: Likewise.
22310 * soft-fp/muldf3.c: Likewise.
22311 * soft-fp/mulsf3.c: Likewise.
22312 * soft-fp/multf3.c: Likewise.
22313 * soft-fp/negdf2.c: Likewise.
22314 * soft-fp/negsf2.c: Likewise.
22315 * soft-fp/negtf2.c: Likewise.
22316 * soft-fp/op-1.h: Likewise.
22317 * soft-fp/op-2.h: Likewise.
22318 * soft-fp/op-4.h: Likewise.
22319 * soft-fp/op-8.h: Likewise.
22320 * soft-fp/op-common.h: Likewise.
22321 * soft-fp/quad.h: Likewise.
22322 * soft-fp/single.h: Likewise.
22323 * soft-fp/soft-fp.h: Likewise.
22324 * soft-fp/sqrtdf2.c: Likewise.
22325 * soft-fp/sqrtsf2.c: Likewise.
22326 * soft-fp/sqrttf2.c: Likewise.
22327 * soft-fp/subdf3.c: Likewise.
22328 * soft-fp/subsf3.c: Likewise.
22329 * soft-fp/subtf3.c: Likewise.
22330 * soft-fp/truncdfsf2.c: Likewise.
22331 * soft-fp/trunctfdf2.c: Likewise.
22332 * soft-fp/trunctfsf2.c: Likewise.
22333 * soft-fp/trunctfxf2.c: Likewise.
22334 * soft-fp/unorddf2.c: Likewise.
22335 * soft-fp/unordsf2.c: Likewise.
22336 * soft-fp/unordtf2.c: Likewise.
22337
17c48a60
OB
223382013-10-14 Ondřej Bílka <neleai@seznam.cz>
22339
22340 [BZ #15672]
22341 * misc/error.c (error_tail): Fix possible buffer overflow.
22342
cabba934
OB
223432013-10-14 Aurelien Jarno <aurelien@aurel32.net>
22344
22345 [BZ #13028]
22346 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22347 address.
22348
94bf958a
PM
223492013-10-14 P. J. McDermott <pj@pehjota.net>
22350
22351 [BZ #832]
22352 * elf/ldd.bash.in (try_trace): New function. Delete previous code
22353 testing pipefail option.
22354
71b4dea7
JM
223552013-10-12 Joseph Myers <joseph@codesourcery.com>
22356
22357 * soft-fp/double.h: Indent preprocessor directives inside #if.
22358 * soft-fp/extended.h: Likewise.
22359 * soft-fp/op-2.h: Likewise.
22360 * soft-fp/op-4.h: Likewise.
22361 * soft-fp/op-common.h: Likewise.
22362 * soft-fp/quad.h: Likewise.
22363 * soft-fp/single.h: Likewise.
22364 * soft-fp/soft-fp.h: Likewise.
22365
55602758
YC
223662013-10-12 Yuri Chornoivan <yurchor@ukr.net>
22367
22368 * iconv/iconv_prog.c: Fix typos.
22369 * stdio-common/psiginfo-data.h: Likewise.
22370
9cd83302
RT
223712013-10-12 Reuben Thomas <rrt@sc3d.org>
22372
22373 [BZ #15764]
22374 * locale/setlocale.c: Fix typo.
22375
99fd9f47
JM
223762013-10-12 Joseph Myers <joseph@codesourcery.com>
22377
b7ea74f0
JM
22378 [BZ #16036]
22379 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22380 signaling NaN arguments.
22381 * soft-fp/unordsf2.c (__unordsf2): Likewise.
22382 * soft-fp/unordtf2.c (__unordtf2): Likewise.
22383
8a509447
JM
22384 [BZ #14910]
22385 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22386 unordered operands.
22387 * soft-fp/gesf2.c (__gesf2): Likewise.
22388 * soft-fp/getf2.c (__getf2): Likewise.
22389 * soft-fp/ledf2.c (__ledf2): Likewise.
22390 * soft-fp/lesf2.c (__lesf2): Likewise.
22391 * soft-fp/letf2.c (__letf2): Likewise.
22392
98998e9f
JM
22393 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22394 * soft-fp/eqsf2.c (__eqsf2): Likewise.
22395 * soft-fp/eqtf2.c (__eqtf2): Likewise.
22396 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22397 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22398 * soft-fp/fixdfti.c (__fixdfti): Likewise.
22399 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22400 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22401 * soft-fp/fixsfti.c (__fixsfti): Likewise.
22402 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22403 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22404 * soft-fp/fixtfti.c (__fixtfti): Likewise.
22405 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22406 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22407 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22408 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22409 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22410 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22411 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22412 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22413 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22414 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22415 * soft-fp/floatdisf.c (__floatdisf): Likewise.
22416 * soft-fp/floatsisf.c (__floatsisf): Likewise.
22417 * soft-fp/floattidf.c (__floattidf): Likewise.
22418 * soft-fp/floattisf.c (__floattisf): Likewise.
22419 * soft-fp/floattitf.c (__floattitf): Likewise.
22420 * soft-fp/floatundidf.c (__floatundidf): Likewise.
22421 * soft-fp/floatundisf.c (__floatundisf): Likewise.
22422 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22423 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22424 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22425 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22426 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22427 * soft-fp/gesf2.c (__gesf2): Likewise.
22428 * soft-fp/getf2.c (__getf2): Likewise.
22429 * soft-fp/ledf2.c (__ledf2): Likewise.
22430 * soft-fp/lesf2.c (__lesf2): Likewise.
22431 * soft-fp/letf2.c (__letf2): Likewise.
22432
8edc4a11
JM
22433 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22434 Undefine and redefine.
22435 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22436 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22437 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22438 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22439 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22440 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22441 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22442 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22443 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22444 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22445 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22446 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22447 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22448 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22449 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22450
8399acaf
JM
22451 [BZ #16032]
22452 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22453 without decrementing exponent if mantissa >= that for the
22454 denominator, not >.
22455 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22456 denominator, not >. Decrement exponent in < case instead of
22457 incrementing in >= case.
22458 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22459 without decrementing exponent if mantissa >= that for the
22460 denominator, not >.
22461
99fd9f47
JM
22462 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22463 computing saturated result for unsigned overflow.
22464
10e1cf6b
SP
224652013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
22466 Jeff Law <law@redhat.com>
22467
22468 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22469 (atan2Mp): Add systemtap probe marker.
22470 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22471 (__ieee754_log): Add systemtap probe marker.
22472 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22473 (atanMp): Add systemtap probe marker.
22474 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22475 (tanMp): Add systemtap probe marker.
22476 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22477 (__slowexp): Add systemtap probe marker.
22478 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22479 (__slowpow): Add systemtap probe marker.
22480 * manual/probes.texi: Document probes.
22481
3d110c7c
EB
224822013-10-11 Eric Biggers <ebiggers3@gmail.com>
22483
22484 [BZ #15362]
22485 * libio/fileops.c (_IO_new_file_write): Return count of bytes
22486 written.
22487 (_IO_new_file_xsputn): Don't return EOF if nothing has been
22488 written.
22489 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22490 written to buffer but not flushed.
22491 * libio/iofwrite_u.c: Likewise.
22492 * libio/iopadn.c: Return bytes returned even if EOF was
22493 encountered.
22494 * libio/iowpadn.c: Likewise.
22495 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22496 if _IO_padn does not write the whole buffer.
22497 [!COMPILE_WPRINTF] (PAD): Likewise.
22498
75b4202a
DM
224992013-10-10 David S. Miller <davem@davemloft.net>
22500
22501 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22502 directory block.
22503
6c6352e6
JM
225042013-10-10 Joseph Myers <joseph@codesourcery.com>
22505
33b853c3
JM
22506 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
22507 instead of FSF address.
22508 * soft-fp/fixdfti.c: Likewise.
22509 * soft-fp/fixsfti.c: Likewise.
22510 * soft-fp/fixtfti.c: Likewise.
22511 * soft-fp/fixunsdfti.c: Likewise.
22512 * soft-fp/fixunssfti.c: Likewise.
22513 * soft-fp/fixunstfti.c: Likewise.
22514 * soft-fp/floattidf.c: Likewise.
22515 * soft-fp/floattisf.c: Likewise.
22516 * soft-fp/floattitf.c: Likewise.
22517 * soft-fp/floatuntidf.c: Likewise.
22518 * soft-fp/floatuntisf.c: Likewise.
22519 * soft-fp/floatuntitf.c: Likewise.
22520 * soft-fp/trunctfxf2.c: Likewise.
22521
6c6352e6
JM
22522 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
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
3bf78b71
DM
225372013-10-10 David S. Miller <davem@davemloft.net>
22538
22539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22540
6f10289e
JM
225412013-10-10 Joseph Myers <joseph@codsourcery.com>
22542
bd878fc0
JM
22543 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22544 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22545 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22546 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22547 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22548 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22549 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22550
6f10289e
JM
22551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22552 for NaNs before doing comparisons on argument.
22553 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22554 Likewise.
22555
321e2684
WN
225562013-10-10 Will Newton <will.newton@linaro.org>
22557
22558 * malloc/hooks.c (memalign_check): Ensure the value of bytes
22559 passed to _int_memalign does not overflow.
22560
40fefba1
TR
225612013-10-10 Torvald Riegel <triegel@redhat.com>
22562
22563 * scripts/bench.pl: Add include-sources directive.
22564 * benchtests/README: Update documentation.
22565
2ae21ed2
JM
225662013-10-10 Joseph Myers <joseph@codesourcery.com>
22567
dcc2dd3f
JM
22568 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22569 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22570 instead of FP_INIT_ROUNDMODE.
22571 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22572 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22573
2ae21ed2
JM
22574 [BZ #16034]
22575 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
22576 copy class of input value.
22577 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
22578 not handle exceptions.
22579 * soft-fp/negsf2.c (__negsf2): Likewise.
22580 * soft-fp/negtf2.c (__negtf2): Likewise.
22581 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22582
cb8f9562
JM
225832013-10-09 Joseph Myers <joseph@codesourcery.com>
22584
22585 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22586 semicolon. From Linux kernel.
22587
5b60c59d
AB
225882013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
22589
22590 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22591
b86835ca
YC
225922013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
22593
22594 [BZ #156]
22595 * manual/socket.texi: Added statement about buffer
22596 for gethostbyname2_r.
22597
e7044ea7
OB
225982013-10-08 Ondřej Bílka <neleai@seznam.cz>
22599
22600 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22601 Use .p2align directive instead, throughout.
22602 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22603 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22604 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22605 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22606 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22607 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22608 * sysdeps/x86_64/strchr.S: Likewise.
22609 * sysdeps/x86_64/strrchr.S: Likewise.
22610
09544cbc
SP
226112013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
22612
88576635
SP
22613 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22614
e7b2d1dd
SP
22615 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22616
09544cbc
SP
22617 * sysdeps/generic/math_private.h (__mpsin1): Remove
22618 declaration.
22619 (__mpcos1): Likewise.
22620 (__mpsin): New argument __range_reduce.
22621 (__mpcos): Likewise.
22622 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22623 (slow): Use __mpsin and __mpcos.
22624 (slow1): Likewise.
22625 (slow2): Likewise.
22626 (sloww): Likewise.
22627 (sloww1): Likewise.
22628 (sloww2): Likewise.
22629 (bsloww): Likewise.
22630 (bsloww1): Likewise.
22631 (bsloww2): Likewise.
22632 (cslow2): Likewise.
22633 (csloww): Likewise.
22634 (csloww1): Likewise.
22635 (csloww2): Likewise.
22636 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22637 range_reduce. Merge in __mpsin1.
22638 (__mpcos): Likewise.
22639 (__mpsin1): Remove.
22640 (__mpcos1): Likewise.
22641
7602d070
JM
226422013-10-07 Joseph Myers <joseph@codesourcery.com>
22643
22644 * locale/loadlocale.c (_nl_intern_locale_data): Use
22645 LOCFILE_ALIGNED_P.
22646 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22647 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22648 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22649 obstack data is appropriately aligned.
22650 (obstack_int32_grow_fast): Likewise.
22651 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22652 * locale/programs/locfile.c (add_locale_uint32): Likewise.
22653 (add_locale_uint32_array): Likewise.
22654
a357259b
SP
226552013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
22656
22657 * benchtests/Makefile: Remove ARGLIST and RET variables.
22658 ($(objpfx)bench-%.c): Pass only function name to the script.
22659 * benchtests/README: Update documentation.
22660 * benchtests/acos-inputs: Add new directives.
22661 * benchtests/acosh-inputs: Likewise.
22662 * benchtests/asin-inputs: Likewise.
22663 * benchtests/asinh-inputs: Likewise.
22664 * benchtests/atan-inputs: Likewise.
22665 * benchtests/atanh-inputs: Likewise.
22666 * benchtests/cos-inputs: Likewise.
22667 * benchtests/cosh-inputs: Likewise.
22668 * benchtests/exp-inputs: Likewise.
22669 * benchtests/log-inputs: Likewise.
22670 * benchtests/pow-inputs: Likewise.
22671 * benchtests/rint-inputs: Likewise.
22672 * benchtests/sin-inputs: Likewise.
22673 * benchtests/sinh-inputs: Likewise.
22674 * benchtests/tan-inputs: Likewise.
22675 * benchtests/tanh-inputs: Likewise.
22676 * scripts/bench.pl: Add support for new directives.
22677
9ec1b13d
AM
226782013-10-07 Alan Modra <amodra@gmail.com>
22679
22680 * README: Fix careless merge.
22681
8b7d57cd
AM
226822013-10-05 Alan Modra <amodra@gmail.com>
22683
22684 * NEWS: Mention powerpc64le support and bugs fixed.
22685 * README: Both big-endian and little-endian powerpc64 supported.
22686
7b7bab13
ST
226872013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
22688
57f41c40
AS
22689 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22690 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
7b7bab13
ST
22691 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22692 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22693
d39baad1
RA
226942013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
22695
22696 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22697 match prototype.
22698
cd78f7e7
JM
226992013-10-04 Joseph Myers <joseph@codesourcery.com>
22700
29d73d86
JM
22701 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22702 Move -mhard-float appending from
22703 ports/sysdeps/powerpc/powerpc32/Makefile.
22704 [$(with-fp) = yes] (ASFLAGS): Likewise.
22705 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22706 * sysdeps/powerpc/nofpu: Move directory from
22707 ports/sysdeps/powerpc/nofpu.
22708 * sysdeps/powerpc/soft-fp: Move directory from
22709 ports/sysdeps/powerpc/soft-fp.
22710 * sysdeps/powerpc/powerpc32/405: Move directory from
22711 ports/sysdeps/powerpc/powerpc32/405.
22712 * sysdeps/powerpc/powerpc32/440: Move directory from
22713 ports/sysdeps/powerpc/powerpc32/440.
22714 * sysdeps/powerpc/powerpc32/464: Move directory from
22715 ports/sysdeps/powerpc/powerpc32/464.
22716 * sysdeps/powerpc/powerpc32/476: Move directory from
22717 ports/sysdeps/powerpc/powerpc32/476.
22718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22719 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22721 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22723 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22725 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22727 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22728 * README: Update for powerpc-*-linux-gnu software floating point
22729 support in libc.
22730
e246b347
JM
22731 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22732 case to powerpc/powerpc32*.
22733 * sysdeps/unix/sysv/linux/configure: Regenerated.
22734
89c2003e
JM
22735 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22736 (_FPU_MASK_OM): Define as 0x04.
22737 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22738 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22739 0x00c10080.
22740 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22741 0x0000003c.
22742 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22743
cd78f7e7
JM
22744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22745 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22746 getcontext_e500.
22747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22748 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22749 setcontext_e500.
22750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22751 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22752 and setcontext_e500.
22753
c755294d
CL
227542013-10-04 Chris Leonard <cjl@sugarlabs,.org>
22755
22756 * locale/iso-3166.def: Update iso-1366.def and related occurrences
22757
e16d221c
SP
227582013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22759
22760 * manual/threads.texi (Default Thread Attributes): Fix typo.
22761
215c7d43
WN
227622013-10-04 Will Newton <will.newton@linaro.org>
22763
22764 * malloc/Makefile: Add tst-memalign.
22765 * malloc/tst-memalign.c: New file.
22766
27d0461b
WN
22767 * malloc/tst-posix_memalign.c: Add comments.
22768 (do_test): Add comments and call free on all potentially
22769 allocated pointers. Add space after cast.
22770
1bc92709
WN
22771 * malloc/tst-pvalloc.c: Add comments.
22772 (do_test): Add comments and call free on all potentially
22773 allocated pointers. Remove duplicate check for NULL pointer.
22774 Add space after cast.
22775
66a9be9d
WN
22776 * malloc/tst-valloc.c: Add comments.
22777 (do_test): Add comments and call free on all potentially
22778 allocated pointers. Remove duplicate check for NULL pointer.
22779 Add space after cast.
22780
4cb81307
AM
227812013-10-04 Alan Modra <amodra@gmail.com>
22782
22783 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22784 Use stdint types in rather than __attribute__((mode())).
22785 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22786
f8e3e9f3
AM
227872013-10-04 Alan Modra <amodra@gmail.com>
22788
22789 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22790 Correct handling of unaligned relocs for little-endian.
22791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22792
8f9ebb08
AM
227932013-10-04 Alan Modra <amodra@gmail.com>
22794
22795 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22796 * configure: Regenerate.
22797 * nptl/shlib-versions: Powerpc*le starts at 2.18.
22798 * shlib-versions: Likewise.
22799
0edf96c2
AM
228002013-10-04 Alan Modra <amodra@gmail.com>
22801
22802 * string/tester.c (test_memrchr): Increment reported test cycle.
22803
e0f7a380
AM
228042013-10-04 Alan Modra <amodra@gmail.com>
22805
22806 * string/test-memcpy.c (do_one_test): When reporting errors, print
22807 string address and don't overrun end of string.
22808
466b0393
AM
228092013-10-04 Alan Modra <amodra@gmail.com>
22810
22811 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22812 insrdi. Make better use of reg selection to speed exit slightly.
22813 Schedule entry path a little better. Remove useless "are we done"
22814 checks on entry to main loop. Handle wrapping around zero address.
22815 Correct main loop count. Handle single left-over word from main
22816 loop inline rather than by using loop_small. Remove extra word
22817 case in loop_small caused by wrong loop count. Add little-endian
22818 support.
22819 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22820 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
22821 cache hint.
22822 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22823 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22824 support. Avoid rlwimi.
22825 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22826
3be87c77
AM
228272013-10-04 Alan Modra <amodra@gmail.com>
22828
22829 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 22830 insrdi. Formatting.
3be87c77
AM
22831 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22832 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22833 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22834 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22835 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22836 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22837
759cfef3
AM
228382013-10-04 Alan Modra <amodra@gmail.com>
22839
22840 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22841 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22842 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22843 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22844 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22845 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22846 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22847 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22848 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
22849 use of regs. Use power7 mtocrf. Tidy function tails.
22850
fe6e95d7
AM
228512013-10-04 Alan Modra <amodra@gmail.com>
22852
22853 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22854 Formatting. Consistently use rXXX register defines or rN defines.
22855 Use early exit labels that avoid restoring unused non-volatile regs.
22856 Make cr field use more consistent with rWORDn compares. Rename
22857 regs used as shift registers for unaligned loop, using rN defines
22858 for short lifetime/multiple use regs.
22859 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22860 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
22861 addi 1,1,64 to pop stack frame. Simplify return value code.
22862 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22863
664318c3
AM
228642013-10-04 Alan Modra <amodra@gmail.com>
22865
22866 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22867 support. Correct typos, formatting. Optimize tail. Use insrdi
22868 rather than rlwimi.
22869 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22870 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22871 little-endian support. Correct typos.
22872 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
22873 rather than rlwimi.
22874 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
22875 in loop and entry code to keep "and." results.
22876 (strchr): Add little-endian support. Comment. Move cntlzd
22877 earlier in tail.
22878 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22879
43b84013
AM
228802013-10-04 Alan Modra <amodra@gmail.com>
22881
22882 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22883 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22884 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22885 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22886
8a7413f9
AM
228872013-10-04 Alan Modra <amodra@gmail.com>
22888
22889 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22890 (rTMP): Define as r11.
22891 (strcmp): Add little-endian support. Optimise tail.
22892 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22893 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22894 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22895 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22896 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22897 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22898 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22899
33ee81de
AM
229002013-10-04 Alan Modra <amodra@gmail.com>
22901
22902 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22903 little-endian support. Remove unnecessary "are we done" tests.
22904 Handle "s" wrapping around zero and extremely large "size".
22905 Correct main loop count. Handle single left-over word from main
22906 loop inline rather than by using small_loop. Correct comments.
22907 Delete "zero" tail, use "end_max" instead.
22908 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22909
db9b4570
AM
229102013-10-04 Alan Modra <amodra@gmail.com>
22911
22912 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22913 support. Don't branch over align.
22914 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22915 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22916 support. Rearrange tmp reg use to suit. Comment.
22917 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22918
f7c399cf
AM
229192013-10-04 Alan Modra <amodra@gmail.com>
22920
22921 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22922
0b2c2ace
AM
229232013-10-04 Alan Modra <amodra@gmail.com>
22924
22925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22926 conditional form of branch and link when obtaining pc.
22927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22928
02f04a6c
AM
229292013-10-04 Alan Modra <amodra@gmail.com>
22930
22931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22932 HIWORD/LOWORD.
22933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22934 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22935
9b874b2f
AM
229362013-10-04 Alan Modra <amodra@gmail.com>
22937
22938 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22939 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22940 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22941 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22942 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22943 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22944 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22945 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22946 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22947 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22948
be1e5d31
AB
229492013-10-04 Anton Blanchard <anton@au1.ibm.com>
22950 Alistair Popple <alistair@ozlabs.au.ibm.com>
22951 Alan Modra <amodra@gmail.com>
22952
22953 [BZ #15723]
22954 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22955 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22956 _dl_hwcap access for little-endian.
22957 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
22958 destroy vmx regs when saving unaligned.
22959 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22960 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
22961 destroy vmx regs when saving unaligned.
22962
fef13a78
AM
229632013-10-04 Alan Modra <amodra@gmail.com>
22964
22965 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22966 Don't use a union to pack hi/low value.
22967
76a66d51
AB
229682013-10-04 Anton Blanchard <anton@au1.ibm.com>
22969
22970 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22971 for little-endian.
22972 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22973 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22974 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22975 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22976 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22977
6a31fe7f
AM
229782013-10-04 Alan Modra <amodra@gmail.com>
22979
22980 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22981 constants to usual value for .cst8 section, and remove redundant
22982 high address load.
22983 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22984 constant for 0x1p52. Load little-endian words of double from
22985 correct stack offsets.
22986
7b88401f
AM
229872013-10-04 Alan Modra <amodra@gmail.com>
22988
22989 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22990 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22991 words of double from correct stack offsets.
22992 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22993 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22994 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22995 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22996 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22997 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22998 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22999 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23000 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23001 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23002 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23003 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23004 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23005 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23006 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23007 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23008 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23009
9c008155
AM
230102013-10-04 Alan Modra <amodra@gmail.com>
23011
23012 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23013 64-bit int/double union.
23014 (_FPU_SETCW): Likewise.
23015 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23016 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23017
da13146d
AM
230182013-10-04 Alan Modra <amodra@gmail.com>
23019
23020 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23021 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23022
603e8410
AM
230232013-10-04 Alan Modra <amodra@gmail.com>
23024
23025 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23026 use vector int constants.
23027 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23028
4a28b3ca
AB
230292013-10-04 Anton Blanchard <anton@au1.ibm.com>
23030
23031 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23032 array with long long.
23033 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23034 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23035 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23036 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23037 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23038 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23039 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23040 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23041 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23042 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23043 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23044 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23045 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23046
2ca85d2b
AB
230472013-10-04 Anton Blanchard <anton@au1.ibm.com>
23048
23049 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23050 (__signbit): Likewise. Correct for little-endian.
23051 (__signbitl): Call __signbit.
23052 (lrint): Correct for little-endian.
23053 (lrintf): Call lrint.
23054
62a728ae
AM
230552013-10-04 Alan Modra <amodra@gmail.com>
23056
23057 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23058 union 32-bit int array member with 64-bit int array.
23059 (t515, tm256): Double rather than long double.
23060 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23061
32c301df
AM
230622013-10-04 Alan Modra <amodra@gmail.com>
23063
23064 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23065 Delete.
23066 (IEEE854_LONG_DOUBLE_BIAS): Delete.
23067 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23068 version of math_ldbl.h.
23069
650ef4bd
AM
230702013-10-04 Alan Modra <amodra@gmail.com>
23071
23072 [BZ #15734], [BZ #15735]
23073 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23074 all uses of ieee875 long double macros and unions. Simplify test
23075 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
23076 ldbl_extract_mantissa value for ix,iy exponents. Properly
23077 normalize after ldbl_extract_mantissa, and don't add hidden bit
23078 already handled. Don't treat low word of ieee854 mantissa like
23079 low word of IBM long double and mask off bit when testing for
23080 zero.
23081 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23082 all uses of ieee875 long double macros and unions. Simplify tests
23083 for 0.0L and inf. Correct double adjustment of k. Delete dead code
23084 adjusting ha,hb. Simplify code setting kld. Delete two600 and
23085 two1022, instead use their values. Recognise that tests for large
23086 "a" and small "b" are mutually exclusive. Rename vars. Comment.
23087 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23088 Rewrite all uses of ieee875 long double macros and unions. Simplify
23089 test for 0.0L and nan. Correct negation.
23090 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23091 ieee875 long double macros and unions. Correct output for large
23092 magnitude x. Correct absolute value calculation.
23093 (__erfcl): Likewise.
23094 * math/libm-test.inc: Add tests for errors discovered in IBM long
23095 double versions of fmodl, remainderl, erfl and erfcl.
23096
765714ca
AM
230972013-10-04 Alan Modra <amodra@gmail.com>
23098
23099 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23100 all uses of ieee854 long double macros and unions. Simplify tests
23101 for long doubles that are fully specified by the high double.
23102 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23103 Likewise.
23104 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23105 Remove dead code too.
23106 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23107 (__ieee754_ynl): Likewise.
23108 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23109 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23110 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23111 Remove dead code too.
23112 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23113 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23114 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23115 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23116 Simplify.
23117 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23118 Simplify.
23119 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23120 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23121 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23122 Comment on variable precision.
23123 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23124 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23125 Likewise.
23126 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23127 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23128 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23129 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23130 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23131
4ebd120c
AM
231322013-10-04 Alan Modra <amodra@gmail.com>
23133
23134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23135 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23136 all uses of ieee854 long double macros and unions.
23137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23138 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23139 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23140 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23141 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23142 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23143 Likewise.
23144 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23145 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23146 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23147 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23148 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23149 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23150 Simplify sign and nan test too.
23151 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23152 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23153 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23154 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23155 Likewise.
23156 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23157 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23158 Likewise.
23159 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23160 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23161 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23162 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23163 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23164 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23165
1b6adf88
AM
231662013-10-04 Alan Modra <amodra@gmail.com>
23167
23168 * stdio-common/printf_size.c (__printf_size): Don't use
23169 union ieee854_long_double in fpnum union.
23170 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
23171 signbit macro to retrieve sign from long double.
23172 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23173 retrieve sign from long double.
23174 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23175 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23176 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23177 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23178 * math/test-misc.c (main): Don't use union ieee854_long_double.
23179
4cf69995
AM
231802013-10-04 Alan Modra <amodra@gmail.com>
23181
23182 [BZ #15680]
23183 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23184 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23185 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23186 calculation. Remove unnecessary test for denormal exponent.
23187 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23188 Correct handling of denormals. Avoid undefined shift behaviour.
23189 Correct normalisation of low mantissa when low double is denormal.
23190 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23191 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
23192 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23193 Correct normalisation of low mantissa. Test for overflow of high
23194 mantissa and normalise.
23195 (ldbl_nearbyint): Use more readable constant for two52.
23196 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23197 (__mpn_construct_long_double): Fix test for overflow of high
23198 mantissa and correct normalisation. Avoid undefined shift.
23199
9605ca6c
AM
232002013-10-04 Alan Modra <amodra@gmail.com>
23201
23202 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23203 (union ibm_extended_long_double): Define as an array of ieee754_double.
23204 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23205 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23206 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23207 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23208 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23209 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23210 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23211 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23212 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23215
975569d0
JM
232162013-10-03 Joseph Myers <joseph@codesourcery.com>
23217
d3d23756
JM
23218 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23219 page size instead of calling getpagesize.
23220
975569d0
JM
23221 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23222 (LOCFILE_ALIGN_MASK): Likewise.
23223 (LOCFILE_ALIGN_UP): Likewise.
23224 (LOCFILE_ALIGNED_P): Likewise.
23225 * locale/programs/ld-collate.c (collate_output): Use the new
23226 macros instead of __alignof__ (int32_t).
23227 * locale/weight.h (findidx): Likewise.
23228
b1fe1f2b
OB
232292013-10-03 Ondřej Bílka <neleai@seznam.cz>
23230
23231 [BZ #431]
23232 * manual/string.texi: Fix strncat and wcsncat.
23233
5f855e35
BM
232342013-10-03 Brooks Moses <bmoses@google.com>
23235
23236 [BZ #15915]
23237 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23238 * Makerules: ...here, and adjust associated comments.
23239
3cef6009
WN
232402013-10-02 Will Newton <will.newton@linaro.org>
23241
23242 * malloc/Makefile: Add tst-pvalloc.
23243 * malloc/tst-pvalloc.c: New file.
23244
7815420b
WN
232452013-10-02 Will Newton <will.newton@linaro.org>
23246
23247 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23248 improve test coverage.
23249
4868b204
WN
232502013-10-02 Will Newton <will.newton@linaro.org>
23251
23252 * malloc/Makefile: Add tst-posix_memalign.
23253 * malloc/tst-posix_memalign.c: New file.
23254
29c793b3
EB
232552013-10-01 Eric Blake <eblake@redhat.com>
23256
23257 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23258 Use __THROWNL rather than __THROW on static functions.
23259
fd967522
PM
232602013-09-30 Petr Machata <pmachata@redhat.com>
23261
23262 * elf/elf.h (R_AARCH64_ABS16): New macro.
23263 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23264 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23265 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23266 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23267 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23268 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23269 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23270 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23271 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23272 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23273 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23274 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23275 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23276 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23277 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23278 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23279 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23280 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23281 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23282 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23283 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23284 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23285 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23286 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23287 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23288 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23289 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23290 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23291 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23292 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23293 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23294 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23295 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23296 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23297 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23298 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23299 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23300 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23301 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23302 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23303 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23304 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23305 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23306 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23307 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23308 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23309 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23310 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23311 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23312 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23313 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23314 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23315 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23316 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23317 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23318 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23319 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23320 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23321 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23322 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23323 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23324 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23325 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23326 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23327 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23328 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23329 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23330 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23331 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23332 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23333 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23334 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23335 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23336 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23337 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23338 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23339 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23340 (R_AARCH64_TLSDESC_LDR): Likewise.
23341 (R_AARCH64_TLSDESC_ADD): Likewise.
23342 (R_AARCH64_TLSDESC_CALL): Likewise.
23343
b2179107
AS
233442013-09-30 Andreas Schwab <schwab@suse.de>
23345
23346 [BZ #15048]
23347 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23348 the nss database lookup.
23349 * nscd/initgrcache.c (addinitgroupsX): Likewise.
23350 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23351
47f28d0a
MF
233522013-09-28 Mike Frysinger <vapier@gentoo.org>
23353
23354 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23355
233562013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
23357
23358 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23359 ${Bash-specific parameter/pattern/string} parameter expansion.
23360 * sysdeps/unix/make-syscalls.sh: Likewise.
23361
f4518a17
KK
233622013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23363
23364 * sysdeps/sh/stackguard-macros.h: New file.
23365
dc1a95c7
OB
233662013-09-26 Ondřej Bílka <neleai@seznam.cz>
23367
23368 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23369 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23370 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23371 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23372 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23373 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23374
5ebbff8f
AZ
233752013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23376
23377 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23378 Fix thread ID register.
23379
4fd2cf9f
JM
233802013-09-25 Joseph Myers <joseph@codesourcery.com>
23381
23382 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23383 [POSIX || UNIX98]: Require rather than permitting all symbols from
23384 <time.h>.
23385 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23386 element of struct sched_param.
23387 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23388 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23389 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23390 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23391 constant.
23392
12c22bc4
OL
233932013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
23394
23395 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23396 argument calculation.
23397
a03d8ea7
JM
233982013-09-24 Joseph Myers <joseph@codesourcery.com>
23399
23400 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23401 Expect macro.
23402 [POSIX] (pthread_attr_t): Do not require type.
23403 [POSIX] (pthread_cond_t): Likewise.
23404 [POSIX] (pthread_condattr_t): Likewise.
23405 [POSIX] (pthread_key_t): Likewise.
23406 [POSIX] (pthread_mutex_t): Likewise.
23407 [POSIX] (pthread_mutexattr_t): Likewise.
23408 [POSIX] (pthread_once_t): Likewise.
23409 [POSIX] (pthread_t): Likewise.
23410 [POSIX-based standards] (pthread_atfork): Expect function.
23411
6055173a
JM
234122013-09-24 Joseph Myers <joseph@codesourcery.com>
23413 Richard Sandiford <richard@codesourcery.com>
23414
23415 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23416 (swap_endianness_p): New extern variable.
23417 (set_big_endian): New inline function.
23418 (maybe_swap_uint32): Likewise.
23419 (maybe_swap_uint32_array): Likewise.
23420 (maybe_swap_uint32_obstack): Likewise.
23421 * locale/programs/locfile.c: Include <stdbool.h>.
23422 (swap_endianness_p): New variable.
23423 (add_locale_uint32): Call maybe_swap_uint32.
23424 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23425 (write_locale_data): Call maybe_swap_uint32_array.
23426 * locale/programs/ld-collate.c (obstack_int32_grow): Call
23427 maybe_swap_uint32.
23428 (obstack_int32_grow_fast): Likewise.
23429 (output_weightwc): Call maybe_swap_uint32_obstack.
23430 (collate_output): Likewise.
23431 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23432 (OPT_LITTLE_ENDIAN): Likewise.
23433 (options): Add --little-endian and --big-endian options.
23434 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23435 * locale/programs/locarchive.c: Include "locfile.h".
23436 (GET): New macro.
23437 (SET): Likewise.
23438 (INC): Likewise.
23439 (create_archive): Use the new macros to access fields of
23440 structures directly mapped from or written to locale archives.
23441 (oldlocrecentcmp): Likewise.
23442 (enlarge_archive): Likewise.
23443 (insert_name): Likewise.
23444 (add_alias): Likewise.
23445 (add_locale): Likewise.
23446 (delete_locales_from_archive): Likewise.
23447 (show_archive_content): Likewise.
23448 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
23449 locale data.
23450
39bf0bb4
RM
234512013-09-24 Roland McGrath <roland@hack.frob.com>
23452
23453 * manual/freemanuals.texi: Updated from (newly) canonical copy at
23454 http://www.gnu.org/doc/freemanuals.texi.
23455 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23456
f02eed10
WN
234572013-09-24 Will Newton <will.newton@linaro.org>
23458
23459 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23460 macro.
23461
a3a6c312
JM
234622013-09-23 Joseph Myers <joseph@codesourcery.com>
23463
23464 * locale/hashval.h (compute_hashval): Interpret bytes of key as
23465 unsigned char.
23466
107375ac
MR
234672013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
23468
23469 * manual/threads.texi (POSIX Threads): Fix a typo.
23470
141f3a77
SP
234712013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23472
303e567a
SP
23473 [BZ #14547]
23474 * string/tst-strcoll-overflow.c: New test case.
23475 * string/Makefile (xtests): Add tst-strcoll-overflow.
23476 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23477 cache if string sizes may cause integer overflow.
23478
141f3a77
SP
23479 [BZ #14547]
23480 * string/strcoll_l.c (coll_seq): New members rule, idx,
23481 save_idx and back_us.
23482 (get_next_seq_nocache): New function.
23483 (do_compare_nocache): New function.
23484 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23485 when malloc fails.
23486
c61b4d41
CD
234872013-09-23 Carlos O'Donell <carlos@redhat.com>
23488
0b1f8e35
CD
23489 [BZ #15754]
23490 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23491 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23492 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23493
c61b4d41
CD
23494 [BZ #15754]
23495 * elf/Makefile (tests): Add tst-ptrguard1.
23496 (tests-static): Add tst-ptrguard1-static.
23497 (tst-ptrguard1-ARGS): Define.
23498 (tst-ptrguard1-static-ARGS): Define.
23499 * elf/tst-ptrguard1.c: New file.
23500 * elf/tst-ptrguard1-static.c: New file.
23501 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23502 * sysdeps/i386/stackguard-macros.h: Likewise.
23503 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23504 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23505 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23506 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23507 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23508 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23509
235102013-09-23 Hector Marco <hecmargi@upv.es>
23511 Ismael Ripoll <iripoll@disca.upv.es>
23512 Carlos O'Donell <carlos@redhat.com>
23513
23514 [BZ #15754]
23515 * sysdeps/generic/stackguard-macros.h: Define
23516 __pointer_chk_guard_local and POINTER_CHK_GUARD.
23517 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23518 Define __pointer_chk_guard_local.
23519 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23520 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23521
f5f4e7b4
VV
235222013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
23523
23524 [BZ #15859]
23525 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23526
5bb43a43
AS
235272013-09-20 Andreas Schwab <schwab@linux-m68k.org>
23528
23529 * include/string.h (__ffs): Declare as hidden.
23530 * string/ffs.c (__ffs): Define as hidden.
23531 * sysdeps/i386/ffs.c (__ffs): Likewise.
23532 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23533 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23534 * sysdeps/s390/ffs.c (__ffs): Likewise.
23535 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23536
3ea5be54
AO
235372013-09-20 Alexandre Oliva <aoliva@redhat.com>
23538
ffb89e53
AO
23539 * NEWS: Mention malloc probes.
23540
322dea08
AO
23541 * malloc/arena.c (new_heap): New memory_heap_new probe.
23542 (grow_heap): New memory_heap_more probe.
23543 (shrink_heap): New memory_heap_less probe.
23544 (heap_trim): New memory_heap_free probe.
23545 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23546 (systrim): New memory_sbrk_less probe.
23547 * manual/probes.texi: Document them.
23548
655673f3
AO
23549 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23550 * manual/probes.texi: Document it.
23551
35fed6f1
AO
23552 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23553 (__libc_realloc): Add memory_realloc_retry probe.
23554 (__libc_memalign): Add memory_memalign_retry probe.
23555 (__libc_valloc): Add memory_valloc_retry probe.
23556 (__libc_pvalloc): Add memory_pvalloc_retry probe.
23557 (__libc_calloc): Add memory_calloc_retry probe.
23558 * manual/probes.texi: Document them.
23559
6999d38c
AO
23560 * malloc/arena.c (get_free_list): Add probe
23561 memory_arena_reuse_free_list.
23562 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23563 and memory_arena_reuse.
23564 (arena_get2) [!PER_THREAD]: Likewise.
23565 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23566 memory_arena_reuse_realloc.
23567 * manual/probes.texi: Document them.
23568
0653427f
AO
23569 * malloc/malloc.c (__libc_free): Add
23570 memory_mallopt_free_dyn_thresholds probe.
23571 (__libc_mallopt): Add multiple memory_mallopt probes.
23572 * manual/probes.texi: Document them.
23573
3ea5be54
AO
23574 * malloc/malloc.c: Include stap-probe.h.
23575 (__libc_mallopt): Add memory_mallopt probe.
23576 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23577 * manual/probes.texi: New.
23578 * manual/Makefile (chapters): Add probes.
23579 * manual/threads.texi: Set next node.
23580
e35696c3 235812013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 23582
e35696c3
CL
23583 [BZ #15963, #13985]
23584 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23585 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23586 Add `Chinese' to `nan' entry name.
23587
4aafb73c
SP
235882013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23589
23590 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23591 (POLYNOMIAL): Likewise.
23592 (TAYLOR_SINCOS): Likewise.
23593 (TAYLOR_SLOW): Likewise.
23594 (__sin): Use TAYLOR_SINCOS.
23595 (__cos): Likewise.
23596 (slow): Use TAYLOR_SLOW.
23597 (sloww): Likewise.
23598 (bsloww): Likewise.
23599 (csloww): Likewise.
23600
d84f25c7
LD
236012013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23602
23603 * stdlib/strtod_l.c: Fix buffer overrun.
23604
5eea0404
SP
236052013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
23606
7849ff93
SP
23607 * benchtests/Makefile (bench): Add sincos.
23608 * benchtests/bench-sincos.c: New file.
23609
cfa3c886
SP
23610 * math/libm-test.inc (cos_test_data): New test inputs.
23611 (sin_test_data): Likewise.
23612
b348e1e3
SP
23613 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23614 macro.
23615 (__sin): Use it.
23616 (__cos): Likewise.
23617 (slow1): Likewise.
23618 (slow2): Likewise.
23619 (sloww1): Likewise.
23620 (sloww2): Likewise.
23621 (bsloww1): Likewise.
23622 (bsloww2): Likewise.
23623 (cslow2): Likewise.
23624 (csloww1): Likewise.
23625 (csloww2): Likewise.
23626
6cce25f8
SP
23627 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23628 function.
23629 (__sin): Use it.
23630 (__cos): Likewise.
23631
5eea0404
SP
23632 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23633 gotos.
23634 (__cos): Likewise.
23635
9c21573c
MR
236362013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
23637
23638 * config.h.in (HAVE_MIPS_NAN2008): New macro.
23639 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23640 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23641 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23642 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23643 * elf/cache.c (print_entry): Handle the new cache flags.
23644
24d22e65
JM
236452013-09-18 Joseph Myers <joseph@codesourcery.com>
23646 Aldy Hernandez <aldyh@redhat.com>
23647
23648 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23649 Change condition to [_SOFT_FLOAT].
23650 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23651 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23652 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23654 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23655 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23656 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23657 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23658 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23659 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23660 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23661 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23662 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23663 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23664 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23665 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23666 declaration.
23667
d13ef066
JM
236682013-09-18 Joseph Myers <joseph@codesourcery.com>
23669
2e071de0
JM
23670 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23671 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23672 (__longjmp): Use LOAD_GP to load saved GPRs.
23673 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23674 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23675 (__sigsetjmp): Use SAVE_GP to save GPRs.
23676
d13ef066
JM
23677 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23678 Do not append -msoft-float.
23679 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23680
97a0650b
SP
236812013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
23682
23683 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23684
11ca09e9
JM
236852013-09-17 Joseph Myers <joseph@codesourcery.com>
23686
23687 [BZ #15966]
23688 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23689 (_FPU_GETCW): Use initial "__" on variable and field names but not
23690 on macro parameter name.
23691 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
23692 parentheses around reference to macro parameter.
23693
08ffcf34
RS
236942013-09-13 Richard Sandiford <richard@codesourcery.com>
23695
23696 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23697 prototype.
23698 (ctype_startup): Use uint32_t in cast and sizeof for
23699 ctype->charnames.
23700
ae7080d3
JL
237012013-09-11 Jia Liu <proljc@gmail.com>
23702
23703 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23704 __daddr_t_defined.
23705 [__FreeBSD__]: Likewise.
23706
5905e7b3
OB
237072013-09-11 Ondřej Bílka <neleai@seznam.cz>
23708
23709 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23710 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23711 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23712 (strchr): Remove __strchr_sse42 ifunc selection.
23713 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23714 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23715
b987c776
WN
237162013-09-11 Will Newton <will.newton@linaro.org>
23717
23718 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23719 parameter to RES. Remove hardcoded 1000 value.
23720 * benchtests/bench-skeleton.c (main): Pass RES parameter
23721 to TIMING_INIT and multiply result by 1000.
23722
ddf985af
AZ
237232013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23724
23725 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23726
ffdd3181
AS
237272013-09-11 Andreas Schwab <schwab@suse.de>
23728
23729 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23730 if not defined.
23731 (O_TMPFILE) [__USE_GNU]: Define.
23732 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23733 Define.
23734
b73ed247
WN
237352013-09-11 Will Newton <will.newton@linaro.org>
23736
23737 [BZ #15857]
23738 * malloc/malloc.c (__libc_memalign): Check the value of bytes
23739 does not overflow.
23740
55e17aad
WN
237412013-09-11 Will Newton <will.newton@linaro.org>
23742
23743 [BZ #15856]
23744 * malloc/malloc.c (__libc_valloc): Check the value of bytes
23745 does not overflow.
23746
1159a193
WN
237472013-09-11 Will Newton <will.newton@linaro.org>
23748
23749 [BZ #15855]
23750 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23751 does not overflow.
23752
5905e7b3 237532013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
23754
23755 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23756 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23757 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23758 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23759 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23760
cdfc721b
AM
237612013-09-10 Allan McRae <allan@archlinux.org>
23762
aa04af00
AM
23763 [BZ #15748]
23764 * manual/arith.texi (Parsing of Floats): Clarify
23765 cross-reference.
23766
cdfc721b
AM
23767 [BZ #15849]
23768 * manual/install.texi (Running make install): Mention
23769 --enable-pt-chown.
23770 * INSTALL: Regenerated.
23771
95e7cf29
MR
237722013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
23773
23774 * csu/init-first.c (_init): Remove the !SHARED condition around
23775 FPU control word initialization.
23776 * elf/dl-support.c (_dl_fpu_control): New variable.
23777 (_dl_aux_init) <AT_FPUCW>: Initialize it.
23778 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23779 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23780 * math/test-fpucw-static.c: New file.
23781 * math/test-fpucw-ieee.c: New file.
23782 * math/test-fpucw-ieee-static.c: New file.
23783 * math/Makefile (tests): Add `test-fpucw-ieee' and
23784 `$(tests-static)'.
23785 (tests-static): New variable.
23786 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23787 dependency to...
23788 [($(build-shared),yes)]
23789 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23790 ... this.
23791 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23792 New dependency.
23793
83e43bf0
AM
237942013-09-09 Allan McRae <allan@archlinux.org>
23795
a9f5ce09
AM
23796 [BZ #15939]
23797 * manual/string.texi (Collation Functions): Fix typo in
23798 strcoll example.
23799 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23800
34829bc2
AM
23801 [BZ #15893]
23802 * stdlib/isomac.c (get_null_defines): Fix memory leak.
23803
3932737d
AM
23804 [BZ #15892]
23805 * libio/memstream.c (open_memstream): Fix memory leak.
23806 * libio/wmemstream.c (open_wmemstream): Likewise.
23807
83e43bf0
AM
23808 [BZ #15895]
23809 * nscd/netgroupcache.c: Fix nesting of ifdefs.
23810
0c66b8e9
WN
238112013-09-09 Will Newton <will.newton@linaro.org>
23812
23813 * malloc/Makefile: Add tst-realloc to tests.
23814 * malloc/tst-realloc.c: New file.
23815
f6b00fd1
AM
238162013-09-09 Allan McRae <allan@archlinux.org>
23817
23818 [BZ #15844]
23819 * COPYING: Update from GNU website to fix FSF address.
23820 * COPYING.LIB: Likewise.
23821
eec55e16
DM
238222013-09-06 David S. Miller <davem@davemloft.net>
23823
23824 * po/zh_TW.po: Update Chinese (traditional) translation from
23825 translation project.
23826
1ecbb381
RS
238272013-09-06 Richard Sandiford <richard@codesourcery.com>
23828 Joseph Myers <joseph@codesourcery.com>
23829
23830 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23831 "localeinfo.h".
23832 (obstack_chunk_alloc): New macro.
23833 (obstack_chunk_free): Likewise.
23834 (record_offset): New function.
23835 (init_locale_data): Likewise.
23836 (align_locale_data): Likewise.
23837 (add_locale_empty): Likewise.
23838 (add_locale_raw_data): Likewise.
23839 (add_locale_raw_obstack): Likewise.
23840 (add_locale_string): Likewise.
23841 (add_locale_wstring): Likewise.
23842 (add_locale_uint32): Likewise.
23843 (add_locale_uint32_array): Likewise.
23844 (add_locale_char): Likewise.
23845 (start_locale_structure): Likewise.
23846 (end_locale_structure): Likewise.
23847 (start_locale_prelude): Likewise.
23848 (end_locale_prelude): Likewise.
23849 (write_locale_data): Take locale_file structure rather than an
23850 iovec.
23851 * locale/programs/locfile.h: Include "obstack.h".
23852 (struct locale_file): Change to store locale file contents instead
23853 of header.
23854 (init_locale_data): New prototype.
23855 (align_locale_data): Likewise.
23856 (add_locale_empty): Likewise.
23857 (add_locale_raw_data): Likewise.
23858 (add_locale_raw_obstack): Likewise.
23859 (add_locale_string): Likewise.
23860 (add_locale_wstring): Likewise.
23861 (add_locale_uint32): Likewise.
23862 (add_locale_uint32_array): Likewise.
23863 (add_locale_char): Likewise.
23864 (start_locale_structure): Likewise.
23865 (end_locale_structure): Likewise.
23866 (start_locale_prelude): Likewise.
23867 (end_locale_prelude): Likewise.
23868 (write_locale_data): Update prototype.
23869 * locale/programs/3level.h (struct TABLE): Remove result field.
23870 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23871 Use new locale_file interface.
23872 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23873 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23874 * locale/programs/ld-address.c (address_output): Use new
23875 locale_file interface.
23876 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23877 NO_ADD_LOCALE.
23878 (collate_finish): Don't call collseq_table_finalize.
23879 (collate_output): Use new locale_file interface.
23880 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23881 in file.
23882 (NO_FINALIZE): Change to NO_ADD_LOCALE.
23883 (TABLE): Move defines earlier in file.
23884 (ELEMENT): Likewise.
23885 (DEFAULT): Likewise.
23886 (wctrans_table_add): Move macro and inline function earlier in
23887 file.
23888 (struct wctype_table): Move type earlier in file.
23889 (add_locale_wctype_table): New static prototype.
23890 (struct locale_ctype_t): Use logical types instead of struct iovec
23891 pointers for members.
23892 (ctype_output): Use new locale_file interface.
23893 (wctype_table_finalize): Change to add_locale_wctype_table. Use
23894 new locale_file interface.
23895 (allocate_arrays): Update for use of new locale_file interface.
23896 * locale/programs/ld-identification.c (identification_output): Use
23897 new locale_file interface.
23898 * locale/programs/ld-measurement.c (measurement_output): Likewise.
23899 * locale/programs/ld-messages.c (messages_output): Likewise.
23900 * locale/programs/ld-monetary.c (monetary_output): Likewise.
23901 * locale/programs/ld-name.c (name_output): Likewise.
23902 * locale/programs/ld-numeric.c (numeric_output): Likewise.
23903 * locale/programs/ld-paper.c (paper_output): Likewise.
23904 * locale/programs/ld-telephone.c (telephone_output): Likewise.
23905 * locale/programs/ld-time.c (time_output): Likewise.
23906
e029e2e5
AZ
239072013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23908
23909 * benchtests/Makefile: Add memrchr benchmark.
23910 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23911 benchmark as memrchr.
23912 * benchtests/bench-memrchr-ifunc.c: New file.
23913 * benchtests/bench-memrchr.c: New file.
23914
bbf6e8e4
WN
239152013-09-06 Will Newton <will.newton@linaro.org>
23916
23917 * benchtests/Makefile (string-bench): Add memcpy.
23918
6c82a2f8
CD
239192013-09-05 Carlos O'Donell <carlos@redhat.com>
23920 Cong Wang <amwang@redhat.com>
23921
e732c5f0 23922 [BZ #15850]
6c82a2f8
CD
23923 * sysdeps/unix/sysv/linux/bits/in.h
23924 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23925 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23926 before __USE_KERNEL_IPV6_DEFS uses.
23927 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23928 IPPROTO_BEETPH.
23929 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23930 sockaddr_in6, or ipv6_mreq.
23931
5430fc65
AZ
239322013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23933
23934 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23935 memory access for final bytes in some large inputs.
23936 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23937
4660856c
AZ
239382013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23939
23940 * string/test-memrchr.c: New file.
23941 * string/test-memrchr-ifunc.c: New file.
23942 * string/Makefile: Add new memrchr testcase.
23943
bb8ea713
MF
239442013-09-05 Mike Frysinger <vapier@gentoo.org>
23945
23946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23947 fanotify_init returns EPERM.
23948
b92a20b5
JM
239492013-09-04 Joseph Myers <joseph@codesourcery.com>
23950
23951 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23952 errors.
23953 (top level): Treat second token from macro or constant entries for
23954 allowed headers as allowed.
23955 * include/complex.h: Condition internal declarations on
23956 [!_ISOMAC].
23957 * include/fenv.h: Condition include of <stdbool.h> and internal
23958 declarations on [!_ISOMAC].
7447ccd9
CL
23959
239602013-09-04 Chris Leonard <cjl@sugarlabs,.org>
23961
3e181dda 23962 [BZ #15923]
7447ccd9
CL
23963 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23964
3f2e46a4
JM
239652013-09-04 Joseph Myers <joseph@codesourcery.com>
23966
23967 * configure.in (--enable-versioning): Remove configure option.
23968 (libc_cv_asm_symver_directive): Remove configure test.
23969 (libc_cv_ld_version_script_option): Likewise.
23970 (VERSIONING): Remove variable and AC_SUBST.
23971 (DO_VERSIONING): Remove AC_DEFINE.
23972 * configure: Regenerated.
23973 * config.h.in (DO_VERSIONING): Remove macro.
23974 * Makerules [$(versioning) = yes]: Change conditionals to
23975 [$(build-shared) = yes].
23976 * config.make.in (versioning): Remove variable.
23977 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23978 [$(build-shared) = yes].
23979 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23980 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23981 * elf/Makefile [$(versioning) = yes]: Change conditionals to
23982 [$(build-shared) = yes].
23983 * extra-lib.mk [$(versioning) = yes]: Likewise.
23984 * hurd/Makefile [$(versioning) = yes]: Likewise.
23985 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23986 [SHARED].
23987 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23988 [SHARED].
23989 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23990 [SHARED && !NO_HIDDEN].
23991 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23992 [SHARED].
23993 [SHARED && DO_VERSIONING]: Likewise..
23994 * libio/Makefile [$(versioning) = yes]: Change conditionals to
23995 [$(build-shared) = yes].
23996 * manual/install.texi (--disable-versioning): Remove
23997 documentation.
23998 * INSTALL: Regenerated.
23999 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24000 to [SHARED].
24001 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24002 [$(build-shared) = yes].
24003 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24004 * sysdeps/i386/i686/multiarch/strstr-c.c
24005 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24006 [SHARED && !NO_HIDDEN].
24007 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24008 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24009 * sysdeps/powerpc/powerpc32/dl-machine.c
24010 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24011 * sysdeps/powerpc/powerpc32/sysdep.h
24012 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24013 to [SHARED && PIC && !NO_HIDDEN].
24014 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24015 conditional to [SHARED].
24016
44558701
WN
240172013-09-04 Will Newton <will.newton@linaro.org>
24018
24019 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24020 * benchtests/bench-string.h: Include bench-timing.h instead
24021 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24022 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24023 call to HP_TIMING_DIFF_INIT.
24024 * benchtests/bench-memccpy.c: Use bench-timing.h macros
24025 instead of hp-timing.h macros.
24026 * benchtests/bench-memchr.c: Likewise.
24027 * benchtests/bench-memcmp.c: Likewise.
24028 * benchtests/bench-memcpy.c: Likewise.
24029 * benchtests/bench-memmem.c: Likewise.
24030 * benchtests/bench-memmove.c: Likewise.
24031 * benchtests/bench-memset.c: Likewise.
24032 * benchtests/bench-rawmemchr.c: Likewise.
24033 * benchtests/bench-strcasecmp.c: Likewise.
24034 * benchtests/bench-strcasestr.c: Likewise.
24035 * benchtests/bench-strcat.c: Likewise.
24036 * benchtests/bench-strchr.c: Likewise.
24037 * benchtests/bench-strcmp.c: Likewise.
24038 * benchtests/bench-strcpy.c: Likewise.
24039 * benchtests/bench-strcpy_chk.c: Likewise.
24040 * benchtests/bench-strlen.c: Likewise.
24041 * benchtests/bench-strncasecmp.c: Likewise.
24042 * benchtests/bench-strncat.c: Likewise.
24043 * benchtests/bench-strncmp.c: Likewise.
24044 * benchtests/bench-strncpy.c: Likewise.
24045 * benchtests/bench-strnlen.c: Likewise.
24046 * benchtests/bench-strpbrk.c: Likewise.
24047 * benchtests/bench-strrchr.c: Likewise.
24048 * benchtests/bench-strspn.c: Likewise.
24049 * benchtests/bench-strstr.c: Likewise.
24050
cae16d66
WN
240512013-09-04 Will Newton <will.newton@linaro.org>
24052
24053 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24054
ffa3cd7f
JM
240552013-09-03 Joseph Myers <joseph@codesourcery.com>
24056
24057 [BZ #15427]
24058 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24059 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24060 * math/libm-test.inc (lgamma_test_data): Add more tests.
24061 * sysdeps/i386/fpu/libm-test-ulps: Update.
24062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24063
8f02859f
OB
240642013-09-03 Ondřej Bílka <neleai@seznam.cz>
24065
24066 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24068 Add ifunc.
24069 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24070 Add strcmp-sse2-unaligned
24071 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24072
18d43716
MF
240732013-09-02 Mike Frysinger <vapier@gentoo.org>
24074
24075 * Versions.def (libc): Add GLIBC_2.19.
24076
ac444012
MF
240772013-09-02 Mike Frysinger <vapier@gentoo.org>
24078
24079 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24080 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24081
b7835e32
JM
240822013-09-02 Joseph Myers <joseph@codesourcery.com>
24083
24084 [BZ #14155]
24085 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24086 intermediate calculations in recurrence.
24087 (__ieee754_ynf): Likewise.
24088 * math/libm-test.inc (jn_test_data): Do not allow spurious
24089 underflow exception. Add more tests.
24090 (yn_test_data): Add more tests.
24091 * sysdeps/i386/fpu/libm-test-ulps: Update.
24092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24093
8220f4f0
OB
240942013-09-02 Ondřej Bílka <neleai@seznam.cz>
24095
24096 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24097
f24a6d08
OB
240982013-08-30 Ondřej Bílka <neleai@seznam.cz>
24099
24100 * csu/init-first.c: Fix then/than typos.
24101 * locale/programs/ld-collate.c: Likewise.
24102 * locale/programs/linereader.h: Likewise.
24103 * manual/charset.texi: Likewise.
24104 * manual/filesys.texi: Likewise.
24105 * manual/stdio.texi: Likewise.
24106 * manual/string.texi: Likewise.
24107 * stdlib/fmtmsg.c: Likewise.
24108 * sysdeps/i386/stpncpy.S: Likewise.
24109 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24110 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24111 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24112 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24113
382466e0
OB
241142013-08-30 Ondřej Bílka <neleai@seznam.cz>
24115
24116 * elf/dl-open.c: Fix typos.
24117 * iconvdata/gbbig5.c: Likewise.
24118 * iconvdata/iso-2022-jp.c: Likewise.
24119 * iconv/gconv_int.h: Likewise.
24120 * iconv/loop.c: Likewise.
24121 * nis/rpcsvc/nis.h: Likewise.
24122 * resolv/ns_name.c: Likewise.
24123 * stdio-common/vfscanf.c: Likewise.
24124 * streams/stropts.h: Likewise.
24125 * sunrpc/rpc_thread.c: Likewise.
24126 * sysdeps/i386/strpbrk.S: Likewise.
24127 * sysdeps/ieee754/k_standard.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24130 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24131 * sysdeps/mach/hurd/profil.c: Likewise.
24132 * sysdeps/s390/dl-procinfo.h: Likewise.
24133 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24134 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24135 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24136 * sysdeps/x86_64/dl-trampoline.S: Likewise.
24137 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24138
0186c6e9
OB
241392013-08-30 Ondřej Bílka <neleai@seznam.cz>
24140
24141 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24143
d4e16af1
OB
241442013-08-29 Ondřej Bílka <neleai@seznam.cz>
24145
24146 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24147 aix specific files.
24148 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24149 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24150 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24151 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24152 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24153 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24154 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24155 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24156
88335980
TS
241572013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24158 Roland McGrath <roland@hack.frob.com>
24159
24160 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24161 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24162
ed479b02
ST
241632013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
24164
24165 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24166 __executable_start symbol instead of _start.
24167
f1cc4c86
TS
241682013-08-29 Thomas Schwinge <thomas@codesourcery.com>
24169
d821f07c
TS
24170 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24171 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24172 Move macros to...
24173 * sysdeps/gnu/ldsodefs.h: ... this new file.
24174
c54290cf
TS
24175 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24176 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24177 instead of ELFOSABI_LINUX.
24178
0007fc9b 24179 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
24180 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24181 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24182 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24183 Likewise.
24184 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24185 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24186 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24187 Likewise.
24188 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24189 (ibm_extended_long_double): Add ieee_nan member.
24190 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24191 (do_test): New function.
24192
f1cc4c86
TS
24193 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24194 TEST_TRUNC.
24195 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24196 functions, renamed from truncdfsf_test, trunctfsf_test,
24197 trunctfdf_test.
24198 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24199 functions.
24200 (do_test): Run all these.
24201
6f65e668
OB
242022013-08-29 Ondřej Bílka <neleai@seznam.cz>
24203
24204 * argp/argp-help.c: Fix typos.
24205 * argp/argp-parse.c: Likewise.
24206 * debug/backtracesyms.c: Likewise.
24207 * elf/elf.h: Likewise.
24208 * malloc/malloc.c: Likewise.
24209 * nis/nis_print.c: Likewise.
24210 * resolv/res_comp.c: Likewise.
24211 * stdlib/stdlib.h: Likewise.
24212 * sunrpc/clnt_tcp.c: Likewise.
24213 * sunrpc/clnt_udp.c: Likewise.
24214 * sunrpc/clnt_unix.c: Likewise.
24215 * sysdeps/unix/bsd/ptsname.c: Likewise.
24216 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24217 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
24218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24219 Likewise.
24220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24221 Likewise.
24222 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24223 Likewise.
6f65e668
OB
24224 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24225
3a309239
SP
242262013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
24227
24228 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24230
3b813b29
MF
242312013-08-27 Mike Frysinger <vapier@gentoo.org>
24232
24233 [BZ #15897]
24234 * dlfcn/Makefile (tests): Add bug-dl-leaf.
24235 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24236 ($(objpfx)bug-dl-leaf): New rule.
24237 ($(objpfx)bug-dl-leaf.so): Likewise.
24238 ($(objpfx)bug-dl-leaf.out): Likewise.
24239 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24240 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24241 * dlfcn/bug-dl-leaf.c: New test.
24242 * dlfcn/bug-dl-leaf-lib.c: Likewise.
24243 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24244 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24245 (dlclose): Likewise.
24246 (dlmopen): Likewise.
24247
8cc3269f
RM
242482013-08-27 Roland McGrath <roland@hack.frob.com>
24249
7f9d0034
RM
24250 * include/netdb.h [!_ISOMAC]:
24251 Don't include <tls.h>.
24252 (h_errno, __libc_h_errno): Move declaration and macros out of
24253 [_LIBC_REENTRANT].
24254
fb431262
RM
24255 * include/resolv.h [_RESOLV_H_]:
24256 Don't include <tls.h>.
24257 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24258 * resolv/res_libc.c: Don't include <tls.h>.
24259 (_res): Use __attribute__ ((nocommon)) in place of
24260 __attribute__ ((section (".bss"))).
24261
bd81123a
RM
24262 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24263 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24264
c4e42566
RM
24265 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24266
f890a59b
RM
24267 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24268 only under [SIOCGIFCONF && SIOCGIFNETMASK].
24269
24270 * resolv/res_mkquery.c: Include <sys/time.h>.
24271
5d1f0a09
RM
24272 * inet/ifreq.c: Moved to ...
24273 * sysdeps/unix/ifreq.c: ... here.
24274 * inet/ifreq.c: New file, true stub version.
24275
6fcf28b3
RM
24276 * socket/sa_len.c: New file.
24277 * socket/Makefile (aux): Add it.
24278 * sysdeps/unix/sysv/linux/Makefile
24279 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24280 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24281 and #include <socket/sa_len.c>.
24282 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24283 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24284
e041fb8b
RM
24285 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24286 * bits/socket.h: ... here.
24287
8cc3269f
RM
24288 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24289 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24290 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24291
5d228a43
AS
242922013-08-27 Andreas Schwab <schwab@suse.de>
24293
45b8accc
AS
24294 [BZ #15736]
24295 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24296 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24297 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24298 * string/test-strcasecmp.c (test_main): Run tests in several
24299 locales.
24300 * string/test-strncasecmp.c (test_main): Likewise.
24301
5d228a43
AS
24302 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24303 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24304 to __strcasecmp_nonascii and __strncasecmp_nonascii.
24305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24306 (__strncasecmp_ssse3) [PIC]: Likewise.
24307
59d112a4
RM
243082013-08-26 Roland McGrath <roland@hack.frob.com>
24309
53234cc3
RM
24310 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24311
59d112a4
RM
24312 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24313 instead of explicitly declaring xdecrypt.
24314 * nis/nss_nis/nis-publickey.c: Likewise.
24315
595aba70
SP
243162013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24317
24318 [BZ #15890]
24319 * nscd/aicache.c: Include res_hconf.h.
24320 (addhstaiX): Initialize res_hconf.
24321
ffabd393
AS
243222013-08-26 Andreas Schwab <schwab@suse.de>
24323
24324 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24325 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24326
e0a69f5c
SP
243272013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24328
24329 * nscd/aicache.c (addhstaiX): Fix indentation.
24330
8c12f01d
MF
243312013-08-25 Mike Frysinger <vapier@gentoo.org>
24332
24333 * configure.ac: Quote $build_pt_chown test.
24334 * configure: Regenerated.
24335
8fe89494
JM
243362013-08-23 Joseph Myers <joseph@codesourcery.com>
24337
24338 [BZ #15532]
24339 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24340 * math/s_cexpf.c (__cexpf): Likewise.
24341 * math/s_cexpl.c (__cexpl): Likewise.
24342 * math/libm-test.inc (cexp_test_data): Correct expected return
24343 value for NaN + i0. Add another test.
24344
75b181d6
DM
243452013-08-22 David S. Miller <davem@davemloft.net>
24346
24347 * po/ca.po: Update Catalan translation from translation project.
936241e4 24348 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 24349
acd06bb1
JM
243502013-08-21 Joseph Myers <joseph@codesourcery.com>
24351
24352 [BZ #15797]
24353 * math/s_fdim.c (__fdim): Check for infinite arguments if result
24354 is infinite, not alongside NaN test.
24355 * math/s_fdimf.c (__fdimf): Likewise.
24356 * math/s_fdiml.c (__fdiml): Likewise.
24357 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
24358 errno is unchanged.
24359
c0c3f78a
OB
243602013-08-21 Ondřej Bílka <neleai@seznam.cz>
24361
24362 * argp/argp-help.c: Fix typos.
24363 * crypt/speeds.c: Likewise.
24364 * csu/check_fds.c: Likewise.
24365 * elf/dl-load.c: Likewise.
24366 * elf/dl-open.c: Likewise.
24367 * elf/reldep3.c: Likewise.
24368 * elf/reldep.c: Likewise.
24369 * elf/sprof.c: Likewise.
24370 * iconv/iconv_charmap.c: Likewise.
24371 * iconv/skeleton.c: Likewise.
24372 * iconv/strtab.c: Likewise.
24373 * io/lockf64.c: Likewise.
24374 * libio/libioP.h: Likewise.
24375 * resolv/gai_notify.c: Likewise.
24376 * resolv/ns_name.c: Likewise.
24377 * resolv/ns_samedomain.c: Likewise.
24378 * resolv/res_send.c: Likewise.
24379 * stdlib/random.c: Likewise.
24380 * sunrpc/rpc/xdr.h: Likewise.
24381 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24382 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24383 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24384 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24385 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24386 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24387 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24388 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24389 * sysdeps/mach/hurd/check_fds.c: Likewise.
24390 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24391 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24392 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24393 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24394 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24395 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24396 * sysdeps/pthread/aio_notify.c: Likewise.
24397 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24398 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24399 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24400 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24401 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24402
46ed1038
LD
244032013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24404
24405 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24406 version if bit_Slow_SSE4_2 is set.
24407 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24408 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24409
d400dcac
AZ
244102013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24411
24412 [BZ #15867]
24413 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24414 trampoline stack frame information.
24415 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24416 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24417 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24418 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24419 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24420 * sysdeps/unix/sysv/linux/powerpc/init-first.c
24421 (_libc_vdso_platform_setup): Initialize the signal trampolines.
24422 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24423 sa_flags value.
24424 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24425 interrupting a syscall and set with option SA_SIGINFO.
24426
42c8fdd8
JM
244272013-08-20 Joseph Myers <joseph@codesourcery.com>
24428
c980f2f4
JM
24429 [BZ #15531]
24430 * math/s_cproj.c (__cproj): Only return an infinity if one part of
24431 argument is infinite.
24432 * math/s_cprojf.c (__cprojf): Likewise.
24433 * math/s_cprojl.c (__cprojl): Likewise.
24434 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24435 * math/libm-test.inc (cproj_test_data): Add more tests.
24436
0716c4fc
JM
24437 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24438
42c8fdd8
JM
24439 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24440 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24441 size. Use __ffs to determine corresponding shift.
24442
b31469d0
JM
244432013-08-20 Joseph Myers <joseph@codesourcery.com>
24444 Roland McGrath <roland@hack.frob.com>
24445
24446 * Makefile (INSTALL): Remove trailing blank lines from output of
24447 makeinfo.
24448
4e39af6e
AK
244492013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24450
24451 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24452 Align 32 bit compat elf_greg to 8 bytes.
24453
f315524e
AA
244542013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
24455
24456 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24457
1326ba1a
SP
244582013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
24459
24460 * string/strcoll_l.c (coll_seq): New structure.
24461 (get_next_seq_cached): New function.
24462 (get_next_seq): New function.
24463 (do_compare): New function.
24464 (STRCOLL): Use GNU style definition. Simplify implementation
24465 by using get_next_seq, get_next_seq_cached and do_compare.
24466
91ce4085
FW
244672013-08-16 Florian Weimer <fweimer@redhat.com>
24468
24469 [BZ #14699]
24470 CVE-2013-4237
24471 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24472 member.
24473 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24474 member.
24475 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24476 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24477 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
24478 conditional.
24479 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24480 GETDENTS_64BIT_ALIGNED.
24481 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24482 * manual/filesys.texi (Reading/Closing Directory): Document
24483 ENAMETOOLONG return value of readdir_r. Recommend readdir more
24484 strongly.
24485 * manual/conf.texi (Limits for Files): Add portability note to
24486 NAME_MAX, PATH_MAX.
24487 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24488
ca0a6bc4
AS
244892013-08-13 Andreas Schwab <schwab@suse.de>
24490
24491 [BZ #15749]
24492 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24493 of fabs.
24494 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24495 LDBL_MAX_EXP >= 16384]: Add tests for it.
24496
6c1fd795
DM
244972013-08-12 David S. Miller <davem@davemloft.net>
24498
24499 * version.h (RELEASE): Set to "development".
24500 (VERSION): Set to "2.18.90".
24501 * NEWS: Add 2.19 section.
24502
31ad488d
DM
245032013-08-03 David S. Miller <davem@davemloft.net>
24504
24505 * po/ko.po: Update Korean translation from translation project.
24506
db24e684
DM
245072013-08-01 David S. Miller <davem@davemloft.net>
24508
24509 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
24510 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24511 Bilka.
24512
f723285b
DM
245132013-07-30 David S. Miller <davem@davemloft.net>
24514
24515 * po/fr.po: Update French translation from translation project.
24516
3cbc52db
DM
245172013-07-28 David S. Miller <davem@davemloft.net>
24518
30bbc0cc
DM
24519 * po/cs.po: Update Czech translation from translation project.
24520
3cbc52db
DM
24521 * po/sv.po: Update Swedish translation from translation project.
24522
d492e6d0
DM
245232013-07-27 David S. Miller <davem@davemloft.net>
24524
f1a7f492
DM
24525 * po/eo.po: Update Esperanto translation from translation project.
24526
90e62a4a
DM
24527 * po/vi.po: Update Vietnamese translation from translation project.
24528
d492e6d0
DM
24529 * po/de.po: Update German translation from translation project.
24530
d4baa62d
DM
245312013-07-26 David S. Miller <davem@davemloft.net>
24532
641aa7b4
DM
24533 * po/bg.po: Update Bulgarian translation from translation project.
24534
d4baa62d
DM
24535 * po/nl.po: Update Dutch translation from translation project.
24536 * po/pl.po: Update Polish translation from translation project.
24537 * po/ru.po: Update Russian translation from translation project.
24538
61a9dcb9
DM
245392013-07-24 David S. Miller <davem@davemloft.net>
24540
24541 * po/libc.pot: Update.
24542
7b1f8b58
AZ
245432013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24544
24545 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24546 variable page size.
24547 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24548 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24549 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24550
a8fc7a03
AK
245512013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24552
24553 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24554
e4608715
CD
245552013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24556 Andreas Schwab <schwab@suse.de>
24557 Roland McGrath <roland@hack.frob.com>
24558 Joseph Myers <joseph@codesourcery.com>
24559 Carlos O'Donell <carlos@redhat.com>
24560
24561 [BZ #15755]
24562 * config.h.in: Define HAVE_PT_CHOWN.
24563 * config.make.in (build-pt-chown): New variable.
24564 * configure.in (--enable-pt_chown): New configure option.
24565 * configure: Regenerate.
24566 * login/Makefile: Include Makeconfig. Build pt_chown only if
24567 build-pt-chown is enabled.
24568 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24569 pt_chown to fix pty ownership.
24570 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24571 CLOSE_ALL_FDS.
24572 * manual/install.texi (Configuring and compiling): Mention
24573 --enable-pt_chown. Add @findex for grantpt.
24574 * INSTALL: Regenerate.
24575
da2d62df
DM
245762013-07-20 David S. Miller <davem@davemloft.net>
24577
24578 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24579 difference between 32-bit and 64-bit.
24580
d7e06450
CD
245812013-07-15 Carlos O'Donell <carlos@redhat.com>
24582
24583 [BZ #15711]
24584 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24585 Avoid system header dependency with -ffreestanding.
24586 ($(objpfx)bits/syscall%d): Likewise.
24587
f959cfd7
DM
245882013-07-13 David S. Miller <davem@davemloft.net>
24589
24590 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24591 underflows from atanl/atan2l due to bug 15319.
24592 (casinh_test_data): Likewise.
24593
c61f8513
DM
245942013-07-07 David S. Miller <davem@davemloft.net>
24595
24596 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24597
72c90ed0
JA
245982013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
24599
24600 * sysdeps/i386/fpu/libm-test-ulps: Update.
24601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24602
52dfbe13
SP
246032013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
24604
24605 * configure.in (--enable-lock-elision): Fix message text.
24606 * INSTALL: Regenerate.
24607 * configure: Regenerate.
24608
3f169543
AZ
246092013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24610
24611 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24612
521c6785
AJ
246132013-07-03 Andreas Jaeger <aj@suse.de>
24614
24615 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24616 define.
24617 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24618 (ptrace_peeksiginfo_args): Add.
24619 (__ptrace_peeksiginfo_flags): Add.
24620 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24621 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24622 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24623
d2cc15cb
AM
246242013-07-03 Allan McRae <allan@archlinux.org>
24625
24626 * sysdeps/i386/fpu/libm-test-ulps: Update.
24627
3aaeeca7
DM
246282013-07-02 David S. Miller <davem@davemloft.net>
24629
24630 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24631
5314ed1a
MT
246322013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
24633
24634 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24635
67338156
JM
246362013-07-02 Joseph Myers <joseph@codesourcery.com>
24637
24638 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24640
1717da59
AK
246412013-07-02 Andi Kleen <ak@linux.intel.com>
24642
24643 * config.h.in (ENABLE_LOCK_ELISION): Add.
24644 * configure.in (--enable-lock-elision): Add option.
24645 * manual/install.texi: Document --enable lock elision.
24646 * configure: Regenerate
24647 * INSTALL: Regenerate.
24648
1c81621c
L
246492013-07-02 H.J. Lu <hongjiu.lu@intel.com>
24650
24651 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24652 SSE4.2 strcasecmp for libc.a.
24653 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24654
77f01ab5
JM
246552013-07-02 Joseph Myers <joseph@codesourcery.com>
24656
24657 [BZ #13304]
24658 * soft-fp/op-common.h (_FP_FMA): New macro.
24659 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24660 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
24661 (_FP_MUL_MEAT_1_imm): ... here.
24662 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
24663 (_FP_MUL_MEAT_1_wide): ... here.
24664 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
24665 (_FP_MUL_MEAT_1_hard): ... here.
24666 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24667 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
24668 (_FP_MUL_MEAT_2_wide): ... here.
24669 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
24670 (_FP_MUL_MEAT_2_wide_3mul): ... here.
24671 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
24672 (_FP_MUL_MEAT_2_gmp): ... here.
24673 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24674 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
24675 (_FP_MUL_MEAT_4_wide): ... here.
24676 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
24677 (_FP_MUL_MEAT_4_gmp): ... here.
24678 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24679 (_FP_WFRACBITS_DW_S): Likewise.
24680 (_FP_WFRACXBITS_DW_S): Likewise.
24681 (_FP_HIGHBIT_DW_S): Likewise.
24682 (FP_FMA_S): Likewise.
24683 (_FP_FRAC_HIGH_DW_S): Likewise.
24684 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24685 (_FP_WFRACBITS_DW_D): Likewise.
24686 (_FP_WFRACXBITS_DW_D): Likewise.
24687 (_FP_HIGHBIT_DW_D): Likewise.
24688 (FP_FMA_D): Likewise.
24689 (_FP_FRAC_HIGH_DW_D): Likewise.
24690 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24691 (_FP_WFRACBITS_DW_E): Likewise.
24692 (_FP_WFRACXBITS_DW_E): Likewise.
24693 (_FP_HIGHBIT_DW_E): Likewise.
24694 (FP_FMA_E): Likewise.
24695 (_FP_FRAC_HIGH_DW_E): Likewise.
24696 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24697 (_FP_WFRACBITS_DW_Q): Likewise.
24698 (_FP_WFRACXBITS_DW_Q): Likewise.
24699 (_FP_HIGHBIT_DW_Q): Likewise.
24700 (FP_FMA_Q): Likewise.
24701 (_FP_FRAC_HIGH_DW_Q): Likewise.
24702 * soft-fp/fmasf4.c: New file.
24703 * soft-fp/fmadf4.c: Likewise.
24704 * soft-fp/fmatf4.c: Likewise.
24705
6308fd9a
LD
247062013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24707
24708 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24709 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24710 Silvermont.
24711 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24712 macro.
24713 (index_Slow_SSE4_2): Likewise.
24714 (index_Prefer_PMINUB_for_stringop): Likewise.
24715 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24716 bit_Slow_SSE4_2 is set.
24717 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24718 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24719
89cd9569
RA
247202013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24721
24722 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24723 rtld_global._dl_hwcap2.
24724 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24725 POWER8.
24726 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24727 POWER8 feature descriptions defined in _dl_hwcap2.
24728 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24729 string handling for POWER8 feature bits.
24730 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24731 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24732 _dl_powerpc_cap_flags.
24733 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24734 * sysdeps/powerpc/rtld-global-offsets.sym
24735 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24736 _dl_hwcap2 in the rtld_global_ro structure.
24737
1ae8bfe0
RA
247382013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24739
24740 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24741 hardware capabilities in support of AT_HWCAP2.
24742 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24743 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24744 GLRO(dl_hwcap2).
24745 (_dl_show_auxv): Add support for calling _dl_procinfo to display
24746 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
24747 explicitly the unknown a_type display mechanism is used.
24748 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24749 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24750 struct member.
24751 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24752 to macro prototype for AT_HWCAP2 support.
24753 * sysdeps/i386/dl-procinfo.h: Likewise.
24754 * sysdeps/s390/dl-procinfo.h: Likewise.
24755 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24756 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
24757 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
24758 return -1 for unknown a_type display fallback.
24759 * sysdeps/sparc/dl-procinfo.h: Likewise.
24760 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24761 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24762
8fbec010
JM
247632013-06-28 Joseph Myers <joseph@codesourcery.com>
24764
24765 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24766 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24767
0432680e
PY
247682013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
24769
24770 [BZ #12492]
24771 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24772 mprotect making __stack_prot writable.
24773
ce61a2ad
NF
247742013-06-28 Nathan Froyd <froydnj@codesourcery.com>
24775 Joseph Myers <joseph@codesourcery.com>
24776
24777 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24778 as being properly aligned.
24779
f91f1c0f
MR
247802013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
24781
3d0f5d0c
MR
24782 * dlfcn/modstatic5.c: New file.
24783 * dlfcn/tststatic5.c: New file.
24784 * dlfcn/Makefile (tests): Add tststatic5.
24785 (tests-static): Likewise.
24786 (modules-names): Add modstatic5.
24787 (tststatic5-ENV): New variable.
24788 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24789
f91f1c0f
MR
24790 [BZ #15022]
24791 * elf/dl-support.c (_dl_main_map): New variable.
24792 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24793 (_dl_nns, _dl_load_adds): Set to 1.
24794 (_dl_initial_searchlist): Refer to _dl_main_map.
24795 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24796 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24797 call to _dl_get_origin.
24798 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24799 around call_map.
24800 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24801 * dlfcn/modstatic3.c: New file.
24802 * dlfcn/tststatic3.c: New file.
24803 * dlfcn/tststatic4.c: New file.
24804 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24805 (tests-static): Likewise.
24806 (modules-names): Add modstatic3.
24807 (tststatic3-ENV, tststatic4-ENV): New variables.
24808 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24809 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24810
cbe7d24b
JM
248112013-06-26 Joseph Myers <joseph@codesourcery.com>
24812
24813 * configure.in (CC): Require GCC version 4.4 or later.
24814 * configure: Regenerated.
24815 * manual/install.texi (Tools for Compilation): Update GCC version
24816 requirement.
24817 * INSTALL: Regenerated.
24818
11b8a0e1
LD
248192013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
24820
24821 [BZ #15674]
bb5bb87c
L
24822 * string/test-memcmp.c (check2): New.
24823 (main): Call check2.
24824
11b8a0e1
LD
24825 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24826
b0037103
MR
248272013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
24828
24829 [BZ #15022]
24830 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24831 over to...
24832 (dl_open_worker) [!SHARED]: ... here.
24833
c18c701d
RA
248342013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24835
24836 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24837
1d17fa5f
RH
248382013-06-25 Richard Henderson <rth@redhat.com>
24839
24840 * locale/programs/locarchive.c: Include <libc-internal.h>
24841
8fcb833a
JM
248422013-06-25 Joseph Myers <joseph@codesourcery.com>
24843
24844 * manual/texinfo.tex: Update to version 2013-06-21.17, with
24845 trailing whitespace removed.
24846
17db6e8d
MF
248472013-06-24 Mike Frysinger <vapier@gentoo.org>
24848
24849 [BZ #10283]
17db6e8d
MF
24850 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24851 * locale/programs/locarchive.c: Include libc-mmap.h.
24852 (prepare_address_space): Take two new outputs (the mmap base and len).
24853 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
24854 values.
24855 (create_archive): Declare new mmap base and len values for
24856 prepare_address_space, and store the result in ah.
24857 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24858 (enlarge_archive): If ah->mmap_base is not NULL, use that and
24859 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24860 Declare new mmap base and len values for
24861 prepare_address_space, and store the result in new_ah.
24862 (open_archive): Declare new mmap base and len values for
24863 prepare_address_space, and store the result in ah.
24864 (close_archive): If ah->mmap_base is not NULL, use that and
24865 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24866 * sysdeps/generic/libc-mmap.h: New file.
24867
d605071e
MF
248682013-06-24 Mike Frysinger <vapier@gentoo.org>
24869
24870 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24871 (ALIGN_UP): Likewise.
24872 (PTR_ALIGN_DOWN): Likewise.
24873 (PTR_ALIGN_UP): Likewise.
24874
2f063a6e
RA
248752013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24876
24877 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24878 entry mapped to PPC_PLATFORM_POWER8.
24879 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24880 POWER8.
24881 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24882 (_dl_string_platform): Add case for exporting platform position for
24883 POWER8.
24884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24885 search path to sysdeps/powerpc/powerpc32/power8 directory.
24886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24887 search path to sysdeps/powerpc/powerpc64/power8 directory.
24888 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24889 power7 directories.
24890 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24891 power7 directories.
24892
a31ee4b3
SP
248932013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
24894
a74ca98f
SP
24895 * INSTALL: Regenerate.
24896
a31ee4b3
SP
24897 * nscd/connections.c (nscd_init): Fix comment.
24898
695c378f
JM
248992013-06-22 Joseph Myers <joseph@codesourcery.com>
24900
d8412221
JM
24901 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24902
695c378f
JM
24903 [BZ #15667]
24904 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24905 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24906
d1d54715
MR
249072013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24908
24909 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24910 DL_DST_REQ_STATIC.
24911 (DL_DST_REQ_STATIC): Remove macro.
24912
8fdda7af
JM
249132013-06-21 Joseph Myers <joseph@codesourcery.com>
24914
24915 [BZ #7006]
24916 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24917 with a shift of 0 bits.
24918
f3bc5e5a
MR
249192013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
24920
24921 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24922 $(tststatic-ENV).
24923
be09e8c9
KK
249242013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24925
24926 [BZ #15655]
24927 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24928
85c2e611
AZ
249292013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24930
24931 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24932 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24933 accepts -fno-tree-loop-distribute-patterns.
24934 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24935 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24936 recursive call.
24937 * string/memset.c (memset): Likewise.
24938 * string/test-memmove.c (simple_memmove): Disable loop transformation
24939 to library calls.
24940 * string/test-memset.c (simple_memset): Likewise.
24941 * benchtests/bench-memmove.c (simple_memmove): Likewise.
24942 * benchtests/bench-memset.c (simple_memset): Likewise.
24943 * configure: Regenerated.
24944
c91e0825
JM
249452013-06-20 Joseph Myers <joseph@codesourcery.com>
24946
b8c792af
JM
24947 * math/test-misc.c (main): Ignore fesetround failure when failures
24948 of subsequent rounding tests would be ignored.
24949
c91e0825
JM
24950 [BZ #15654]
24951 * math/fedisblxcpt.c (fedisableexcept): Return 0.
24952 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24953 * math/fegetenv.c (__fegetenv): Return 0.
24954 * math/fegetexcept.c (fegetexcept): Return 0.
24955 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24956 FE_TONEAREST.
24957 * math/feholdexcpt.c (feholdexcept): Return 0.
24958 * math/fesetenv.c (__fesetenv): Return 0.
24959 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24960 argument FE_TONEAREST.
24961 * math/feupdateenv.c (__feupdateenv): Return 0.
24962 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24963
bfcacbde
RM
249642013-06-18 Roland McGrath <roland@hack.frob.com>
24965
24966 * elf/rtld-Rules (rtld-compile-command.S): New variable.
24967 (rtld-compile-command.s, rtld-compile-command.c): New variables.
24968 ($(objpfx)rtld-%.os rules): Use them.
24969
e55a9b25
AZ
249702013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24971
24972 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24973 fields.
24974
346d65b3
RM
249752013-06-17 Roland McGrath <roland@hack.frob.com>
24976
12086fb4
RM
24977 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24978 length of target pattern, then descending length of dependency pattern.
24979 * configure.in (AWK): Require gawk 3.1.2 or newer.
24980 * manual/install.texi (Tools for Compilation): Say that we do.
24981 * configure: Regenerated.
24982
346d65b3
RM
24983 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24984 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24985 * scripts/sysd-rules.awk: ... this new script.
24986 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24987 than a glob-style pattern.
24988
1a846317
JM
249892013-06-17 Joseph Myers <joseph@codesourcery.com>
24990
24991 * math/test-misc.c (main): Do not treat incorrectly rounded
24992 conversions as failure unless ROUNDING_TESTS passes.
24993
8fc75e6f
JM
249942013-06-15 Joseph Myers <joseph@codesourcery.com>
24995
3711a167
JM
24996 [BZ #15631]
24997 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24998 restore exception state around main square root computation, then
24999 check for inexactness explicitly.
25000
8fc75e6f
JM
25001 * math/libm-test.inc (fma_test_data): Add another test.
25002
61dd6208
SP
250032013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
25004
adf23d2c
SP
25005 * manual/threads.texi (Non-POSIX Extensions): New document
25006 node. Document pthread_getattr_default_np and
25007 pthread_setattr_default_np.
25008
61dd6208
SP
25009 * Versions.def (libpthread): Add GLIBC_2.18.
25010 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25012 Likewise.
25013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25014 Likewise.
25015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25016 Likewise.
25017 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25018 Likewise.
25019 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25020 Likewise.
25021 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25022 Likewise.
25023 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25024 Likewise.
25025 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25026 Likewise.
25027 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25028 Likewise.
25029
d086fc7b
LD
250302013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
25031
25032 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25033 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25034
747ef469
SP
250352013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
25036 H.J. Lu <hjl.tools@gmail.com>
25037
25038 [BZ #15627]
25039 * sysdeps/x86_64/rtld-memset.c: Remove file.
25040 * sysdeps/x86_64/rtld-memset.S: New file.
25041
1b2feed2
JM
250422013-06-14 Joseph Myers <joseph@codesourcery.com>
25043
25044 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25045 (test_in_one_mode): Take arguments for whether the rounding mode
25046 is supported for each floating-point type.
25047 (do_test): Pass new arguments to test_in_one_mode using
25048 ROUNDING_TESTS.
25049
a58ad3f8
RM
250502013-06-13 Roland McGrath <roland@hack.frob.com>
25051
25052 * posix/tst-waitid.c (do_test): Distinguish different instances of
25053 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
25054 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25055 before entering the kernel for waitpid.
25056
c204ab28
SP
250572013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25058
25059 * NEWS: Fix note on clock function precision. Text by Roland
25060 McGrath.
25061
f4a29fba
RM
250622013-06-13 Roland McGrath <roland@hack.frob.com>
25063
25064 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25065 it into place only when and if the sanity check passes.
25066
1f24b9ad
JM
250672013-06-13 Joseph Myers <joseph@codesourcery.com>
25068
25069 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25070 output for whether conversion result is exact. Take argument
25071 indicating whether type is IBM long double.
25072 (round_for_all): Change need_exact field to ibm_ld.
25073 * stdlib/tst-strtod-round.c (struct exactness): New type.
25074 (struct test): Change bool ld_ok field to struct exactness exact.
25075 (TEST): Update all definitions for change to field.
25076 (tests): Regenerate array contents.
25077 (test_in_one_mode): Take pointer to new field instead of old ld_ok
25078 field value. Check for IBM long double here.
25079 (do_test): Update calls to test_in_one_mode.
25080
58206c68
SP
250812013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25082
25083 [BZ #12515]
25084 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25085 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25086
2d6f4c5b 250872013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
25088
25089 [BZ #15605]
25090 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25091 generated by the compiler on loop optimizations.
25092 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25093 general definitions.
25094
94f2c076
JM
250952013-06-12 Joseph Myers <joseph@codesourcery.com>
25096
25097 * math/bug-nextafter.c: Include <math-tests.h>.
25098 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25099 the relevant type.
25100 * math/bug-nexttoward.c: Include <math-tests.h>.
25101 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25102 the relevant type.
25103 * math/test-misc.c: Include <math-tests.h>.
25104 (main): Only test for exceptions if EXCEPTION_TESTS is true for
25105 the relevant type.
25106
e0e50a0a
AJ
251072013-06-12 Andreas Jaeger <aj@suse.de>
25108
25109 * po/ia.po: Update Interlingua translation from translation
25110 project.
25111
25061094
SP
251122013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
25113
25114 * include/fenv.h: Include stdbool.h.
25115 (struct rm_ctx): New structure.
25116 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25117 Define macro.
25118 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25119 (SET_RESTORE_ROUNDF): Likewise.
25120 (SET_RESTORE_ROUNDL): Likewise.
25121 (SET_RESTORE_ROUND_NOEX): Likewise.
25122 (SET_RESTORE_ROUND_NOEXF): Likewise.
25123 (SET_RESTORE_ROUND_NOEXL): Likewise.
25124 (SET_RESTORE_ROUND_53BIT): Likewise.
25125 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25126 (libc_feresetround_noexf_ctx): Likewise.
25127 (libc_feresetround_noexl_ctx): Likewise.
25128 (libc_feholdsetround_53bit_ctx): Likewise.
25129 (libc_feresetround_53bit_ctx): Likewise.
25130 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25131 (libc_feholdexcept_setround_sse_ctx): New function.
25132 (libc_fesetenv_sse_ctx): Likewise.
25133 (libc_feupdateenv_sse_ctx): Likewise.
25134 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25135 (libc_feholdexcept_setround_387_ctx): Likewise.
25136 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25137 (libc_feholdsetround_387_prec_ctx): Likewise.
25138 (libc_feholdsetround_387_ctx): Likewise.
25139 (libc_feholdsetround_387_53bit_ctx): Likewise.
25140 (libc_feholdsetround_sse_ctx): Likewise.
25141 (libc_feresetround_sse_ctx): Likewise.
25142 (libc_feresetround_387_ctx): Likewise.
25143 (libc_feupdateenv_387_ctx): Likewise.
25144 (libc_feholdexcept_setroundf_ctx): Define macro.
25145 (libc_fesetenvf_ctx): Likewise.
25146 (libc_feupdateenvf_ctx): Likewise.
25147 (libc_feholdsetroundf_ctx): Likewise.
25148 (libc_feresetroundf_ctx): Likewise.
25149 (libc_feholdexcept_setround_ctx): Likewise.
25150 (libc_fesetenv_ctx): Likewise.
25151 (libc_feupdateenv_ctx): Likewise.
25152 (libc_feholdsetround_ctx): Likewise.
25153 (libc_feresetround_ctx): Likewise.
25154 (libc_feholdexcept_setroundl_ctx): Likewise.
25155 (libc_feupdateenvl_ctx): Likewise.
25156 (libc_feholdsetroundl_ctx): Likewise.
25157 (libc_feresetroundl_ctx): Likewise.
25158 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25159 (libc_feresetround_53bit_ctx): Likewise.
25160
59b30555
SP
251612013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25162
25163 * locale/iso-639.def: Convert to UTF-8.
25164
f1d73d30
JM
251652013-06-11 Joseph Myers <joseph@codesourcery.com>
25166
25167 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25168 (EXCEPTION_TESTS_double): Likewise.
25169 (EXCEPTION_TESTS_long_double): Likewise.
25170 (EXCEPTION_TESTS): Likewise.
25171 * math/libm-test.inc (test_exceptions): Only test exceptions if
25172 EXCEPTION_TESTS (FLOAT).
25173
94aca5e7
SP
251742013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25175
25176 * benchtests/Makefile (string-bench): Add strcpy_chk and
25177 stpcpy_chk.
25178 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25179 * benchtests/bench-stpcpy_chk.c: New file.
25180 * benchtests/bench-strcpy_chk-ifunc.c: New file.
25181 * benchtests/bench-strcpy_chk.c: New file.
25182 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25183 code.
25184 (do_test): Likewise.
25185
fac0c5f2
RA
251862013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25187
25188 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25189 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25190 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25191 with tabs where appropriate.
25192 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25193 dl-procinfo.h.
25194 [PPC_PLATFORM_PPC440]: Likewise.
25195 [PPC_PLATFORM_PPC464]: Likewise.
25196 [PPC_PLATFORM_PPC476]: Likewise.
25197 (_dl_string_platform): Add support for detecting ppc405, ppc440,
25198 ppc464, and ppc476 platform strings merging from ports/
25199 dl-procinfo.h.
25200
f22bc486
AS
252012013-06-11 Andreas Schwab <schwab@suse.de>
25202
25203 [BZ #14991]
25204 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25205 (from_ucs4_idx): Regenerate.
25206 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25207 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25208 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25209 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25210 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25211 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25212 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25213 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25214 from FROM_LOOP and TO_LOOP specific macros.
25215 (BODY): Handle combining characters.
25216 * iconvdata/BIG5HKSCS.irreversible: Update.
25217 * iconvdata/BIG5HKSCS.precomposed: New file.
25218 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25219 characters.
25220 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25221
c1f75dc3
SP
252222013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25223
4eacded2
SP
25224 * include/sys/time.h: Fix indentation and add copyright header.
25225
fec799f8
SP
25226 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25227 (do_test): Likewise.
25228 * string/test-memchr.c (do_one_test): Likewise.
25229 (do_test): Likewise.
25230 * string/test-memcmp.c (do_one_test): Likewise.
25231 (do_test): Likewise.
25232 * string/test-memcpy.c (do_one_test): Likewise.
25233 (do_test): Likewise.
25234 * string/test-memmem.c (do_one_test): Likewise.
25235 (do_test): Likewise.
25236 (do_random_tests): Likewise.
25237 * string/test-memmove.c (do_one_test): Likewise.
25238 (do_test): Likewise.
25239 * string/test-memset.c (do_one_test): Likewise.
25240 (do_test): Likewise.
25241 * string/test-rawmemchr.c (do_one_test): Likewise.
25242 (do_test): Likewise.
25243 * string/test-strcasecmp.c (do_one_test): Likewise.
25244 (do_test): Likewise.
25245 * string/test-strcasestr.c (do_one_test): Likewise.
25246 (do_test): Likewise.
25247 * string/test-strcat.c (do_one_test): Likewise.
25248 (do_test): Likewise.
25249 * string/test-strchr.c (do_one_test): Likewise.
25250 (do_test): Likewise.
25251 * string/test-strcmp.c (do_one_test): Likewise.
25252 (do_test): Likewise.
25253 * string/test-strcpy.c (do_one_test): Likewise.
25254 (do_test): Likewise.
25255 * string/test-string.h: Likewise.
25256 (test_init): Likewise.
25257 * string/test-strlen.c (do_one_test): Likewise.
25258 (do_test): Likewise.
25259 * string/test-strncasecmp.c (do_one_test): Likewise.
25260 (do_test): Likewise.
25261 * string/test-strncat.c (do_one_test): Likewise.
25262 (do_test): Likewise.
25263 * string/test-strncmp.c (do_one_test): Likewise.
25264 (do_test_limit): Likewise.
25265 (do_test): Likewise.
25266 * string/test-strncpy.c (do_one_test): Likewise.
25267 (do_test): Likewise.
25268 * string/test-strnlen.c (do_one_test): Likewise.
25269 (do_test): Likewise.
25270 * string/test-strpbrk.c (do_one_test): Likewise.
25271 (do_test): Likewise.
25272 * string/test-strrchr.c (do_one_test): Likewise.
25273 (do_test): Likewise.
25274 * string/test-strspn.c (do_one_test): Likewise.
25275 (do_test): Likewise.
25276 * string/test-strstr.c (do_one_test): Likewise.
25277 (do_test): Likewise.
25278
97020474
SP
25279 * benchtests/Makefile (string-bench): Add string benchmarks.
25280 * benchtests/bench-bcopy-ifunc.c: New file.
25281 * benchtests/bench-bcopy.c: New file.
25282 * benchtests/bench-bzero-ifunc.c: New file.
25283 * benchtests/bench-bzero.c: New file.
25284 * benchtests/bench-memccpy-ifunc.c: New file.
25285 * benchtests/bench-memccpy.c: New file.
25286 * benchtests/bench-memchr-ifunc.c: New file.
25287 * benchtests/bench-memchr.c: New file.
25288 * benchtests/bench-memcmp-ifunc.c: New file.
25289 * benchtests/bench-memcmp.c: New file.
25290 * benchtests/bench-memmem-ifunc.c: New file.
25291 * benchtests/bench-memmem.c: New file.
25292 * benchtests/bench-memmove-ifunc.c: New file.
25293 * benchtests/bench-memmove.c: New file.
25294 * benchtests/bench-mempcpy-ifunc.c: New file.
25295 * benchtests/bench-mempcpy.c: New file.
25296 * benchtests/bench-memset-ifunc.c: New file.
25297 * benchtests/bench-memset.c: New file.
25298 * benchtests/bench-rawmemchr-ifunc.c: New file.
25299 * benchtests/bench-rawmemchr.c: New file.
25300 * benchtests/bench-stpcpy-ifunc.c: New file.
25301 * benchtests/bench-stpcpy.c: New file.
25302 * benchtests/bench-stpncpy-ifunc.c: New file.
25303 * benchtests/bench-stpncpy.c: New file.
25304 * benchtests/bench-strcasecmp-ifunc.c: New file.
25305 * benchtests/bench-strcasecmp.c: New file.
25306 * benchtests/bench-strcasestr-ifunc.c: New file.
25307 * benchtests/bench-strcasestr.c: New file.
25308 * benchtests/bench-strcat-ifunc.c: New file.
25309 * benchtests/bench-strcat.c: New file.
25310 * benchtests/bench-strchr-ifunc.c: New file.
25311 * benchtests/bench-strchr.c: New file.
25312 * benchtests/bench-strchrnul-ifunc.c: New file.
25313 * benchtests/bench-strchrnul.c: New file.
25314 * benchtests/bench-strcmp-ifunc.c: New file.
25315 * benchtests/bench-strcmp.c: New file.
25316 * benchtests/bench-strcpy-ifunc.c: New file.
25317 * benchtests/bench-strcpy.c: New file.
25318 * benchtests/bench-strcspn-ifunc.c: New file.
25319 * benchtests/bench-strcspn.c: New file.
25320 * benchtests/bench-strlen-ifunc.c: New file.
25321 * benchtests/bench-strlen.c: New file.
25322 * benchtests/bench-strncasecmp-ifunc.c: New file.
25323 * benchtests/bench-strncasecmp.c: New file.
25324 * benchtests/bench-strncat-ifunc.c: New file.
25325 * benchtests/bench-strncat.c: New file.
25326 * benchtests/bench-strncmp-ifunc.c: New file.
25327 * benchtests/bench-strncmp.c: New file.
25328 * benchtests/bench-strncpy-ifunc.c: New file.
25329 * benchtests/bench-strncpy.c: New file.
25330 * benchtests/bench-strnlen-ifunc.c: New file.
25331 * benchtests/bench-strnlen.c: New file.
25332 * benchtests/bench-strpbrk-ifunc.c: New file.
25333 * benchtests/bench-strpbrk.c: New file.
25334 * benchtests/bench-strrchr-ifunc.c: New file.
25335 * benchtests/bench-strrchr.c: New file.
25336 * benchtests/bench-strspn-ifunc.c: New file.
25337 * benchtests/bench-strspn.c: New file.
25338 * benchtests/bench-strstr-ifunc.c: New file.
25339 * benchtests/bench-strstr.c: New file.
25340
c1f75dc3
SP
25341 * benchtests/Makefile: Disable parallel execution of targets.
25342 (string-bench): Add memcpy.
25343 (benchset): New variable to store a list of benchmark sets.
25344 (bench-func): Renamed from bench.
25345 (bench-set): New target.
25346 (bench): Depend on bench-func and bench-set.
25347 * benchtests/README: Add section on benchmark sets.
25348 * benchtests/bench-memcpy-ifunc.c: New file.
25349 * benchtests/bench-memcpy.c: New file.
25350 * benchtests/bench-string.h: New file.
25351
50fd745b
AS
253522013-06-11 Andreas Schwab <schwab@suse.de>
25353
25354 [BZ #15577]
25355 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25356 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25357 values in the triple.
25358 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25359 terminator in the group key.
25360
3ee7e9fe
AJ
253612013-06-11 Andreas Jaeger <aj@suse.de>
25362
25363 * po/zh_TW.po: Update Chinese (traditional) translation from
25364 translation project.
25365
89fb6835
SP
253662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
25367
25368 * include/time.h (__clock_gettime): Add libc_hidden_proto.
25369 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25370 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
25371 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25372 (clock_getcpuclockid): Likewise.
25373 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25374 Add weak_alias and libc_hidden_def.
25375 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25376 * rt/clock_gettime.c (clock_gettime): Rename to
25377 __clock_gettime. Add weak_alias and libc_hidden_def.
25378 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25379 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25380 __clock_nanosleep. Add weak_alias and libc_hidden_def.
25381 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25382 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25383 Likewise.
25384 * rt/clock_settime.c (clock_settime): Rename to
25385 __clock_settime. Add weak_alias and libc_hidden_def.
25386 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25387
0efa6f8b
JM
253882013-06-10 Joseph Myers <joseph@codesourcery.com>
25389
b8c61b4b
JM
25390 * mach/err_boot.sub: Remove trailing whitespace.
25391 * mach/err_ipc.sub: Likewise.
25392 * mach/err_mach.sub: Likewise.
25393
0efa6f8b
JM
25394 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25395 (ROUNDING_TESTS_double): Likewise.
25396 (ROUNDING_TESTS_long_double): Likewise.
25397 (ROUNDING_TESTS): Likewise.
25398 * math/libm-test.inc: Include <math-tests.h>.
25399 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25400 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25401 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25402 (IF_ROUND_INIT_FE_UPWARD): Likewise.
25403
50b818bf
SP
254042013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
25405
25406 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25407 of assigning.
25408
60d2f8f3
JM
254092013-06-08 Joseph Myers <joseph@codesourcery.com>
25410
4902d2c3
JM
25411 * sysdeps/gnu/errlist.awk: Do not generate space at end of
25412 otherwise empty TRANS lines.
25413 * sysdeps/gnu/errlist.c: Regenerated.
25414
60d2f8f3
JM
25415 * catgets/gencat.c (error_print): Use (void) in function
25416 definition.
25417 * crypt/crypt_util.c (__init_des): Likewise.
25418 * crypt/speeds.c (Stop): Likewise.
25419 (main): Likewise.
25420 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25421 * inet/ruserpass.c (token): Likewise.
25422 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25423 * intl/localealias.c (extend_alias_table): Likewise.
25424 * intl/plural-exp.c (init_germanic_plural): Likewise.
25425 * libio/fcloseall.c (__fcloseall): Likewise.
25426 * libio/genops.c (_IO_flush_all): Likewise.
25427 (_IO_flush_all_linebuffered): Likewise.
25428 (_IO_cleanup): Likewise.
25429 (_IO_iter_begin): Likewise.
25430 (_IO_iter_end): Likewise.
25431 (_IO_list_lock): Likewise.
25432 (_IO_list_unlock): Likewise.
25433 (_IO_list_resetlock): Likewise.
25434 * libio/getchar.c (getchar): Likewise.
25435 * libio/getchar_u.c (getchar_unlocked): Likewise.
25436 * libio/getwchar.c (getwchar): Likewise.
25437 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25438 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25439 * login/getpt.c (__getpt): Likewise.
25440 * login/tst-utmp.c (main): Likewise.
25441 * malloc/hooks.c (__malloc_check_init): Likewise.
25442 * malloc/malloc.c (__malloc_stats): Likewise.
25443 * malloc/mtrace.c (tr_break): Likewise.
25444 (mtrace): Likewise.
25445 (muntrace): Likewise.
25446 * misc/fstab.c (endfsent): Likewise.
25447 * misc/getclktck.c (__getclktck): Likewise.
25448 * misc/getdtsz.c (__getdtablesize): Likewise.
25449 * misc/gethostid.c (gethostid): Likewise.
25450 * misc/getpagesize.c (__getpagesize): Likewise.
25451 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25452 (__get_nprocs): Likewise.
25453 (__get_phys_pages): Likewise.
25454 (__get_avphys_pages): Likewise.
25455 * misc/getttyent.c (getttyent): Likewise.
25456 (setttyent): Likewise.
25457 (endttyent): Likewise.
25458 * misc/getusershell.c (getusershell): Likewise.
25459 (endusershell): Likewise.
25460 (setusershell): Likewise.
25461 (initshells): Likewise.
25462 * misc/hsearch.c (__hdestroy): Likewise.
25463 * misc/sync.c (sync): Likewise.
25464 * misc/syslog.c (closelog_internal): Likewise.
25465 (closelog): Likewise.
25466 * misc/ttyslot.c (ttyslot): Likewise.
25467 * misc/vhangup.c (vhangup): Likewise.
25468 * posix/fork.c (__fork): Likewise.
25469 * posix/getegid.c (__getegid): Likewise.
25470 * posix/geteuid.c (__geteuid): Likewise.
25471 * posix/getgid.c (__getgid): Likewise.
25472 * posix/getpid.c (__getpid): Likewise.
25473 * posix/getppid.c (__getppid): Likewise.
25474 * posix/getuid.c (__getuid): Likewise.
25475 * posix/pause.c (pause): Likewise.
25476 * posix/setpgrp.c (setpgrp): Likewise.
25477 * posix/setsid.c (__setsid): Likewise.
25478 * posix/test-vfork.c (noop): Likewise.
25479 * resolv/gethnamaddr.c (_endhtent): Likewise.
25480 (_gethtent): Likewise.
25481 (ht_endhostent): Likewise.
25482 (gethostent): Likewise.
25483 (dns_service): Likewise.
25484 * stdlib/drand48.c (drand48): Likewise.
25485 * stdlib/lrand48.c (lrand48): Likewise.
25486 * stdlib/mrand48.c (mrand48): Likewise.
25487 * stdlib/rand.c (rand): Likewise.
25488 * stdlib/random.c (__random): Likewise.
25489 * stdlib/setenv.c (clearenv): Likewise.
25490 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25491 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25492 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25493 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25494 (__get_nprocs): Likewise.
25495 (__get_phys_pages): Likewise.
25496 (__get_avphys_pages): Likewise.
25497 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25498 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25499 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25500 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25501 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25502 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25503 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25504 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25505 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25506 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25507 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25508 * sysdeps/mach/hurd/sync.c (sync): Likewise.
25509 * sysdeps/posix/clock.c (clock): Likewise.
25510 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25511 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25512 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25513 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25514 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25515 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25516 (__get_nprocs_conf): Likewise.
25517 (__get_phys_pages): Likewise.
25518 (__get_avphys_pages): Likewise.
25519 * time/clock.c (clock): Likewise.
25520 * time/tzset.c (__tzname_max): Likewise.
25521
2e09a79a
JM
255222013-06-07 Joseph Myers <joseph@codesourcery.com>
25523
25524 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25525 (__bswap_32): Do not use "register".
25526 * crypt/crypt.c (_ufc_doit_r): Likewise.
25527 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25528 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25529 * gmon/gmon.c (__monstartup): Likewise.
25530 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25531 * hurd/hurdmalloc.c (more_memory): Likewise.
25532 (malloc): Likewise.
25533 (free): Likewise.
25534 (realloc): Likewise.
25535 (malloc_fork_prepare): Likewise.
25536 (malloc_fork_parent): Likewise.
25537 (malloc_fork_child): Likewise.
25538 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25539 (_svcauth_des): Likewise.
25540 * inet/inet_lnaof.c (inet_lnaof): Likewise.
25541 * inet/inet_net.c (inet_network): Likewise.
25542 * inet/inet_netof.c (inet_netof): Likewise.
25543 * inet/rcmd.c (__validuser2_sa): Likewise.
25544 * io/fts.c (fts_open): Likewise.
25545 (fts_load): Likewise.
25546 (fts_close): Likewise.
25547 (fts_read): Likewise.
25548 (fts_children): Likewise.
25549 (fts_build): Likewise.
25550 (fts_stat): Likewise.
25551 (fts_sort): Likewise.
25552 (fts_alloc): Likewise.
25553 (fts_lfree): Likewise.
25554 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25555 (_IO_file_xsgetn): Likewise.
25556 (_IO_file_xsgetn_mmap): Likewise.
25557 * libio/iofopncook.c (_IO_cookie_read): Likewise.
25558 (_IO_cookie_write): Likewise.
25559 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25560 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25561 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25562 * malloc/obstack.c (_obstack_begin): Likewise.
25563 (_obstack_begin_1): Likewise.
25564 (_obstack_newchunk): Likewise.
25565 (_obstack_allocated_p): Likewise.
25566 (obstack_free): Likewise.
25567 (_obstack_memory_used): Likewise.
25568 * misc/getttyent.c (getttynam): Likewise.
25569 (getttyent): Likewise.
25570 (skip): Likewise.
25571 (value): Likewise.
25572 * misc/getusershell.c (initshells): Likewise.
25573 * misc/syslog.c (__vsyslog_chk): Likewise.
25574 * misc/ttyslot.c (ttyslot): Likewise.
25575 * nis/nis_hash.c (__nis_hash): Likewise.
25576 * posix/fnmatch_loop.c (FCT): Likewise.
25577 * posix/getconf.c (print_all): Likewise.
25578 (main): Likewise.
25579 * posix/getopt.c (exchange): Likewise.
25580 * posix/glob.c (globfree): Likewise.
25581 (prefix_array): Likewise.
25582 (__glob_pattern_type): Likewise.
25583 * resolv/arpa/nameser.h (NS_GET16): Likewise.
25584 (NS_GET32): Likewise.
25585 (NS_PUT16): Likewise.
25586 (NS_PUT32): Likewise.
25587 * resolv/gethnamaddr.c (getanswer): Likewise.
25588 (gethostbyname2): Likewise.
25589 (gethostbyaddr): Likewise.
25590 (_gethtent): Likewise.
25591 (_gethtbyname2): Likewise.
25592 (_gethtbyaddr): Likewise.
25593 * resolv/ns_print.c (dst_s_get_int16): Likewise.
25594 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25595 * resolv/res_init.c (__res_vinit): Likewise.
25596 (net_mask): Likewise.
25597 * resolv/res_mkquery.c (outchar): Likewise.
25598 (PRINT): Likewise.
25599 * stdio-common/printf_fp.c (outchar): Likewise.
25600 (PRINT): Likewise.
25601 * stdio-common/printf_fphex.c (outchar): Likewise.
25602 (PRINT): Likewise.
25603 * stdio-common/printf_size.c (outchar): Likewise.
25604 (PRINT): Likewise.
25605 * stdio-common/test_rdwr.c (main): Likewise.
25606 * stdio-common/tfformat.c (matches): Likewise.
25607 * stdio-common/vfprintf.c (outchar): Likewise.
25608 (printf_unknown): Likewise.
25609 (buffered_vfprintf): Likewise.
25610 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25611 * stdio-common/xbug.c (AppendToBuffer): Likewise.
25612 (ReadFile): Likewise.
25613 * stdlib/qsort.c (SWAP): Likewise.
25614 (_quicksort): Likewise.
25615 * stdlib/setenv.c (__add_to_environ): Likewise.
25616 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25617 * stdlib/strtol_l.c (__strtol_l): Likewise.
25618 * stdlib/tst-strtod.c (main): Likewise.
25619 * stdlib/tst-strtol.c (main): Likewise.
25620 * stdlib/tst-strtoll.c (main): Likewise.
25621 * string/bits/string2.h (__strcmp_cc): Likewise.
25622 (__strcmp_cg): Likewise.
25623 (__strcspn_c1): Likewise.
25624 (__strcspn_c2): Likewise.
25625 (__strcspn_c3): Likewise.
25626 (__strspn_c1): Likewise.
25627 (__strspn_c2): Likewise.
25628 (__strspn_c3): Likewise.
25629 (__strsep_1c): Likewise.
25630 (__strsep_2c): Likewise.
25631 (__strsep_3c): Likewise.
25632 * string/memccpy.c (__memccpy): Likewise.
25633 * string/stpcpy.c (__stpcpy): Likewise.
25634 * string/strcmp.c (strcmp): Likewise.
25635 * string/strrchr.c (strrchr): Likewise.
25636 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25637 Likewise.
25638 * sysdeps/mach/hurd/getcwd.c
25639 (_hurd_canonicalize_directory_name_internal): Likewise.
25640 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25641 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25642 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25643 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25644 Likewise, in both definitions.
25645 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25646 definitions.
25647 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25648 64] (__bswap_64): Likewise.
25649 * time/test_time.c (main): Likewise.
25650 * time/tzfile.c (__tzfile_read): Likewise.
25651 (__tzfile_compute): Likewise.
25652 * time/tzset.c (__tzset_parse_tz): Likewise.
25653 (tzset_internal): Likewise.
25654 (compute_change): Likewise.
25655 * wcsmbs/wcscat.c (__wcscat): Likewise.
25656 * wcsmbs/wcschr.c (wcschr): Likewise.
25657 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25658 * wcsmbs/wcscspn.c (wcscspn): Likewise.
25659 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25660 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25661 * wcsmbs/wcsspn.c (wcsspn): Likewise.
25662 * wcsmbs/wcsstr.c (wcsstr): Likewise.
25663 * wcsmbs/wmemchr.c (wmemchr): Likewise.
25664 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25665 * wcsmbs/wmemset.c (wmemset): Likewise.
25666
9e54314b
JM
256672013-06-06 Joseph Myers <joseph@codesourcery.com>
25668
25669 * scripts/config.guess: Update to version 2013-05-16.
25670 * scripts/config.sub: Update to version 2013-04-24.
25671 * scripts/install-sh: Update to version 2011-11-20.07.
25672 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25673 * scripts/move-if-change: Update to version 2012-01-06 07:23.
25674
350635a5
OB
256752013-06-06 Ondřej Bílka <neleai@seznam.cz>
25676
25677 * debug/fgetws_u_chk.c: Fix leading whitespaces.
25678 * elf/sln.c: Likewise.
25679 * hurd/hurd/ioctl.h: Likewise.
25680 * hurd/hurdmalloc.c: Likewise.
25681 * hurd/xattr.c: Likewise.
25682 * include/shlib-compat.h: Likewise.
25683 * inet/ruserpass.c: Likewise.
25684 * libio/iofgets_u.c: Likewise.
25685 * libio/iofgetws_u.c: Likewise.
25686 * locale/programs/ld-identification.c: Likewise.
25687 * locale/programs/ld-time.c: Likewise.
25688 * mach/msg-destroy.c: Likewise.
25689 * nss/nss_files/files-netgrp.c: Likewise.
25690 * resolv/res_data.c: Likewise.
25691 * soft-fp/op-1.h: Likewise.
25692 * soft-fp/op-2.h: Likewise.
25693 * soft-fp/op-4.h: Likewise.
25694 * soft-fp/op-common.h: Likewise.
25695 * stdio-common/printf_fphex.c: Likewise.
25696 * stdlib/strtod_l.c: Likewise.
25697 * sunrpc/rpc/clnt.h: Likewise.
25698 * sysdeps/generic/framestate.c: Likewise.
25699 * sysdeps/i386/bsd-_setjmp.S: Likewise.
25700 * sysdeps/i386/bsd-setjmp.S: Likewise.
25701 * sysdeps/i386/__longjmp.S: Likewise.
25702 * sysdeps/i386/setjmp.S: Likewise.
25703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25704 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25705 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25706 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25707 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25708 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25710 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25711 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25712 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25713 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25714 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25715 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25719 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25720 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25721 * sysdeps/ieee754/support.c: Likewise.
25722 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25723 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25724 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25725 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25726 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25727 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25728 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25729 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25730 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25731 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25732 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25733 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25734 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25735 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25736 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25737 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25738 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25740
44a988af
OB
257412013-06-05 Ondřej Bílka <neleai@seznam.cz>
25742
25506f09 25743 * posix/transbug.c: Remove executable mode.
44a988af 25744
9c84384c
JM
257452013-06-05 Joseph Myers <joseph@codesourcery.com>
25746
25747 * crypt/speeds.c: Remove trailing whitespace.
25748 * dlfcn/default.c: Likewise.
25749 * elf/ifuncdep2.c: Likewise.
25750 * elf/ifuncmain1.c: Likewise.
25751 * elf/ifuncmain1vis.c: Likewise.
25752 * elf/testobj.h: Likewise.
25753 * elf/tst-stackguard1.c: Likewise.
25754 * gmon/sys/gmon.h: Likewise.
25755 * hurd/hurdmsg.c: Likewise.
25756 * hurd/new-fd.c: Likewise.
25757 * hurd/ports-get.c: Likewise.
25758 * iconvdata/ibm1008_420.c: Likewise.
25759 * inet/tst-getni1.c: Likewise.
25760 * inet/tst-getni2.c: Likewise.
25761 * libio/ioungetc.c: Likewise.
25762 * libio/wfiledoalloc.c: Likewise.
25763 * manual/libm-err-tab.pl: Likewise.
25764 * math/w_dremf.c: Likewise.
25765 * misc/ftruncate.c: Likewise.
25766 * posix/bug-glob2.c: Likewise.
25767 * posix/tst-pcre.c: Likewise.
25768 * posix/wait4.c: Likewise.
25769 * resolv/README: Likewise.
25770 * resolv/res_debug.h: Likewise.
25771 * resolv/tst-inet_ntop.c: Likewise.
25772 * setjmp/bug269-setjmp.c: Likewise.
25773 * soft-fp/extended.h: Likewise.
25774 * soft-fp/op-1.h: Likewise.
25775 * soft-fp/op-2.h: Likewise.
25776 * soft-fp/op-4.h: Likewise.
25777 * soft-fp/op-8.h: Likewise.
25778 * soft-fp/testit.c: Likewise.
25779 * stdio-common/bug16.c: Likewise.
25780 * stdlib/random.c: Likewise.
25781 * sunrpc/rpcsvc/rquota.x: Likewise.
25782 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25783 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25784 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25785 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25786 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25787 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25788 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25789 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25790 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25791 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25792 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25793 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25794 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25795 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25796 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25797 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25798 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25799 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25800 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25801 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25802 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25803 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25804 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25805 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25806 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25807 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25809 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25810 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25811 * sysdeps/ieee754/s_lib_version.c: Likewise.
25812 * sysdeps/mach/hurd/check_fds.c: Likewise.
25813 * sysdeps/mach/hurd/getsockname.c: Likewise.
25814 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25815 * sysdeps/mach/hurd/recvfrom.c: Likewise.
25816 * sysdeps/powerpc/bits/link.h: Likewise.
25817 * sysdeps/powerpc/dl-procinfo.c: Likewise.
25818 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25819 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25820 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25821 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25822 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25823 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25824 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25825 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25826 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25827 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25828 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25829 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25830 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25831 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25832 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25833 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25834 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25835 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25836 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25837 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25838 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25839 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25840 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25841 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25842 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25843 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25844 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25845 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25846 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25847 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25848 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25849 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25850 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25851 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25852 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25853 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25854 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25855 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25856 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25857 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25858 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25859 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25860 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25861 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25862 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25863 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25864 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25865 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25866 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25867 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25868 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25869 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25870 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25871 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25872 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25873 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25874 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25875 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25876 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25877 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25878 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25879 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25880 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25881 * sysdeps/powerpc/sysdep.h: Likewise.
25882 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25883 * sysdeps/s390/s390-64/sub_n.S: Likewise.
25884 * sysdeps/sh/dl-trampoline.S: Likewise.
25885 * sysdeps/sh/memset.S: Likewise.
25886 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25887 * sysdeps/sh/strlen.S: Likewise.
25888 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25889 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25890 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25891 * sysdeps/sparc/sparc32/rem.S: Likewise.
25892 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25893 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25894 * sysdeps/sparc/sparc32/strchr.S: Likewise.
25895 * sysdeps/sparc/sparc32/udiv.S: Likewise.
25896 * sysdeps/sparc/sparc32/urem.S: Likewise.
25897 * sysdeps/sparc/sparc64/add_n.S: Likewise.
25898 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25899 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25900 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25901 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25902 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25903 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25904 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25905 * sysdeps/unix/bsd/times.c: Likewise.
25906 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25907 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25911 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25912 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25913 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25914 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25915 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25916 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25917 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25918 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25919 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25920 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25921 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25922 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25923 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25924 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25925 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25926 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25927 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25928 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25929 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25930 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25931 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25932 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25933 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25934 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25935 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25936 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25937 * sysdeps/x86_64/strcspn.S: Likewise.
25938
869378a5
RA
259392013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25940
25941 * locale/C-translit.h: Revert #include <stdint.h> because this is a
25942 generated file. Regenerate properly from gen-translit.pl.
25943 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
25944 locale/C-translit.h.
25945
840e2943
AS
259462013-06-05 Andreas Schwab <schwab@suse.de>
25947
25948 [BZ #15100]
25949 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25950 week as 6 instead of -1.
25951 * time/tst-strptime.c (day_tests): Add test case.
25952
4c60cb0c
SP
259532013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
25954
25955 * sysdeps/generic/math_private.h
25956 (libc_feholdexcept_setround_53bit): Replace with
25957 libc_feholdsetround_53bit.
25958 (libc_feupdateenv_53bit): Replace with
25959 libc_feresetround_53bit.
25960 (SET_RESTORE_ROUND_53BIT): Adjust.
25961
d180203e
SP
259622013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
25963
96df079a
SP
25964 * string/test-strchrnul.c: Add copyright header.
25965
d180203e
SP
25966 * posix/tst-getaddrinfo4.c: Increase test timeout.
25967
8b0ccb2d
CD
259682013-06-03 Carlos O'Donell <carlos@redhat.com>
25969
25970 [BZ #15536]
25971 * math/libm-test.inc (MAX_EXP): Remove
25972 (MIN_EXP): Define.
25973 (ulp): Use MIN_EXP - MANT_DIG.
25974 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25975
3b3c4d40
CD
259762013-05-31 Carlos O'Donell <carlos@redhat.com>
25977
25978 * po/be.po: Revert last change.
25979 * po/zh_CN.po: Likewise.
25980 * po/header.pot: Likewise.
25981
fab7ce3f
JM
259822013-05-31 Joseph Myers <joseph@codesourcery.com>
25983
25984 * Makefile ($(common-objpfx)linkobj/libc.so): Define
25985 link-libc-deps to empty as target-specific variable.
25986 * Makerules (link-libc-args): New variable.
25987 (libc-for-link): Likewise.
25988 (link-libc-deps): Likewise.
25989 (lib%.so): Depend on $(link-libc-deps). Link with
25990 $(link-libc-args).
25991 (build-module): Link with $(link-libc-args).
25992 (build-module-asneeded): Likewise.
25993 (build-module-helper-objlist): Filter out $(link-libc-deps) from
25994 list of objects.
25995 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25996 target-specific variable.
25997 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25998 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25999 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26000 libc.
26001 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26002 libc and ld.so.
26003 ($(objpfx)libpcprofile.so): Likewise.
26004 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26005 libc_nonshared.a.
26006 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26007 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26008 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26009 $(link-libc-deps).
26010 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26011 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26012 * login/Makefile ($(objpfx)libutil.so): Likewise.
26013 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26014 * math/Makefile ($(objpfx)libm.so): Likewise.
26015 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26016 $(objpfx)libnsl.so): Define libc-for-link as target-specific
26017 variable instead of depending directly on libc.
26018 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26019 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26020 $(link-libc-deps).
26021 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26022 libc.
26023 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26024 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26025 ($(objpfx)libanl.so): Likewise.
26026 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26027 ld.so.
26028 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26029 $(link-libc-deps).
26030 * sysdeps/i386/fpu/Makefile: Remove file.
26031 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26032 ($(objpfx)libm.so): Remove dependency on ld.so.
26033
eca5920c
PF
260342013-05-30 Patsy Franklin <pfrankli@redhat.com>
26035
26036 [BZ # 15553]
26037 * nis/yp_xdr.c (XDRMAXNAME): Define.
26038 (XDRMAXRECORD): Define.
26039 (xdr_domainname): Use XDRMAXNAME.
26040 (xdr_mapname): Likewise.
26041 (xdr_peername): Likewise.
26042 (xdr_keydat): Use XDRMAXRECORD.
26043 (xdr_valdat): Likewise.
26044
260452013-05-30 Jeff Law <law@redhat.com>
96945714
JL
26046
26047 [BZ #14256]
26048 * manual/errno.texi (ESTALE): Update to account for more than
26049 just NFS file systems.
26050 * sysdeps/gnu/errlist.c: Regenerated.
26051
b9375348
SP
260522013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
26053
26054 [BZ #15465]
26055 * elf/Makefile (tests): Add tst-null-argv.
26056 (modules-names): Add tst-null-argv-lib.
26057 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26058 (tst-null-argv-ENV): Set environment for tst-null-argv.
26059 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26060 (RTLD_PROGNAME): New macro.
26061 * elf/tst-null-argv.c: New test case.
26062 * elf/tst-null-argv-lib.c: Library for test case.
26063 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26064 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26065 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26066 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26067 * elf/dl-init.c (call_init): Likewise.
26068 (_dl_init): Likewise.
26069 * elf/dl-load.c (print_search_path): Likewise.
26070 (_dl_map_object): Likewise.
26071 * elf/dl-lookup.c (do_lookup_x): Likewise.
26072 (add_dependency): Likewise.
26073 (_dl_lookup_symbol_x): Likewise.
26074 (_dl_debug_bindings): Likewise.
26075 * elf/dl-open.c (_dl_show_scope): Likewise.
26076 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26077 * elf/dl-version.c (match_symbol): Likewise.
26078 (_dl_check_map_versions): Likewise.
26079 * elf/rtld.c (dl_main): Likewise.
26080 (print_unresolved): Use RTLD_PROGNAME.
26081 (print_missing_version): Likewise.
26082 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26083 (elf_machine_rela): Likewise.
26084 * sysdeps/powerpc/powerpc32/dl-machine.c
26085 (__process_machine_rela): Likewise.
26086 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26087 Likewise.
26088 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26089 Likewise.
26090 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26091 Likewise.
26092 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26093 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26094 Likewise.
26095 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26096 Likewise.
26097 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26098
8a9f20c8
CD
260992013-05-28 Carlos O'Donell <carlos@redhat.com>
26100
26101 * po/be.po: Add descriptive title.
26102 * po/zh_CN.po: Likewise.
26103 * po/header.pot: Likewise.
26104
0e60d68e
MF
261052013-05-28 Mike Frysinger <vapier@gentoo.org>
26106
26107 * locale/programs/locarchive.c (create_archive): Inlucde fname in
26108 error message.
26109 (enlarge_archive): Likewise.
26110
56b672e9
BN
261112013-05-28 Ben North <ben@redfrontdoor.org>
26112
26113 * manual/arith.texi (frexp): It is the magnitude of the return
26114 value which lies in [0.5, 1), not the return value itself.
26115
5e056687
AZ
261162013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26117
26118 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26119
2b66ef5d
TS
261202013-05-26 Thomas Schwinge <thomas@codesourcery.com>
26121
528c2405
TS
26122 * stdio-common/bug26.c (main): Correct fscanf template.
26123
07b4c13d
TS
26124 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26125 declare _dl_skip_args.
26126
ec9dd97c
TS
26127 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26128 Don't declare.
26129
2b66ef5d
TS
26130 * manual/platform.texi: Add missing @end deftypefun.
26131
4f8dfe27
JM
261322013-05-24 Joseph Myers <joseph@codesourcery.com>
26133
0323d086
JM
26134 [BZ #15529]
26135 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26136 bit of mantissa of 2^16382.
26137 * math/libm-test.inc (hypot_test_data): Add more tests.
26138
dd4259b9
JM
26139 * math/libm-test.inc: Add drem and pow10 to list of tested
26140 functions.
26141 (pow10_test): New function.
26142 (drem_test): Likewise.
26143 (drem_test_tonearest): Likewise.
26144 (drem_test_towardzero): Likewise.
26145 (drem_test_downward): Likewise.
26146 (drem_test_upward): Likewise.
26147 (main): Call the new functions.
26148
4f8dfe27
JM
26149 * math/libm-test.inc (finite_test_data): Remove.
26150 (finite_test): Run tests from isfinite_test_data.
26151 (gamma_test_data): Remove.
26152 (gamma_test): Run tests from lgamma_test_data.
26153 * sysdeps/i386/fpu/libm-test-ulps: Update.
26154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26155
d116b7c4
AZ
261562013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26157
26158 * manual/platform.texi: Add PowerPC PPR function set documentation.
26159 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26160 implementation.
26161
e96e3767
CD
261622013-05-24 Carlos O'Donell <carlos@redhat.com>
26163
26164 * math/libm-test.inc (MAX_EXP): Define.
26165 (ULPDIFF): Define.
26166 (ulp): New function.
26167 (check_float_internal): Use ULPDIFF.
26168 (cpow_test): Disable failing test.
26169 (check_ulp): Test ulp() implemetnation.
26170 (main): Call check_ulp before starting tests.
26171
b679a606
JM
261722013-05-24 Joseph Myers <joseph@codesourcery.com>
26173
e8bdba36
JM
26174 * math/gen-libm-test.pl (generate_testfile): Do not handle
26175 START_DATA and END_DATA.
26176 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26177 END_DATA.
26178 (acos_tonearest_test_data): Likewise.
26179 (acos_towardzero_test_data): Likewise.
26180 (acos_downward_test_data): Likewise.
26181 (acos_upward_test_data): Likewise.
26182 (acosh_test_data): Likewise.
26183 (asin_test_data): Likewise.
26184 (asin_tonearest_test_data): Likewise.
26185 (asin_towardzero_test_data): Likewise.
26186 (asin_downward_test_data): Likewise.
26187 (asin_upward_test_data): Likewise.
26188 (asinh_test_data): Likewise.
26189 (atan_test_data): Likewise.
26190 (atanh_test_data): Likewise.
26191 (atan2_test_data): Likewise.
26192 (cabs_test_data): Likewise.
26193 (cacos_test_data): Likewise.
26194 (cacosh_test_data): Likewise.
26195 (carg_test_data): Likewise.
26196 (casin_test_data): Likewise.
26197 (casinh_test_data): Likewise.
26198 (catan_test_data): Likewise.
26199 (catanh_test_data): Likewise.
26200 (cbrt_test_data): Likewise.
26201 (ccos_test_data): Likewise.
26202 (ccosh_test_data): Likewise.
26203 (ceil_test_data): Likewise.
26204 (cexp_test_data): Likewise.
26205 (cimag_test_data): Likewise.
26206 (clog_test_data): Likewise.
26207 (clog10_test_data): Likewise.
26208 (conj_test_data): Likewise.
26209 (copysign_test_data): Likewise.
26210 (cos_test_data): Likewise.
26211 (cos_tonearest_test_data): Likewise.
26212 (cos_towardzero_test_data): Likewise.
26213 (cos_downward_test_data): Likewise.
26214 (cos_upward_test_data): Likewise.
26215 (cosh_test_data): Likewise.
26216 (cosh_tonearest_test_data): Likewise.
26217 (cosh_towardzero_test_data): Likewise.
26218 (cosh_downward_test_data): Likewise.
26219 (cosh_upward_test_data): Likewise.
26220 (cpow_test_data): Likewise.
26221 (cproj_test_data): Likewise.
26222 (creal_test_data): Likewise.
26223 (csin_test_data): Likewise.
26224 (csinh_test_data): Likewise.
26225 (csqrt_test_data): Likewise.
26226 (ctan_test_data): Likewise.
26227 (ctan_tonearest_test_data): Likewise.
26228 (ctan_towardzero_test_data): Likewise.
26229 (ctan_downward_test_data): Likewise.
26230 (ctan_upward_test_data): Likewise.
26231 (ctanh_test_data): Likewise.
26232 (ctanh_tonearest_test_data): Likewise.
26233 (ctanh_towardzero_test_data): Likewise.
26234 (ctanh_downward_test_data): Likewise.
26235 (ctanh_upward_test_data): Likewise.
26236 (erf_test_data): Likewise.
26237 (erfc_test_data): Likewise.
26238 (exp_test_data): Likewise.
26239 (exp_tonearest_test_data): Likewise.
26240 (exp_towardzero_test_data): Likewise.
26241 (exp_downward_test_data): Likewise.
26242 (exp_upward_test_data): Likewise.
26243 (exp10_test_data): Likewise.
26244 (exp2_test_data): Likewise.
26245 (expm1_test_data): Likewise.
26246 (fabs_test_data): Likewise.
26247 (fdim_test_data): Likewise.
26248 (finite_test_data): Likewise.
26249 (floor_test_data): Likewise.
26250 (fma_test_data): Likewise.
26251 (fma_towardzero_test_data): Likewise.
26252 (fma_downward_test_data): Likewise.
26253 (fma_upward_test_data): Likewise.
26254 (fmax_test_data): Likewise.
26255 (fmin_test_data): Likewise.
26256 (fmod_test_data): Likewise.
26257 (fpclassify_test_data): Likewise.
26258 (frexp_test_data): Likewise.
26259 (gamma_test_data): Likewise.
26260 (hypot_test_data): Likewise.
26261 (ilogb_test_data): Likewise.
26262 (isfinite_test_data): Likewise.
26263 (isgreater_test_data): Likewise.
26264 (isgreaterequal_test_data): Likewise.
26265 (isinf_test_data): Likewise.
26266 (isless_test_data): Likewise.
26267 (islessequal_test_data): Likewise.
26268 (islessgreater_test_data): Likewise.
26269 (isnan_test_data): Likewise.
26270 (isnormal_test_data): Likewise.
26271 (issignaling_test_data): Likewise.
26272 (isunordered_test_data): Likewise.
26273 (j0_test_data): Likewise.
26274 (j1_test_data): Likewise.
26275 (jn_test_data): Likewise.
26276 (ldexp_test_data): Likewise.
26277 (lgamma_test_data): Likewise.
26278 (lrint_test_data): Likewise.
26279 (lrint_tonearest_test_data): Likewise.
26280 (lrint_towardzero_test_data): Likewise.
26281 (lrint_downward_test_data): Likewise.
26282 (lrint_upward_test_data): Likewise.
26283 (llrint_test_data): Likewise.
26284 (llrint_tonearest_test_data): Likewise.
26285 (llrint_towardzero_test_data): Likewise.
26286 (llrint_downward_test_data): Likewise.
26287 (llrint_upward_test_data): Likewise.
26288 (log_test_data): Likewise.
26289 (log10_test_data): Likewise.
26290 (log1p_test_data): Likewise.
26291 (log2_test_data): Likewise.
26292 (logb_test_data): Likewise.
26293 (logb_downward_test_data): Likewise.
26294 (lround_test_data): Likewise.
26295 (llround_test_data): Likewise.
26296 (modf_test_data): Likewise.
26297 (nearbyint_test_data): Likewise.
26298 (nextafter_test_data): Likewise.
26299 (nexttoward_test_data): Likewise.
26300 (pow_test_data): Likewise.
26301 (pow_tonearest_test_data): Likewise.
26302 (pow_towardzero_test_data): Likewise.
26303 (pow_downward_test_data): Likewise.
26304 (pow_upward_test_data): Likewise.
26305 (remainder_test_data): Likewise.
26306 (remainder_tonearest_test_data): Likewise.
26307 (remainder_towardzero_test_data): Likewise.
26308 (remainder_downward_test_data): Likewise.
26309 (remainder_upward_test_data): Likewise.
26310 (remquo_test_data): Likewise.
26311 (rint_test_data): Likewise.
26312 (rint_tonearest_test_data): Likewise.
26313 (rint_towardzero_test_data): Likewise.
26314 (rint_downward_test_data): Likewise.
26315 (rint_upward_test_data): Likewise.
26316 (round_test_data): Likewise.
26317 (scalb_test_data): Likewise.
26318 (scalbn_test_data): Likewise.
26319 (scalbln_test_data): Likewise.
26320 (signbit_test_data): Likewise.
26321 (sin_test_data): Likewise.
26322 (sin_tonearest_test_data): Likewise.
26323 (sin_towardzero_test_data): Likewise.
26324 (sin_downward_test_data): Likewise.
26325 (sin_upward_test_data): Likewise.
26326 (sincos_test_data): Likewise.
26327 (sinh_test_data): Likewise.
26328 (sinh_tonearest_test_data): Likewise.
26329 (sinh_towardzero_test_data): Likewise.
26330 (sinh_downward_test_data): Likewise.
26331 (sinh_upward_test_data): Likewise.
26332 (sqrt_test_data): Likewise.
26333 (tan_test_data): Likewise.
26334 (tan_tonearest_test_data): Likewise.
26335 (tan_towardzero_test_data): Likewise.
26336 (tan_downward_test_data): Likewise.
26337 (tan_upward_test_data): Likewise.
26338 (tanh_test_data): Likewise.
26339 (tgamma_test_data): Likewise.
26340 (trunc_test_data): Likewise.
26341 (y0_test_data): Likewise.
26342 (y1_test_data): Likewise.
26343 (yn_test_data): Likewise.
26344 (significand_test_data): Likewise.
26345
b679a606
JM
26346 * math/gen-libm-test.pl (@functions): Remove variable.
26347 (generate_testfile): Don't handle START and END lines.
26348 * math/libm-test.inc (START): New macro.
26349 (END): Likewise.
26350 (END_COMPLEX): Likewise.
26351 (acos_test): Use END macro without arguments.
26352 (acos_test_tonearest): Likewise.
26353 (acos_test_towardzero): Likewise.
26354 (acos_test_downward): Likewise.
26355 (acos_test_upward): Likewise.
26356 (acosh_test): Likewise.
26357 (asin_test): Likewise.
26358 (asin_test_tonearest): Likewise.
26359 (asin_test_towardzero): Likewise.
26360 (asin_test_downward): Likewise.
26361 (asin_test_upward): Likewise.
26362 (asinh_test): Likewise.
26363 (atan_test): Likewise.
26364 (atanh_test): Likewise.
26365 (atan2_test): Likewise.
26366 (cabs_test): Likewise.
26367 (cacos_test): Use END_COMPLEX macro without arguments.
26368 (cacosh_test): Likewise.
26369 (carg_test): Use END macro without arguments.
26370 (casin_test): Use END_COMPLEX macro without arguments.
26371 (casinh_test): Likewise.
26372 (catan_test): Likewise.
26373 (catanh_test): Likewise.
26374 (cbrt_test): Use END macro without arguments.
26375 (ccos_test): Use END_COMPLEX macro without arguments.
26376 (ccosh_test): Likewise.
26377 (ceil_test): Use END macro without arguments.
26378 (cexp_test): Use END_COMPLEX macro without arguments.
26379 (cimag_test): Use END macro without arguments.
26380 (clog_test): Use END_COMPLEX macro without arguments.
26381 (clog10_test): Likewise.
26382 (conj_test): Likewise.
26383 (copysign_test): Use END macro without arguments.
26384 (cos_test): Likewise.
26385 (cos_test_tonearest): Likewise.
26386 (cos_test_towardzero): Likewise.
26387 (cos_test_downward): Likewise.
26388 (cos_test_upward): Likewise.
26389 (cosh_test): Likewise.
26390 (cosh_test_tonearest): Likewise.
26391 (cosh_test_towardzero): Likewise.
26392 (cosh_test_downward): Likewise.
26393 (cosh_test_upward): Likewise.
26394 (cpow_test): Use END_COMPLEX macro without arguments.
26395 (cproj_test): Likewise.
26396 (creal_test): Use END macro without arguments.
26397 (csin_test): Use END_COMPLEX macro without arguments.
26398 (csinh_test): Likewise.
26399 (csqrt_test): Likewise.
26400 (ctan_test): Likewise.
26401 (ctan_test_tonearest): Likewise.
26402 (ctan_test_towardzero): Likewise.
26403 (ctan_test_downward): Likewise.
26404 (ctan_test_upward): Likewise.
26405 (ctanh_test): Likewise.
26406 (ctanh_test_tonearest): Likewise.
26407 (ctanh_test_towardzero): Likewise.
26408 (ctanh_test_downward): Likewise.
26409 (ctanh_test_upward): Likewise.
26410 (erf_test): Use END macro without arguments.
26411 (erfc_test): Likewise.
26412 (exp_test): Likewise.
26413 (exp_test_tonearest): Likewise.
26414 (exp_test_towardzero): Likewise.
26415 (exp_test_downward): Likewise.
26416 (exp_test_upward): Likewise.
26417 (exp10_test): Likewise.
26418 (exp2_test): Likewise.
26419 (expm1_test): Likewise.
26420 (fabs_test): Likewise.
26421 (fdim_test): Likewise.
26422 (finite_test): Likewise.
26423 (floor_test): Likewise.
26424 (fma_test): Likewise.
26425 (fma_test_towardzero): Likewise.
26426 (fma_test_downward): Likewise.
26427 (fma_test_upward): Likewise.
26428 (fmax_test): Likewise.
26429 (fmin_test): Likewise.
26430 (fmod_test): Likewise.
26431 (fpclassify_test): Likewise.
26432 (frexp_test): Likewise.
26433 (gamma_test): Likewise.
26434 (hypot_test): Likewise.
26435 (ilogb_test): Likewise.
26436 (isfinite_test): Likewise.
26437 (isgreater_test): Likewise.
26438 (isgreaterequal_test): Likewise.
26439 (isinf_test): Likewise.
26440 (isless_test): Likewise.
26441 (islessequal_test): Likewise.
26442 (islessgreater_test): Likewise.
26443 (isnan_test): Likewise.
26444 (isnormal_test): Likewise.
26445 (issignaling_test): Likewise.
26446 (isunordered_test): Likewise.
26447 (j0_test): Likewise.
26448 (j1_test): Likewise.
26449 (jn_test): Likewise.
26450 (ldexp_test): Likewise.
26451 (lgamma_test): Likewise.
26452 (lrint_test): Likewise.
26453 (lrint_test_tonearest): Likewise.
26454 (lrint_test_towardzero): Likewise.
26455 (lrint_test_downward): Likewise.
26456 (lrint_test_upward): Likewise.
26457 (llrint_test): Likewise.
26458 (llrint_test_tonearest): Likewise.
26459 (llrint_test_towardzero): Likewise.
26460 (llrint_test_downward): Likewise.
26461 (llrint_test_upward): Likewise.
26462 (log_test): Likewise.
26463 (log10_test): Likewise.
26464 (log1p_test): Likewise.
26465 (log2_test): Likewise.
26466 (logb_test): Likewise.
26467 (logb_test_downward): Likewise.
26468 (lround_test): Likewise.
26469 (llround_test): Likewise.
26470 (modf_test): Likewise.
26471 (nearbyint_test): Likewise.
26472 (nextafter_test): Likewise.
26473 (nexttoward_test): Likewise.
26474 (pow_test): Likewise.
26475 (pow_test_tonearest): Likewise.
26476 (pow_test_towardzero): Likewise.
26477 (pow_test_downward): Likewise.
26478 (pow_test_upward): Likewise.
26479 (remainder_test): Likewise.
26480 (remainder_test_tonearest): Likewise.
26481 (remainder_test_towardzero): Likewise.
26482 (remainder_test_downward): Likewise.
26483 (remainder_test_upward): Likewise.
26484 (remquo_test): Likewise.
26485 (rint_test): Likewise.
26486 (rint_test_tonearest): Likewise.
26487 (rint_test_towardzero): Likewise.
26488 (rint_test_downward): Likewise.
26489 (rint_test_upward): Likewise.
26490 (round_test): Likewise.
26491 (scalb_test): Likewise.
26492 (scalbn_test): Likewise.
26493 (scalbln_test): Likewise.
26494 (signbit_test): Likewise.
26495 (sin_test): Likewise.
26496 (sin_test_tonearest): Likewise.
26497 (sin_test_towardzero): Likewise.
26498 (sin_test_downward): Likewise.
26499 (sin_test_upward): Likewise.
26500 (sincos_test): Likewise.
26501 (sinh_test): Likewise.
26502 (sinh_test_tonearest): Likewise.
26503 (sinh_test_towardzero): Likewise.
26504 (sinh_test_downward): Likewise.
26505 (sinh_test_upward): Likewise.
26506 (sqrt_test): Likewise.
26507 (tan_test): Likewise.
26508 (tan_test_tonearest): Likewise.
26509 (tan_test_towardzero): Likewise.
26510 (tan_test_downward): Likewise.
26511 (tan_test_upward): Likewise.
26512 (tanh_test): Likewise.
26513 (tgamma_test): Likewise.
26514 (trunc_test): Likewise.
26515 (y0_test): Likewise.
26516 (y1_test): Likewise.
26517 (yn_test): Likewise.
26518 (significand_test): Likewise.
26519
bae143d2
OB
265202013-05-24 Ondřej Bílka <neleai@seznam.cz>
26521
26522 [BZ #15381]
26523 * libio/genops.c (_IO_no_init): Initialize wide struct info.
26524
9323d39b
EM
265252013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
26526
d4ea44a0 26527 [BZ #14894]
9323d39b
EM
26528 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26529 __ppc_mdoio and __ppc_mdoom.
26530 * manual/platform.texi: Document new functions __ppc_yield,
26531 __ppc_mdoio and __ppc_mdoom.
26532
13e23af7
CD
265332013-05-22 Carlos O'Donell <carlos@redhat.com>
26534
26535 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26536 (main): Mention "tls" pseudo-hwcap is legacy.
26537 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26538
351fe550
JM
265392013-05-22 Joseph Myers <joseph@codesourcery.com>
26540
26541 * math/gen-libm-test.pl (parse_args): Output only string of
26542 arguments as text for test name, not full call or descriptions of
26543 tests for extra outputs.
26544 (generate_testfile): Do not pass function name to parse_args.
26545 Generate this_func variable from START.
26546 * math/libm-test.inc (struct test_f_f_data): Rename test_name
26547 field to arg_str.
26548 (struct test_ff_f_data): Likewise.
26549 (test_ff_f_data_nexttoward): Likewise.
26550 (struct test_fi_f_data): Likewise.
26551 (struct test_fl_f_data): Likewise.
26552 (struct test_if_f_data): Likewise.
26553 (struct test_fff_f_data): Likewise.
26554 (struct test_c_f_data): Likewise.
26555 (struct test_f_f1_data): Likewise. Remove field extra_name.
26556 (struct test_fF_f1_data): Likewise.
26557 (struct test_ffI_f1_data): Likewise.
26558 (struct test_c_c_data): Rename test_name field to arg_str.
26559 (struct test_cc_c_data): Likewise.
26560 (struct test_f_i_data): Likewise.
26561 (struct test_ff_i_data): Likewise.
26562 (struct test_f_l_data): Likewise.
26563 (struct test_f_L_data): Likewise.
26564 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
26565 and extra2_name.
26566 (COMMON_TEST_SETUP): New macro.
26567 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26568 (COMMON_TEST_CLEANUP): Likewise.
26569 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26570 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
26571 macros.
26572 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26573 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
26574 macros.
26575 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26576 (RUN_TEST_fff_f): Take argument string. Call new setup and
26577 cleanup macros.
26578 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26579 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
26580 macros.
26581 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26582 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
26583 macros.
26584 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26585 (RUN_TEST_fF_f1): Take argument string. Call new setup and
26586 cleanup macros.
26587 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26588 (RUN_TEST_fI_f1): Take argument string. Call new setup and
26589 cleanup macros.
26590 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26591 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
26592 cleanup macros.
26593 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26594 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
26595 macros.
26596 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26597 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
26598 macros.
26599 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26600 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
26601 macros.
26602 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26603 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
26604 cleanup macros.
26605 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26606 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
26607 cleanup macros.
26608 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26609 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
26610 macros.
26611 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26612 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
26613 cleanup macros.
26614 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26615 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
26616 macros.
26617 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26618 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
26619 macros.
26620 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26621 (RUN_TEST_fFF_11): Take argument string. Call new setup and
26622 cleanup macros.
26623 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26624
85118d4d
EBM
266252013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
26626
26627 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26628 to _sifields.sigfault.
26629 (si_addr_lsb): Define new macro.
26630 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26631 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26632 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26633
7a44c18f
CD
266342013-05-03 Carlos O'Donell <carlos at redhat.com>
26635
26636 [BZ #15441]
26637 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26638 returns -1.
26639 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26640 null return -1.
26641 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26642 loading the domain.
26643
b50a7181
JM
266442013-05-22 Joseph Myers <joseph@codesourcery.com>
26645
26646 * math/gen-libm-test.pl (parse_args): Do not include expected
26647 result in test name.
26648 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26649 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26650 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26651 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26652 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26654
051063c8
SP
266552013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26656
3ce9e010
SP
26657 * benchtests/Makefile: Sort function entries.
26658
051063c8
SP
26659 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26660 tanh, asinh, acosh, atanh.
26661 * benchtests/acos-inputs: New file.
26662 * benchtests/acosh-inputs: New file.
26663 * benchtests/asin-inputs: New file.
26664 * benchtests/asinh-inputs: New file.
26665 * benchtests/atanh-inputs: New file.
26666 * benchtests/cosh-inputs: New file.
26667 * benchtests/log-inputs: New file.
26668 * benchtests/sinh-inputs: New file.
26669 * benchtests/tanh-inputs: New file.
26670
47c22455
DL
266712013-05-21 Dmitry V. Levin <ldv@altlinux.org>
26672
26673 [BZ #15339]
26674 * posix/tst-getaddrinfo4.c: New test.
26675 * posix/Makefile (tests): Add it.
26676
3d04f5db
SP
266772013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26678
26679 [BZ #15339]
26680 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26681 when no services were used.
26682 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26683 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26684
d5dd6189
AS
266852013-05-21 Andreas Schwab <schwab@suse.de>
26686
26687 [BZ #15014]
26688 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26689 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26690 successful.
26691 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26692 redundant variable declarations and reallocation of buffer when
26693 parsing as IPv6 address. Always set NSS status when called from
26694 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
26695 buffer too small. Correct computation of needed size.
26696 * nss/Makefile (tests): Add test-digits-dots.
26697 * nss/test-digits-dots.c: New test.
26698
fef94eab
SP
266992013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
26700
26701 * benchtests/Makefile: Remove instructions for adding
26702 benchmark tests.
26703 * benchtests/README: New file to explain how to execute and
26704 enhance the benchmark tests.
26705
e39adf43
AS
267062013-05-21 Andreas Schwab <schwab@suse.de>
26707
26708 [BZ #15493]
26709 * setjmp/Makefile (tests): Add tst-sigsetjmp.
26710 * setjmp/tst-sigsetjmp.c: New test.
26711
b2b671b6
OB
267122013-05-20 Ondřej Bílka <neleai@seznam.cz>
26713
26714 * sysdeps/x86_64/memset.S (memset): New implementation.
26715 (__bzero): Likewise.
26716 (__memset_tail): New function.
26717
2d48b41c
OB
267182013-05-20 Ondřej Bílka <neleai@seznam.cz>
26719
26720 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26721 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26722 __memcpy_sse2_unaligned ifunc selection.
26723 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26724 Add memcpy-sse2-unaligned.S.
26725 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26726 Add: __memcpy_sse2_unaligned.
26727
f16cc3eb
JM
267282013-05-19 Joseph Myers <joseph@codesourcery.com>
26729
3e694268
JM
26730 [BZ #15490]
26731 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26732 math_force_eval before restoring floating-point envrionment.
26733 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26734 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26735 Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26737 <math_private.h>.
26738 (__nearbyintl): Use math_force_eval before restoring
26739 floating-point environment.
26740 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26741
db62a907
JM
26742 * math/gen-libm-test.pl (special_functions): Remove.
26743 (parse_args): Don't handle TEST_extra. Handle functions with no
26744 return value.
26745 * math/libm-test.inc (struct test_sincos_data): Replace with
26746 struct test_fFF_11_data.
26747 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26748 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26749 (sincos_test_data): Change element type to struct
26750 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
26751 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26752 RUN_TEST_LOOP_sincos.
26753 * math/README.libm-test: Don't mention special handling of
26754 individual functions.
26755 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26756 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26757 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26758 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26759 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26760 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26761
f16cc3eb
JM
26762 * math/gen-libm-test.pl (get_variable): Remove function.
26763 (parse_args): Don't show pointer parameters to call in test
26764 names. Use "extra output N" in test names for extra outputs
26765 rather than naming variables.
26766
3779b5b6
JM
267672013-05-18 Joseph Myers <joseph@codesourcery.com>
26768
2ee094ff
JM
26769 [BZ #15488]
26770 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26771 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26772 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26773 double tests.
26774 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26775 disable.
26776 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26777 check_long_double.
26778
3779b5b6
JM
26779 * math/gen-libm-test.pl (@tests): Remove variable.
26780 ($count): Likewise.
26781 (new_test): Remove function.
26782 (show_exceptions): New function.
26783 (special_functions): Use show_exceptions instead of new_test.
26784 (parse_args): Likewise.
26785 (generate_testfile): Pass only function name in generated call to
26786 print_max_error or print_complex_max_error.
26787 (get_ulps): Do not handle complex tests specially.
26788 (output_test): Rename to ...
26789 (get_all_ulps_for_test): ... this. Return a string rather than
26790 printing to a file. Require ulps to be present.
26791 (output_ulps): Generate arrays rather than #defines.
26792 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26793 (struct ulp_data): New type.
26794 (BUILD_COMPLEX_ULP): Remove macro.
26795 (compare_ulp_data): New function.
26796 (find_ulps): Likewise.
26797 (find_test_ulps): Likewise.
26798 (find_function_ulps): Likewise.
26799 (find_complex_function_ulps): Likewise.
26800 (print_max_error): Determine allowed ulps using
26801 find_function_ulps.
26802 (print_complex_max_error): Determine allowed ulps using
26803 find_complex_function_ulps.
26804 (check_float_internal): Determine max ulps using find_test_ulps.
26805 (check_float): Do not take max_ulp parameter. Update call to
26806 check_float_internal.
26807 (check_complex): Likewise.
26808 (check_int): Do not take max_ulp parameter.
26809 (check_long): Likewise.
26810 (check_bool): Likewise.
26811 (check_longlong): Likewise.
26812 (struct test_f_f_data): Remove max_ulp field.
26813 (struct test_ff_f_data): Likewise.
26814 (struct test_ff_f_data_nexttoward): Likewise.
26815 (struct test_fi_f_data): Likewise.
26816 (struct test_fl_f_data): Likewise.
26817 (struct test_if_f_data): Likewise.
26818 (struct test_fff_f_data): Likewise.
26819 (struct test_c_f_data): Likewise.
26820 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26821 (struct test_fF_f1_data): Likewise.
26822 (struct test_ffI_f1_data): Likewise.
26823 (struct test_c_c_data): Remove max_ulp field.
26824 (struct test_cc_c_data): Likewise.
26825 (struct test_f_i_data): Likewise.
26826 (struct test_ff_i_data): Likewise.
26827 (struct test_f_l_data): Likewise.
26828 (struct test_f_L_data): Likewise.
26829 (struct test_sincos_data): Likewise.
26830 (RUN_TEST_f_f): Do not handle ulps.
26831 (RUN_TEST_LOOP_f_f): Likewise.
26832 (RUN_TEST_2_f): Likewise.
26833 (RUN_TEST_LOOP_2_f): Likewise.
26834 (RUN_TEST_fff_f): Likewise.
26835 (RUN_TEST_LOOP_fff_f): Likewise.
26836 (RUN_TEST_c_f): Likewise.
26837 (RUN_TEST_LOOP_c_f): Likewise.
26838 (RUN_TEST_f_f1): Likewise.
26839 (RUN_TEST_LOOP_f_f1): Likewise.
26840 (RUN_TEST_fF_f1): Likewise.
26841 (RUN_TEST_LOOP_fF_f1): Likewise.
26842 (RUN_TEST_fI_f1): Likewise.
26843 (RUN_TEST_LOOP_fI_f1): Likewise.
26844 (RUN_TEST_ffI_f1): Likewise.
26845 (RUN_TEST_LOOP_ffI_f1): Likewise.
26846 (RUN_TEST_c_c): Likewise.
26847 (RUN_TEST_LOOP_c_c): Likewise.
26848 (RUN_TEST_cc_c): Likewise.
26849 (RUN_TEST_LOOP_cc_c): Likewise.
26850 (RUN_TEST_f_i): Likewise.
26851 (RUN_TEST_LOOP_f_i): Likewise.
26852 (RUN_TEST_f_i_tg): Likewise.
26853 (RUN_TEST_LOOP_f_i_tg): Likewise.
26854 (RUN_TEST_ff_i_tg): Likewise.
26855 (RUN_TEST_LOOP_ff_i_tg): Likewise.
26856 (RUN_TEST_f_b): Likewise.
26857 (RUN_TEST_LOOP_f_b): Likewise.
26858 (RUN_TEST_f_b_tg): Likewise.
26859 (RUN_TEST_LOOP_f_b_tg): Likewise.
26860 (RUN_TEST_f_l): Likewise.
26861 (RUN_TEST_LOOP_f_l): Likewise.
26862 (RUN_TEST_f_L): Likewise.
26863 (RUN_TEST_LOOP_f_L): Likewise.
26864 (RUN_TEST_sincos): Likewise.
26865 (RUN_TEST_LOOP_sincos): Likewise.
26866
8269107f
JM
268672013-05-17 Joseph Myers <joseph@codesourcery.com>
26868
bb38759d
JM
26869 [BZ #15480]
26870 [BZ #15485]
26871 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26872 main case of finite arguments, set rounding mode to FE_TONEAREST
26873 and discard exceptions.
26874 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26875 exceptions.
26876 (remainder_tonearest_test_data): New variable.
26877 (remainder_test_tonearest): New function.
26878 (remainder_towardzero_test_data): New variable.
26879 (remainder_test_towardzero): New function.
26880 (remainder_downward_test_data): New variable.
26881 (remainder_test_downward): New function.
26882 (remainder_upward_test_data): New variable.
26883 (remainder_test_upward): New function.
26884 (main): Call the new test functions.
26885
a00bdcf0
JM
26886 * math/libm-test.inc (struct test_f_f1_data): Remove field
26887 extra_init.
26888 (struct test_fF_f1_data): Likewise.
26889 (struct test_ffI_f1_data): Likewise.
26890 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
26891 based on value of EXTRA_EXPECTED.
26892 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26893 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
26894 EXTRA_VAR based on value of EXTRA_EXPECTED.
26895 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26896 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
26897 EXTRA_VAR based on value of EXTRA_EXPECTED.
26898 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26899 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
26900 EXTRA_VAR based on value of EXTRA_EXPECTED.
26901 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26902 * math/gen-libm-test.pl (parse_args): Don't output initializers
26903 for extra output values.
26904
de407f79
JM
26905 * math/libm-test.inc (check_int): Expect result to be exactly
26906 equal to expected value and do not handle ulps.
26907 (check_long): Likewise.
26908 (check_longlong): Likewise.
26909
8269107f
JM
26910 * math/libm-test.inc (ceil_test_data): Test for "inexact"
26911 exceptions.
26912 (cimag_test_data): Likewise.
26913 (conj_test_data): Likewise.
26914 (copysign_test_data): Likewise.
26915 (cproj_test_data): Likewise.
26916 (creal_test_data): Likewise.
26917 (fabs_test_data): Likewise.
26918 (fdim_test_data): Likewise.
26919 (finite_test_data): Likewise.
26920 (floor_test_data): Likewise.
26921 (fmax_test_data): Likewise.
26922 (fmin_test_data): Likewise.
26923 (fmod_test_data): Likewise.
26924 (fpclassify_test_data): Likewise.
26925 (frexp_test_data): Likewise.
26926 (ilogb_test_data): Likewise.
26927 (isfinite_test_data): Likewise.
26928 (isgreater_test_data): Likewise.
26929 (isgreaterequal_test_data): Likewise.
26930 (isinf_test_data): Likewise.
26931 (isless_test_data): Likewise.
26932 (islessequal_test_data): Likewise.
26933 (islessgreater_test_data): Likewise.
26934 (isnan_test_data): Likewise.
26935 (isnormal_test_data): Likewise.
26936 (issignaling_test_data): Likewise.
26937 (isunordered_test_data): Likewise.
26938 (ldexp_test_data): Likewise.
26939 (lrint_test_data): Likewise.
26940 (lrint_test_data) [TEST_FLOAT]: Disable one test.
26941 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26942 (lrint_tonearest_test_data): Test for "inexact" exceptions.
26943 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26944 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26945 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26946 test input.
26947 (lrint_towardzero_test_data): Test for "inexact" exceptions.
26948 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26949 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26950 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26951 that test input.
26952 (lrint_downward_test_data): Test for "inexact" exceptions.
26953 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26954 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26955 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26956 test input.
26957 (lrint_upward_test_data): Test for "inexact" exceptions.
26958 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26959 test input.
26960 (llrint_test_data): Test for "inexact" exceptions.
26961 (llrint_test_data) [TEST_FLOAT]: Disable one test.
26962 (llrint_tonearest_test_data): Test for "inexact" exceptions.
26963 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26964 (llrint_towardzero_test_data): Test for "inexact" exceptions.
26965 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26966 (llrint_downward_test_data): Test for "inexact" exceptions.
26967 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26968 (llrint_upward_test_data): Test for "inexact" exceptions.
26969 (logb_test_data): Likewise.
26970 (logb_downward_test_data): Likewise.
26971 (nextafter_test_data): Likewise.
26972 (nexttoward_test_data): Likewise.
26973 (remainder_test_data): Likewise.
26974 (remquo_test_data): Likewise.
26975 (scalbn_test_data): Likewise.
26976 (scalbln_test_data): Likewise.
26977 (signbit_test_data): Likewise.
26978 (sqrt_test_data): Likewise.
26979 (significand_test_data): Likewise.
26980
48a18de1
SP
269812013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26982
26983 [BZ #15424]
26984 * benchtests/bench-modf.c (struct args): Mark arg0 as
26985 volatile.
26986 * scripts/bench.pl: Mark members of struct args as volatile.
26987
13d3b41a
AZ
269882013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26989
68191c1d 26990 [BZ # 15497]
13d3b41a
AZ
26991 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26992 negative infinity on POWER6 or lower.
26993 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26994
2848b105
MR
269952013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
26996
26997 [BZ #15442]
26998 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26999 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27000 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27001 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27002 (_FP_SETQNAN): New macro.
27003 (_FP_SETQNAN_SEMIRAW): Likewise.
27004 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27005 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27006 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27007 (FP_EXTEND): Use _FP_FRAC_SNANP.
27008 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27009 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27010 into account.
27011 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27012 New macro.
27013 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27014 Likewise.
27015
323e5cb7
JM
270162013-05-16 Joseph Myers <joseph@codesourcery.com>
27017
c58b274f
JM
27018 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27019 with DIVIDE_BY_ZERO_EXCEPTION.
27020 (gamma_test_data): Likewise.
27021 (lgamma_test_data): Likewise.
27022 (log_test_data): Likewise.
27023 (log10_test_data): Likewise.
27024 (log2_test_data): Likewise.
27025 (tgamma_test_data): Likewise.
27026
0ab34904
JM
27027 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27028 (acos_test_tonearest): Likewise.
27029 (acos_test_towardzero): Likewise.
27030 (acos_test_downward): Likewise.
27031 (acos_test_upward): Likewise.
27032 (acosh_test): Likewise.
27033 (asin_test): Likewise.
27034 (asin_test_tonearest): Likewise.
27035 (asin_test_towardzero): Likewise.
27036 (asin_test_downward): Likewise.
27037 (asin_test_upward): Likewise.
27038 (asinh_test): Likewise.
27039 (atan_test): Likewise.
27040 (atanh_test): Likewise.
27041 (atan2_test): Likewise.
27042 (cabs_test): Likewise.
27043 (cacos_test): Likewise.
27044 (cacosh_test): Likewise.
27045 (casin_test): Likewise.
27046 (casinh_test): Likewise.
27047 (catan_test): Likewise.
27048 (catanh_test): Likewise.
27049 (cbrt_test): Likewise.
27050 (ccos_test): Likewise.
27051 (ccosh_test): Likewise.
27052 (cexp_test): Likewise.
27053 (clog_test): Likewise.
27054 (clog10_test): Likewise.
27055 (cos_test): Likewise.
27056 (cos_test_tonearest): Likewise.
27057 (cos_test_towardzero): Likewise.
27058 (cos_test_downward): Likewise.
27059 (cos_test_upward): Likewise.
27060 (cosh_test): Likewise.
27061 (cosh_test_tonearest): Likewise.
27062 (cosh_test_towardzero): Likewise.
27063 (cosh_test_downward): Likewise.
27064 (cosh_test_upward): Likewise.
27065 (cpow_test): Likewise.
27066 (csin_test): Likewise.
27067 (csinh_test): Likewise.
27068 (csqrt_test): Likewise.
27069 (ctan_test): Likewise.
27070 (ctan_test_tonearest): Likewise.
27071 (ctan_test_towardzero): Likewise.
27072 (ctan_test_downward): Likewise.
27073 (ctan_test_upward): Likewise.
27074 (ctanh_test): Likewise.
27075 (ctanh_test_tonearest): Likewise.
27076 (ctanh_test_towardzero): Likewise.
27077 (ctanh_test_downward): Likewise.
27078 (ctanh_test_upward): Likewise.
27079 (erf_test): Likewise.
27080 (erfc_test): Likewise.
27081 (exp_test): Likewise.
27082 (exp_test_tonearest): Likewise.
27083 (exp_test_towardzero): Likewise.
27084 (exp_test_downward): Likewise.
27085 (exp_test_upward): Likewise.
27086 (exp10_test): Likewise.
27087 (exp2_test): Likewise.
27088 (expm1_test): Likewise.
27089 (fmod_test): Likewise.
27090 (gamma_test): Likewise.
27091 (hypot_test): Likewise.
27092 (j0_test): Likewise.
27093 (j1_test): Likewise.
27094 (jn_test): Likewise.
27095 (lgamma_test): Likewise.
27096 (log_test): Likewise.
27097 (log10_test): Likewise.
27098 (log1p_test): Likewise.
27099 (log2_test): Likewise.
27100 (logb_test_downward): Likewise.
27101 (pow_test): Likewise.
27102 (pow_test_tonearest): Likewise.
27103 (pow_test_towardzero): Likewise.
27104 (pow_test_downward): Likewise.
27105 (pow_test_upward): Likewise.
27106 (remainder_test): Likewise.
27107 (remquo_test): Likewise.
27108 (sin_test): Likewise.
27109 (sin_test_tonearest): Likewise.
27110 (sin_test_towardzero): Likewise.
27111 (sin_test_downward): Likewise.
27112 (sin_test_upward): Likewise.
27113 (sincos_test): Likewise.
27114 (sinh_test): Likewise.
27115 (sinh_test_tonearest): Likewise.
27116 (sinh_test_towardzero): Likewise.
27117 (sinh_test_downward): Likewise.
27118 (sinh_test_upward): Likewise.
27119 (sqrt_test): Likewise.
27120 (tan_test): Likewise.
27121 (tan_test_tonearest): Likewise.
27122 (tan_test_towardzero): Likewise.
27123 (tan_test_downward): Likewise.
27124 (tan_test_upward): Likewise.
27125 (tanh_test): Likewise.
27126 (tgamma_test): Likewise.
27127 (y0_test): Likewise.
27128 (y1_test): Likewise.
27129 (yn_test): Likewise.
27130
323e5cb7
JM
27131 * math/gen-libm-test.pl (adjust_arg): Remove function.
27132 (special_function): Remove argument $in_func. Only handle
27133 generating output for tables of tests, not inside functions.
27134 (parse_args): Likewise.
27135 (generate_testfile): Remove variable $in_func. Update call to
27136 parse_args.
27137 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27138 (MINUS_ZERO_INIT): Rename macro to minus_zero.
27139 (PLUS_INFTY_INIT): Rename macro to plus_infty.
27140 (MINUS_INFTY_INIT): Rename macro to minus_infty.
27141 (QNAN_VALUE_INIT): Rename macro to qnan_value.
27142 (MAX_VALUE_INIT): Rename macro to max_value.
27143 (MIN_VALUE_INIT): Rename macro to min_value.
27144 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27145 (plus_zero): Remove variable.
27146 (minus_zero): Likewise.
27147 (plus_infty): Likewise.
27148 (minus_infty): Likewise.
27149 (qnan_value): Likewise.
27150 (max_value): Likewise.
27151 (min_value): Likewise.
27152 (min_subnorm_value): Likewise.
27153
e054f494
RA
271542013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
27155
27156 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27157 uint64_t or uint32_t usage.
27158 * crypt/sha256-block.c: Likewise.
27159 * crypt/sha256-crypt.c: Likewise.
27160 * crypt/sha256.c: Likewise.
27161 * crypt/sha512-block.c: Likewise.
27162 * crypt/sha512-crypt.c: Likewise.
27163 * crypt/sha512.c: Likewise.
27164 * debug/backtrace-tst.c: Likewise.
27165 * debug/pcprofiledump.c: Likewise.
27166 * elf/cache.c: Likewise.
27167 * elf/dl-cache.c: Likewise.
27168 * elf/dl-misc.c: Likewise.
27169 * elf/dl-profile.c: Likewise.
27170 * elf/dl-support.c: Likewise.
27171 * elf/ldconfig.c: Likewise.
27172 * elf/sprof.c: Likewise.
27173 * iconv/dummy-repertoire.c: Likewise.
27174 * iconv/iconv_charmap.c: Likewise.
27175 * iconv/skeleton.c: Likewise.
27176 * iconvdata/8bit-generic.c: Likewise.
27177 * iconvdata/cp737.h: Likewise.
27178 * iconvdata/cp775.h: Likewise.
27179 * iconvdata/ibm1008.h: Likewise.
27180 * iconvdata/ibm1025.h: Likewise.
27181 * iconvdata/ibm1046.h: Likewise.
27182 * iconvdata/ibm1097.h: Likewise.
27183 * iconvdata/ibm1112.h: Likewise.
27184 * iconvdata/ibm1122.h: Likewise.
27185 * iconvdata/ibm1123.h: Likewise.
27186 * iconvdata/ibm1124.h: Likewise.
27187 * iconvdata/ibm1129.h: Likewise.
27188 * iconvdata/ibm1130.h: Likewise.
27189 * iconvdata/ibm1132.h: Likewise.
27190 * iconvdata/ibm1133.h: Likewise.
27191 * iconvdata/ibm1137.h: Likewise.
27192 * iconvdata/ibm1140.h: Likewise.
27193 * iconvdata/ibm1141.h: Likewise.
27194 * iconvdata/ibm1142.h: Likewise.
27195 * iconvdata/ibm1143.h: Likewise.
27196 * iconvdata/ibm1144.h: Likewise.
27197 * iconvdata/ibm1145.h: Likewise.
27198 * iconvdata/ibm1146.h: Likewise.
27199 * iconvdata/ibm1147.h: Likewise.
27200 * iconvdata/ibm1148.h: Likewise.
27201 * iconvdata/ibm1149.h: Likewise.
27202 * iconvdata/ibm1153.h: Likewise.
27203 * iconvdata/ibm1154.h: Likewise.
27204 * iconvdata/ibm1155.h: Likewise.
27205 * iconvdata/ibm1156.h: Likewise.
27206 * iconvdata/ibm1157.h: Likewise.
27207 * iconvdata/ibm1158.h: Likewise.
27208 * iconvdata/ibm1160.h: Likewise.
27209 * iconvdata/ibm1161.h: Likewise.
27210 * iconvdata/ibm1162.h: Likewise.
27211 * iconvdata/ibm1163.h: Likewise.
27212 * iconvdata/ibm1164.h: Likewise.
27213 * iconvdata/ibm1166.h: Likewise.
27214 * iconvdata/ibm1167.h: Likewise.
27215 * iconvdata/ibm12712.h: Likewise.
27216 * iconvdata/ibm1390.h: Likewise.
27217 * iconvdata/ibm1399.h: Likewise.
27218 * iconvdata/ibm16804.h: Likewise.
27219 * iconvdata/ibm4517.h: Likewise.
27220 * iconvdata/ibm4899.h: Likewise.
27221 * iconvdata/ibm4909.h: Likewise.
27222 * iconvdata/ibm4971.h: Likewise.
27223 * iconvdata/ibm5347.h: Likewise.
27224 * iconvdata/ibm803.h: Likewise.
27225 * iconvdata/ibm856.h: Likewise.
27226 * iconvdata/ibm901.h: Likewise.
27227 * iconvdata/ibm902.h: Likewise.
27228 * iconvdata/ibm9030.h: Likewise.
27229 * iconvdata/ibm9066.h: Likewise.
27230 * iconvdata/ibm921.h: Likewise.
27231 * iconvdata/ibm922.h: Likewise.
27232 * iconvdata/ibm9448.h: Likewise.
27233 * iconvdata/isiri-3342.h: Likewise.
27234 * iconvdata/jis0201.h: Likewise.
27235 * include/link.h: Likewise.
27236 * include/netdb.h: Likewise.
27237 * inet/check_native.c: Likewise.
27238 * inet/check_pf.c: Likewise.
27239 * inet/getipv4sourcefilter.c: Likewise.
27240 * inet/getnameinfo.c: Likewise.
27241 * inet/getsourcefilter.c: Likewise.
27242 * inet/htonl.c: Likewise.
27243 * inet/setipv4sourcefilter.c: Likewise.
27244 * inet/setsourcefilter.c: Likewise.
27245 * inet/test-inet6_opt.c: Likewise.
27246 * inet/tst-network.c: Likewise.
27247 * locale/C-collate.c: Likewise.
27248 * locale/C-ctype.c: Likewise.
27249 * locale/C-time.c: Likewise.
27250 * locale/C-translit.h: Likewise.
27251 * locale/loadarchive.c: Likewise.
27252 * locale/programs/3level.h: Likewise.
27253 * locale/programs/charmap.c: Likewise.
27254 * locale/programs/charmap.h: Likewise.
27255 * locale/programs/ld-address.c: Likewise.
27256 * locale/programs/ld-collate.c: Likewise.
27257 * locale/programs/ld-ctype.c: Likewise.
27258 * locale/programs/ld-identification.c: Likewise.
27259 * locale/programs/ld-measurement.c: Likewise.
27260 * locale/programs/ld-messages.c: Likewise.
27261 * locale/programs/ld-monetary.c: Likewise.
27262 * locale/programs/ld-name.c: Likewise.
27263 * locale/programs/ld-numeric.c: Likewise.
27264 * locale/programs/ld-paper.c: Likewise.
27265 * locale/programs/ld-telephone.c: Likewise.
27266 * locale/programs/ld-time.c: Likewise.
27267 * locale/programs/linereader.c: Likewise.
27268 * locale/programs/locale.c: Likewise.
27269 * locale/programs/locarchive.c: Likewise.
27270 * locale/programs/locfile.h: Likewise.
27271 * locale/programs/repertoire.c: Likewise.
27272 * locale/programs/simple-hash.c: Likewise.
27273 * locale/programs/simple-hash.h: Likewise.
27274 * malloc/memusage.c: Likewise.
27275 * malloc/memusagestat.c: Likewise.
27276 * nis/nis_defaults.c: Likewise.
27277 * nis/nis_hash.c: Likewise.
27278 * nis/nis_print.c: Likewise.
27279 * nis/nis_xdr.c: Likewise.
27280 * nscd/connections.c: Likewise.
27281 * nscd/hstcache.c: Likewise.
27282 * nscd/nscd_gethst_r.c: Likewise.
27283 * nscd/nscd_getserv_r.c: Likewise.
27284 * nscd/nscd_helper.c: Likewise.
27285 * nscd/servicescache.c: Likewise.
27286 * nss/makedb.c: Likewise.
27287 * nss/nss_db/db-XXX.c: Likewise.
27288 * nss/nss_db/db-initgroups.c: Likewise.
27289 * nss/nss_db/db-netgrp.c: Likewise.
27290 * nss/nss_files/files-network.c: Likewise.
27291 * nss/nss_files/files-parse.c: Likewise.
27292 * posix/bug-regex5.c: Likewise.
27293 * posix/fnmatch_loop.c: Likewise.
27294 * posix/regcomp.c: Likewise.
27295 * posix/regexec.c: Likewise.
27296 * posix/tst-rfc3484-2.c: Likewise.
27297 * posix/tst-rfc3484-3.c: Likewise.
27298 * posix/tst-rfc3484.c: Likewise.
27299 * resolv/nss_dns/dns-canon.c: Likewise.
27300 * resolv/nss_dns/dns-network.c: Likewise.
27301 * resolv/res_init.c: Likewise.
27302 * resolv/res_mkquery.c: Likewise.
27303 * resolv/tst-aton.c: Likewise.
27304 * stdlib/cxa_atexit.c: Likewise.
27305 * stdlib/cxa_finalize.c: Likewise.
27306 * stdlib/gen-fpioconst.c: Likewise.
27307 * stdlib/strtol_l.c: Likewise.
27308 * string/tst-endian.c: Likewise.
27309 * sunrpc/auth_des.c: Likewise.
27310 * sunrpc/clnt_udp.c: Likewise.
27311 * sunrpc/rtime.c: Likewise.
27312 * sunrpc/svcauth_des.c: Likewise.
27313 * sunrpc/xdr.c: Likewise.
27314 * sunrpc/xdr_intXX_t.c: Likewise.
27315 * sunrpc/xdr_rec.c: Likewise.
27316 * sysdeps/generic/ldconfig.h: Likewise.
27317 * sysdeps/generic/ldsodefs.h: Likewise.
27318 * sysdeps/generic/memusage.h: Likewise.
27319 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27320 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27321 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27322 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27323 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27324 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27325 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27326 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27327 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27328 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27329 * sysdeps/posix/getaddrinfo.c: Likewise.
27330 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27331 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27332 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27333 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27334 * sysdeps/powerpc/test-gettimebase.c: Likewise.
27335 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27336 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27337 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27338 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27339 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27340 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27341 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27342 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27343 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27344 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27345 * sysdeps/x86_64/dl-tls.h: Likewise.
27346 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27347 * time/alt_digit.c: Likewise.
27348 * time/era.c: Likewise.
27349 * wcsmbs/tst-c16c32-1.c: Likewise.
27350
8c75f674
JM
273512013-05-16 Joseph Myers <joseph@codesourcery.com>
27352
27353 * math/libm-test.inc (struct test_sincos_data): New type.
27354 (RUN_TEST_LOOP_sincos): New macro.
27355 (sincos_test_data): New variable.
27356 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27357
e6e49e59
RH
273582013-05-16 Richard Henderson <rth@redhat.com>
27359
27360 * math/atest-exp2.c (LIMB64): New macro.
27361 (CONSTSZ): New macro.
27362 (mp_exp1, mp_exp_m1, mp_log2): New variables.
27363 (hexdig): Move ...
27364 (print_mpn_fp): ... to function scope.
27365 (read_mpn_hex): Remove.
27366 (get_log2): Remove.
27367 (exp2_mpn): Use mp_log2.
27368 (main): Use mp_exp1.
27369
15c7c18d
JM
273702013-05-16 Joseph Myers <joseph@codesourcery.com>
27371
105a07df
JM
27372 * math/libm-test.inc: Remove comment about not testing "inexact"
27373 exceptions.
27374 (INEXACT_EXCEPTION): New macro.
27375 (NO_INEXACT_EXCEPTION): Likewise.
27376 (INVALID_EXCEPTION_OK): Update value.
27377 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27378 (OVERFLOW_EXCEPTION_OK): Likewise.
27379 (UNDERFLOW_EXCEPTION_OK): Likewise.
27380 (IGNORE_ZERO_INF_SIGN): Likewise.
27381 (ERRNO_UNCHANGED): Likewise.
27382 (ERRNO_EDOM): Likewise.
27383 (ERRNO_ERANGE): Likewise.
27384 (test_exceptions): Handle testing "inexact" exceptions.
27385 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27386 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27387 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27388 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27389 INEXACT_EXCEPTION.
27390 (rint_towardzero_test_data): Likewise.
27391 (rint_downward_test_data): Likewise.
27392 (rint_upward_test_data): Likewise.
27393
e9eee333
JM
27394 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27395 with OVERFLOW_EXCEPTION.
27396 (exp10_test_data): Likewise.
27397 (exp2_test_data): Likewise.
27398 (expm1_test_data): Likewise.
27399 (lgamma_test_data): Likewise.
27400 (pow_test_data): Likewise.
27401 (tgamma_test_data): Likewise.
27402 (yn_test_data): Remove duplicate test of overflow.
27403
1c38ff73
JM
27404 * math/libm-test.inc (struct test_cc_c_data): New type.
27405 (RUN_TEST_LOOP_cc_c): New macro.
27406 (cpow_test_data): New variable.
27407 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27408
15c7c18d
JM
27409 * math/libm-test.inc (struct test_f_L_data): New type.
27410 (RUN_TEST_LOOP_f_L): New macro.
27411 (llrint_test_data): New variable.
27412 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27413 (llrint_tonearest_test_data): New variable.
27414 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27415 (llrint_towardzero_test_data): New variable.
27416 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27417 (llrint_downward_test_data): New variable.
27418 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27419 (llrint_upward_test_data): New variable.
27420 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27421 (llround_test_data): New variable.
27422 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27423
f137ff13
PC
274242013-05-13 Peter Collingbourne <pcc@google.com>
27425
27426 * math/atest-exp2.c (get_log2): Remove const attribute.
27427
3608cb24
JM
274282013-05-15 Joseph Myers <joseph@codesourcery.com>
27429
27430 * math/libm-test.inc (struct test_f_l_data): New type.
27431 (RUN_TEST_LOOP_f_l): New macro.
27432 (lrint_test_data): New variable.
27433 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27434 (lrint_tonearest_test_data): New variable.
27435 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27436 (lrint_towardzero_test_data): New variable.
27437 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27438 (lrint_downward_test_data): New variable.
27439 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27440 (lrint_upward_test_data): New variable.
27441 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27442 (lround_test_data): New variable.
27443 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27444
39b1f617
PC
274452013-05-15 Peter Collingbourne <pcc@google.com>
27446
1deff3dc
PC
27447 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27448 (EXTRACT_WORDS64) Use where appropriate.
27449 (INSERT_WORDS64) Likewise.
27450
791f3ba0
PC
27451 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27452 constraints with x constraints.
27453 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27454
39b1f617
PC
27455 * malloc/obstack.c (_obstack_compat): Add initializer.
27456
12fba011
EM
274572013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
27458
27459 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27460 si_trapno and add si_addr_lsb to _sifields.sigfault.
27461 (si_trapno): Remove macro.
27462 (si_addr_lsb): Define new macro.
27463 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27464
d369f531
JM
274652013-05-15 Joseph Myers <joseph@codesourcery.com>
27466
b861c6c4
JM
27467 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27468 instead of TEST_f_l.
27469 (llrint_test_tonearest): Likewise.
27470 (llrint_test_towardzero): Likewise.
27471 (llrint_test_downward): Likewise.
27472 (llrint_test_upward): Likewise.
27473 (llround_test): Likewise.
27474
7abeee12
JM
27475 * math/libm-test.inc (struct test_f_i_data): Add comment.
27476 (RUN_TEST_LOOP_f_b): New macro.
27477 (RUN_TEST_LOOP_f_b_tg): Likewise.
27478 (finite_test_data): New variable.
27479 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27480 (isfinite_test_data): New variable.
27481 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27482 (isinf_test_data): New variable.
27483 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27484 (isnan_test_data): New variable.
27485 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27486 (isnormal_test_data): New variable.
27487 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27488 (issignaling_test_data): New variable.
27489 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27490 (signbit_test_data): New variable.
27491 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27492
cbe8c4d3
JM
27493 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27494 with INVALID_EXCEPTION.
27495 (acosh_test_data): Likewise.
27496 (asin_test_data): Likewise.
27497 (atanh_test_data): Likewise.
27498 (fmod_test_data): Likewise.
27499 (log_test_data): Likewise.
27500 (log10_test_data): Likewise.
27501 (log2_test_data): Likewise.
27502 (pow_test_data): Likewise.
27503 (sqrt_test_data): Likewise.
27504 (y0_test_data): Likewise.
27505 (y1_test_data): Likewise.
27506 (yn_test_data): Likewise.
27507
5575c0e5
JM
27508 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27509 function contents.
27510
d369f531
JM
27511 * math/libm-test.inc (struct test_ff_i_data): New type.
27512 (RUN_TEST_LOOP_ff_i_tg): New macro.
27513 (isgreater_test_data): New variable.
27514 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27515 (isgreaterequal_test_data): New variable.
27516 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27517 (isless_test_data): New variable.
27518 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27519 (islessequal_test_data): New variable.
27520 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27521 (islessgreater_test_data): New variable.
27522 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27523 (isunordered_test_data): New variable.
27524 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27525
781fd748
DM
275262013-05-14 David S. Miller <davem@davemloft.net>
27527
27528 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27529
87aa21df
JM
275302013-05-14 Joseph Myers <joseph@codesourcery.com>
27531
5e908270
JM
27532 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27533
f71172e5
JM
27534 * math/libm-test.inc (struct test_fF_f1_data): Change type of
27535 extra_test to int.
27536 (struct test_f_i_data): Change type of max_ulp to int.
27537
8cfa635a
JM
27538 * math/libm-test.inc (test_ffI_f1_data): New type.
27539 (RUN_TEST_LOOP_ffI_f1): New macro.
27540 (remquo_test_data): New variable.
27541 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27542
2bcb36b2
JM
27543 * setjmp/tst-setjmp-fp.c: New file.
27544 * setjmp/Makefile (tests): Add tst-setjmp-fp.
27545 (link-libm): New variable.
27546 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27547
acbd839a
JM
27548 * math/libm-test.inc (struct test_f_i_data): New type.
27549 (RUN_TEST_LOOP_f_i): New macro.
27550 (RUN_TEST_LOOP_f_i_tg): Likewise.
27551 (fpclassify_test_data): New variable.
27552 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27553 (ilogb_test_data): New variable.
27554 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27555
e414d745
JM
27556 * math/libm-test.inc (scalbln_test): Correct function name in END
27557 call.
27558
d9c2a0fd
JM
27559 * math/libm-test.inc (struct test_f_f1_data): Add comment.
27560 (RUN_TEST_LOOP_fI_f1): New macro.
27561 (frexp_test_data): New variable.
27562 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27563
9dc9095d
JM
27564 * math/libm-test.inc (struct test_fF_f1_data): New type.
27565 (RUN_TEST_LOOP_fF_f1): New macro.
27566 (modf_test_data): New variable.
27567 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27568
87aa21df
JM
27569 * math/libm-test.inc (struct test_f_f1_data): New type.
27570 (RUN_TEST_LOOP_f_f1): New macro.
27571 (gamma_test_data): New variable.
27572 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27573 (lgamma_test_data): New variable.
27574 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27575
141af660
CD
275762013-05-13 Carlos O'Donell <carlos@redhat.com>
27577
27578 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27579 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27580 (main): Comment "tls" pseudo-hwcap.
27581
6d33265c
JM
275822013-05-13 Joseph Myers <joseph@codesourcery.com>
27583
68fc074c
JM
27584 * math/libm-test.inc (struct test_fl_f_data): New type.
27585 (RUN_TEST_LOOP_fl_f): New variable.
27586 (scalbln_test_data): New variable.
27587 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27588
243216e1
JM
27589 * math/libm-test.inc (struct test_fi_f_data): New type.
27590 (RUN_TEST_LOOP_fi_f): New macro.
27591 (ldexp_test_data): New variable.
27592 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27593 (scalbn_test_data): New variable.
27594 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27595
6a1992e2
JM
27596 * math/libm-test.inc (struct test_c_f_data): New type.
27597 (RUN_TEST_LOOP_c_f): New macro.
27598 (cabs_test_data): New variable.
27599 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27600 (carg_test_data): New variable.
27601 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27602 (cimag_test_data): New variable.
27603 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27604 (creal_test_data): New variable.
27605 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27606
0e400df5
JM
27607 * math/libm-test.inc (struct test_if_f_data): New type.
27608 (RUN_TEST_LOOP_if_f): New macro.
27609 (jn_test_data): New variable.
27610 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27611 (yn_test_data): New variable.
27612 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27613
6d33265c
JM
27614 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27615
f98ece5f
AZ
276162013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27617
27618 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27619 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27620
0f7d347b
SP
276212013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
27622
43fe811b
SP
27623 * benchtests/Makefile (CPPFLAGS-nonlib): Add
27624 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27625 (bench-deps): Add bench-timing.h.
27626 * benchtests-bench-skeleton.c: Include bench-timing.h.
27627 (main): Use TIMING_* macros instead of clock_gettime.
27628 * benchtests/bench-timing.h: New file.
27629
0f7d347b
SP
27630 [BZ #14582]
27631 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27632 Renamed from _LIB_VERSION.
27633 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27634
601a3a5f
JM
276352013-05-12 Joseph Myers <joseph@codesourcery.com>
27636
4f184d30
JM
27637 * math/libm-test.inc (struct test_fff_f_data): New type.
27638 (RUN_TEST_LOOP_fff_f): New macro.
27639 (fma_test_data): New variable.
27640 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27641 (fma_towardzero_test_data): New variable.
27642 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27643 (fma_downward_test_data): New variable.
27644 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27645 (fma_upward_test_data): New variable.
27646 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27647
08198877
JM
27648 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27649 (struct test_c_c_data): New type.
27650 (RUN_TEST_LOOP_c_c): New macro.
27651 (cacos_test_data): New variable.
27652 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27653 (cacosh_test_data): New variable.
27654 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27655 (casin_test_data): New variable.
27656 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27657 (casinh_test_data): New variable.
27658 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27659 (catan_test_data): New variable.
27660 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27661 (catanh_test_data): New variable.
27662 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27663 (ccos_test_data): New variable.
27664 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27665 (ccosh_test_data): New variable.
27666 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27667 (cexp_test_data): New variable.
27668 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27669 (clog_test_data): New variable.
27670 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27671 (clog10_test_data): New variable.
27672 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27673 (conj_test_data): New variable.
27674 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27675 (cproj_test_data): New variable.
27676 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27677 (csin_test_data): New variable.
27678 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27679 (csinh_test_data): New variable.
27680 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27681 (csqrt_test_data): New variable.
27682 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27683 (ctan_test_data): New variable.
27684 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27685 (ctan_tonearest_test_data): New variable.
27686 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27687 (ctan_towardzero_test_data): New variable.
27688 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27689 (ctan_downward_test_data): New variable.
27690 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27691 (ctan_upward_test_data): New variable.
27692 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27693 (ctanh_test_data): New variable.
27694 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27695 (ctanh_tonearest_test_data): New variable.
27696 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27697 (ctanh_towardzero_test_data): New variable.
27698 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27699 (ctanh_downward_test_data): New variable.
27700 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27701 (ctanh_upward_test_data): New variable.
27702 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27703 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27704 of BUILD_COMPLEX.
27705
601a3a5f
JM
27706 * math/libm-test.inc (struct test_ff_f_data): New type.
27707 (struct test_ff_f_data_nexttoward): Likewise.
27708 (RUN_TEST_LOOP_2_f): New macro.
27709 (RUN_TEST_LOOP_ff_f): Likewise.
27710 (atan2_test_data): New variable.
27711 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27712 (copysign_test_data): New variable.
27713 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27714 (fdim_test_data): New variable.
27715 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27716 (fmax_test_data): New variable.
27717 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27718 (fmin_test_data): New variable.
27719 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27720 (fmod_test_data): New variable.
27721 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27722 (hypot_test_data): New variable.
27723 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27724 (nextafter_test_data): New variable.
27725 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27726 (nexttoward_test_data): New variable.
27727 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27728 (pow_test_data): New variable.
27729 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27730 (pow_tonearest_test_data): New variable.
27731 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27732 (pow_towardzero_test_data): New variable.
27733 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27734 (pow_downward_test_data): New variable.
27735 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27736 (pow_upward_test_data): New variable.
27737 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27738 (remainder_test_data): New variable.
27739 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27740 (scalb_test_data): New variable.
27741 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27742 * sysdeps/i386/fpu/libm-test-ulps: Update.
27743
74c57478
JM
277442013-05-11 Joseph Myers <joseph@codesourcery.com>
27745
8329e4da
JM
27746 * math/libm-test.inc (fma_test): Use max_value instead of local
27747 variable fltmax.
27748 (nextafter_test): Likewise.
27749
74c57478
JM
27750 * math/libm-test.inc (acos_towardzero_test_data): New variable.
27751 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27752 (acos_downward_test_data): New variable.
27753 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27754 (acos_upward_test_data): New variable.
27755 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27756 (acosh_test_data): New variable.
27757 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27758 (asin_test_data): New variable.
27759 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27760 (asin_tonearest_test_data): New variable.
27761 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27762 (asin_towardzero_test_data): New variable.
27763 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27764 (asin_downward_test_data): New variable.
27765 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27766 (asin_upward_test_data): New variable.
27767 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27768 (asinh_test_data): New variable.
27769 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27770 (atan_test_data): New variable.
27771 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27772 (atanh_test_data): New variable.
27773 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27774 (cbrt_test_data): New variable.
27775 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27776 (ceil_test_data): New variable.
27777 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27778 (cos_test_data): New variable.
27779 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27780 (cos_tonearest_test_data): New variable.
27781 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27782 (cos_towardzero_test_data): New variable.
27783 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27784 (cos_downward_test_data): New variable.
27785 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27786 (cos_upward_test_data): New variable.
27787 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27788 (cosh_test_data): New variable.
27789 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27790 (cosh_tonearest_test_data): New variable.
27791 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27792 (cosh_towardzero_test_data): New variable.
27793 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27794 (cosh_downward_test_data): New variable.
27795 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27796 (cosh_upward_test_data): New variable.
27797 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27798 (erf_test_data): New variable.
27799 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27800 (erfc_test_data): New variable.
27801 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27802 (exp_test_data): New variable.
27803 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27804 (exp_tonearest_test_data): New variable.
27805 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27806 (exp_towardzero_test_data): New variable.
27807 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27808 (exp_downward_test_data): New variable.
27809 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27810 (exp_upward_test_data): New variable.
27811 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27812 (exp10_test_data): New variable.
27813 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27814 (exp2_test_data): New variable.
27815 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27816 (expm1_test_data): New variable.
27817 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27818 (fabs_test_data): New variable.
27819 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27820 (floor_test_data): New variable.
27821 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27822 (j0_test_data): New variable.
27823 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27824 (j1_test_data): New variable.
27825 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27826 (log_test_data): New variable.
27827 (log_test): Run tests with RUN_TEST_LOOP_f_f.
27828 (log10_test_data): New variable.
27829 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27830 (log1p_test_data): New variable.
27831 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27832 (log2_test_data): New variable.
27833 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27834 (logb_test_data): New variable.
27835 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27836 (logb_downward_test_data): New variable.
27837 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27838 (nearbyint_test_data): New variable.
27839 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27840 (rint_test_data): New variable.
27841 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27842 (rint_tonearest_test_data): New variable.
27843 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27844 (rint_towardzero_test_data): New variable.
27845 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27846 (rint_downward_test_data): New variable.
27847 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27848 (rint_upward_test_data): New variable.
27849 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27850 (round_test_data): New variable.
27851 (round_test): Run tests with RUN_TEST_LOOP_f_f.
27852 (sin_test_data): New variable.
27853 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27854 (sin_tonearest_test_data): New variable.
27855 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27856 (sin_towardzero_test_data): New variable.
27857 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27858 (sin_downward_test_data): New variable.
27859 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27860 (sin_upward_test_data): New variable.
27861 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27862 (sinh_test_data): New variable.
27863 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27864 (sinh_tonearest_test_data): New variable.
27865 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27866 (sinh_towardzero_test_data): New variable.
27867 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27868 (sinh_downward_test_data): New variable.
27869 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27870 (sinh_upward_test_data): New variable.
27871 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27872 (sqrt_test_data): New variable.
27873 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27874 (tan_test_data): New variable.
27875 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27876 (tan_tonearest_test_data): New variable.
27877 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27878 (tan_towardzero_test_data): New variable.
27879 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27880 (tan_downward_test_data): New variable.
27881 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27882 (tan_upward_test_data): New variable.
27883 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27884 (tanh_test_data): New variable.
27885 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27886 (tgamma_test_data): New variable.
27887 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27888 (trunc_test_data): New variable.
27889 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27890 (y0_test_data): New variable.
27891 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27892 (y1_test_data): New variable.
27893 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27894 (significand_test_data): New variable.
27895 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27896
7187d844
CG
278972013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
27898
27899 [BZ #12387]
27900 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27901
f63fae73
PT
279022013-05-10 Pino Toscano <toscano.pino@tiscali.it>
27903
27904 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27905
8a67a4b3
AJ
279062013-05-10 Andreas Jaeger <aj@suse.de>
27907
27908 [BZ #15448]
27909 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27910 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27911
51df539d
JM
279122013-05-10 Joseph Myers <joseph@codesourcery.com>
27913
27914 * math/gen-libm-test.pl (adjust_arg): New function.
27915 (special_functions): Handle generating output in both functions
27916 and arrays.
27917 (parse_args): Likewise.
27918 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
27919 $in_func argument to parse_args.
27920 * math/libm-test.inc (struct test_f_f_data): New type.
27921 (IF_ROUND_INIT_): New macro.
27922 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27923 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27924 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27925 (IF_ROUND_INIT_FE_UPWARD): Likewise.
27926 (ROUND_RESTORE_): Likewise.
27927 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27928 (ROUND_RESTORE_FE_TONEAREST): Likewise.
27929 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27930 (ROUND_RESTORE_FE_UPWARD): Likewise.
27931 (RUN_TEST_LOOP_f_f): New macro.
27932 (acos_test_data): New variable.
27933 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27934 (acos_tonearest_test_data): New variable.
27935 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27936
5c637fe5
SP
279372013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27938
27939 * benchtests/bench-skeleton.c (startup): Fix coding style.
27940
ab2b9461
JM
279412013-05-10 Joseph Myers <joseph@codesourcery.com>
27942
27943 [BZ #6809]
27944 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27945 negative infinity argument.
27946 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27947 negative infinity argument.
27948 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27949 negative infinity argument.
27950 * math/libm-test.inc (tgamma_test): Expect errno to be set for
27951 domain errors.
27952
4c0fe6fe
FW
279532013-05-10 Florian Weimer <fweimer@redhat.com>
27954
27955 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27956 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27957 * iconv/iconv_prog.c (main): Likewise.
27958 * locale/programs/charmap-dir.c (charmap_readdir)
27959 (fopen_uncompressed): Likewise.
27960 * locale/programs/locfile.c (siblings_uncached)
27961 (write_locale_data): Use lstat64 instead of lstat.
27962 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27963 stat.
27964
a3375d29
AJ
279652013-05-10 Andreas Jaeger <aj@suse.de>
27966
27967 [BZ #15395]
27968 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27969 localization.
27970 Include <locale.h>.
27971
36129722
CD
279722013-05-09 Carlos O'Donell <carlos@redhat.com>
27973
27974 * elf/dl-close.c (_dl_close_worker): Add comments.
27975
faa7f811
JM
279762013-05-09 Joseph Myers <joseph@codesourcery.com>
27977
ed41ffef
JM
27978 [BZ #15359]
27979 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27980 high part of pi/2.
27981 (__ieee754_rem_pio2l): Update comments.
27982
d0213cd0
JM
27983 [BZ #15429]
27984 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27985 high part of pi/2.
27986 (__ieee754_rem_pio2l): Update comments.
27987
0d3e777a
JM
27988 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27989 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27990
24f56066
JM
27991 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27992 M_PI_4l.
27993
faa7f811
JM
27994 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27995 (M_PI_34_LOG10El): Likewise.
27996 (M_PI2_LOG10El): Likewise.
27997 (M_PI4_LOG10El): Likewise.
27998 (M_PI_LOG10El): Likewise.
27999
e9a5e0fd
AZ
280002013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28001
28002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28003
d8cd06db
JM
280042013-05-08 Joseph Myers <joseph@codesourcery.com>
28005
a0d9f9d7
JM
28006 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28007 (MINUS_ZERO_INIT): Likewise.
28008 (PLUS_INFTY_INIT): Likewise.
28009 (MINUS_INFTY_INIT): Likewise.
28010 (QNAN_VALUE_INIT): Likewise.
28011 (MAX_VALUE_INIT): Likewise.
28012 (MIN_VALUE_INIT): Likewise.
28013 (MIN_SUBNORM_VALUE_INIT): Likewise.
28014 (plus_zero): Initialize with PLUS_ZERO_INIT.
28015 (minus_zero): Initialize with MINUS_ZERO_INIT.
28016 (plus_infty): Initialize with PLUS_INFTY_INIT.
28017 (minus_infty): Initialize with MINUS_INFTY_INIT.
28018 (qnan_value): Initialize with QNAN_VALUE_INIT.
28019 (max_value): Initialize with MAX_VALUE_INIT.
28020 (min_value): Initialize with MIN_VALUE_INIT.
28021 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28022
ae08db3b
JM
28023 * math/libm-test.inc (RUN_TEST_if_f): New macro.
28024 (jn_test): Use TEST_if_f instead of TEST_ff_f.
28025 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28026 (yn_test): Use TEST_if_f instead of TEST_ff_f.
28027
f44bf14a
JM
28028 * math/libm-test.inc (RUN_TEST_f_f): New macro.
28029 (RUN_TEST_2_f): Likewise.
28030 (RUN_TEST_ff_f): Likewise.
28031 (RUN_TEST_fi_f): Likewise.
28032 (RUN_TEST_fl_f): Likewise.
28033 (RUN_TEST_fff_f): Likewise.
28034 (RUN_TEST_c_f): Likewise.
28035 (RUN_TEST_f_f1): Likewise.
28036 (RUN_TEST_fF_f1): Likewise.
28037 (RUN_TEST_fI_f1): Likewise.
28038 (RUN_TEST_ffI_f1): Likewise.
28039 (RUN_TEST_c_c): Likewise.
28040 (RUN_TEST_cc_c): Likewise.
28041 (RUN_TEST_f_i): Likewise.
28042 (RUN_TEST_f_i_tg): Likewise.
28043 (RUN_TEST_ff_i_tg): Likewise.
28044 (RUN_TEST_f_b): Likewise.
28045 (RUN_TEST_f_b_tg): Likewise.
28046 (RUN_TEST_f_l): Likewise.
28047 (RUN_TEST_f_L): Likewise.
28048 (RUN_TEST_sincos): Likewise.
28049 * math/gen-libm-test.pl (new_test): Take new argument to indicate
28050 whether to show exceptions. Do not include ");\n" in return
28051 value.
28052 (special_functions): Output call to RUN_TEST_sincos instead of
28053 check_float calls. Update calls to new_test.
28054 (parse_args): Output call to single RUN_TEST_* macro instead of
28055 check_* calls and other assignments. Update calls to new_test.
28056
d8cd06db
JM
28057 [BZ #2546]
28058 [BZ #2560]
28059 [BZ #5159]
28060 [BZ #15426]
28061 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28062 input to result for tgamma overflow.
28063 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28064 (gamma_coeff): New variable.
28065 (NCOEFF): New macro.
28066 (gamma_positive): New function.
28067 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28068 underflow here. Use gamma_positive instead of exp (lgamma) for
28069 other arguments.
28070 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28071 (gamma_coeff): New variable.
28072 (NCOEFF): New macro.
28073 (gammaf_positive): New function.
28074 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28075 underflow here. Use gamma_positive instead of exp (lgamma) for
28076 other arguments.
28077 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28078 (gamma_coeff): New variable.
28079 (NCOEFF): New macro.
28080 (gammal_positive): New function.
28081 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28082 underflow here. Use gamma_positive instead of exp (lgamma) for
28083 other arguments.
28084 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28085 (gamma_coeff): New variable.
28086 (NCOEFF): New macro.
28087 (gammal_positive): New function.
28088 (__ieee754_gammal_r): Handle positive infinity, overflow and
28089 underflow here. Handle NaN the same as positive infinity. Remove
28090 check x < 0xffffffff for negative integers. Use gamma_positive
28091 instead of exp (lgamma) for other arguments.
28092 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28093 (gamma_coeff): New variable.
28094 (NCOEFF): New macro.
28095 (gammal_positive): New function.
28096 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28097 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28098 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28099 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28100 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28101 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28102 * sysdeps/generic/math_private.h (__gamma_productf): New
28103 prototype.
28104 (__gamma_product): Likewise.
28105 (__gamma_productl): Likewise.
28106 * math/Makefile (libm-calls): Add gamma_product.
28107 * math/libm-test.inc (tgamma_test): Add more tests.
28108 * sysdeps/i386/fpu/libm-test-ulps: Update.
28109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28110
bb7cf681
OB
281112013-05-08 Ondřej Bílka <neleai@seznam.cz>
28112
28113 * benchtests/bench-skeleton.c (main): Preheat CPU.
28114
ba853947
AJ
281152013-05-07 Aurelien Jarno <aurelien@aurel32.net>
28116
28117 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28118
8347c74c
RM
281192013-05-07 Roland McGrath <roland@hack.frob.com>
28120
28121 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28122 and _dl_skip_args_internal.
28123
e8dd4791
CD
281242013-05-07 Carlos O'Donell <carlos@redhat.com>
28125
28126 * manual/message.texi (Message Translation): Talk about users.
28127 Message to key mapping impacts design.
28128
c7405830
RM
281292013-05-06 Roland McGrath <roland@hack.frob.com>
28130
a9173057
RM
28131 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28132
976e2f03
RM
28133 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28134
9723ffc5
RM
28135 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28136 * sysdeps/wordsize-64/glob64.c: ... here.
28137
962e6658
RM
28138 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28139 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28140 New macros.
28141
ee586a6d
RM
28142 * debug/getlogin_r_chk.c: Moved to ...
28143 * login/getlogin_r_chk.c: ... here.
28144 * debug/Makefile (routines): Move getlogin_r_chk to ...
28145 * login/Makefile (routines): ... here.
28146 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28147 * login/Versions (libc: GLIBC_2.4): ... here.
28148
355f9165
RM
28149 * io/poll.c (__poll): Renamed from poll.
28150 Add libc_hidden_def.
28151 (poll): Define as weak alias.
28152
bd9ffde6
RM
28153 * debug/ptsname_r_chk.c: Moved to ...
28154 * login/ptsname_r_chk.c: ... here.
28155 * debug/Makefile (routines): Move ptsname_r_chk to ...
28156 * login/Makefile (routines): ... here.
28157 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28158 * login/Versions (libc: GLIBC_2.4): ... here.
28159
8fb16a04
RM
28160 * posix/getlogin.c: Moved to ...
28161 * login/getlogin.c: ... here.
28162 * posix/getlogin_r.c: Moved to ...
28163 * login/getlogin_r.c: ... here.
28164 * posix/getlogin_r.c: Moved to ...
28165 * login/getlogin_r.c: ... here.
28166 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28167 * login/Makefile (routines): ... here.
28168 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28169 * login/Versions (libc: GLIBC_2.0): ... here.
28170
b99b892f
RM
28171 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28172 (setrlimit): Define as weak alias.
28173
c7405830
RM
28174 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28175 Call __ names for open, ftruncate, and close.
28176 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28177 (truncate): Define as weak alias.
28178
5bf96de5
JM
281792013-05-06 Joseph Myers <joseph@codesourcery.com>
28180
9ea3513c
JM
28181 * math/gen-libm-test.pl (parse_args): Initialize x before each
28182 test of frexp, modf and remquo.
28183
5bf96de5
JM
28184 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28185 test signgam value.
28186
16e616a7
AZ
281872013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28188
28189 [BZ #15418]
28190 [BZ #15419]
28191 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28192 internal tests.
28193 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28194
d5e82754
RM
281952013-05-06 Roland McGrath <roland@hack.frob.com>
28196
28197 * elf/dl-writev.h: New file.
28198 * elf/dl-misc.c: Include it.
28199 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28200 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28201
a7548d41
JM
282022013-05-04 Joseph Myers <joseph@codesourcery.com>
28203
b7dab1e4
JM
28204 * math/libm-test.inc (noXFails): Remove variable.
28205 (noXPasses): Likewise.
28206 (BUILD_COMPLEX_INT): Remove macro.
28207 (print_screen): Remove xfail argument.
28208 (print_screen_max_error): Likewise.
28209 (update_stats): Likewise.
28210 (print_max_error): Likewise. Update calls to other affected
28211 functions.
28212 (print_complex_max_error): Likewise.
28213 (test_single_exception): Update calls to print_screen.
28214 (test_single_errno): Likewise.
28215 (check_float_internal): Remove xfail argument. Update calls to
28216 other affected functions.
28217 (check_float): Likewise.
28218 (check_complex): Likewise.
28219 (check_int): Likewise.
28220 (check_long): Likewise.
28221 (check_bool): Likewise.
28222 (check_longlong): Likewise.
28223 (main): Don't print noXFails and noXPasses.
28224 * math/gen-libm-test.pl (top level): Don't mention expected
28225 failure handling in comment.
28226 (new_test): Don't handle expected failures.
28227 (parse_args): Don't mention expected failure handling in comment.
28228 (generate_testfile): Don't handle expected failures.
28229 (parse_ulps): Likewise.
28230 (print_ulps_file): Likewise.
28231 (get_failure): Remove function.
28232 (output_test): Don't handle expected failures.
28233 * make/README.libm-test: Don't mention expected failure handling.
28234
a7548d41
JM
28235 * math/libm-test.inc (plus_zero): Make const. Add initializer.
28236 (minus_zero): Likewise.
28237 (plus_infty): Likewise.
28238 (minus_infty): Likewise.
28239 (qnan_value): Likewise.
28240 (max_value): Likewise.
28241 (min_value): Likewise.
28242 (min_subnorm_value): Likewise.
28243 (initialize): Do not initialize those variables dynamically.
28244
60bfd54c
RM
282452013-05-03 Roland McGrath <roland@hack.frob.com>
28246
cc0e6ed8
RM
28247 * io/open.c (__open_2): Moved to ...
28248 * io/open_2.c: ... this new file.
28249 * io/open64.c (__open64_2): Moved to ...
28250 * io/open64_2.c: ... this new file.
28251 * io/openat.c (__openat_2): Moved to ...
28252 * io/openat_2.c: ... this new file.
28253 * io/openat64.c (__openat64_2): Moved to ...
28254 * io/openat64_2.c: ... this new file.
28255 * io/Makefile (routines): Add them.
28256 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28257 * sysdeps/unix/sysv/linux/open_2.c: File removed.
28258 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28259 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28260 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28261 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28262 (__openat64): Add hidden_ver.
28263 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28264 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28265
60bfd54c
RM
28266 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28267 Separately conditionalize setting of GLRO(dl_sysinfo) so
28268 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28269 as well, but the actual setting is only under [NEED_DL_SYSINFO].
28270
83e7640f
AZ
282712013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28272
28273 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28274 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28275 definition.
28276 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28277 * sysdeps/unix/sysv/linux/powerpc/init-first.c
28278 (_libc_vdso_platform_setup): Add __vdso_time initialization.
28279 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28280 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28281
d5dc2af3
JM
282822013-05-03 Joseph Myers <joseph@codesourcery.com>
28283
c31a5b1e
JM
28284 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28285 test signgam value.
28286
d5dc2af3
JM
28287 * math/libm-test.inc (hypot_test): Do not use
28288 IGNORE_ZERO_INF_SIGN.
28289
164fd39d
AJ
282902013-05-03 Andreas Jaeger <aj@suse.de>
28291
28292 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28293 Linux 3.9.
28294 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28295 (PF_MAX): Adjust for VSOCK change.
28296
8237f48c
AZ
282972013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28298
28299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28300
9df02941
CD
283012013-05-02 Carlos O'Donell <carlos@redhat.com>
28302
28303 [BZ #15264]
28304 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28305 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28306 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28307
d422395e
DM
283082013-05-02 David S. Miller <davem@davemloft.net>
28309
28310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28311
a07c5731
OB
283122013-05-01 Ondřej Bílka <neleai@seznam.cz>
28313
28314 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28315
1324e37f
RM
283162013-05-01 Roland McGrath <roland@hack.frob.com>
28317
28318 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28319
0695940b
RS
283202013-05-01 Richard Smith <richard@metafoo.co.uk>
28321
bb5f27ad 28322 [BZ #14952]
0695940b
RS
28323 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28324 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28325 Use __attribute__ ((__gnu_inline__)).
28326 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28327 Don't use __attribute__ ((__gnu_inline__)).
28328
10de07f5
JM
283292013-05-01 Joseph Myers <joseph@codesourcery.com>
28330
28331 [BZ #15423]
28332 * math/s_catan.c (__catan): Handle small real or imaginary part of
28333 input specially to avoid spurious underflow.
28334 * math/s_catanf.c (__catanf): Likewise.
28335 * math/s_catanh.c (__catanh): Likewise.
28336 * math/s_catanhf.c (__catanhf): Likewise.
28337 * math/s_catanhl.c (__catanhl): Likewise.
28338 * math/s_catanl.c (__catanl): Likewise.
28339 * math/libm-test.inc (catan_test): Add more tests.
28340 (catanh_test): Likewise.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28343
cb4d5414
AZ
283442013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28345
28346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28347
caf84319
JM
283482013-04-30 Joseph Myers <joseph@codesourcery.com>
28349
28350 [BZ #15416]
28351 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28352 accurately for denominator in atan2.
28353 * math/s_catanf.c (__catanf): Likewise.
28354 * math/s_catanh.c (__catanh): Likewise.
28355 * math/s_catanhf.c (__catanhf): Likewise.
28356 * math/s_catanhl.c (__catanhl): Likewise.
28357 * math/s_catanl.c (__catanl): Likewise.
28358 * math/libm-test.inc (catan_test): Add more tests.
28359 (catanh_test): Likewise.
28360 * sysdeps/i386/fpu/libm-test-ulps: Update.
28361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28362
d569c6ee
SP
283632013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
28364
6dbe713d
SP
28365 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28366
f0ee064b
SP
28367 * benchtests/Makefile (bench): Remove slow benchmarks.
28368 * benchtests/atan-inputs: Add slow benchmark inputs.
28369 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28370 (BENCH_FUNC): Accept variant offset.
28371 (VARIANT): Define.
28372 * benchtests/bench-skeleton.c (main): Run benchmark for each
28373 variant.
28374 * benchtests/cos-inputs: Add slow benchmark inputs.
28375 * benchtests/exp-inputs: Likewise.
28376 * benchtests/pow-inputs: Likewise.
28377 * benchtests/sin-inputs: Likewise.
28378 * benchtests/slowatan-inputs: Remove.
28379 * benchtests/slowatan.c: Remove.
28380 * benchtests/slowcos-inputs: Remove.
28381 * benchtests/slowcos.c: Remove.
28382 * benchtests/slowexp-inputs: Remove.
28383 * benchtests/slowexp.c: Remove.
28384 * benchtests/slowpow-inputs: Remove.
28385 * benchtests/slowpow.c: Remove.
28386 * benchtests/slowsin-inputs: Remove.
28387 * benchtests/slowsin.c: Remove.
28388 * benchtests/slowtan-inputs: Remove.
28389 * benchtests/slowtan.c: Remove.
28390 * benchtests/tan-inputs: Add slow benchmark inputs.
28391 * scripts/bench.pl: Parse comments and directives.
28392
d569c6ee
SP
28393 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
28394 in CPPFLAGS.
28395 ($(objpfx)bench-%.c): Remove *-ITER.
28396 * benchtests/bench-modf.c: Remove definition of ITER.
28397 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28398 (main): Loop for DURATION seconds instead of fixed number of
28399 iterations.
28400 * scripts/bench.pl: Don't expect iterations in parameters.
28401
a6a242fe
RM
284022013-04-29 Roland McGrath <roland@hack.frob.com>
28403
28404 * io/fchdir.c (__fchdir): Renamed from fchdir.
28405 (fchdir): Define as weak alias.
28406
f2da7793
JM
284072013-04-29 Joseph Myers <joseph@codesourcery.com>
28408
28409 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28410 (ERRNO_EDOM): Likewise.
28411 (ERRNO_ERANGE): Likewise.
28412 (noErrnoTests): New variable.
28413 (init_max_error): Set errno to 0.
28414 (test_single_errno): New function.
28415 (test_errno): Likewise.
28416 (check_float_internal): Call test_errno. Set errno to 0.
28417 (check_complex): Refer to errno tests in comment.
28418 (check_int): Call test_errno. Set errno to 0.
28419 (check_long): Likewise.
28420 (check_bool): Likewise.
28421 (check_longlong): Likewise.
28422 (cos_test): Use ERRNO_* flags for errno tests instead of
28423 check_int.
28424 (expm1_test): Likewise.
28425 (fmod_test): Likewise.
28426 (ilogb_test): Likewise.
28427 (lgamma_test): Likewise.
28428 (pow_test): Likewise.
28429 (remainder_test): Likewise.
28430 (sin_test): Likewise.
28431 (tan_test): Likewise.
28432 (yn_test): Likewise.
28433 (initialize): Set errno to 0.
28434 (main): Print number of errno tests.
28435 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28436
b1a36ceb
AJ
284372013-04-29 Andreas Jaeger <aj@suse.de>
28438
c3ed8088
AJ
28439 [BZ #15084]
28440 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28441 and RES_USEVC.
28442
f1a24198
AJ
28443 [BZ #15085]
28444 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28445 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28446 unimplemented.
28447
9ce3b2cb
AJ
28448 [BZ #15380]
28449 * stdlib/random.c (__initstate): Return NULL if
28450 __initstate fails.
28451
f1a24198 28452 [BZ #15086]
b1a36ceb
AJ
28453 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28454 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28455 RES_SNGLKUPREOP.
28456
7e7b6f36
AZ
284572013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28458
28459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28460
4d14f449
JM
284612013-04-29 Joseph Myers <joseph@codesourcery.com>
28462
28463 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28464 of individual tests.
28465 (casin_test): Likewise.
28466 (casinh_test): Likewise.
28467
5b4217d7
JM
284682013-04-27 Joseph Myers <joseph@codesourcery.com>
28469
28470 [BZ #15409]
28471 * math/s_catan.c (__catan): Handle arguments with large real or
28472 imaginary part separately without squaring.
28473 * math/s_catanf.c (__catanf): Likewise.
28474 * math/s_catanh.c (__catanh): Likewise.
28475 * math/s_catanhf.c (__catanhf): Likewise.
28476 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28477 and redefine.
28478 (__catanhl): Handle arguments with large real or imaginary part
28479 separately without squaring.
28480 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28481 and redefine.
28482 (__catanl): Handle arguments with large real or imaginary part
28483 separately without squaring.
28484 * math/libm-test.inc (catan_test): Add more tests.
28485 (catanh_test): Likewise.
28486 * sysdeps/i386/fpu/libm-test-ulps: Update.
28487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28488
4220c3ef
AJ
284892013-04-27 Andreas Jaeger <aj@suse.de>
28490
28491 [BZ #15007]
28492 * stdlib/stdlib.h: Update guards for qecvt.
28493 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28494 <stdlib.h>.
28495
4721b2d1
AM
284962013-04-27 Allan McRae <allan@archlinux.org>
28497
28498 * sysdeps/i386/fpu/libm-test-ulps: Update.
28499
f0302940
JM
285002013-04-26 Joseph Myers <joseph@codesourcery.com>
28501
9457fd95
JM
28502 [BZ #15406]
28503 * math/s_catan.c: Include <float.h>.
28504 (__catan): Ensure underflow exception occurs for underflowed
28505 result.
28506 * math/s_catanf.c: Include <float.h>.
28507 (__catanf): Ensure underflow exception occurs for underflowed
28508 result.
28509 * math/s_catanh.c: Include <float.h>.
28510 (__catanh): Ensure underflow exception occurs for underflowed
28511 result.
28512 * math/s_catanhf.c: Include <float.h>.
28513 (__catanhf): Ensure underflow exception occurs for underflowed
28514 result.
28515 * math/s_catanhl.c: Include <float.h>.
28516 (__catanhl): Ensure underflow exception occurs for underflowed
28517 result.
28518 * math/s_catanl.c: Include <float.h>.
28519 (__catanl): Ensure underflow exception occurs for underflowed
28520 result.
28521 * math/libm-test.inc (catan_test): Add more tests.
28522 (catanh_test): Likewise.
28523
f0302940
JM
28524 [BZ #15405]
28525 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28526 underflowed result.
28527 * math/s_ccoshf.c (__ccoshf): Likewise.
28528 * math/s_ccoshl.c (__ccoshl): Likewise.
28529 * math/s_csin.c (__csin): Likewise.
28530 * math/s_csinf.c (__csinf): Likewise.
28531 * math/s_csinh.c (__csinh): Likewise.
28532 * math/s_csinhf.c (__csinhf): Likewise.
28533 * math/s_csinhl.c (__csinhl): Likewise.
28534 * math/s_csinl.c (__csinl): Likewise.
28535 * math/libm-test.inc (ccos_test): Add more tests.
28536 (ccosh_test): Likewise.
28537 (csin_test): Likewise.
28538 (csinh_test): Likewise.
28539
aa630f59
AZ
285402013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28541
28542 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28543 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28544 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28545 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28546 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28547 powerpc/power5+/fpu folders.
28548 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28549
28550
1b835983
MT
285512013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
28552
28553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28554
73709b26
JM
285552013-04-25 Joseph Myers <joseph@codesourcery.com>
28556
28557 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28558 additions to variable.
28559 [$(config-machine) = x86_64] (modules-names): Likewise.
28560 ($(objpfx)tst-audit3): Remove dependency.
28561 ($(objpfx)tst-audit3.out): Likewise.
28562 ($(objpfx)tst-audit4): Likewise.
28563 ($(objpfx)tst-audit4.out): Likewise.
28564 ($(objpfx)tst-audit5): Likewise.
28565 ($(objpfx)tst-audit5.out): Likewise.
28566 ($(objpfx)tst-audit6): Likewise.
28567 ($(objpfx)tst-audit6.out): Likewise.
28568 ($(objpfx)tst-audit7): Likewise.
28569 ($(objpfx)tst-audit7.out): Likewise.
28570 (tst-audit3-ENV): Remove variable.
28571 (tst-audit4-ENV): Likewise.
28572 (tst-audit5-ENV): Likewise.
28573 (tst-audit6-ENV): Likewise.
28574 (tst-audit7-ENV): Likewise.
28575 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28576 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28577 addition to variable.
28578 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28579 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28580 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28581 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28582 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28583 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28584 tst-audit3, tst-audit4 and tst-audit5.
28585 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28586 tst-audit6 and tst-audit7.
28587 [$(subdir) = elf] (modules-names): Add audit modules for those
28588 tests.
28589 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28590 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28591 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28592 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28593 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28594 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28595 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28596 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28597 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28598 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28599 [$(subdir) = elf] (tst-audit3-ENV): New variable.
28600 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28601 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28602 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28603 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28604 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28605 Likewise.
28606 [$(subdir) = elf && $(config-cflags-avx) = yes]
28607 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28608 [$(subdir) = elf && $(config-cflags-avx) = yes]
28609 (CFLAGS-tst-auditmod4a.c): Likewise.
28610 [$(subdir) = elf && $(config-cflags-avx) = yes]
28611 (CFLAGS-tst-auditmod4b.c): Likewise.
28612 [$(subdir) = elf && $(config-cflags-avx) = yes]
28613 (CFLAGS-tst-auditmod6b.c): Likewise.
28614 [$(subdir) = elf && $(config-cflags-avx) = yes]
28615 (CFLAGS-tst-auditmod6c.c): Likewise.
28616 [$(subdir) = elf && $(config-cflags-avx) = yes]
28617 (CFLAGS-tst-auditmod7b.c): Likewise.
28618 * elf/tst-audit3.c: Move to ...
28619 * sysdeps/x86_64/tst-audit3.c: ... here.
28620 * elf/tst-audit4.c: Move to ...
28621 * sysdeps/x86_64/tst-audit4.c: ... here.
28622 * elf/tst-audit5.c: Move to ...
28623 * sysdeps/x86_64/tst-audit5.c: ... here.
28624 * elf/tst-audit6.c: Move to ...
28625 * sysdeps/x86_64/tst-audit6.c: ... here.
28626 * elf/tst-audit7.c: Move to ...
28627 * sysdeps/x86_64/tst-audit7.c: ... here.
28628 * elf/tst-auditmod3a.c: Move to ...
28629 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28630 * elf/tst-auditmod3b.c: Move to ...
28631 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28632 * elf/tst-auditmod4a.c: Move to ...
28633 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28634 * elf/tst-auditmod4b.c: Move to ...
28635 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28636 * elf/tst-auditmod5a.c: Move to ...
28637 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28638 * elf/tst-auditmod5b.c: Move to ...
28639 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28640 * elf/tst-auditmod6a.c: Move to ...
28641 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28642 * elf/tst-auditmod6b.c: Move to ...
28643 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28644 * elf/tst-auditmod6c.c: Move to ...
28645 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28646 * elf/tst-auditmod7a.c: Move to ...
28647 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28648 * elf/tst-auditmod7b.c: Move to ...
28649 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28650
1ef74943
PP
286512013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
28652
28653 [BZ #15366]
28654 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28655 define unconditionally.
28656 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28657 define unconditionally.
28658 (INT8_C, INT16_C, etc.): Likewise.
28659
93fd48c5
MR
286602013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
28661
ae9552cf
MR
28662 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28663 __ehdr_start with hidden visibility.
28664
93fd48c5
MR
28665 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28666
418601aa
CD
286672013-04-24 Carlos O'Donell <carlos@redhat.com>
28668
28669 * math/libm-test.inc (cos_test): Use accurate hex constants.
28670 (sincost_test): Likewise.
28671
2f38fbfe
JM
286722013-04-24 Joseph Myers <joseph@codesourcery.com>
28673
5e221800
JM
28674 * math/libm-test.inc (catan_test): Add more tests.
28675 (catanh_test): Likewise.
28676
77f143fd
JM
28677 * math/s_catanf.c (__catanf): Use suffixed floating-point
28678 constants.
28679 * math/s_catanhf.c (__catanhf): Likewise.
28680 * math/s_catanhl.c (__catanhl): Likewise.
28681 * math/s_catanl.c (__catanl): Likewise.
28682
2f38fbfe
JM
28683 [BZ #15394]
28684 * math/s_catan.c (__catan): Calculate imaginary part of result
28685 with log1p not log unless computing log of number close to 0.
28686 * math/s_catanf.c (__catanf): Likewise.
28687 * math/s_catanl.c (__catanl): Likewise.
28688 * math/s_catanh.c (__catanh): Calculate real part of result with
28689 log1p not log unless computing log of number close to 0.
28690 * math/s_catanhf.c (__catanhf): Likewise.
28691 * math/s_catanhl.c (__catanhl): Likewise.
28692 * math/libm-test.inc (catan_test): Add more tests.
28693 (catanh_test): Likewise.
28694 * sysdeps/i386/fpu/libm-test-ulps: Update.
28695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28696
45d69176
SP
286972013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
28698
28699 * benchtests/Makefile: Mention files in which fast and slow
28700 paths of math functions are implemented.
28701
87f51853
RM
287022013-04-23 Roland McGrath <roland@hack.frob.com>
28703
28704 * sysdeps/posix/timespec_get.c: New file.
28705
3c026539
AZ
287062013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28707
28708 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28709 POWER.
28710 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28711 for POWER.
28712 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28713 powerpc/power5/fpu folders.
28714 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28715 * benchtests/Makefile: Add modf testcase.
28716 * benchtests/bench-modf.c: New file: Benchmark test for mo
28717
ff491d14
SP
287182013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
28719
28720 [BZ #14888]
28721 * time/Makefile (tests): Add tst-strptime-whitespace.
28722 * time/strptime_l.c (get_number): Use ISSPACE.
28723 (__strptime_internal): Likewise.
28724 * time/tst-strptime-whitespace.c: New test case.
28725
7ed3f4e8
AS
287262013-04-23 Andreas Schwab <schwab@linux-m68k.org>
28727
28728 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28729 member.
28730 (_nss_files_init): Set it here.
28731
5c95f7b6
HC
287322013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
28733
28734 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28735 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28736 unsigned.
28737
d34c9158
JBG
287382013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
28739
28740 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28741
2169712d
SP
287422013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
28743
28744 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28745 size just once.
28746
29c5de99
DM
287472013-04-21 David S. Miller <davem@davemloft.net>
28748
28749 * po/ru.po: Update Russion translation from translation project.
28750
ccdad15d
AC
287512013-04-17 Adam Conrad <adconrad@0c3.net>
28752
28753 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28754 and setfsgid.
28755
0f122b8d
CD
287562013-04-17 Carlos O'Donell <carlos@redhat.com>
28757
5c5b07da 28758 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 28759 * configure: Regenerate.
5c5b07da 28760 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
28761 Add example to error message.
28762 * sysdeps/i386/configure: Regenerate.
28763
037714dd
SP
287642013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
28765
28766 * benchtests/Makefile (bench): Add cos, tan, slowcos and
28767 slowtan.
28768 * benchtests/cos-inputs: New file.
28769 * benchtests/slowcos-inputs: New file.
28770 * benchtests/slowcos.c: New file.
28771 * benchtests/slowtan-inputs: New file.
28772 * benchtests/slowtan.c: New file.
28773 * benchtests/tan-inputs: New file.
28774
e913141d
RM
287752013-04-16 Roland McGrath <roland@hack.frob.com>
28776
28777 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28778 considered kosher.
28779
a2964074
SP
287802013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
28781
4856bcd2
SP
28782 * benchtests/Makefile: Include cppflags-iterator.mk to add
28783 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28784
a2964074
SP
28785 * Makefile.in (bench-clean): New target.
28786 * benchtests/Makefile (bench-clean): Likewise.
28787
9fbf9aca
DH
287882013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
28789
28790 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28791
207d1e2a
TS
287922013-04-15 Thomas Schwinge <thomas@codesourcery.com>
28793
28794 * stdio-common/tstdiomisc.c: Fix coding-style violation.
28795
306dfba9
AS
287962013-04-15 Andreas Schwab <schwab@suse.de>
28797
28798 * nscd/grpcache.c (cache_addgr): Properly check for short write.
28799 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28800 * nscd/pwdcache.c (cache_addpw): Likewise.
28801 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
28802 more than recsize.
28803
206a6699
SP
288042013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28805
28806 * benchtests/Makefile (bench): Write all output to
28807 bench-out.tmp together.
28808
0582f6b3
AS
288092013-04-15 Andreas Schwab <schwab@suse.de>
28810
28811 * nscd/nscd.c (main): Don't fork again after closing files.
28812
acb4325f
SP
288132013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
28814
5cb26d0a
SP
28815 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28816
acb4325f
SP
28817 * benchtests/Rules (bench-deps): Collect dependencies into a
28818 single variable. Add Makefile to dependencies.
28819 ($(objpfx)bench-%.c): Depend on bench-deps.
28820
47792506
RM
288212013-04-12 Roland McGrath <roland@hack.frob.com>
28822 Xavier Roche <roche+kml2@exalead.com>
28823
28824 [BZ #15361]
28825 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28826 just that it's a file descriptor.
28827 * manual/llio.texi (Synchronizing AIO Operations): Update description
28828 for EBADF error from aio_fsync.
28829
8fc1bee5
SP
288302013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
28831
28832 * Rules (bench): Move target definition...
28833 * benchtests/Makefile: ... here.
28834
aba5e333
CD
288352013-04-11 Carlos O'Donell <carlos@redhat.com>
28836
28837 * math/libm-test.inc (cos_test): Fix PI/2 test.
28838 (sincos_test): Likewise.
28839 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28840 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28841
273cdee8
AS
288422013-04-11 Andreas Schwab <schwab@suse.de>
28843
6ecec3b6
AS
28844 [BZ #13988]
28845 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28846 accept exponent character only when digits were seen.
28847 * stdio-common/Makefile (tests): Add bug26.
28848 * stdio-common/bug26.c: New file.
28849
273cdee8
AS
28850 [BZ #14293]
28851 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28852 non-freeable.
28853
8da491f5
SP
288542013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
28855
01dc6df9
SP
28856 * Makeconfig (rtld-prefix): Define built linker prefix.
28857 * Rules (run-bench): Use it.
28858 * math/Makefile (run-regen-ulps): Likewise.
28859
8da491f5
SP
28860 * Rules (bench): Remove eval.
28861
abe7f530
SP
288622013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
28863 Roland McGrath <roland@hack.frob.com>
28864 Ondrej Bilka <neleai@seznam.cz>
28865
28866 [BZ #15346]
28867 * time/getdate.c: Include ctype.h and alloca.h.
28868 (__getdate_r): Trim leading and trailing spaces of input.
28869 * time/tst-getdate.c (tests): Add tests with leading and
28870 trailing spaces.
28871
61c23e62
RM
288722013-04-08 Roland McGrath <roland@hack.frob.com>
28873
28874 [BZ #14280]
28875 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28876 when computing value.
28877
7208a313
CD
288782013-04-06 Carlos O'Donell <carlos@redhat.com>
28879
085b2d41
CD
28880 * math/README.libm-test (How can I generate "libm-test-ulps"?):
28881 Use testrun.sh to run libm tests.
28882
7208a313
CD
28883 [BZ #15309]
28884 * elf/dl-open.c (dl_open_worker): memset all of seen array.
28885
872c0acd
MM
288862013-04-06 Marko Myllynen <myllynen@redhat.com>
28887
28888 [BZ #15264]
28889 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28890
26510bdd
CD
288912013-04-06 Carlos O'Donell <carlos@redhat.com>
28892
28893 * Makefile.in (regen-ulps): New target.
28894 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28895 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28896 [ifneq (no,$(PERL)] (regen-ulps): New target.
28897 [ifeq (no,$(PERL)] (regen-ulps): New target.
28898 * math/libm-test.inc (ulps_file_name): Define.
28899 (output_dir): New variable.
28900 (options): Add "output-dir" option.
28901 (parse_opt): Handle 'o' case.
28902 (main): If output_dir is non-NULL use it as a prefix
28903 otherwise use "".
28904 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28905
a01f19c8
CD
289062013-04-06 Carlos O'Donell <carlos@redhat.com>
28907
28908 [BZ #10060, #10062]
28909 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28910 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28911 fail configure if __sync_val_compare_and_swap is not inlined.
28912 * sysdeps/i386/configure: Regenerate.
28913 * configure.in: Build for i686 when configured for i386.
28914 * configure: Regenerate.
28915 * README: Remove i386 reference.
28916
b7a329a5
CD
289172013-04-06 Carlos O'Donell <carlos@redhat.com>
28918
28919 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28920 * sysdeps/s390/s390-64/sysdep.h: Likewise.
28921
bf0f50df
TS
289222013-04-05 Thomas Schwinge <thomas@codesourcery.com>
28923
ee091edf
TS
28924 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28925 (lmsnanval): New variables.
28926 (F): Add conversion tests.
28927 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28928 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28929
a8b792d6
TS
28930 * stdio-common/tstdiomisc.c (F): Properly collect individual
28931 tests' results.
28932
a1cbf437
TS
28933 [BZ #14686, #15336]
28934 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28935 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28936 Instead, use input NaN values or generate a qNaN by arithmetic
28937 operation. Also fix bugs to comply with the standard.
28938 * math/libm-test.inc (remainder_test): Add more tests.
28939
8b43a0c9
TS
28940 [BZ #15335, #15342]
28941 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28942 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28943 input NaN values or generate a qNaN by arithmetic operation.
28944
d91da4ce
TS
28945 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28946 unreachable code.
28947
bf0f50df
TS
28948 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28949 definitions.
28950
05e166c8
JM
289512013-04-03 Joseph Myers <joseph@codesourcery.com>
28952
28953 [BZ #14478]
28954 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28955 underflowed result.
28956 * math/s_cexpf.c (__cexpf): Likewise.
28957 * math/s_cexpl.c (__cexpl): Likewise.
28958 * math/libm-test.inc (cexp_test): Add more tests.
28959
1cef1b19
AS
289602013-04-03 Andreas Schwab <schwab@suse.de>
28961
28962 [BZ #15330]
28963 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28964 order arrays from heap if bigger than alloca cutoff.
28965
74d87055
TS
289662013-04-03 Thomas Schwinge <thomas@codesourcery.com>
28967
28968 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28969 (SNAN_TESTS_double): Refer to GCC PR56831.
28970 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28971 GCC PR56828.
28972
d755bba4
SP
289732013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
28974
90d5d5bb
SP
28975 * Rules (bench): Move bench.out after the run is complete.
28976
73e0cd5d
SP
28977 * Rules (bench): Echo currently running benchmark.
28978
64aabd4b
SP
28979 * benchtests/Makefile (bench): Add atan and slowatan.
28980 * benchtests/atan-inputs: New file.
28981 * benchtests/slowatan-inputs: New file.
28982 * benchtests/slowatan.c: New file.
28983
c871eccd
SP
28984 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28985 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28986 its value.
28987
d755bba4
SP
28988 [BZ #15305]
28989 * sysdeps/unix/sysv/linux/kernel-features.h
28990 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28991 __ASSUME_XFS_RESTRICTED_CHOWN.
28992 * sysdeps/unix/sysv/linux/pathconf.c
28993 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28994 Save and restore errno.
28995
52ce4860
JM
289962013-04-02 Joseph Myers <joseph@codesourcery.com>
28997
28998 [BZ #15327]
28999 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29000 arguments using __kernel_casinh.
29001 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29002 arguments using __kernel_casinhf.
29003 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29004 arguments using __kernel_casinhl.
29005 * math/libm-test.inc (cacosh_test): Add more tests.
29006 * sysdeps/i386/fpu/libm-test-ulps: Update.
29007 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29008
81f311c2
SP
290092013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
29010
e7906a47
SP
29011 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29012 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29013
92e3664b
SP
29014 * bench/Makefile (bench): Add sin and slowsin.
29015 * benchtests/sin-inputs: New file.
29016 * benchtests/slowsin-inputs: New file.
29017 * benchtests/slowsin.c: New file.
29018
81f311c2
SP
29019 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29020 (bench): Add slowexp and slowpow.
29021 (exp-ITER): Increase iterations.
29022 (pow-ITER): Likewise.
29023 * benchtests/exp-inputs: Change input.
29024 * benchtests/pow-inputs: Likewise.
29025 * benchtests/slowexp-inputs: New file.
29026 * benchtests/slowexp.c: New file.
29027 * benchtests/slowpow-inputs: New file.
29028 * benchtests/slowpow.c: New file.
29029
ab0f1aa9
AZ
290302013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29031
29032 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29033 instructions.
29034 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29035 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29036 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29037 * benchtests/Makefile: Add rint benchtest.
29038 * benchtests/rint-inputs: Input for rint benchtest.
29039
57267616
TS
290402013-04-02 Thomas Schwinge <thomas@codesourcery.com>
29041
29042 * Versions.def (libm): Add GLIBC_2.18.
29043 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29044 hidden libm prototypes.
29045 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29046 * math/Makefile (libm-calls): Add s_issignaling.
29047 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29048 __issignalingf, __issignalingl. Adjust all libm.abilist files.
29049 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29050 declaration.
29051 * math/math.h [__USE_GNU] (issignaling): New macro.
29052 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29053 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29054 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29055 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29056 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29057 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29058 * manual/arith.texi (issignaling): New section.
29059 * manual/libm-err-tab.pl (@all_functions): Update comment.
29060 * math/gen-libm-test.pl (parse_args): Apply special handling for
29061 issignaling.
29062 * math/libm-test.inc (print_float, issignaling_test): New
29063 functions.
29064 (check_float_internal): Add issignaling checks.
29065 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29066 default definition.
29067 * sysdeps/powerpc/math-tests.h: New file.
29068 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29069 tests.
29070 * math/test-snan.c (TEST_FUNC): Likewise.
29071
6142896d
DM
290722013-03-30 David S. Miller <davem@davemloft.net>
29073
29074 * po/de.po: Update from translation team.
29075
ccc8cadf
JM
290762013-03-30 Joseph Myers <joseph@codesourcery.com>
29077
29078 [BZ #10357]
29079 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29080 imaginary part less than 1.0 and real part less than 0.5
29081 specially.
29082 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29083 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29084 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29085 (cacos_test): Add more tests.
29086 (casin_test): Likewise.
29087 (casinh_test): Likewise.
29088 * sysdeps/i386/fpu/libm-test-ulps: Update.
29089 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29090
0f6a8d4b
SP
290912013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
29092
0d1029de
SP
29093 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29094 ONE with its value.
29095
c2d94018
SP
29096 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29097 (__pow_mp): Replace ONE and MONE with their values.
29098 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29099 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29100 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29101 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29102 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29103 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29104
27ec37f1
SP
29105 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29106
a64d7e0e
SP
29107 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29108 (__pow_mp): Replace ZERO and MZERO with their values.
29109 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29110 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29111 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29113 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29114 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29115 (__sqr): Likewise.
29116
d26dd3eb
SP
29117 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29118
0f6a8d4b
SP
29119 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29120
e57b0c61
RM
291212013-03-28 Roland McGrath <roland@hack.frob.com>
29122
29123 * include/stdlib.h [!SHARED] (__call_tls_dtors):
29124 Declare with __attribute__ ((weak)).
29125 * stdlib/exit.c (__libc_atexit) [!SHARED]:
29126 Call __call_tls_dtors only if it's not NULL.
29127
356b3480
RM
291282013-03-28 Roland McGrath <roland@hack.frob.com>
29129
288f7d79
RM
29130 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29131 didn't do it already, then set _dl_phdr and _dl_phnum based on the
29132 magic __ehdr_start linker symbol if it's defined.
29133 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29134 them up here if it was already done.
29135
dc0a0263
RM
29136 * elf/dl-support.c (_dl_phdr): Make pointer to const.
29137 (_dl_aux_init): Use const in cast when setting it.
29138 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29139 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29140 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29141
3d3436ae
RM
29142 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29143 Declare them here.
29144 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29145 * csu/libc-tls.c: Nor here.
29146 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29147
356b3480
RM
29148 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29149 (__libc_message): Never call vsyslog.
29150
b0f1246a
AM
291512013-03-28 Alan Modra <amodra@gmail.com>
29152
29153 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29154 Define as empty.
29155 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29156 Likewise.
29157
fbbe2b9a
AZ
291582013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29159
29160 [BZ #15214]
29161 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29162 underflow.
29163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29164
1728ab37
SP
291652013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
29166
7a86be6e
SP
29167 [BZ #15304]
29168 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29169 Don't add gid passed as argument.
29170
1728ab37
SP
29171 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29172
3a7182a1
JM
291732013-03-27 Joseph Myers <joseph@codesourcery.com>
29174
29175 [BZ #15307]
29176 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29177 imaginary part between 1.0 and 1.5 and real part less than 0.5
29178 specially.
29179 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29180 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29181 * math/libm-test.inc (cacos_test): Add more tests.
29182 (casin_test): Likewise.
29183 (casinh_test): Likewise.
29184 * sysdeps/i386/fpu/libm-test-ulps: Update.
29185 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29186
6f2e90e7
SP
291872013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
29188
5739f705
SP
29189 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29190 constants.
29191 (norm): Likewise.
29192 (denorm): Likewise.
29193 (__dbl_mp): Likewise.
29194 (add_magnitudes): Likewise.
29195 (sub_magnitudes): Likewise.
29196 (__add): Likewise.
29197 (__sub): Likewise.
29198 (__mul): Likewise.
29199 (__sqr): Likewise.
29200 (__inv): Likewise.
29201 (__dvd): Likewise.
29202
e375e83d
SP
29203 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29204 commented code.
29205 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29206 (__dubcos): Likewise.
29207 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29208 (__ieee754_acos): Likewise.
29209 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29210 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29211 (__exp1): Likewise.
29212 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29213 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29214 (log1): Likewise.
29215 (my_log2): Likewise.
29216 (checkint): Likewise.
29217 * sysdeps/ieee754/dbl-64/e_remainder.c
29218 (__ieee754_remainder): Likewise.
29219 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29220 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29221 (bsloww): Likewise.
29222 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29223
6f2e90e7
SP
29224 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29225 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29226 MANTISSA_STORE_T to store computations on mantissa. Use
29227 macros for rounding and division.
29228 (denorm): Likewise.
29229 (__dbl_mp): Likewise.
29230 (add_magnitudes): Likewise.
29231 (sub_magnitudes): Likewise.
29232 (__mul): Likewise.
29233 (__sqr): Likewise.
29234 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29235 powers of two in terms of TWOPOW macro.
29236 (mp_no): Make type of mantissa as MANTISSA_T.
29237 [!RADIXI]: Define RADIXI.
29238 [!TWO52]: Define TWO52.
29239 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29240
fce14d4e
AZ
292412013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29242
29243 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29244 llroundl symbol when building for PPC32.
29245
9ad027fb
MW
292462013-03-24 Mark H Weaver <mhw@netris.org>
29247
29248 * manual/arith.texi (Normalization Functions): Fix prototypes for
29249 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29250
e42a38dd
AZ
292512013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29252
29253 [BZ #13889]
29254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29255 high value to check if expl overflow.
29256 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29257 to check for underflow and overflow.
29258 * math/libm-test.inc: Add exp test.
29259
2e0fb521
DL
292602013-03-21 Dmitry V. Levin <ldv@altlinux.org>
29261
29262 [BZ #11120]
29263 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29264 with NOT_IN_libc.
29265
b5784d95
AZ
292662013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29267
29268 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29269 symbol.
29270
5aa4a1a1
TS
292712013-03-21 Thomas Schwinge <thomas@codesourcery.com>
29272
bdef0be7
TS
29273 * math/gen-libm-test.pl (parse_args, special_functions): Properly
29274 wrap blocks consisting of several statements.
29275
5aa4a1a1
TS
29276 * sysdeps/generic/math-tests.h: New file.
29277 * sysdeps/i386/fpu/math-tests.h: Likewise.
29278 * math/test-snan.c: Include it.
29279 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29280
98c48fe5
JM
292812013-03-21 Joseph Myers <joseph@codesourcery.com>
29282
29283 [BZ #15285]
29284 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29285 (__ieee754_j0l): Do not improve calculations using cos of twice
29286 input for inputs above LDBL_MAX / 2.0L.
29287 (__ieee754_y0l): Likewise.
29288 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29289 (__ieee754_j1l): Do not improve calculations using cos of twice
29290 input for inputs above LDBL_MAX / 2.0L.
29291 (__ieee754_y1l): Likewise.
29292 * math/libm-test.inc (j0_test): Add another test.
29293 (j1_test): Likewise.
29294 (y0_test): Likewise.
29295 (y1_test): Likewise.
29296 * sysdeps/i386/fpu/libm-test-ulps: Update.
29297
3775a8bc
SP
292982013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29299
29300 * Rules ($(objpfx)bench-%.c): Include code from a C source
29301 file.
29302
0a1b2ae6
JM
293032013-03-21 Joseph Myers <joseph@codesourcery.com>
29304
29305 [BZ #15287]
29306 * math/k_casinh.c (__kernel_casinh): Handle arguments with
29307 imaginary part 1.0 and real part less than 0.5 specially.
29308 * math/k_casinhf.c (__kernel_casinhf): Likewise.
29309 * math/k_casinhl.c (__kernel_casinhl): Likewise.
29310 * math/libm-test.inc (cacos_test): Add more tests.
29311 (casin_test): Likewise.
29312 (casinh_test): Likewise.
29313 * sysdeps/i386/fpu/libm-test-ulps: Update.
29314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29315
b33d4ce4
SP
293162013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29317
29318 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29319 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29320
bef0b507
JM
293212013-03-20 Joseph Myers <joseph@codesourcery.com>
29322
29323 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29324 * config.make.in (config-cflags-sse4): Remove variable.
29325 (config-cflags-avx): Likewise.
29326 (config-cflags-sse2avx): Likewise.
29327 (config-cflags-novzeroupper): Likewise.
29328 (config-asflags-i686): Likewise.
29329 (have-mfma4): Likewise.
29330 (have-as-vis3): Likewise.
29331 (MIG): Likewise.
29332 * configure.in (MIG): Do not AC_SUBST.
29333 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29334 (libc_cv_cc_sse4): Do not AC_SUBST.
29335 (libc_cv_cc_avx): Likewise.
29336 (libc_cv_cc_sse2avx): Likewise.
29337 (libc_cv_cc_novzeroupper): Likewise.
29338 (libc_cv_cc_fma4): Likewise.
29339 (libc_cv_as_i686): Likewise.
29340 (libc_cv_sparc_as_vis3): Likewise.
29341 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29342 LIBC_CONFIG_VAR.
29343 (config-asflags-i686): Likewise.
29344 (config-cflags-avx): Likewise.
29345 (config-cflags-sse2avx): Likewise.
29346 (have-mfma4): Likewise.
29347 (config-cflags-novzeroupper): Likewise.
29348 * sysdeps/mach/configure.in (MIG): Likewise.
29349 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29350 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29351 LIBC_CONFIG_VAR.
29352 (config-cflags-avx): Likewise.
29353 (config-cflags-sse2avx): Likewise.
29354 (have-mfma4): Likewise.
29355 (config-cflags-novzeroupper): Likewise.
29356 * configure: Regenerated.
29357 * sysdeps/i386/configure: Likewise.
29358 * sysdeps/mach/configure: Likewise.
29359 * sysdeps/sparc/configure: Likewise.
29360 * sysdeps/x86_64/configure: Likewise.
29361
912cc4b3
RM
293622013-03-20 Roland McGrath <roland@hack.frob.com>
29363
29364 [BZ #14812]
29365 * locale/programs/localedef.c (options): Put N_ translation marker
29366 on argument names, not just descriptions.
29367
04eed2b0
MS
293682013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
29369
29370 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29371
a065ceff
OB
293722013-03-20 Ondřej Bílka <neleai@seznam.cz>
29373
9bb2a810 29374 [BZ #14176]
a065ceff
OB
29375 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29376
a600e5ce
RM
293772013-03-19 Roland McGrath <roland@hack.frob.com>
29378
29379 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29380 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29381 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29382 [!BEFORE_ABORT] (before_abort): New function.
29383 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29384 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29385 (writev_for_fatal): New function.
29386 (WRITEV_FOR_FATAL): New macro; call that.
29387 (backtrace_and_maps): New function.
29388 (BEFORE_ABORT): New macro; call that.
29389 (struct str_list): Type removed.
29390 (__libc_message, __libc_fatal): Functions removed.
29391 Include <sysdeps/posix/libc_fatal.c> instead.
29392
6b18bea6
JM
293932013-03-19 Joseph Myers <joseph@codesourcery.com>
29394
29395 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29396 constants.
29397 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29398 double constants.
29399
aaa8cb4b
AS
294002013-03-19 Andreas Schwab <schwab@suse.de>
29401
44673770
AS
29402 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29403 * sysdeps/gnu/configure: Regenerate.
29404
aaa8cb4b
AS
29405 * configure.in: Substitute libc_cv_rtlddir.
29406 * configure: Regenerate.
29407 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29408 * Makeconfig (rtlddir, inst_rtlddir): New variables.
29409 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29410 * elf/Makefile (install-others, CFLAGS-interp.c)
29411 (ldso_install, common-ldd-rewrite): Likewise.
29412 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29413 $(inst_slibdir)/$(rtld-installed-name).
29414 * scripts/rellns-sh: Add -p option.
29415 * Makerules (make-shlib-link): Use rellns-sh to get relative name
29416 for source.
29417
d3cfc668
SP
294182013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29419
29420 * manual/nptl.texi: Renamed to ...
29421 * manual/threads.texi: ... this.
29422 * manual/Makefile (chapters): Update.
29423
0e2b9cdd
RM
294242013-03-18 Roland McGrath <roland@hack.frob.com>
29425
29426 [BZ #14812]
29427 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29428 on argument names, not just descriptions.
0e2b9cdd
RM
29429 * malloc/memusagestat.c (options): Likewise.
29430 * nss/getent.c (options): Likewise.
63270c24
RM
29431
294322013-03-18 Benno Schulenberg <bensberg@justemail.net>
29433
29434 [BZ #14812]
29435 * iconv/iconv_prog.c (options): Put N_ translation marker
29436 on argument names, not just descriptions.
29437 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 29438
b2e1393c
OB
294392013-03-18 Ondrej Bilka <neleai@seznam.cz>
29440
29441 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29442 implementation which is faster on all x86_64 architectures.
29443 Tested on AMD, Intel Nehalem, SNB, IVB.
29444 * sysdeps/x86_64/strnlen.S: Likewise.
29445
29446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29447 Remove all multiarch strlen and strnlen versions.
29448 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29449 Remove strlen and strnlen related parts.
29450
29451 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29452 Inline strlen part.
29453 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29454
29455 * sysdeps/x86_64/multiarch/strlen.S: Remove.
29456 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29457 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29458 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29459 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29460 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29461
ec4ff04d
CD
294622013-03-17 Carlos O'Donell <carlos@redhat.com>
29463
29464 * manual/memory.texi (Malloc Tunable Parameters):
29465 Sort parameters alphabetically. Add comments for missing entries.
29466
cd18e90a
DM
294672013-03-17 David S. Miller <davem@davemloft.net>
29468
29469 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29470
2a185d32
JM
294712013-03-16 Joseph Myers <joseph@codesourcery.com>
29472
d2f9799e
JM
29473 [BZ #15283]
29474 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29475 for arguments at most half maximum finite value.
29476 * math/libm-test.inc (j0_test): Add more tests.
29477 (j1_test): Likewise.
29478 (y0_test): Likewise.
29479 (y1_test): Likewise.
29480 * sysdeps/i386/fpu/libm-test-ulps: Update.
29481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29482
2a185d32
JM
29483 [BZ #14155]
29484 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29485 1 / x and functions P and Q for arguments above 0x1p256L.
29486 (__ieee754_y0l): Likewise.
29487 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29488 (__ieee754_y1l): Likewise.
29489 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29490 (j1_test): Likewise.
29491 (y0_test): Likewise.
29492 (y1_test): Likewise.
29493
6cbec759
TS
294942013-03-16 Thomas Schwinge <thomas@codesourcery.com>
29495
29496 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29497 variable.
29498
bc16e260
RM
294992013-03-15 Roland McGrath <roland@hack.frob.com>
29500
aefc9b8c
RM
29501 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29502 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29503 zero since it's initialized to EXEC_PAGESIZE.
29504
bc16e260
RM
29505 * sysdeps/unix/sysv/linux/ldsodefs.h
29506 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29507 * sysdeps/generic/ldsodefs.h: ... here.
29508
a57da955
TS
295092013-03-15 Thomas Schwinge <thomas@codesourcery.com>
29510
af00a34d
TS
29511 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29512
495ded2c
TS
29513 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29514 math/test-snan.c.
29515 * math/test-snan.c: Renamed from
29516 sysdeps/powerpc/fpu/test-powerpc-snan.c.
29517 * math/Makefile (tests): Add test-snan.
29518 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29519 test-powerpc-snan.
29520
777b0332
TS
29521 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29522 SUFFIX. Initialize qNaN_var with __builtin_nan family of
29523 functions.
29524 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
29525 __builtin_nan family of functions.
29526 * math/libm-test.inc (initialize): Initialize qnan_value with
29527 __builtin_nan family of functions.
29528 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29529 Remove variables.
29530 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29531 Remove functions.
29532 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
29533 storage class. Initialize qNaN_var and sNaN_var with
29534 __builtin_nan and __builtin_nans families of functions,
29535 respectively.
29536
64d063b8
TS
29537 * math/libm-test.inc (acosh_test): Also test with qNaN input.
29538 (sqrt_test): Remove duplicate test with qNaN input.
29539 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29540 (round_test, signbit_test, significand_test): Note missing +/-Inf
29541 as well as qNaN tests.
29542
67e971f1
TS
29543 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29544 qNaN_var. Fix a few strings, too.
29545 * math/libm-test.inc (nan_value): Rename to qnan_value.
29546 * math/gen-libm-test.pl (%beautify): Adjust to that.
29547 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29548 * math/test-misc.c (main): Likewise.
29549 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29550 to __qnan_bytes, and __qnan_union, respectively.
29551 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29552 Likewise.
29553 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29554 and lqnanval, respectively.
29555 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29556 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29557 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29558 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29559
64487e12
TS
29560 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29561 * math/test-misc.c (main) [__x86_64__]: Enable test for long
29562 doubles.
29563
e015e27b
TS
29564 * math/test-misc.c (main): Fix copy'n'pastos.
29565 * misc/tst-efgcvt.c (special): Likewise.
29566
a57da955
TS
29567 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29568 Remove declarations.
29569
1e380345
SP
295702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29571
29572 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29573 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29574 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29575 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29576
ef26eece
AZ
295772013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29578
29579 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29580 macro to return vdso values correctly in IFUNC implementations.
29581 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29582 Optimization by using IFUNC.
29583
8cfdb7e0
SP
295842013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29585 Richard Henderson <rth@redhat.com>
29586 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
29587
29588 * Makefile.in (bench): New target.
29589 * NEWS: Mention the benchmark framework.
29590 * Rules (bench): Likewise.
29591 (binaries-bench): Generate binaries for functions to
29592 benchmark.
29593 * benchtests/Makefile: New makefile for benchmark tests.
29594 * benchtests/bench-skeleton.c: New skeleton file for benchmark
29595 programs.
29596 * benchtests/exp-inputs: New input file for EXP function.
29597 * benchtests/pow-inputs: New input file for POW function.
29598 * scripts/bench.pl: New script to generate source files for
29599 benchmark programs.
29600
bcda9880
SP
296012013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29602
d22ca8cd
SP
29603 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29604 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29605 computations on mantissa. Use macros for rounding and
29606 division.
29607 (denorm): Likewise.
29608 (__dbl_mp): Likewise.
29609 (add_magnitudes): Likewise.
29610 (sub_magnitudes): Likewise.
29611 (__mul): Likewise.
29612 (__sqr): Likewise.
29613 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
29614 powers of two in terms of TWOPOW macro.
29615 (mp_no): Make type of mantissa as MANTISSA_T.
29616 [!RADIXI]: Define RADIXI.
29617 [!TWO52]: Define TWO52.
29618 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29619
bcda9880
SP
29620 * manual/nptl.texi (cindex): Modify threads to pthreads.
29621
06d5adfb
JM
296222013-03-15 Joseph Myers <joseph@codesourcery.com>
29623
29624 * sysdeps/x86_64/preconfigure: Regenerated.
29625
41c7328e
JM
296262013-03-14 Joseph Myers <joseph@codesourcery.com>
29627
29628 [BZ #14155]
29629 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29630 0x1p28 and above.
29631 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29632 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29633 0x1p28 and above.
29634 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29635 * math/libm-test.inc (j0_test): Do not allow one spurious
29636 underflow exception.
29637 (y1_test): Likewise.
29638
e25cfa60
SP
296392013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29640
0409959c
SP
29641 * manual/Makefile (chapters): Add nptl.
29642 * manual/debug.texi (Debugging Support): Add link to Threads
29643 chapter.
29644 * manual/nptl.texi: New file.
29645
e25cfa60
SP
29646 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29647
58a1335e
PB
296482013-03-14 Petr Baudis <pasky@ucw.cz>
29649
29650 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29651 for non-NULL pointer before the memory validity test. Pointed
29652 out by Holger Brunck <holger.brunck@keymile.com>.
29653
9dc7c64f
AS
296542013-03-13 Andreas Schwab <schwab@suse.de>
29655
29656 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29657 instead of .os.
29658
54206aa6
JM
296592013-03-13 Joseph Myers <joseph@codesourcery.com>
29660
29661 * timezone/zic.c: Update from tzcode 2013b.
29662
e98cdb38
CD
296632013-03-12 Carlos O'Donell <carlos@redhat.com>
29664
29665 * manual/install.texi (Configuring and compiling):
29666 Mention i686 and i586.
29667 * INSTALL: Regenerate.
29668
9967e003
RM
296692013-03-12 Roland McGrath <roland@hack.frob.com>
29670
29671 * sysdeps/init_array/elf-init.c: New file.
29672 * csu/elf-init.c
29673 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29674 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29675
29676 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29677 __gmon_start__ as global, but as static with a .preinit_array pointer.
29678 * sysdeps/init_array/gmon-start.c: New file. Use that.
29679 * sysdeps/init_array/crti.S: New file, empty except for comments.
29680 * sysdeps/init_array/crtn.S: Likewise.
29681
e6b5a293 296822013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
29683
29684 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29685 definining bcopy.
80f844c9
OB
29686 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29687 Remove Prefer_SSE_for_memop.
29688 * sysdeps/x86_64/multiarch/init-arch.h: Remove
29689 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29690 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
29691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29692 memset-x86-64.
80f844c9 29693 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 29694 Remove bzero, memset ifunc support.
80f844c9
OB
29695 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29696 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29697 * sysdeps/x86_64/multiarch/memset.S: Likewise.
29698 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29699
fb6b0fcb
AS
297002013-03-11 Andreas Schwab <schwab@suse.de>
29701
29702 [BZ #15234]
29703 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29704 by SHLIB_COMPAT.
29705 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29706 (GLIBC_2.16): Remove pthread_atfork.
29707
3e6bd4b1
PP
297082013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
29709
29710 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29711 (ptestcases.h): Likewise.
29712
222d7f00
RM
297132013-03-08 Roland McGrath <roland@hack.frob.com>
29714
29715 * Makeconfig ($(common-objpfx)config.status): Depend on
29716 sysdeps/*/preconfigure{,.in} too.
29717
1ba4f030
JM
297182013-03-08 Joseph Myers <joseph@codesourcery.com>
29719
a222d91a
JM
29720 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29721 (__free_hook): Use void * instead of __malloc_ptr_t.
29722 (__malloc_hook): Likewise.
29723 (__realloc_hook): Likewise.
29724 (__memalign_hook): Likewise.
29725 (__after_morecore_hook): Likewise.
29726 * malloc/arena.c (save_malloc_hook): Likewise.
29727 (save_free_hook): Likewise.
29728 * malloc/hooks.c (malloc_hook_ini): Likewise.
29729 (realloc_hook_ini): Likewise.
29730 (memalign_hook_ini): Likewise.
29731 * malloc/malloc.c (malloc_hook_ini): Likewise.
29732 (realloc_hook_ini): Likewise.
29733 (memalign_hook_ini): Likewise.
29734 (__free_hook): Likewise.
29735 (__malloc_hook): Likewise.
29736 (__realloc_hook): Likewise.
29737 (__memalign_hook): Likewise.
29738 (__libc_malloc): Likewise.
29739 (__libc_free): Likewise.
29740 (__libc_realloc): Likewise.
29741 (__libc_memalign): Likewise.
29742 (__libc_valloc): Likewise.
29743 (__libc_pvalloc): Likewise.
29744 (__libc_calloc): Likewise.
29745 (__posix_memalign): Likewise.
29746 * malloc/morecore.c (__sbrk): Likewise.
29747 (__default_morecore): Likewise.
29748
5cc45e10
JM
29749 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29750
dd54b864
JM
29751 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29752 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29753 __malloc_ptrdiff_t.
29754
1ba4f030
JM
29755 * malloc/malloc.h (__malloc_size_t): Remove macro.
29756 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29757 __malloc_size_t.
29758 (old_memalign_hook): Likewise.
29759 (old_realloc_hook): Likewise.
29760 (struct hdr): Likewise.
29761 (flood): Likewise.
29762 (mallochook): Likewise.
29763 (memalignhook): Likewise.
29764 (reallochook): Likewise.
29765 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29766 (tr_old_realloc_hook): Likewise.
29767 (tr_old_memalign_hook): Likewise.
29768 (tr_mallochook): Likewise.
29769 (tr_reallochook): Likewise.
29770 (tr_memalignhook): Likewise.
29771
edf66e57
AZ
297722013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29773
29774 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29775 default_ldbl_pack and using as default implementation.
29776 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29777 implementation.
29778 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29779 redundant definition.
29780 (ldbl_insert_mantissa): Likewise.
29781 (ldbl_canonicalize): Likewise.
29782 (ldbl_nearbyint): Likewise.
29783 (ldbl_pack): Rename to ldbl_pack_ppc.
29784 (ldbl_unpack): Rename to ldbl_unpack_ppc.
29785 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29786 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29787
6d9145d8
SP
297882013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
29789
29790 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29791 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29792 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29793 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29794 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29795 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29796 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29797 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29798
4dd4e157
AJ
297992013-03-07 Andreas Jaeger <aj@suse.de>
29800
29801 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29802 bits/mman-linux.h.
29803
adbb8027
SP
298042013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
29805
ce544b5b
SP
29806 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29807 Include mpa.h and declare __MPEXP.
29808 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29809 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29810 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29811 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29812 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29813 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29814 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29815
4cc149fd
SP
29816 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29817 (__slowpow): Use long double EXPL and LOGL functions to
29818 compute POW.
29819 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29820 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29821 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29822 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29823 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29824 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29825
e6ebd4a7
SP
29826 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29827 intermediate variable to calculate exponent.
29828 (__sqr): Likewise.
29829 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29830 Likewise.
29831 (__sqr): Likewise.
29832
82a9811d
SP
29833 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29834 [!NO__SQR]: Define __sqr.
29835 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29836 and NO__SQR. Remove all code except __mul and __sqr. Include
29837 sysdeps/ieee754/dbl-64/mpa.c.
29838 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29839
adbb8027
SP
29840 [BZ #12723]
29841 * posix/Makefile (tests): Add tst-pathconf.
29842 * posix/tst-pathconf.c: New test case.
29843 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29844 _PC_PIPE_BUF.
29845 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29846
39120df9
PF
298472013-03-06 Patsy Franklin <pfrankli@redhat.com>
29848
29849 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29850
67525cb8
AJ
298512013-03-06 Andreas Jaeger <aj@suse.de>
29852
664a9ce4
AJ
29853 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29854 definition via __MAP_ANONYMOUS.
29855
8e39047d
AJ
29856 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29857 it's not part of Linux headers.
29858
67525cb8
AJ
29859 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29860 (MAP_HUGE_MASK): Define.
29861
29862 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29863 Define.
29864 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29865 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29866 Define.
29867 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29868 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29869 Define.
29870 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29871 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29872 Define.
29873 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29874
29875 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29876 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29877 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29878 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29879 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29880 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29881
29882 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29883 Handle f2fs.
29884
29885 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29886 Handle f2fs and efivarfs.
29887
29888 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29889 f2fs.
29890
29891 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29892 (EFIVARFS_MAGIC): Add.
29893 (F2FS_LINK_MAX): Add.
29894
e1b42695
PP
298952013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29896
29897 * stdio-common/vfprintf.c: Replace __builtin_expect with
29898 __glibc_unlikely.
29899
2d67d91a
JM
299002013-03-06 Joseph Myers <joseph@codesourcery.com>
29901
29902 [BZ #13550]
29903 * sysdeps/generic/bp-sym.h: Remove file.
29904 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29905 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29906 <bp-sym.h> and <bp-asm.h>.
29907 (__longjmp): Don't use BP_SYM.
29908 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29909 and <bp-asm.h>.
29910 (memcpy): Don't use BP_SYM.
29911 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29912 <bp-sym.h> and <bp-asm.h>.
29913 (memcpy): Don't use BP_SYM.
29914 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29915 <bp-asm.h>.
29916 (memcpy): Don't use BP_SYM.
29917 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29918 <bp-asm.h>.
29919 (memset): Don't use BP_SYM.
29920 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29921 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29922 (__bzero): Don't use BP_SYM.
29923 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29924 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29925 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29926 <bp-sym.h> and <bp-asm.h>.
29927 (memcmp): Don't use BP_SYM. Remove comment about bounded
29928 pointers.
29929 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29930 <bp-sym.h> and <bp-asm.h>.
29931 (memcpy): Don't use BP_SYM.
29932 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29933 <bp-sym.h> and <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/strncmp.S: Don't include
29941 <bp-sym.h> and <bp-asm.h>.
29942 (strncmp): Don't use BP_SYM. Remove comment about bounded
29943 pointers.
29944 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29945 <bp-sym.h> and <bp-asm.h>.
29946 (memcpy): Don't use BP_SYM.
29947 * sysdeps/powerpc/powerpc64/power6/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/power7/memchr.S: Don't include
29956 <bp-sym.h> and <bp-asm.h>.
29957 (__memchr): Don't use BP_SYM.
29958 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29959 <bp-sym.h> and <bp-asm.h>.
29960 (memcmp): Don't use BP_SYM. Remove comment about bounded
29961 pointers.
29962 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29963 <bp-sym.h> and <bp-asm.h>.
29964 (memcpy): Don't use BP_SYM.
29965 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29966 <bp-sym.h> and <bp-asm.h>.
29967 (__mempcpy): Don't use BP_SYM.
29968 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29969 <bp-sym.h> and <bp-asm.h>.
29970 (__memrchr): Don't use BP_SYM.
29971 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29972 <bp-sym.h> and <bp-asm.h>.
29973 (memset): Don't use BP_SYM.
29974 (__bzero): Likewise.
29975 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29976 <bp-sym.h> and <bp-asm.h>.
29977 (__rawmemchr): Don't use BP_SYM.
29978 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29979 <bp-sym.h> and <bp-asm.h>.
29980 (__STRCMP): Don't use BP_SYM.
29981 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29982 <bp-sym.h> and <bp-asm.h>.
29983 (strchr): Don't use BP_SYM.
29984 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29985 <bp-sym.h> and <bp-asm.h>.
29986 (__strchrnul): Don't use BP_SYM.
29987 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29988 <bp-sym.h> and <bp-asm.h>.
29989 (strlen): Don't use BP_SYM.
29990 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29991 <bp-sym.h> and <bp-asm.h>.
29992 (strncmp): Don't use BP_SYM. Remove comment about bounded
29993 pointers.
29994 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29995 <bp-sym.h> and <bp-asm.h>.
29996 (__strnlen): Don't use BP_SYM.
29997 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29998 <bp-sym.h> and <bp-asm.h>.
29999 (__GI__setjmp): Don't use BP_SYM.
30000 (_setjmp): Likewise.
30001 (__sigsetjmp): Likewise.
30002 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30003 (L(start_addresses)): Don't use BP_SYM.
30004 (_start): Likewise.
30005 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30006 <bp-asm.h>.
30007 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30008 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30009 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30010 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30011 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30012 <bp-asm.h>.
30013 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30014 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
30015 about bounded pointers.
30016 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30017 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30018 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30019 <bp-asm.h>.
30020 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30021 about bounded pointers. Remove GKM FIXME comments.
30022 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30023 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30024 <bp-asm.h>.
30025 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30026 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
30027 Remove GKM FIXME comments.
30028 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30029 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30030 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30031 <bp-asm.h>.
30032 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
30033 about bounded pointers. Remove GKM FIXME comment.
30034 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30035 and <bp-asm.h>.
30036 (strncmp): Don't use BP_SYM. Remove comment about bounded
30037 pointers.
30038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30039 <bp-sym.h> and <bp-asm.h>.
30040 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30042 <bp-sym.h> and <bp-asm.h>.
30043 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30044 comment.
30045
cdcf361f
PP
300462013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30047
30048 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30049 call free(NULL).
30050
3c4a2b15
DM
300512013-03-05 David S. Miller <davem@davemloft.net>
30052
30053 * po/es.po: Update from translation team.
30054
cdcf361f 300552013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
30056
30057 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30058 <bits/mman-linux.h>.
30059 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30060 is fine.
30061 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30062 <bits/mman-linux.h> to end of file.
30063 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30064 is fine.
30065 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30066 <bits/mman-linux.h> to end of file.
30067 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30068 is fine.
30069 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30070 <bits/mman-linux.h> to end of file.
30071
30072 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30073 (MCL_CURRENT, MCL_FUTURE): Define here.
30074
5f67c04f
AK
300752013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30076
8a4473cc 30077 [BZ #15232]
5f67c04f
AK
30078 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30079 attribute_hidden.
30080 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30081
c3e94a95
AK
300822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30083
30084 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30085 fourth parameter needed for rt_sigprocmask syscall.
30086 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30087 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30088 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30089 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30090 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30091 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30092
cfb6382a
JM
300932013-03-04 Joseph Myers <joseph@codesourcery.com>
30094
30095 [BZ #13550]
30096 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30097 comment about bounded pointers.
30098 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30099 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30100
539d8e01
AJ
301012013-03-04 Andreas Jaeger <aj@suse.de>
30102
30103 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30104 common definitions.
30105
30106 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30107 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30108 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30109 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30110 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
30111 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30112
2e167a70 301132013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
30114
30115 [BZ #15055]
30116 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30117 __ieee754_sqrl instead of __sqrl.
30118
68508633
JM
301192013-03-01 Joseph Myers <joseph@codesourcery.com>
30120
30121 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30122 * sysdeps/powerpc/fpu_control.h: ... here.
30123 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30124 * sysdeps/powerpc/bits/fenvinline.h: ... here.
30125 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30126 * sysdeps/powerpc/bits/mathinline.h: ... here.
30127
7775448e
RM
301282013-03-01 Roland McGrath <roland@hack.frob.com>
30129
30130 * elf/dl-hwcaps.c (_dl_important_hwcaps):
30131 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30132 to just [NEED_DL_SYSINFO_DSO].
30133 * elf/dl-support.c: Likewise.
30134 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30135 * elf/rtld.c (dl_main): Likewise.
30136 * elf/setup-vdso.h (setup_vdso): Likewise.
30137 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30138 * sysdeps/unix/sysv/linux/dl-sysdep.c
30139 (_dl_discover_osversion): Likewise.
30140
4e9b5995
CD
301412013-03-01 Carlos O'Donell <carlos@redhat.com>
30142
30143 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30144 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30145
e23872c8
SP
301462013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
30147
e5c74c63
SP
30148 * NEWS: Mention libm performance improvements and non-x86 PI
30149 futex support.
30150
e23872c8
SP
30151 * csu/libc-start.c (__pthread_initialize_minimal): Change
30152 function arguments.
30153 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30154
b5510883
JM
301552013-02-28 Joseph Myers <joseph@codesourcery.com>
30156
30157 [BZ #13550]
30158 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30159 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30160 <bp-sym.h> and <bp-asm.h>.
30161 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30162 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30163 and <bp-asm.h>.
30164 (memcpy): Don't use BP_SYM.
30165 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30166 <bp-asm.h>.
30167 (__mpn_add_n): Don't use BP_SYM.
30168 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30169 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30170 and <bp-asm.h>.
30171 (__mpn_addmul_1): Don't use BP_SYM.
30172 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30173 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30174 <bp-sym.h>.
30175 (_setjmp): Don't use BP_SYM.
30176 (__novmx_setjmp): Likewise.
30177 (__GI__setjmp): Likewise.
30178 (__vmx_setjmp): Likewise.
30179 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30180 <bp-sym.h>.
30181 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30182 (__bzero): Don't use BP_SYM.
30183 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30184 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30185 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30186 <bp-sym.h> and <bp-asm.h>.
30187 (memcpy): Don't use BP_SYM.
30188 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30189 <bp-sym.h> and <bp-asm.h>.
30190 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30191 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30192 <bp-sym.h> and <bp-asm.h>.
30193 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30194 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30195 <bp-asm.h>.
30196 (__mpn_lshift): Don't use BP_SYM.
30197 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30198 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30199 <bp-asm.h>.
30200 (memset): Don't use BP_SYM.
30201 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30202 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30203 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30204 <bp-asm.h>.
30205 (__mpn_mul_1): Don't use BP_SYM.
30206 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30207 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30208 <bp-sym.h> and <bp-asm.h>.
30209 (memcmp): Don't use BP_SYM.
30210 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30211 <bp-sym.h> and <bp-asm.h>.
30212 (memcpy): Don't use BP_SYM.
30213 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30214 <bp-sym.h> and <bp-asm.h>.
30215 (memset): Don't use BP_SYM.
30216 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30217 <bp-sym.h> and <bp-asm.h>.
30218 (strncmp): Don't use BP_SYM.
30219 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30220 <bp-sym.h> and <bp-asm.h>.
30221 (memcpy): Don't use BP_SYM.
30222 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30223 <bp-sym.h> and <bp-asm.h>.
30224 (memset): Don't use BP_SYM.
30225 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30226 <bp-sym.h> and <bp-asm.h>.
30227 (__memchr): Don't use BP_SYM.
30228 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30229 <bp-sym.h> and <bp-asm.h>.
30230 (memcmp): Don't use BP_SYM.
30231 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30232 <bp-sym.h> and <bp-asm.h>.
30233 (memcpy): Don't use BP_SYM.
30234 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30235 <bp-sym.h> and <bp-asm.h>.
30236 (__mempcpy): Don't use BP_SYM.
30237 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30238 <bp-sym.h> and <bp-asm.h>.
30239 (__memrchr): Don't use BP_SYM.
30240 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30241 <bp-sym.h> and <bp-asm.h>.
30242 (memset): Don't use BP_SYM.
30243 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30244 <bp-sym.h> and <bp-asm.h>.
30245 (__rawmemchr): Don't use BP_SYM.
30246 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30247 <bp-sym.h> and <bp-asm.h>.
30248 (__STRCMP): Don't use BP_SYM.
30249 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30250 <bp-sym.h> and <bp-asm.h>.
30251 (strchr): Don't use BP_SYM.
30252 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30253 <bp-sym.h> and <bp-asm.h>.
30254 (__strchrnul): Don't use BP_SYM.
30255 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30256 <bp-sym.h> and <bp-asm.h>.
30257 (strlen): Don't use BP_SYM.
30258 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30259 <bp-sym.h> and <bp-asm.h>.
30260 (strncmp): Don't use BP_SYM.
30261 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30262 <bp-sym.h> and <bp-asm.h>.
30263 (__strnlen): Don't use BP_SYM.
30264 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30265 <bp-asm.h>.
30266 (__mpn_rshift): Don't use BP_SYM.
30267 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30268 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30269 <bp-sym.h> and <bp-asm.h>.
30270 (__sigsetjmp): Don't use BP_SYM.
30271 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30272 (L(start_addresses)): Don't use BP_SYM.
30273 (_start): Likewise.
30274 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30275 <bp-asm.h>.
30276 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30277 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30278 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30279 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30280 <bp-asm.h>.
30281 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30282 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30283 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30284 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30285 <bp-asm.h>.
30286 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30287 comments.
30288 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30289 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30290 <bp-asm.h>.
30291 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
30292 FIXME comments.
30293 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30294 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30295 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30296 <bp-asm.h>.
30297 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
30298 comment.
30299 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30300 and <bp-asm.h>.
30301 (strncmp): Don't use BP_SYM,
30302 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30303 <bp-asm.h>.
30304 (__mpn_sub_n): Don't use BP_SYM.
30305 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30306 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30307 and <bp-asm.h>.
30308 (__mpn_submul_1): Don't use BP_SYM.
30309 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30311 <bp-sym.h> and <bp-asm.h>.
30312 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30314 <bp-sym.h> and <bp-asm.h>.
30315 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
30316 comment.
30317
8d19fe64
SP
303182013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
30319
30320 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30321 Use ZK to minimize writes to Z.
30322 (sub_magnitudes): Simplify code a bit.
30323 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30324 Use ZK to minimize writes to Z.
30325 (sub_magnitudes): Simplify code a bit.
30326
85bd816a
RM
303272013-02-27 Roland McGrath <roland@hack.frob.com>
30328
30329 * csu/gmon-start.c: Add special exception to license text.
30330
b5977bf2
RH
303312013-02-27 Richard Henderson <rth@redhat.com>
30332
30333 * scripts/config.guess: Update from config.git.
30334 * scripts/config.sub: Likewise.
30335
11d6e2f2
SP
303362013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
30337
09c14ed2
SP
30338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30339
a688864e
SP
30340 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30341
6295157a
SP
30342 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30343
b8de2202
SP
30344 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30345
11d6e2f2
SP
30346 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30347
7e80ddb8
RM
303482013-02-26 Roland McGrath <roland@hack.frob.com>
30349
30350 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30351 [$(build-shared = yes].
7e80ddb8 30352
7da6d9ed
SP
303532013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30354
45f05884
SP
30355 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30356 (__mul): Reduce iterations for calculating mantissa.
30357
2236d359
SP
30358 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30359 MPTWO.
30360 (__mpranred): Likewise.
30361
7da6d9ed
SP
30362 [BZ #15160]
30363 * malloc/memusagestat.c (main): Draw graphs for heap and stack
30364 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30365
b7688c42
PE
303662013-02-26 Paul Eggert <eggert@cs.ucla.edu>
30367
30368 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30369 Define __attribute__.
30370
53a5c423
SP
303712013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
30372
30373 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30374 unused.
30375 * posix/regex_internal.h (__attribute): Remove.
30376 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30377 (re_string_context_at): Likewise.
30378 (bitset_not): Use __attribute__ and mark function as possibly
30379 unused.
30380 (bitset_merge): Likewise.
30381 (bitset_mask): Likewise.
30382 (re_string_char_size_at): Likewise.
30383 (re_string_wchar_at): Likewise.
30384 (re_string_elem_size_at): Likewise.
30385
60f5a8b5
SP
303862013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
30387
2a983a2e
SP
30388 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30389 code.
30390 (cc32): Likewise.
30391
e69804d1
SP
30392 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30393 (__acr): Likewise.
30394 (__cpy): Likewise.
30395 (norm): Likewise.
30396 (denorm): Likewise.
30397 (__dbl_mp): Likewise.
30398 (add_magnitudes): Likewise.
30399 (sub_magnitudes): Likewise.
30400 (__mul): Likewise.
30401 (__inv): Likewise.
30402
2f22a1e8
SP
30403 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30404 style.
30405
8930ddc7
SP
30406 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30407 style.
30408
dc60cb11
SP
30409 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30410 code.
30411
60f5a8b5
SP
30412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30413 up changes with default code.
30414 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30415 Likewise.
30416
b4d1fd33
AM
304172013-02-24 Allan McRae <allan@archlinux.org>
30418
faf6f8bc
AM
30419 * manual/socket.texi (The Internet Namespace): Order menu items
30420 to match that in the file.
30421
b4d1fd33
AM
30422 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30423 node listing of the info page menu.
30424
2366713d
JM
304252013-02-21 Joseph Myers <joseph@codesourcery.com>
30426
30427 [BZ #13550]
30428 * sysdeps/i386/bp-asm.h: Remove file.
30429 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30430 (PARMS): Do not use macros from bp-asm.h.
30431 (S1): Likewise.
30432 (S2): Likewise.
30433 (SIZE): Likewise.
30434 (__mpn_add_n): Do not use BP_SYM
30435 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30436 "bp-asm.h".
30437 (PARMS): Do not use macros from bp-asm.h.
30438 (S1): Likewise.
30439 (SIZE): Likewise.
30440 (__mpn_addmul_1): Do not use BP_SYM
30441 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30442 "bp-asm.h".
30443 (PARMS): Do not use macros from bp-asm.h.
30444 (SIGMSK): Likewise.
30445 (_setjmp): Likewise. Do not use BP_SYM.
30446 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30447 "bp-asm.h".
30448 (PARMS): Do not use macros from bp-asm.h.
30449 (SIGMSK): Likewise.
30450 (setjmp): Likewise. Do not use BP_SYM.
30451 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30452 "bp-asm.h".
30453 (PARMS): Do not use macros from bp-asm.h.
30454 (__frexp): Do not use BP_SYM.
30455 (frexp): Likewise.
30456 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30457 "bp-asm.h".
30458 (PARMS): Do not use macros from bp-asm.h.
30459 (__frexpf): Do not use BP_SYM.
30460 (frexpf): Likewise.
30461 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30462 "bp-asm.h".
30463 (PARMS): Do not use macros from bp-asm.h.
30464 (__frexpl): Do not use BP_SYM.
30465 (frexpl): Likewise.
30466 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30467 "bp-asm.h".
30468 (PARMS): Do not use macros from bp-asm.h.
30469 (__remquo): Do not use BP_SYM.
30470 (remquo): Likewise.
30471 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30472 "bp-asm.h".
30473 (PARMS): Do not use macros from bp-asm.h.
30474 (__remquof): Do not use BP_SYM.
30475 (remquof): Likewise.
30476 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30477 "bp-asm.h".
30478 (PARMS): Do not use macros from bp-asm.h.
30479 (__remquol): Do not use BP_SYM.
30480 (remquol): Likewise.
30481 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30482 "bp-asm.h".
30483 (PARMS): Do not use macros from bp-asm.h.
30484 (DEST): Likewise.
30485 (SRC): Likewise.
30486 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
30487 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30488 "bp-asm.h".
30489 (PARMS): Do not use macros from bp-asm.h.
30490 (strlen): Do not use BP_SYM.
30491 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30492 "bp-asm.h".
30493 (PARMS): Do not use macros from bp-asm.h.
30494 (S1): Likewise.
30495 (S2): Likewise.
30496 (SIZE): Likewise.
30497 (__mpn_add_n): Do not use BP_SYM.
30498 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30499 "bp-asm.h".
30500 (PARMS): Do not use macros from bp-asm.h.
30501 (S1): Likewise.
30502 (SIZE): Likewise.
30503 (__mpn_addmul_1): Do not use BP_SYM.
30504 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30505 weak_alias.
30506 (bzero): Likewise.
30507 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30508 "bp-asm.h".
30509 (PARMS): Do not use macros from bp-asm.h.
30510 (S): Likewise.
30511 (SIZE): Likewise.
30512 (__mpn_lshift): Do not use BP_SYM.
30513 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30514 "bp-asm.h".
30515 (PARMS): Do not use macros from bp-asm.h.
30516 (DEST): Likewise.
30517 (SRC): Likewise.
30518 (LEN): Likewise.
30519 (memcpy): Likewise. Do not use BP_SYM.
30520 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30521 libc_hidden_def and weak_alias.
30522 (mempcpy): Do not use BP_SYM in weak_alias.
30523 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30524 "bp-asm.h".
30525 (PARMS): Do not use macros from bp-asm.h.
30526 (DEST): Likewise.
30527 (LEN): Likewise.
30528 [!BZERO_P] (CHR): Likewise.
30529 (memset): Likewise. Do not use BP_SYM.
30530 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30531 "bp-asm.h".
30532 (PARMS): Do not use macros from bp-asm.h.
30533 (S1): Likewise.
30534 (SIZE): Likewise.
30535 (__mpn_mul_1): Do not use BP_SYM.
30536 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30537 "bp-asm.h".
30538 (PARMS): Do not use macros from bp-asm.h.
30539 (S): Likewise.
30540 (SIZE): Likewise.
30541 (__mpn_rshift): Do not use BP_SYM.
30542 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30543 "bp-asm.h".
30544 (PARMS): Do not use macros from bp-asm.h.
30545 (STR): Likewise.
30546 (CHR): Likewise.
30547 (strchr): Likewise. Do not use BP_SYM.
30548 (index): Do not use BP_SYM in weak_alias.
30549 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30550 "bp-asm.h".
30551 (PARMS): Do not use macros from bp-asm.h.
30552 (DEST): Likewise.
30553 (SRC): Likewise.
30554 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
30555 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30556 "bp-asm.h".
30557 (PARMS): Do not use macros from bp-asm.h.
30558 (strlen): Do not use BP_SYM.
30559 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30560 "bp-asm.h".
30561 (PARMS): Do not use macros from bp-asm.h.
30562 (S1): Likewise.
30563 (S2): Likewise.
30564 (SIZE): Likewise.
30565 (__mpn_sub_n): Do not use BP_SYM.
30566 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30567 "bp-asm.h".
30568 (PARMS): Do not use macros from bp-asm.h.
30569 (S1): Likewise.
30570 (SIZE): Likewise.
30571 (__mpn_submul_1): Do not use BP_SYM.
30572 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30573 "bp-asm.h".
30574 (PARMS): Do not use macros from bp-asm.h.
30575 (S1): Likewise.
30576 (S2): Likewise.
30577 (SIZE): Likewise.
30578 (__mpn_add_n): Do not use BP_SYM.
30579 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30580 weak_alias.
30581 (bzero): Likewise.
30582 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30583 "bp-asm.h".
30584 (PARMS): Do not use macros from bp-asm.h.
30585 (BLK2): Likewise.
30586 (LEN): Likewise.
30587 (memcmp): Do not use BP_SYM.
30588 (bcmp): Do not use BP_SYM in weak_alias.
30589 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30590 "bp-asm.h".
30591 (PARMS): Do not use macros from bp-asm.h.
30592 (DEST): Likewise.
30593 (SRC): Likewise.
30594 (LEN): Likewise.
30595 (memcpy): Likewise. Do not use BP_SYM.
30596 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30597 "bp-asm.h".
30598 (PARMS): Do not use macros from bp-asm.h.
30599 (DEST): Likewise.
30600 (SRC): Likewise.
30601 (LEN): Likewise.
30602 (memmove): Likewise. Do not use BP_SYM.
30603 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30604 "bp-asm.h".
30605 (PARMS): Do not use macros from bp-asm.h.
30606 (DEST): Likewise.
30607 (SRC): Likewise.
30608 (LEN): Likewise.
30609 (__mempcpy): Likewise. Do not use BP_SYM.
30610 (mempcpy): Do not use BP_SYM in weak_alias.
30611 * sysdeps/i386/i686/memset.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 (LEN): Likewise.
30616 [!BZERO_P] (CHR): Likewise.
30617 (memset): Likewise. Do not use BP_SYM.
30618 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30619 "bp-asm.h".
30620 (PARMS): Do not use macros from bp-asm.h.
30621 (STR2): Likewise.
30622 (strcmp): Do not use BP_SYM.
30623 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30624 "bp-asm.h".
30625 (PARMS): Do not use macros from bp-asm.h.
30626 (STR): Likewise.
30627 (DELIM): Likewise.
30628 [USE_AS_STRTOK_R] (SAVE): Likewise.
30629 (FUNCTION): Likewise. Do not use BP_SYM.
30630 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30631 aliases.
30632 (strtok_r): Likewise.
30633 (__GI___strtok_r): Likewise.
30634 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30635 (PARMS): Do not use macros from bp-asm.h.
30636 (S): Likewise.
30637 (SIZE): Likewise.
30638 (__mpn_lshift): Do not use BP_SYM.
30639 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30640 (PARMS): Do not use macros from bp-asm.h.
30641 (STR): Likewise.
30642 (CHR): Likewise.
30643 (__memchr): Do not use BP_SYM.
30644 (memchr): Do not use BP_SYM in weak_alias.
30645 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30646 (PARMS): Do not use macros from bp-asm.h.
30647 (BLK2): Likewise.
30648 (LEN): Likewise.
30649 (memcmp): Do not use BP_SYM.
30650 (bcmp): Do not use BP_SYM in weak_alias.
30651 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30652 (PARMS): Do not use macros from bp-asm.h.
30653 (S1): Likewise.
30654 (SIZE): Likewise.
30655 (__mpn_mul_1): Do not use BP_SYM.
30656 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30657 "bp-asm.h".
30658 (PARMS): Do not use macros from bp-asm.h.
30659 (STR): Likewise.
30660 (CHR): Likewise.
30661 (__rawmemchr): Do not use BP_SYM.
30662 (rawmemchr): Do not use BP_SYM in weak_alias.
30663 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30664 (PARMS): Do not use macros from bp-asm.h.
30665 (S): Likewise.
30666 (SIZE): Likewise.
30667 (__mpn_rshift): Do not use BP_SYM.
30668 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30669 (PARMS): Do not use macros from bp-asm.h.
30670 (SIGMSK): Likewise.
30671 (__sigsetjmp): Likewise. Do not use BP_SYM.
30672 * sysdeps/i386/start.S: Do not include "bp-sym.h".
30673 (_start): Do not use BP_SYM.
30674 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30675 (PARMS): Do not use macros from bp-asm.h.
30676 (DEST): Likewise.
30677 (SRC): Likewise.
30678 (__stpcpy): Likewise. Do not use BP_SYM.
30679 (stpcpy): Do not use BP_SYM in weak_alias.
30680 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30681 "bp-asm.h".
30682 (PARMS): Do not use macros from bp-asm.h.
30683 (DEST): Likewise.
30684 (SRC): Likewise.
30685 (LEN): Likewise.
30686 (__stpncpy): Likewise. Do not use BP_SYM.
30687 (stpncpy): Do not use BP_SYM in weak_alias.
30688 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30689 (PARMS): Do not use macros from bp-asm.h.
30690 (STR): Likewise.
30691 (CHR): Likewise.
30692 (strchr): Likewise. Do not use BP_SYM.
30693 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30694 "bp-asm.h".
30695 (PARMS): Do not use macros from bp-asm.h.
30696 (STR): Likewise.
30697 (CHR): Likewise.
30698 (__strchrnul): Likewise. Do not use BP_SYM.
30699 (strchrnul): Do not use BP_SYM in weak_alias.
30700 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30701 "bp-asm.h".
30702 (PARMS): Do not use macros from bp-asm.h.
30703 (STOP): Likewise.
30704 (strcspn): Do not use BP_SYM.
30705 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30706 "bp-asm.h".
30707 (PARMS): Do not use macros from bp-asm.h.
30708 (STR): Likewise.
30709 (STOP): Likewise.
30710 (strpbrk): Likewise. Do not use BP_SYM.
30711 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30712 "bp-asm.h".
30713 (PARMS): Do not use macros from bp-asm.h.
30714 (STR): Likewise.
30715 (CHR): Likewise.
30716 (strrchr): Likewise. Do not use BP_SYM.
30717 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30718 (PARMS): Do not use macros from bp-asm.h.
30719 (SKIP): Likewise.
30720 (strspn): Do not use BP_SYM.
30721 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30722 (PARMS): Do not use macros from bp-asm.h.
30723 (STR): Likewise.
30724 (DELIM): Likewise.
30725 (SAVE): Likewise.
30726 (FUNCTION): Likewise. Do not use BP_SYM.
30727 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30728 aliases.
30729 (strtok_r): Likewise.
30730 (__GI___strtok_r): Likewise.
30731 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30732 (PARMS): Do not use macros from bp-asm.h.
30733 (S1): Likewise.
30734 (S2): Likewise.
30735 (SIZE): Likewise.
30736 (__mpn_sub_n): Do not use BP_SYM.
30737 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30738 "bp-asm.h".
30739 (PARMS): Do not use macros from bp-asm.h.
30740 (S1): Likewise.
30741 (SIZE): Likewise.
30742 (__mpn_submul_1): Do not use BP_SYM.
30743 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30744 <bp-sym.h>.
30745 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30746 and <bp-asm.h>.
30747 (PARMS): Do not use macros from bp-asm.h.
30748 (FLAGS): Likewise.
30749 (PTID): Likewise.
30750 (TLS): Likewise.
30751 (CTID): Likewise.
30752 (__clone): Do not use BP_SYM.
30753 (clone): Do not use BP_SYM in weak_alias.
30754 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30755 and <bp-asm.h>.
30756 (PARMS): Do not use macros from bp-asm.h.
30757 (LEN): Likewise.
30758 (__mmap64): Do not use BP_SYM.
30759 (mmap64): Do not use BP_SYM in weak_alias.
30760 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30761 <bp-sym.h> and <bp-asm.h>.
30762 (PARMS): Do not use macros from bp-asm.h.
30763 (__posix_fadvise64_l64): Do not use BP_SYM.
30764 * sysdeps/unix/sysv/linux/i386/semtimedop.S
30765 (PARMS): Do not use macros from bp-asm.h.
30766 (NSOPS): Likewise.
30767 (semtimedop): Do not use BP_SYM.
30768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30769 and <bp-asm.h>.
30770
582a3cff
AM
307712013-02-21 Allan McRae <allan@archlinux.org>
30772
30773 * manual/message.texi (Charset conversion in gettext):
30774 Move @end statement to beginning of line.
30775
bab8a695
SP
307762013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30777
80945231
SP
30778 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30779 static.
30780 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30781 Likewise.
30782
bab8a695
SP
30783 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30784 (denorm): Likewise.
30785 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30786 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30787
e21d7aa7
AK
307882013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30789
30790 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30791 tail-call to the resolved function if pltexit isn't needed.
30792
4c7a4263
SP
307932013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
30794
30795 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30796 or Y being zero as being unlikely.
30797 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30798 Likewise.
30799
41f49342
CD
308002013-02-20 Carlos O'Donell <carlos@redhat.com>
30801
30802 * manual/nss.texi (System Databases and Name Service Switch):
30803 Remove frobnicate @pxref.
30804
50022a93
TS
308052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30806
30807 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30808 __attribute__ ((unused)) to __attribute__ ((__unused__)).
30809
08cbd996
PM
308102013-02-20 Petr Machata <pmachata@redhat.com>
30811
30812 * elf/elf.h (R_ARM_TARGET1): New macro.
30813 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30814 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30815 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30816 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30817 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30818 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30819 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30820 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30821 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30822 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30823 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30824 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30825 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30826 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30827 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30828 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30829 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30830 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30831 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30832 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30833 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30834 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30835 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30836 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30837 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30838 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30839 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30840 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30841 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30842 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30843 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30844 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30845 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30846 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30847 (R_ARM_THM_GOT_BREL12): Likewise.
30848 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30849 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30850 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30851 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30852 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30853 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30854 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30855 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30856 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30857
c7b275d6
TS
308582013-02-20 Thomas Schwinge <thomas@codesourcery.com>
30859
30860 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30861 __attribute_used__ to __attribute__ ((unused)).
30862
20cd7fb3
SP
308632013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
30864
30865 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30866 powerpc mpa.c.
30867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30868 comment formatting.
30869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30870
92945b52
JM
308712013-02-19 Joseph Myers <joseph@codesourcery.com>
30872
30873 [BZ #13550]
30874 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30875 Remove macro.
30876 (ENTER): Remove both macro definitions.
30877 (LEAVE): Likewise.
30878 (CHECK_BOUNDS_LOW): Likewise.
30879 (CHECK_BOUNDS_HIGH): Likewise.
30880 (CHECK_BOUNDS_BOTH): Likewise.
30881 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30882 (RETURN_BOUNDED_POINTER): Likewise.
30883 (RETURN_NULL_BOUNDED_POINTER): Likewise.
30884 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30885 (POP_ERRNO_LOCATION_RETURN): Likewise.
30886 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30887 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30888 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30889 macros.
30890 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30891 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30892 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30893 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30894 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30895 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30896 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30897 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30898 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30899 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30900 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30901 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30902 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30903 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30904 removed macros.
30905 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30906 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30907 macros.
30908 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30909 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30910 * sysdeps/i386/i586/memset.S (memset): Likewise.
30911 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30912 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30913 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30914 macros.
30915 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30916 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30917 Change uses of L(2) to L(out).
30918 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30919 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30920 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30921 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30922 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30923 removed macros.
30924 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30925 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30926 macros.
30927 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30928 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30929 (RETURN): Do not use macro LEAVE.
30930 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30931 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30932 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30933 * sysdeps/i386/i686/memset.S (memset): Likewise.
30934 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30935 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30936 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30937 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30938 Likewise.
30939 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30940 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
30941 L(1_2) and L(1_3) into L(1).
30942 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30943 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30944 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30945 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30946 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30947 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30948 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30949 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30950 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30951 macros.
30952 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30953 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30954 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30955 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30956 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30957 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30958 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30959 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30960 * sysdeps/i386/strcspn.S (strcspn): Likewise.
30961 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30962 * sysdeps/i386/strrchr.S (strrchr): Likewise.
30963 * sysdeps/i386/strspn.S (strspn): Likewise.
30964 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30965 conditional code.
30966 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30967 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30968 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30969 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
30970 L(1_3) into L(1_1).
30971 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30972 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30973 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30974 macros.
30975 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30976
2389741a
JJ
309772013-02-19 Jakub Jelinek <jakub@redhat.com>
30978
30979 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30980 macro.
30981
2016b3cd
SP
309822013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
30983
e4f22324
SP
30984 * math/atest-exp.c (exp_mpn): Remove ROUND.
30985 * math/atest-exp2.c (exp_mpn): Likewise.
30986 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30987
2016b3cd
SP
30988 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30989 * stdlib/tst-tls-atexit-lib.c: Likewise.
30990 * stdlib/tst-tls-atexit.c: Likewise.
30991
4be9b544
MF
309922013-02-18 Mike Frysinger <vapier@gentoo.org>
30993
30994 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30995 and __attribute_alloc_size__.
30996
2f62b9ee
MF
309972013-02-18 Mike Frysinger <vapier@gentoo.org>
30998
30999 * include/programs/xmalloc.h: Change __attribute_alloc_size to
31000 __attribute_alloc_size__.
31001 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31002 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31003
6ff444c4
MF
310042013-02-18 Mike Frysinger <vapier@gentoo.org>
31005
31006 * include/programs/xmalloc.h: New file.
31007 * catgets/gencat.c: Include it.
31008 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31009 * elf/pldd.c: Likewise.
31010 * iconv/iconv_charmap.c: Likewise.
31011 * iconv/iconvconfig.c: Likewise.
31012 * iconv/strtab.c: Likewise.
31013 * locale/programs/locale.c: Likewise.
31014 * locale/programs/localedef.h: Likewise.
31015 * locale/programs/simple-hash.c: Likewise.
31016 * nscd/nscd.h: Likewise.
31017 * nss/makedb.c: Likewise.
31018 * sysdeps/generic/ldconfig.h: Likewise.
31019
be179c8a
SP
310202013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
31021
ba384f6e
SP
31022 * Versions.def: Add GLIBC_2.18.
31023 * include/link.h (struct link_map): New member l_tls_dtor_count.
31024 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31025 (__call_tls_dtors): Likewise.
31026 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31027 __cxa_thread_atexit_impl.
31028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31029 Likewise.
31030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31031 Likewise.
31032 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31033 Likewise.
31034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31035 Likewise.
31036 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31037 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31038 Likewise.
31039 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31040 Likewise.
31041 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31042 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31043 Likewise.
31044 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31045 (tests): Add test case tst-tls-atexit.
31046 (modules-names): Add shared library for tst-tls-atexit.
85891aca 31047 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
31048 (GLIBC_PRIVATE): Add __call_tls_dtors.
31049 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31050 for libstdc++.
31051 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31052 * stdlib/tst-tls-atexit.c: New test case.
31053 * stdlib/tst-tls-atexit-lib.c: New test case.
31054
ffaa74cf 31055 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 31056
be179c8a
SP
31057 * elf/Versions (ld): Add _dl_find_dso_for_object.
31058 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31059 * elf/dl-open.c (_dl_find_dso_for_object): New function.
31060 (dl_open_worker): Use _dl_find_dso_for_object.
31061 * elf/dl-sym.c (do_sym): Likewise.
31062 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31063
f78b5caa
AK
310642013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31065
31066 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31067 Syntactic changes only.
31068 (_dl_runtime_profile): Do a tail-call to the resolved function.
31069
29691210
JM
310702013-02-17 Joseph Myers <joseph@codesourcery.com>
31071
31072 [BZ #13550]
31073 * sysdeps/x86_64/bp-asm.h: Remove file.
31074 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31075 <bp-sym.h> and <bp-asm.h>.
31076 (__clone): Do not use BP_SYM.
31077 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31078 <bp-sym.h> and <bp-asm.h>.
31079 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31080 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31081 "bp-asm.h".
31082 (_setjmp): Do not use BP_SYM.
31083 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31084 "bp-asm.h".
31085 (setjmp): Do not use BP_SYM.
31086 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31087 libc_hidden_def.
31088 (mempcpy): Do not use BP_SYM in weak_alias.
31089 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31090 "bp-asm.h".
31091 (strchr): Do not use BP_SYM.
31092 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31093 "bp-asm.h".
31094 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31095 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31096 (_start): Do not use BP_SYM.
31097 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31098 "bp-asm.h".
31099 (strcat): Do not use BP_SYM.
31100 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31101 "bp-asm.h".
31102 (STRCMP): Do not use BP_SYM.
31103 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31104 "bp-asm.h".
31105 (STRCPY): Do not use BP_SYM.
31106 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31107 "bp-asm.h".
31108 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31109 "bp-asm.h".
31110 (FUNCTION): Do not use BP_SYM.
31111 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31112 weak_alias.
31113 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31114
f238fd19
AJ
311152013-02-17 Andreas Jaeger <aj@suse.de>
31116
31117 * time/Versions: Sort entries.
31118 * string/Versions: Likewise.
31119 * resolv/Versions: Likewise.
31120 * posix/Versions: Likewise.
31121 * iconv/Versions: Likewise.
31122 * elf/Versions: Likewise.
31123 * wcsmbs/Versions: Likewise.
31124
bd07f23c 311252013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 31126
22af19f9
SP
31127 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31128 loop termination condition.
31129
4709fe76
SP
31130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31131 variable to calculate EZ.
31132 (__sqr): Likewise.
2d0e0f29
SP
31133
31134 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31135 the lower precision input.
31136
daaa7713
JM
311372013-02-15 Joseph Myers <joseph@codesourcery.com>
31138
31139 [BZ #13550]
31140 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31141 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31142 (run-via-rtld-prefix): Do not handle %-bp tests.
31143 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31144 (all-object-suffixes): Remove .ob.
31145 (bppfx): Remove variable.
31146 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31147 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31148 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31149 [$(build-bounded) = yes] (libtype.ob): Likewise.
31150 * Makerules (elide-routines.ob): Remove variable.
31151 (do-tests-clean): Do not handle *-bp.out.
31152 (common-mostlyclean): Do not handle *-bp and *-bp.out.
31153 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31154 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31155 (tests): Do not include $(tests-bp.out).
31156 (xtests): Do not include $(xtests-bp.out).
31157 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31158 [$(build-bounded) = yes] ($(addprefix
31159 $(objpfx),$(binaries-bounded))): Remove rule.
31160 ($(objpfx)%-bp.out): Remove rule.
31161 * config.make.in (build-bounded): Remove variable.
31162 * crypt/Makefile [$(build-bounded) = yes]
31163 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31164 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31165 append to variable.
31166 [$(build-bounded) = yes] (install-lib): Likewise.
31167 [$(build-bounded) = yes] (generated): Likewise.
31168 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31169 Remove rule.
31170 * intl/Makefile [$(build-bounded) = yes]
31171 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31172 * math/Makefile [$(build-bounded) = yes]
31173 ($(tests:%=$(objpfx)%-bp): Likewise.
31174 * misc/Makefile [$(build-bounded) = yes]
31175 ($(objpfx)tst-tsearch-bp): Likewise.
31176 * nptl/Makeconfig (bounded-thread-library): Remove variable.
31177 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31178 Remove dependency.
31179 * string/Makefile (o-objects.ob): Remove variable.
31180 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31181 (CFLAGS-.ob): Remove variable.
31182 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31183 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31184 both definitions of variable.
31185 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31186 (ASFLAGS-.ob): Remove variable.
31187
e97ed6dd
JM
311882013-02-14 Joseph Myers <joseph@codesourcery.com>
31189
2bdd4ca6
JM
31190 [BZ #13550]
31191 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31192 Remove __BOUNDED_POINTERS__ from condition.
31193 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31194 * string/bits/string2.h [!__NO_STRING_INLINES &&
31195 !__BOUNDED_POINTERS__]: Likewise.
31196 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31197 Likewise.
31198 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31199 Remove conditional code.
31200 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31201 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31202 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31203 condition.
31204
e97ed6dd
JM
31205 [BZ #13550]
31206 * csu/libc-start.c: Do not include <bp-sym.h>.
31207 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31208 * elf/dl-open.c: Do not include <bp-sym.h>.
31209 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31210 * math/fegetenv.c: Do not include <bp-sym.h>.
31211 (fegetenv): Do not use BP_SYM in versioned symbols.
31212 * nptl/sysdeps/pthread/bits/libc-lockP.h
31213 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31214 <bp-sym.h>.
31215 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31216 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31217 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31218 (__pthread_mutex_destroy): Likewise.
31219 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31220 (__pthread_mutex_lock): Likewise.
31221 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31222 (__pthread_mutex_trylock): Likewise.
31223 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31224 (__pthread_mutex_unlock): Likewise.
31225 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31226 (__pthread_mutexattr_init): Likewise.
31227 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31228 (__pthread_mutexattr_destroy): Likewise.
31229 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31230 (__pthread_mutexattr_settype): Likewise.
31231 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31232 (__pthread_rwlock_init): Likewise.
31233 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31234 (__pthread_rwlock_destroy): Likewise.
31235 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31236 (__pthread_rwlock_rdlock): Likewise.
31237 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31238 (__pthread_rwlock_tryrdlock): Likewise.
31239 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31240 (__pthread_rwlock_wrlock): Likewise.
31241 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31242 (__pthread_rwlock_trywrlock): Likewise.
31243 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31244 (__pthread_rwlock_unlock): Likewise.
31245 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31246 (__pthread_key_create): Likewise.
31247 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31248 (__pthread_setspecific): Likewise.
31249 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31250 (__pthread_getspecific): Likewise.
31251 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31252 Likewise.
31253 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31254 (_pthread_cleanup_push_defer): Likewise.
31255 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31256 (_pthread_cleanup_pop_restore): Likewise.
31257 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31258 (pthread_setcancelstate): Likewise.
31259 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31260 <bp-sym.h>.
31261 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31262 (memchr): Do not use BP_SYM in weak_alias.
31263 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31264 (fegetenv): Do not use BP_SYM in versioned symbols.
31265 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31266 (fesetenv): Do not use BP_SYM in versioned symbols.
31267 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31268 (feupdateenv): Do not use BP_SYM in versioned symbols.
31269 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31270 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31271 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31272 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31273 (open64): Do not use BP_SYM in weak_alias.
31274 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31275 (fegetenv): Do not use BP_SYM in versioned symbols.
31276 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31277 (fesetenv): Do not use BP_SYM in versioned symbols.
31278 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31279 (feupdateenv): Do not use BP_SYM in versioned symbols.
31280 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31281 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31282 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31283 (feraiseexcept): Do not use BP_SYM in versioned symbols.
31284 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31285 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31286 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31287 <bp-sym.h>.
31288 (__libc_start_main): Do not use BP_SYM.
31289
d6752ccd
SP
312902013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
31291
cb57ce60
SP
31292 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31293 redundant return line.
31294 (norm): Likewise.
31295 (denorm): Likewise.
31296 (dbl_mp): Likewise.
31297 (sub_magnitudes): Likewise.
31298 (__add): Likewise.
31299 (__sub): Likewise.
31300 (__mul): Likewise.
31301 (__inv): Likewise.
31302 (__dvd): Likewise.
31303 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31304 (norm): Likewise.
31305 (denorm): Likewise.
31306 (dbl_mp): Likewise.
31307 (sub_magnitudes): Likewise.
31308 (__add): Likewise.
31309 (__sub): Likewise.
31310 (__mul): Likewise.
31311 (__inv): Likewise.
31312 (__dvd): Likewise.
31313
f414520d
SP
31314 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31315 instead of __mul.
31316 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31317 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31318 (cc32): Likewise.
31319
d6752ccd
SP
31320 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31321 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31322 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31323 of __mul for squares.
31324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31325 function
31326 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31327 Likewise.
31328 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31329 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31330
70d9946a
JM
313312013-02-13 Joseph Myers <joseph@codesourcery.com>
31332
31333 [BZ #13550]
31334 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31335 code.
31336 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31337 prototype or function definition. Rename ubp_* variables and
31338 parameters. Remove argv definitions conditional on
31339 [__BOUNDED_POINTERS__].
31340 * debug/backtrace.c (__backtrace): Do not use __unbounded.
31341 * elf/dl-runtime.c (_dl_fixup): Likewise.
31342 * include/set-hooks.h (RUN_HOOK): Likewise.
31343 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31344 definition.
31345 * string/strcpy.c (strcpy): Do not use __unbounded.
31346 * sysdeps/generic/frame.h (struct layout): Likewise.
31347 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31348 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31349 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31350 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31351 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31352 (__backtrace): Likewise.
31353 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31354 use __ptrvalue.
31355 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31356 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31357 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31358 Likewise.
31359 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31360 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31361 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31362 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31363 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31364 Do not use __unbounded.
31365 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31366 Rename __unboundedrlimits parameter to rlimits in prototype.
31367 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31368 Do not use __unbounded.
31369 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31370 not use __ptrvalue.
31371 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31372 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31373 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31374 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31375 __ptrvalue or __unbounded.
31376 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31377 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31378 use __unbounded.
31379 (__new_msgctl): Do not use __ptrvalue.
31380 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31381 __unbounded.
31382 (__libc_msgrcv): Do not use __ptrvalue.
31383 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31384 startup_info): Do not use __unbounded.
31385 (__libc_start_main): Likewise. Rename ubp_* variables and
31386 parameters. Remove argv definitions conditional on
31387 [__BOUNDED_POINTERS__].
31388 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31389 __ptrvalue.
31390 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31391 use __unbounded.
31392 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31393 or __ptrvalue.
31394 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31395 use __unbounded.
31396 (__new_shmctl): Do not use __ptrvalue.
31397 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31398 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31399 Likewise.
31400 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31401 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31402 (__libc_sigaction): Likewise.
31403 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31404 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31405 Likewise.
31406 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31407
cc7834d6
OB
314082013-02-13 Ondřej Bílka <neleai@seznam.cz>
31409
ffb1ec7b 31410 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
31411
31412 * string/mempcpy.c: Implement by calling memcpy.
31413
bdf02814
SP
314142013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
31415
c2af38aa
SP
31416 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31417
4e92d59e
SP
31418 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31419 evaluation.
31420
909279a5
SP
31421 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31422 values in the mantissa.
31423
bdf02814
SP
31424 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31425 minimize writes to Z.
31426 (sub_magnitudes): Simplify code a bit.
31427
cd525923
RM
314282013-02-12 Roland McGrath <roland@hack.frob.com>
31429
31430 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31431 from the message. The linker prefixes all warnings with that already.
31432
7e2f0d2d
AS
314332013-02-12 Andreas Schwab <schwab@suse.de>
31434
a445af0b
AS
31435 [BZ #15078]
31436 * posix/regexec.c (extend_buffers): Add parameter min_len.
31437 (check_matching): Pass minimum needed length.
31438 (clean_state_log_if_needed): Likewise.
31439 (get_subexp): Likewise.
31440 * posix/Makefile (tests): Add bug-regex34.
31441 (bug-regex34-ENV): Define.
31442 * posix/bug-regex34.c: New file.
31443
7e2f0d2d
AS
31444 [BZ #11561]
31445 * posix/regcomp.c (parse_bracket_exp): When looking up collating
31446 elements compare against the byte sequence of it, not its name.
31447 * posix/Makefile (tests): Add bug-regex35.
31448 (bug-regex35-ENV): Define.
31449 * posix/bug-regex35.c: New file.
31450
a175b684
TV
314512013-02-11 Tom de Vries <tom@codesourcery.com>
31452
31453 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
31454 comment.
31455 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31456 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31457 (CHECK_EOL): Add undef.
31458
310998fe 314592013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
31460
31461 * bits/stdlib-bsearch.h: New file.
31462 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 31463 * stdlib/stdlib.h: Likewise.
41eda41d 31464
8ded91fb
RM
314652013-02-11 Roland McGrath <roland@hack.frob.com>
31466
31467 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31468 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31469 declaration.
31470 * manual/search.texi (Array Search Function): Add missing const in
31471 lfind prototype.
31472 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31473 declaration to use rlim_t.
31474 (Basic Scheduling Functions): Remove erroneous const from
31475 sched_getparam prototype. Remove erroneous * from
31476 sched_get_priority_max and sched_get_priority_min prototypes.
31477 (Resource Usage): Fix summary @comment on vtimes to refer to
31478 sys/vtimes.h rather than vtimes.h.
31479 Add missing *s in vtimes prototype.
31480 (Limits on Resources): Fix ulimit prototype to return long int.
31481 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31482 prototypes to use long int rather than double.
31483 (BSD Random): Fix initstate and setstate to use char *, not void *.
31484 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31485 prototype to make second argument 'struct aiocb64 *const[]'.
31486 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31487 (Status of AIO Operations): Remove erroneous const in aio_return and
31488 aio_return64 prototypes.
31489 (Synchronizing I/O): Fix sync prototype to return void.
31490 * manual/startup.texi (Suboptions): Remove an erroneous const in
31491 getsubopt prototype.
31492 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31493 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31494 use size_t rather than int.
31495 (Scanning All Users): Likewise for getpwent_r.
31496 (Setting Groups): Add missing const to setgroups prototype.
31497 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31498 * manual/socket.texi (Host Names): Fix gethostbyaddr and
31499 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31500 'const void *' rather than 'const char *'.
31501 (Host Address Functions): Likewise for inet_ntop.
31502 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31503 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31504 ssize_t for return value.
31505 (Sending Data): Likewise for send, sendto, sendmsg.
31506 (Socket Option Functions): Add a missing const in setsockopt prototype.
31507 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31508 use wchar_t for the argument.
31509 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31510 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31511 take no arguments.
31512 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31513 double/float/long double for second argument.
31514 Fix return types of significand, significandf, significandl.
31515 * manual/filesys.texi (Setting Permissions): Use mode_t for second
31516 argument in fchmod prototype.
31517 (File Owner): Use uid_t and gid_t in fchown prototype.
31518 (File Times): Add const to utimes, futimes, and lutimes prototypes.
31519 (Making Special Files): Use mode_t and dev_t in mknod prototype.
31520 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31521 use 'const struct dirent **' as argument types to CMP function pointer
31522 argument.
31523 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31524 (File Times): Fix summary magic @comment for struct utimbuf and utime
31525 to refer to utime.h, not time.h.
31526 * manual/string.texi (Argz Functions): Add missing const in
31527 argz_extract and argz_next prototypes.
31528 (Finding Tokens in a String): Likewise for basename.
31529 (String/Array Comparison): Fix typo in wcscasecmp prototype.
31530 (Copying and Concatenation): Fix typo in wmemmove prototype.
31531 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31532 (Signal Stack): Remove erroneous const in sigstack prototype.
31533 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31534 prototype.
31535 (Simple Calendar Time): Likewise for stime.
31536 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31537 prototype.
31538 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31539 say sys/sysctl.h instead.
31540 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31541 and vsyslog prototypes.
31542
fe77fe6d
TV
315432013-02-11 Tom de Vries <tom@codesourcery.com>
31544
31545 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31546 Remove.
31547
3a09b620
RM
315482013-02-11 Roland McGrath <roland@hack.frob.com>
31549
31550 * misc/sys/mman.h: Fix typo in mremap comment.
31551
550a0b89
RM
315522013-02-08 Roland McGrath <roland@hack.frob.com>
31553
31554 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31555 the '\0' terminator.
31556
a2da1673
JM
315572013-02-08 Joseph Myers <joseph@codesourcery.com>
31558
31559 [BZ #13550]
31560 * debug/segfault.c: Don't include <bp-checks.h>.
31561 * sysdeps/generic/bp-checks.h: Remove file.
31562 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31563 (__GETDENTS): Don't use CHECK_N.
31564 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31565 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31566 (__getgroups): Don't use CHECK_N.
31567 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31568 (setgroups): Don't use CHECK_N.
31569 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31570 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31571 (__libc_msgrcv): Don't use CHECK_N.
31572 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31573 (__libc_msgsnd): Don't use CHECK_N.
31574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31575 <bp-checks.h>.
31576 (__libc_pread): Don't use CHECK_N.
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31578 include <bp-checks.h>.
31579 (__libc_pread64): Don't use CHECK_N.
31580 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31581 include <bp-checks.h>.
31582 (__libc_pwrite): Don't use CHECK_N.
31583 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31584 include <bp-checks.h>.
31585 (__libc_pwrite64): Don't use CHECK_N.
31586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31587 <bp-checks.h>.
31588 (__libc_pread): Don't use CHECK_N.
31589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31590 include <bp-checks.h>.
31591 (__libc_pread64): Don't use CHECK_N.
31592 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31593 include <bp-checks.h>.
31594 (__libc_pwrite): Don't use CHECK_N.
31595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31596 include <bp-checks.h>.
31597 (__libc_pwrite64): Don't use CHECK_N.
31598 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31599 (do_pread): Don't use CHECK_N.
31600 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31601 (do_pread64): Don't use CHECK_N.
31602 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31603 (do_pwrite): Don't use CHECK_N.
31604 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31605 (do_pwrite64): Don't use CHECK_N.
31606 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31607 (__libc_readv): Don't use CHECK_N.
31608 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31609 (semop): Don't use CHECK_N.
31610 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31611 <bp-checks.h>.
31612 (semtimedop): Don't use CHECK_N.
31613 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31614 (__libc_pread): Don't use CHECK_N.
31615 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31616 <bp-checks.h>.
31617 (__libc_pread64): Don't use CHECK_N.
31618 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31619 <bp-checks.h>.
31620 (__libc_pwrite): Don't use CHECK_N.
31621 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31622 <bp-checks.h>.
31623 (__libc_pwrite64): Don't use CHECK_N.
31624 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31625 <bp-checks.h>.
31626 (__libc_msgrcv): Don't use CHECK_N.
31627 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31628 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
31629 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31630 (__libc_writev): Don't use CHECK_N.
31631
b84660a8
RM
316322013-02-08 Roland McGrath <roland@hack.frob.com>
31633
7f3e75f8
RM
31634 * string/strcpy.c: Removed unused variable.
31635
b84660a8
RM
31636 * Makeconfig (+sysdep-includes): Define with := rather than =.
31637 Use an existing include/ subdir of each sysdeps dir before it.
31638
471514d3
CD
316392013-02-08 Carlos O'Donell <carlos@redhat.com>
31640
31641 * nscd/connection.c (register_traced_file): Comment function.
31642 [HAVE_INOTIFY] (union __inev): Define.
31643 [HAVE_INOTIFY] (inotify_check_files): New function.
31644 [HAVE_INOTIFY] (clear_db_cache): Likewise.
31645 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31646 clear_db_cache.
31647 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31648
b2d3c3be
CD
316492013-02-08 Carlos O'Donell <carlos@redhat.com>
31650
31651 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31652 loaded if not already and that a failure is permanent.
31653
b39949d2
CD
316542013-02-08 Carlos O'Donell <carlos@redhat.com>
31655
ddacd1db 31656 [BZ #15006]
b39949d2
CD
31657 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31658 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31659
b2c9eff4
JM
316602013-02-08 Joseph Myers <joseph@codesourcery.com>
31661
f3aae3f3
JM
31662 [BZ #13550]
31663 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31664 (CHECK_1_NULL_OK): Likewise.
31665 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31666 (__fxstat): Do not use CHECK_1.
31667 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31668 <bp-checks.h>.
31669 (___fxstat64): Do not use CHECK_1.
31670 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31671 <bp-checks.h>.
31672 (__fxstatat): Do not use CHECK_1.
31673 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31674 <bp-checks.h>.
31675 (__fxstatat64): Do not use CHECK_1.
31676 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31677 <bp-checks.h>.
31678 (__fxstat): Do not use CHECK_1.
31679 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31680 <bp-checks.h>.
31681 (__fxstatat): Do not use CHECK_1.
31682 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31683 <bp-checks.h>.
31684 (__getresgid): Do not use CHECK_1.
31685 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31686 <bp-checks.h>.
31687 (__getresuid): Do not use CHECK_1.
31688 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31689 <bp-checks.h>.
31690 (__lxstat): Do not use CHECK_1.
31691 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31692 <bp-checks.h>.
31693 (__old_msgctl): Do not use CHECK_1.
31694 (__new_msgctl): Likewise.
31695 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31696 <bp-checks.h>.
31697 (__new_setrlimit): Do not use CHECK_1.
31698 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31699 <bp-checks.h>.
31700 (__old_shmctl): Do not use CHECK_1.
31701 (__new_shmctl): Likewise.
31702 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31703 <bp-checks.h>.
31704 (__xstat): Do not use CHECK_1.
31705 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31706 (__lxstat): Do not use CHECK_1.
31707 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31708 <bp-checks.h>.
31709 (___lxstat64): Do not use CHECK_1.
31710 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31711 (__old_msgctl): Do not use CHECK_1.
31712 (__new_msgctl): Likewise.
31713 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31714 <bp-checks.h>.
31715 (__gettimeofday): Do not use CHECK_1.
31716 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31717 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31718 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31719 <bp-checks.h>.
31720 (__gettimeofday): Do not use CHECK_1.
31721 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31722 (__old_shmctl): Do not use CHECK_1_NULL_OK.
31723 (__new_shmctl): Do not use CHECK_1.
31724 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31725 <bp-checks.h>.
31726 (do_sigtimedwait): Do not use CHECK_1.
31727 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31728 <bp-checks.h>.
31729 (do_sigwaitinfo): Do not use CHECK_1.
31730 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31731 <bp-checks.h>.
31732 (msgctl): Do not use CHECK_1.
31733 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31734 <bp-checks.h>.
31735 (shmctl): Do not use CHECK_1.
31736 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31737 (ustat): Do not use CHECK_1.
31738 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31739 <bp-checks.h>.
31740 (__fxstat): Do not use CHECK_1.
31741 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31742 <bp-checks.h>.
31743 (__fxstatat): Do not use CHECK_1.
31744 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31745 <bp-checks.h>.
31746 (__lxstat): Do not use CHECK_1.
31747 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31748 <bp-checks.h>.
31749 (__xstat): Do not use CHECK_1.
31750 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31751 (__xstat): Do not use CHECK_1.
31752 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31753 (___xstat64): Do not use CHECK_1.
31754
b2c9eff4
JM
31755 [BZ #13550]
31756 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31757 definitions.
31758 (CHECK_BOUNDS_HIGH): Likewise.
31759 * string/strcpy.c: Do not include <bp-checks.h>.
31760 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31761
f1d70dad
RM
317622013-02-07 Roland McGrath <roland@hack.frob.com>
31763
31764 * nscd/nscd-client.h (__nscd_drop_map_ref):
31765 Add __attribute__ ((unused)).
31766 * nis/nss-nisplus.h (niserr2nss): Likewise.
31767
31768 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31769 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31770
31771 * csu/libc-tls.c (init_static_tls, init_slotinfo):
31772 Remove inline keyword.
31773 * include/rounding-mode.h (round_away): Likewise.
31774 * libio/wfileops.c (adjust_wide_data): Likewise.
31775 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31776 (__m128i_strloadu_tolower): Likewise.
31777 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31778 (__m128i_strloadu_tolower): Likewise.
31779 * time/mktime.c (ydhms_diff): Likewise.
31780 * locale/elem-hash.h (elem_hash): Likewise.
31781 * locale/setlocale.c (setdata): Likewise.
31782 * posix/regex_internal.h (re_string_char_size_at): Likewise.
31783 (re_string_wchar_at): Likewise.
31784 (bitset_not, bitset_merge, bitset_mask): Likewise.
31785 [!(__GNUC__ > 3)] (inline): Remove macro.
31786 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31787 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31788 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31789 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31790 * string/memcmp.c (memcmp_bytes): Likewise.
31791 * locale/programs/locarchive.c (compute_hashval): Likewise.
31792 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31793 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31794 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31795 * nss/getent.c (print_rpc, print_protocols): Likewise.
31796 (print_passwd, print_group, print_aliases): Likewise.
31797 * nis/nss-nisplus.h (niserr2nss): Likewise.
31798 * nscd/connections.c (restart_p): Likewise.
31799 Change return type to bool.
31800
eab55bfb
RM
318012013-02-05 Roland McGrath <roland@hack.frob.com>
31802
7bd642f5
RM
31803 * Makeconfig (all-Depend-files): Add existing
31804 $(sorted-subdirs:=/Depend) files.
31805 (all-subdirs): Remove nss.
31806 * sysdeps/unix/inet/Subdirs: Add it here instead.
31807 * hesiod/Depend: New file.
31808
573c29b2
RM
31809 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31810 instead of calling alloca.
31811
b2e25af0
RM
31812 * io/lseek.c (__lseek): Rename to __libc_lseek.
31813 Define __lseek as an alias.
31814
eab55bfb
RM
31815 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31816
9a0d1941
CD
318172013-02-04 Carlos O'Donell <carlos@redhat.com>
31818
31819 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31820 else clause and remove check for non-standard endianness.
31821
b83bbec4
DM
318222013-02-04 David S. Miller <davem@davemloft.net>
31823
31824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31825
6277fdab
JM
318262013-02-04 Joseph Myers <joseph@codesourcery.com>
31827
31828 [BZ #13550]
31829 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31830 (__ubp_memchr): Remove prototype.
31831 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31832 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31833 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31834 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31835 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31836 Remove alias.
31837 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31838 (__ubp_memchr): Likewise.
31839 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31840 (__ubp_memchr): Likewise.
31841 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31842 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31843 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31844 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31845 CHECK_STRING.
31846 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31847 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31848 (__getcwd): Do not use CHECK_STRING.
31849 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31850 <bp-checks.h>.
31851 (__real_chown): Do not use CHECK_STRING.
31852 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31853 <bp-checks.h>.
31854 (fchownat): Do not use CHECK_STRING.
31855 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31856 CHECK_STRING.
31857 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31858 <bp-checks.h>.
31859 (__lchown): Do not use CHECK_STRING.
31860 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31861 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31862 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31863 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31865 include <bp-checks.h>.
31866 (truncate64): Do not use CHECK_STRING.
31867 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31868 <bp-checks.h>.
31869 (__real_chown): Do not use CHECK_STRING.
31870 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31871 <bp-checks.h>.
31872 (__lchown): Do not use CHECK_STRING.
31873 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31874 <bp-checks.h>.
31875 (__chown): Do not use CHECK_STRING.
31876 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31877 <bp-checks.h>.
31878 (truncate64): Do not use CHECK_STRING.
31879 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31880 Likewise.
31881 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31882 (__xmknod): Do not use CHECK_STRING.
31883 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31884 <bp-checks.h>.
31885 (__xmknodat): Do not use CHECK_STRING.
31886 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31887 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31888
903ae060
AS
318892013-02-04 Andreas Schwab <schwab@suse.de>
31890
31891 [BZ #14142]
31892 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31893 * include/netdb.h: Likewise for h_errno.
31894 * elf/tst-stackguard1.c: Include <tls.h>.
31895
542f9466
JK
318962013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
31897
31898 * elf/link.h (struct link_map): Extend the l_addr comment.
31899 * include/link.h (struct link_map): Likewise.
31900
e782a927
JM
319012013-02-01 Joseph Myers <joseph@codesourcery.com>
31902
31903 [BZ #13550]
31904 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31905 (BOUNDED_1): Remove macro.
31906 * debug/backtrace.c: Don't include <bp-checks.h>.
31907 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31908 (__backtrace): Likewise.
31909 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31910 <bp-checks.h>.
31911 (__backtrace): Don't use BOUNDED_1.
31912 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31913 <bp-checks.h>.
31914 (__backtrace): Don't use BOUNDED_1.
31915 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31916 (__backtrace): Don't use BOUNDED_1.
31917 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31918 (shmat): Don't use BOUNDED_N.
31919
8cf28c5e
JM
319202013-01-31 Joseph Myers <joseph@codesourcery.com>
31921
3a7ac8a0
JM
31922 [BZ #13550]
31923 * sysdeps/generic/bp-start.h: Remove file.
31924 * csu/libc-start.c: Don't include <bp-start.h>.
31925 (LIBC_START_MAIN): Set up __environ directly instead of using
31926 INIT_ARGV_and_ENVIRON.
31927 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31928 <bp-start.h>.
31929
f3499f95
JM
31930 [BZ #13550]
31931 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31932 definitions.
31933 (CHECK_FCNTL): Likewise.
31934 (CHECK_N_PAGES): Likewise.
31935
32a45bea
JM
31936 [BZ #13550]
31937 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31938 definitions.
31939 (CHECK_SIGSET_NULL_OK): Likewise.
31940 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31941 <bp-checks.h>.
31942 (sigpending): Don't use CHECK_SIGSET.
31943 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31944 <bp-checks.h>.
31945 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31946 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31947 <bp-checks.h>.
31948 (do_sigsuspend): Don't use CHECK_SIGSET.
31949 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31950 use CHECK_SIGSET.
31951 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31952 (do_sigwait): Don't use CHECK_SIGSET.
31953 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31954 use CHECK_SIGSET.
31955 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31956 include <bp-checks.h>.
31957 (sigpending): Don't use CHECK_SIGSET.
31958 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31959 include <bp-checks.h>.
31960 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31961 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31962 <bp-checks.h>.
31963 (sigpending): Don't use CHECK_SIGSET.
31964 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31965 <bp-checks.h>.
31966 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31967
2e8a5c8c
JM
31968 [BZ #13550]
31969 * sysdeps/generic/bp-semctl.h: Remove file.
31970 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31971 <bp-checks.h> and <bp-semctl.h>.
31972 (__old_semctl): Don't use CHECK_SEMCTL.
31973 (__new_semctl): Likewise.
31974 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31975 and <bp-semctl.h>.
31976 (__old_semctl): Don't use CHECK_SEMCTL.
31977 (__new_semctl): Likewise.
31978 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31979 <bp-checks.h> and <bp-semctl.h>.
31980 (__old_semctl): Don't use CHECK_SEMCTL.
31981 (__new_semctl): Likewise.
31982 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31983 <bp-checks.h> and <bp-semctl.h>.
31984 (semctl): Don't use CHECK_SEMCTL.
31985
c2d54929
JM
31986 [BZ #13550]
31987 * Makerules (elide-bp-thunks): Remove variable.
31988 (elide-routines.oS): Don't use $(elide-bp-thunks).
31989 (elide-routines.os): Likewise.
31990 (elide-routines.o): Likewise.
31991 (elide-routines.op): Likewise.
31992 (elide-routines.og): Likewise.
31993 (objects): Don't use $(bp-thunks).
31994 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31995 include.
31996 (common-generated): Do not add s-proto-bp.d.
31997 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31998 (int): Likewise.
31999 (typ): Likewise.
32000 Do not generate makefile rules for bounded-pointer thunks.
32001 * sysdeps/generic/bp-thunks.h: Remove file.
32002 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32003 * sysdeps/unix/s-proto-bp.S: Likewise.
32004
8cf28c5e
JM
32005 [BZ #15062]
32006 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32007 parts of result separately when argument is not close to line from
32008 -i to i and one part of argument is small.
32009 * math/k_casinhf.c (__kernel_casinhf): Likewise.
32010 * math/k_casinhl.c (__kernel_casinhl): Likewise.
32011 * math/libm-test.inc (cacos_test): Add more tests.
32012 (casin_test): Likewise.
32013 (casinh_test): Likewise.
32014 * sysdeps/i386/fpu/libm-test-ulps: Update.
32015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32016
c4e33b8d
DM
320172013-01-31 David S. Miller <davem@davemloft.net>
32018
32019 * po/de.po: Update from translation team.
32020
3b60b421
MK
320212013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
32022
32023 * time/tzfile.c: Include stdint.h for SIZE_MAX.
32024
bb931195
TS
320252013-01-25 Thomas Schwinge <thomas@codesourcery.com>
32026
b5a5da23
TS
32027 * configure.in (_AC_PROG_CC_C89): New definition.
32028 * configure: Regenerate.
32029
bb931195
TS
32030 * configure.in (AC_PROG_CPP): New definition.
32031 * configure: Regenerate.
32032
8c53a12c
JM
320332013-01-23 Joseph Myers <joseph@codesourcery.com>
32034
32035 * debug/tst-backtrace.h: New file.
32036 * debug/tst-backtrace2.c: Include tst-backtrace.h.
32037 (ret): Remove variable.
32038 (x): Likewise.
32039 (FAIL): Remove macro.
32040 (NO_INLINE): Likewise.
32041 (fn1): Use match function instead of strstr.
32042 * debug/tst-backtrace3.c: Include tst-backtrace.h.
32043 (ret): Remove variable.
32044 (x): Likewise.
32045 (FAIL): Remove macro.
32046 (NO_INLINE): Likewise.
32047 (fn): Use match function instead of strstr.
32048 * debug/tst-backtrace4.c: Include tst-backtrace.h.
32049 (ret): Remove variable.
32050 (x): Likewise.
32051 (FAIL): Remove macro.
32052 (NO_INLINE): Likewise.
32053 (handle_signal): Use match function instead of strstr.
32054 * debug/tst-backtrace5.c: Include tst-backtrace.h.
32055 (ret): Remove variable.
32056 (x): Likewise.
32057 (FAIL): Remove macro.
32058 (NO_INLINE): Likewise.
32059 (handle_signal): Use match function instead of strstr.
32060
4858fa2a
RM
320612013-01-23 Roland McGrath <roland@hack.frob.com>
32062
32063 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32064
bae8e7f5
DM
320652013-01-23 David S. Miller <davem@davemloft.net>
32066
32067 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32068 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32069 argument of CAS if possible.
32070 * sysdeps/sparc/sparc64/bits/atomic.h
32071 (__arch_compare_and_exchange_val_32_acq): Likewise.
32072 (__arch_compare_and_exchange_val_64_acq): Likewise.
32073
9cbbc4ae
PT
320742013-01-23 Pino Toscano <toscano.pino@tiscali.it>
32075
32076 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32077 * sysdeps/posix/ulimit.c: ... this.
92a601b8 32078 Include <limits.h>.
67b3f58c 32079 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 32080
5655a0b5
AC
320812013-01-23 Adam Conrad <adconrad@0c3.net>
32082
32083 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32084 (LDFLAGS-tst-array5): Likewise.
32085
052aff95
JM
320862013-01-23 Joseph Myers <joseph@codesourcery.com>
32087
32088 [BZ #15036]
32089 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32090 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32091 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32092 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32093
7c1e01aa
DM
320942013-01-21 David S. Miller <davem@davemloft.net>
32095
32096 * sysdeps/sparc/backtrace.c: New file.
32097 * sysdeps/sparc/sparc32/backtrace.h: New file.
32098 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32099 * sysdeps/sparc/sparc64/backtrace.h: New file.
32100 * sysdeps/sparc/sparc64/backtrace.c: Delete.
32101 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32102 -funwind-tables.
32103
ab087e0a
AS
321042013-01-21 Andreas Schwab <schwab@suse.de>
32105
32106 [BZ #15020]
32107 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32108 closed its stdout.
32109
ed689c2f
AS
321102013-01-20 Andreas Schwab <schwab@linux-m68k.org>
32111
32112 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32113 "mpa2.h".
32114 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32115
31d470ac
JM
321162013-01-18 Joseph Myers <joseph@codesourcery.com>
32117 Mark Mitchell <mark@codesourcery.com>
32118 Tom de Vries <tom@codesourcery.com>
32119 Paul Pluzhnikov <ppluzhnikov@google.com>
32120
32121 * debug/tst-backtrace2.c: New file.
32122 * debug/tst-backtrace3.c: Likewise.
32123 * debug/tst-backtrace4.c: Likewise.
32124 * debug/tst-backtrace5.c: Likewise.
32125 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32126 (CFLAGS-tst-backtrace3.c): Likewise.
32127 (CFLAGS-tst-backtrace4.c): Likewise.
32128 (CFLAGS-tst-backtrace5.c): Likewise.
32129 (LDFLAGS-tst-backtrace2): Likewise.
32130 (LDFLAGS-tst-backtrace3): Likewise.
32131 (LDFLAGS-tst-backtrace4): Likewise.
32132 (LDFLAGS-tst-backtrace5): Likewise.
32133 (tests): Add new tests tst-backtrace2, tst-backtrace3,
32134 tst-backtrace4 and tst-backtrace5.
32135
90567f30 321362013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
32137 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
32138
32139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32140 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32141 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32142 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32144 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32145 "+r" and remove output regs list as redundant. Add explicit inline
32146 asm to specify register of return val to work around compiler codegen
32147 bug. Remove (int) cast on return value. Add return type parameter to
32148 use in macro so that this macro does not truncate return value for
32149 64-bit values.
32150 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32151 pass to INTERNAL_VSYSCALL_NCS.
32152 (INLINE_VSYSCALL): Add 'long int' as return type to
32153 INTERNAL_VSYSCALL_NCS macro invocation.
32154 (INTERNAL_VSYSCALL): Add 'long int' as return type to
32155 INTERNAL_VSYSCALL_NCS macro invocation.
32156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32157
d3b9ea61
SP
321582013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
32159
0b57daeb
SP
32160 [BZ #14496]
32161 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32162 Fix application of SIMD FP exception mask.
32163
caa99d06
SP
32164 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32165 mp_no from a power of two.
32166 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32167 __mpexp_twomm1. Use __pow_mp.
32168
d3b9ea61
SP
32169 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32170 multiplication.
32171
1dbaee3c
DM
321722013-01-17 David S. Miller <davem@davemloft.net>
32173
32174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32175
728d7b43
JM
321762013-01-17 Joseph Myers <joseph@codesourcery.com>
32177
32178 [BZ #15023]
32179 * include/complex.h: Condition contents on [!_COMPLEX_H].
32180 (__kernel_casinhf): New prototype.
32181 (__kernel_casinh): Likewise.
32182 (__kernel_casinhl): Likewise.
32183 * math/Makefile (libm_calls): Add k_casinh.
32184 * math/k_casinh.c: New file.
32185 * math/k_casinhf.c: Likewise.
32186 * math/k_casinhl.c: Likewise.
32187 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32188 finite nonzero arguments.
32189 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32190 finite nonzero arguments.
32191 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32192 finite nonzero arguments.
32193 * math/s_casinh.c: Do not include <float.h>.
32194 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32195 * math/s_casinhf.c: Do not include <float.h>.
32196 (__casinhf): Move code for finite nonzero arguments to
32197 k_casinhf.c.
32198 * math/s_casinhl.c: Do not include <float.h>.
32199 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32200 redefine.
32201 (__casinhl): Move code for finite nonzero arguments to
32202 k_casinhl.c.
32203 * math/libm-test.inc (cacos_test): Add more tests.
32204 * sysdeps/i386/fpu/libm-test-ulps: Update.
32205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32206
2a26ef3a
PT
322072013-01-17 Pino Toscano <toscano.pino@tiscali.it>
32208
32209 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32210 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32211 [!HAVE_MREMAP]: Remove [defined linux] case.
32212 * malloc/arena.c: Do not include <malloc-sysdep.h>.
32213
a897655d
SP
322142013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
32215
32216 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32217
881ebe89 322182013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
32219
32220 * elf/elf.h (R_386_SIZE32): New relocation.
32221 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32222 R_386_SIZE32.
32223 (elf_machine_rela): Likewise.
32224 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32225 R_X86_64_SIZE64 and R_X86_64_SIZE32.
32226
59981e9b
JM
322272013-01-17 Joseph Myers <joseph@codesourcery.com>
32228
32229 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32230 (FP_FAST_FMA): Do not define.
32231 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32232 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32233 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32234 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32235 !_SOFT_FLOAT]: Likewise.
32236 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32237 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32238 value.
32239 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32240 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32241 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32242 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32243 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32244 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32245 file.
32246
cfa8054f
AS
322472013-01-16 Andreas Schwab <schwab@suse.de>
32248
32249 [BZ #14327]
32250 * include/stdlib.h (__mktemp): Add declaration.
32251 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32252 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32253
dd930cc5
SP
322542013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32255
881ebe89
SP
32256 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32257 definitions.
32258 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32259 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32260 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32261 definitions here.
32262 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32263 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32264 definitions.
32265 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32266 and ONE.
32267 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32268 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32269 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32270 definitions.
32271 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32272 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32273 definitions.
32274 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 32275
dd930cc5
SP
32276 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32277
c19a9f89
DM
322782013-01-15 David S. Miller <davem@davemloft.net>
32279
1aa61767
DM
32280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32281 trunc{,f} to libm-sysdep_routes.
32282 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32284 file.
32285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32287 file.
32288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32289 file.
32290 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32291 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32292 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32293 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32294 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32295 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32296 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32297 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32298
c42d5e98
DM
32299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32300 nearbyint{,f} to libm-sysdep_routes.
32301 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32303 New file.
32304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32305 file.
32306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32307 New file.
32308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32309 file.
32310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32312 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32313 file.
32314 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32315 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32316 file.
32317 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32318 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32319 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32320
c19a9f89
DM
32321 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32322 libc_feholdexcept and libc_fesetenv.
32323
357679d2
MF
323242013-01-15 Mike Frysinger <vapier@gentoo.org>
32325
32326 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32327
65a82e3d
DM
323282013-01-14 David S. Miller <davem@davemloft.net>
32329
8b954ab9
DM
32330 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32331 (SPARC_ASM_VIS2_IFUNC): Likewise.
32332 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32334 use of 'siam' instruction.
32335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32336 Likewise.
32337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32338 Likewise.
32339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32340 Likewise.
32341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32342 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32343 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32344 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32345 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32346 file.
32347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32348 file.
32349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32350 file.
32351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32352 file.
32353 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32354 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32358 new VIS2 routines.
32359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32362 Likewise.
32363 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32364 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32365 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32366 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32368 routines to libm-sysdep_routines.
32369 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32370
65a82e3d
DM
32371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32372 fdim/fdimf to libm-sysdep_routines.
32373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32374 file.
32375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32377 file.
32378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32379 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32380 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32381 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32382 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32383 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32384 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32385
e34ab705
SP
323862013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
32387
2a91b573
SP
32388 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32389 to optimize copies.
32390
1066a534
SP
32391 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32392 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32393 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32394
e34ab705
SP
32395 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32396 local variable MPTWO.
32397 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32398 Likewise.
32399
aba5e596
MF
324002013-01-13 Mike Frysinger <vapier@gentoo.org>
32401
32402 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32403 GLOB_NOESCAPE.
32404
e557e9e5
MF
324052013-01-13 Mike Frysinger <vapier@gentoo.org>
32406
32407 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32408
0428cec9
MF
324092013-01-13 Mike Frysinger <vapier@gentoo.org>
32410
32411 * manual/pattern.texi (glob_t): Document gl_flags.
32412 (glob64_t): Likewise.
32413
8794a964
DM
324142013-01-11 David S. Miller <davem@davemloft.net>
32415
66438c3f
RM
32416 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32417 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32418 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
32419 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32420 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32421 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32422 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32423 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32424 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32425 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32426 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32427 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32428 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32429
4ae4244d
DM
32430 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32431 sparc V9 rather than using V8 code.
32432 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32433 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32434
8794a964
DM
32435 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32436 Move to...
32437 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32438 Here.
32439
6270516e
RM
324402013-01-11 Roland McGrath <roland@hack.frob.com>
32441
32442 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32443 not in the main loop.
32444 * configure: Regenerated.
32445
6a57d931
JM
324462013-01-11 Joseph Myers <joseph@codesourcery.com>
32447
32448 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32449 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32450 to just #else.
32451 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
32452 [!__GLIBC_HAVE_LONG_LONG] case.
32453 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32454 condition to just #else.
32455 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32456 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32457 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32458 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32459 unconditional.
32460 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32461 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32462 #elif condition to just #else.
32463 * sysdeps/unix/sysv/linux/sys/sysmacros.h
32464 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32465 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32466 #elif condition to just #else.
32467
0e8529e9
SE
324682013-01-11 Steve Ellcey <sellcey@mips.com>
32469
32470 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32471 (EF_MIPS_ARCH_64): Fix value.
32472 (EF_MIPS_ARCH_32R2): New.
32473 (EF_MIPS_ARCH_64R2): New.
32474
740b3dbe
L
324752013-01-11 H.J. Lu <hongjiu.lu@intel.com>
32476
32477 * Makeconfig (+link-pie-before-libc): New.
32478 (+link-pie-after-libc): Likewise.
32479 (+link-pie-tests): Likewise.
32480 (+link-pie): Rewritten.
32481 (link-before-libc): Remove $(config-LDFLAGS).
32482 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32483 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32484 (config-LDFLAGS): Renamed to ...
32485 (rtld-LDFLAGS): This.
32486 (rtld-tests-LDFLAGS): New macro.
32487 (link-libc-rpath-link): Likewise.
32488 (link-libc-tests-rpath-link): Likewise.
32489 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32490 (link-libc): Prepand $(link-libc-rpath-link).
32491 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32492 (test-program-prefix): New macro.
32493 (test-via-rtld-prefix): Likewise.
32494 (test-program-cmd): Likewise.
32495 (host-test-program-cmd): Likewise.
32496 * Makefile ($(common-objpfx)testrun.sh): Replace
32497 $(run-program-prefix) with $(test-program-prefix).
32498 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32499 $(rtld-LDFLAGS).
32500 ($(common-objpfx)shlib.lds): Likewise.
32501 (build-module-helper): Likewise.
32502 ($(common-objpfx)format.lds): Likewise.
32503 * Rules (binaries-pie-tests): New.
32504 (binaries-pie-notests): Likewise.
32505 (binaries-pie): Rewritten.
32506 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32507 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32508 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32509 (make-test-out): Replace $(host-built-program-cmd) with
32510 $(host-test-program-cmd).
32511 * config.make.in (build-hardcoded-path-in-tests): New variable.
32512 * configure.in (--enable-hardcoded-path-in-tests): New configure
32513 option.
32514 (hardcoded_path_in_tests): New AC_SUBST.
32515 * configure: Regenerated.
32516 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32517 $(built-program-cmd) with $(test-program-cmd).
32518 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32519 (test_program_cmd): This.
32520 * elf/Makefile ($(objpfx)order.out): Run test with
32521 $(test-program-prefix).
32522 ($(objpfx)order2.out): Likewise.
32523 ($(objpfx)tst-initorder.out): Likewise.
32524 ($(objpfx)tst-initorder2.out): Likewise.
32525 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32526 $(test-program-cmd).
32527 ($(objpfx)tst-array1-static.out): Likewise.
32528 ($(objpfx)tst-array2.out): Likewise.
32529 ($(objpfx)tst-array3.out): Likewise.
32530 ($(objpfx)tst-array4.out): Likewise.
32531 ($(objpfx)tst-array5.out): Likewise.
32532 ($(objpfx)tst-array5-static.out): Likewise.
32533 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32534 $(test-program-cmd).
32535 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32536 $(run-program-prefix) with $(test-program-prefix).
32537 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32538 (test_program_prefix): This.
32539 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32540 $(run-program-prefix) with $(test-program-prefix).
32541 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32542 (test_program_prefix): This.
32543 * iconvdata/tst-tables.sh: Likewise.
32544 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32545 $(run-program-prefix) with $(test-program-prefix).
32546 ($(objpfx)tst-translit.out): Likewise.
32547 ($(objpfx)tst-gettext2.out): Likewise.
32548 ($(objpfx)tst-gettext4.out): Likewise.
32549 ($(objpfx)tst-gettext6.out): Likewise.
32550 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32551 (test_program_prefix): This.
32552 * intl/tst-gettext2.sh: Likewise.
32553 * intl/tst-gettext4.sh Likewise.
32554 * intl/tst-gettext6.sh: Likewise.
32555 * intl/tst-translit.sh: Likewise.
32556 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32557 with $(test-program-cmd).
32558 * libio/Makefile ($(objpfx)test-freopen.out): Replace
32559 $(run-program-prefix) with $(test-program-prefix).
32560 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32561 (test_program_prefix): This.
32562 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32563 $(run-program-prefix) with $(test-program-prefix).
32564 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32565 (test_program_prefix): This.
32566 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32567 * posix/Makefile ($(objpfx)globtest.out): Replace
32568 $(run-via-rtld-prefix) and $(test-wrapper) with
32569 $(test-program-prefix) and $(test-via-rtld-prefix).
32570 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32571 $(test-program-prefix).
32572 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32573 $(host-test-program-cmd).
32574 (tst-spawn-ARGS): Likewise.
32575 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32576 $(test-program-prefix).
32577 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32578 (test_via_rtld_prefix): This.
32579 (test_wrapper): Renamed to ...
32580 (test_program_prefix): This.
32581 (run_program_prefix): Replaced by test_program_prefix.
32582 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32583 (test_program_prefix): This.
32584 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32585 with $(host-test-program-cmd).
32586 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32587 $(run-program-prefix) with $(test-program-prefix).
32588 ($(objpfx)tst-printf.out): Likewise.
32589 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32590 $(test-program-cmd).
32591 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32592 (test_program_prefix): This.
32593 * stdio-common/tst-unbputc.sh: Likewise.
32594 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32595 $(run-program-prefix) with $(test-program-prefix).
32596 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32597 (test_program_prefix): This.
32598 * string/Makefile ($(objpfx)tst-svc.out): Replace
32599 $(built-program-cmd) with $(test-program-cmd).
32600
c6fe55cf
AJ
326012013-01-11 Andreas Jaeger <aj@suse.de>
32602
32603 [BZ #15003]
32604 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32605 value. Sync with Linux 3.7.
32606
9e6919c8
DM
326072013-01-10 David S. Miller <davem@davemloft.net>
32608
32609 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32610 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32611 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32612
1c9f1a02
RM
326132013-01-10 Roland McGrath <roland@hack.frob.com>
32614
32615 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32616 never set.
32617 * configure: Regenerated.
32618
b9de2dde
DM
326192013-01-10 David S. Miller <davem@davemloft.net>
32620
32621 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32622 sparc V9 rather than using V8 code.
32623 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32624 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32625
e7f68ef4
RM
326262013-01-10 Roland McGrath <roland@hack.frob.com>
32627
32628 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32629 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32630 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32631 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32632 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32633 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32634 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32635 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32636 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32637 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32638 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32639 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32640 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32641 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32642 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32643 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32644 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32645 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32646 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32647 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32648 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32649 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32650 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32651 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32652 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32653 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32654 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32655
5a47cc9c
DM
326562013-01-10 David S. Miller <davem@davemloft.net>
32657
32658 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32659
4cf8f209
L
326602013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32661
32662 * posix/Makefile (tests-static): New variable.
32663 (tests): Add $(tests-static).
32664 (tst-exec-static-ARGS): New variable.
32665 (tst-spawn-static-ARGS): Likewise.
32666 * posix/tst-exec-static.c: New file.
32667 * posix/tst-spawn-static.c: Likewise.
32668 * posix/tst-exec.c: Support run directly.
32669 * posix/tst-spawn.c: Likewise.
32670
fed0faa1
JM
326712013-01-10 Joseph Myers <joseph@codesourcery.com>
32672
828beb13
JM
32673 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32674 long.
32675 * math/bits/mathcalls.h (llrint): Likewise.
32676 (llround): Likewise.
32677 * stdlib/stdlib.h (struct drand48_data): Likewise.
32678 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32679 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32680 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32681 Likewise.
32682 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32683 Likewise.
32684 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32685 (elf_greg_t): Likewise.
32686 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32687 (__jmp_buf): Likewise.
32688 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32689 definitions.
32690 (llrint): Likewise, for all definitions.
32691 (llrintl): Likewise.
32692
fed0faa1
JM
32693 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32694 Remove [__GNUC__] condition.
32695 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32696 condition to just [__USE_ISOC99].
32697 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32698
1a20cb20
L
326992013-01-10 H.J. Lu <hongjiu.lu@intel.com>
32700
32701 [BZ #14200]
32702 * sysdeps/unix/sysv/linux/x86/bits/environments.h
32703 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32704 defined.
32705 (_POSIX_V6_ILP32_OFF32): Likewise.
32706 (_XBS5_ILP32_OFF32): Likewise.
32707 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32708 (__ILP32_OFFBIG_LDFLAGS): Likewise.
32709
751b85f7
SP
327102013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
32711
7490eb81
SP
32712 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32713
751b85f7
SP
32714 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32715 doubles __mpexp_twomm1. Adjust usage.
32716 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32717 Remove.
32718
988197f0
AS
327192013-01-10 Andreas Schwab <schwab@suse.de>
32720
32721 [BZ #14964]
32722 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32723 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32724
e83d7298
DM
327252013-01-09 David S. Miller <davem@davemloft.net>
32726
034ed64b 32727 [BZ #15003]
57f41c40
AS
32728 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32729 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32730 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32731 (TCP_FASTOPEN): Define.
e83d7298
DM
32732 (tcp_repair_opt): New structure.
32733 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32734 enum values.
57f41c40
AS
32735 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32736 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32737 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
e83d7298
DM
32738 (tcp_cookie_transactions): New structure.
32739
d5e0b9bd
AB
327402013-01-09 Anton Blanchard <anton@samba.org>
32741
32742 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32743 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32744 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32745 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32746
0c07e3ea
JM
327472013-01-09 Joseph Myers <joseph@codesourcery.com>
32748
32749 * include/features.h (__USE_ANSI): Remove.
32750
232f7002
RM
327512013-01-09 Roland McGrath <roland@hack.frob.com>
32752
ad98e30c
RM
32753 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32754
232f7002
RM
32755 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32756
950c99ca
SP
327572013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
32758
b5792741
SP
32759 * sysdeps/s390/fpu/libm-test-ulps: Update.
32760
47cf2278
SP
32761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32762
950c99ca
SP
32763 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32764 (__acr): Likewise.
32765 (__cpy): Likewise.
32766 (norm): Likewise.
32767 (denorm): Likewise.
32768 (__mp_dbl): Likewise.
32769 (__dbl_mp): Likewise.
32770 (add_magnitudes): Likewise.
32771 (sub_magnitudes): Likewise.
32772 (__add): Likewise.
32773 (__sub): Likewise.
32774 (__mul): Likewise.
32775 (__inv): Likewise.
32776 (__dvd): Likewise.
32777 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32778 (__acr): Likewise.
32779 (__cpy): Likewise.
32780 (norm): Likewise.
32781 (denorm): Likewise.
32782 (__mp_dbl): Likewise.
32783 (__dbl_mp): Likewise.
32784 (add_magnitudes): Likewise.
32785 (sub_magnitudes): Likewise.
32786 (__add): Likewise.
32787 (__sub): Likewise.
32788 (__mul): Likewise.
32789 (__inv): Likewise.
32790 (__dvd): Likewise.
32791 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32792 (__acr): Likewise.
32793 (__cpy): Likewise.
32794 (norm): Likewise.
32795 (denorm): Likewise.
32796 (__mp_dbl): Likewise.
32797 (__dbl_mp): Likewise.
32798 (add_magnitudes): Likewise.
32799 (sub_magnitudes): Likewise.
32800 (__add): Likewise.
32801 (__sub): Likewise.
32802 (__mul): Likewise.
32803 (__inv): Likewise.
32804 (__dvd): Likewise.
32805
eede9df9
JM
328062013-01-08 Joseph Myers <joseph@codesourcery.com>
32807
32808 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32809 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32810 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32811 2 && __USE_EXTERN_INLINES]: Likewise.
32812
c40ea3d9
AJ
328132013-01-08 Andreas Jaeger <aj@suse.de>
32814
32815 [BZ# 14985]
32816 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32817 Remove.
32818 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32819 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32820
2ccdea26
AB
328212013-01-07 Anton Blanchard <anton@samba.org>
32822
32823 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32824 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32825 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32826 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32827 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32828 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32829 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32830 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32831 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32832 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32833 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32834 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32835 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32837 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32838 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32839 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32840 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32841 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32842 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32843 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32844 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32845 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32846 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32847 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32848 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32850 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32851 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32852 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32853 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32854 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32856 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32857 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32858 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32859 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32860 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32861 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32862 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32863 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32864 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32865 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32866
a9708fed
JM
328672013-01-07 Joseph Myers <joseph@codesourcery.com>
32868
375607b9
JM
32869 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32870 (__MALLOC_PMT): Likewise.
32871 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32872 [__GNUC__], only on [_LIBC].
32873 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32874 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32875 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32876 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32877 forward declaration.
32878 (realloc_hook_ini): Likewise.
32879 (memalign_hook_ini): Likewise.
32880 (__libc_memalign): Do not use __MALLOC_PMT in variable
32881 declaration.
32882 (__libc_valloc): Likewise.
32883 (__libc_pvalloc): Likewise.
32884 (__libc_calloc): Likewise.
32885 (__posix_memalign): Likewise.
32886
a9708fed
JM
32887 [BZ #14996]
32888 * math/s_casinh.c: Include <float.h>.
32889 (__casinh): Do not do computation with squaring and square root
32890 for large arguments.
32891 * math/s_casinhf.c: Include <float.h>.
32892 (__casinhf): Do not do computation with squaring and square root
32893 for large arguments.
32894 * math/s_casinhl.c: Include <float.h>.
32895 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32896 (__casinhl): Do not do computation with squaring and square root
32897 for large arguments.
32898 * math/libm-test.inc (casin_test): Add more tests.
32899 (casinh_test): Likewise.
32900 * sysdeps/i386/fpu/libm-test-ulps: Update.
32901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32902
afec409a
L
329032013-01-04 H.J. Lu <hongjiu.lu@intel.com>
32904
32905 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32906 (__x86_64_raw_data_cache_size): Likewise.
32907 (__x86_64_data_cache_size_half): Likewise.
32908 (__x86_64_raw_data_cache_size_half): Likewise.
32909 (__x86_64_shared_cache_size): Likewise.
32910 (__x86_64_raw_shared_cache_size): Likewise.
32911 (__x86_64_shared_cache_size_half): Likewise.
32912 (__x86_64_raw_shared_cache_size_half): Likewise.
32913 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32914 to ...
32915 (__x86_data_cache_size): This.
32916 (__x86_64_raw_data_cache_size): Renamed to ...
32917 (__x86_raw_data_cache_size): This.
32918 (__x86_64_data_cache_size_half): Renamed to ...
32919 (__x86_data_cache_size_half): This.
32920 (__x86_64_raw_data_cache_size_half): Renamed to ...
32921 (__x86_raw_data_cache_size_half): This.
32922 (__x86_64_shared_cache_size): Renamed to ...
32923 (__x86_shared_cache_size): This.
32924 (__x86_64_raw_shared_cache_size): Renamed to ...
32925 (__x86_raw_shared_cache_size): This.
32926 (__x86_64_shared_cache_size_half): Renamed to ...
32927 (__x86_shared_cache_size_half): This.
32928 (__x86_64_raw_shared_cache_size_half): Renamed to ...
32929 (__x86_raw_shared_cache_size_half): This.
32930 * sysdeps/x86_64/memcpy.S: Updated.
32931 * sysdeps/x86_64/memset.S: Likewise.
32932 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32933 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32935
0b3986d0
DM
329362013-01-04 David S. Miller <davem@davemloft.net>
32937
32938 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32939
e47686e9
AS
329402013-01-04 Andreas Schwab <schwab@linux-m68k.org>
32941
d643bac1
AS
32942 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32943 1 to avoid redefinition warning.
32944 (__USE_GNU): Don't define.
32945 (init_signaling_nan): Protoize.
32946
e47686e9
AS
32947 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32948
b18decba
SP
329492013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32950
fffb407f
SP
32951 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32952 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32953 (__cpymn): Likewise.
32954 (norm): Remove commented code.
32955 (denorm): Likewise.
32956 (__mp_dbl): Likewise.
32957 (__inv): Likewise.
32958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32959 (__cpymn): Likewise.
32960 (norm): Remove commented code.
32961 (denorm): Likewise.
32962 (__mp_dbl): Likewise.
32963 (__inv): Likewise.
32964
b18decba
SP
32965 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32966 mp_no value for 1.0 and 2.0.
32967 (norm): Use RADIXI instead of radixi.d.
32968 (denorm): Likewise.
32969 (__mul): Use 0.0 instead of zero.d.
32970 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32971 mp_no value for 1.0 and 2.0.
32972 (norm): Use RADIXI instead of radixi.d.
32973 (denorm): Likewise.
32974 (__mul): Use 0.0 instead of zero.d.
32975
cdc1c96f
JM
329762013-01-04 Joseph Myers <joseph@codesourcery.com>
32977
32978 [BZ #14994]
32979 * math/s_casinh.c (__casinh): Reduce finite argument to first
32980 quadrant then set signs of results at the end.
32981 * math/s_casinhf.c (__casinhf): Likewise.
32982 * math/s_casinhl.c (__casinhl): Likewise.
32983 * math/libm-test.inc (casin_test): Add more tests.
32984 (casinh_test): Likewise.
32985 * sysdeps/i386/fpu/libm-test-ulps: Update.
32986 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32987
302913e1
SP
329882013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32989
6420d207
SP
32990 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32991
a9e48ab4
SP
32992 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32993
b7837264
SP
32994 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32995 declarations.
32996 (denorm): Likewise.
32997 (__mp_dbl): Likewise.
32998 (__inv): Likewise.
32999
f8af25d2
SP
33000 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33001 and adjust the header comment.
33002
302913e1
SP
33003 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33004 variable name from declaration.
33005
5d7dd1ca
L
330062013-01-03 H.J. Lu <hongjiu.lu@intel.com>
33007
33008 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33009 Initialize COMMON_CPUID_INDEX_7 element.
33010 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33011 (CPUID_RTM): Likewise.
33012 (HAS_RTM): Likewise.
33013 (COMMON_CPUID_INDEX_7): New enum.
33014
2f5f40f4
AS
330152013-01-03 Andreas Schwab <schwab@linux-m68k.org>
33016
33017 [BZ #14981]
33018 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33019 size is zero, record memory as freed.
33020
4056f4a0
AJ
330212013-01-03 Andreas Jaeger <aj@suse.de>
33022
33023 * po/ia.po: Add new Interlingua translation.
33024
ab15736f 330252012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
33026
33027 * locale/programs/localedef.c: Fix description of '--posix' flag.
33028
568035b7
JM
330292013-01-02 Joseph Myers <joseph@codesourcery.com>
33030
e6898b8d
JM
33031 * NEWS: Update dates in second copyright notice.
33032 * README: Update copyright dates in example.
33033 * manual/libc.texinfo: Update copyright dates.
33034 * scripts/test-installation.pl: Update copyright date in --version
33035 output.
33036
0e2f9562
JM
33037 * hurd/ctty-input.c: Fix copyright notice formatting.
33038 * hurd/ctty-output.c: Likewise.
33039 * hurd/dtable.c: Likewise.
33040 * hurd/hurd-raise.c: Likewise.
33041 * hurd/hurdprio.c: Likewise.
33042 * hurd/msgportdemux.c: Likewise.
33043 * misc/sys/file.h: Likewise.
33044 * misc/sys/ioctl.h: Likewise.
33045 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33046 * sysdeps/mach/hurd/chdir.c: Likewise.
33047 * sysdeps/mach/hurd/fchdir.c: Likewise.
33048 * sysdeps/mach/hurd/rename.c: Likewise.
33049 * sysdeps/mach/hurd/rmdir.c: Likewise.
33050 * sysdeps/mach/hurd/seekdir.c: Likewise.
33051 * sysdeps/mach/hurd/setsid.c: Likewise.
33052 * sysdeps/posix/wait3.c: Likewise.
33053
568035b7
JM
33054 * All files with FSF copyright notices: Update copyright dates
33055 using scripts/update-copyrights.
33056 * intl/plural.c: Regenerated.
33057 * locale/programs/charmap-kw.h: Likewise.
33058 * locale/programs/locfile-kw.h: Likewise.
33059
da08f647
SP
330602013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
33061
0f5477af
SP
33062 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33063 four values.
33064
44e0d4c2
SP
33065 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33066 calculation loop and add branch prediction.
33067
4d55b4e5
SP
33068 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33069 check access beyond bounds of m1np.
33070
da08f647
SP
33071 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33072 MPTWO.
33073 (__inv): Remove local variable MPTWO to use the global
33074 constant.
33075 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33076 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33077 variable MPTWO.
33078 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33079 MP3HALFS static const.
33080
8e051029
DM
330812013-01-01 David S. Miller <davem@davemloft.net>
33082
33083 * po/ca.po: Update from translation team.
33084
f4cf5f2d
JM
330852013-01-01 Joseph Myers <joseph@codesourcery.com>
33086
33087 * scripts/update-copyrights: New file.
33088 * Makeconfig: Reformat copyright notice.
33089 * ctype/ctype.h: Likewise.
33090 * debug/swprintf_chk.c: Likewise.
33091 * elf/dl-cache.c: Likewise.
33092 * elf/dl-debug.c: Likewise.
33093 * elf/dl-object.c: Likewise.
33094 * grp/initgroups.c: Likewise.
33095 * hurd/Makefile: Likewise.
33096 * hurd/hurd/signal.h: Likewise.
33097 * hurd/hurdfault.c: Likewise.
33098 * hurd/hurdioctl.c: Likewise.
33099 * hurd/hurdlookup.c: Likewise.
33100 * hurd/intr-msg.c: Likewise.
33101 * iconv/gconv_open.c: Likewise.
33102 * libio/swprintf.c: Likewise.
33103 * locale/lc-ctype.c: Likewise.
33104 * locale/nl_langinfo.c: Likewise.
33105 * mach/Machrules: Likewise.
33106 * mach/Makefile: Likewise.
33107 * malloc/obstack.h: Likewise.
33108 * manual/Makefile: Likewise.
33109 * manual/tsort.awk: Likewise.
33110 * misc/bits/stab.def: Likewise.
33111 * nis/nis_print_group_entry.c: Likewise.
33112 * nis/nis_table.c: Likewise.
33113 * nis/nss_compat/compat-pwd.c: Likewise.
33114 * nis/nss_compat/compat-spwd.c: Likewise.
33115 * po/Makefile: Likewise.
33116 * posix/fnmatch.c: Likewise.
33117 * posix/regex.h: Likewise.
33118 * resolv/Makefile: Likewise.
33119 * resolv/nss_dns/dns-network.c: Likewise.
33120 * resolv/res_hconf.c: Likewise.
33121 * scripts/gen-sorted.awk: Likewise.
33122 * soft-fp/soft-fp.h: Likewise.
33123 * stdio-common/printf.h: Likewise.
33124 * stdlib/monetary.h: Likewise.
33125 * stdlib/random.c: Likewise.
33126 * stdlib/random_r.c: Likewise.
33127 * sysdeps/generic/Makefile: Likewise.
33128 * sysdeps/gnu/Makefile: Likewise.
33129 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33130 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33131 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33132 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33133 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33134 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33135 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33136 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33137 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33139 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33140 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33141 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33142 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33143 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33144 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33145 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33146 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33147 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33148 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33149 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33150 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33151 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33152 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33153 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33154 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33155 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33156 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33157 * sysdeps/mach/hurd/errnos.awk: Likewise.
33158 * sysdeps/mach/hurd/fork.c: Likewise.
33159 * sysdeps/mach/hurd/getcwd.c: Likewise.
33160 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33161 * sysdeps/mach/hurd/mmap.c: Likewise.
33162 * sysdeps/mach/hurd/utimes.c: Likewise.
33163 * sysdeps/mach/hurd/xmknod.c: Likewise.
33164 * sysdeps/posix/profil.c: Likewise.
33165 * sysdeps/posix/readdir_r.c: Likewise.
33166 * sysdeps/powerpc/bits/mathdef.h: Likewise.
33167 * sysdeps/powerpc/bits/setjmp.h: Likewise.
33168 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33169 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33170 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33171 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33172 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33173 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33174 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33175 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33176 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33177 * sysdeps/pthread/lio_listio.c: Likewise.
33178 * sysdeps/sparc/dl-procinfo.h: Likewise.
33179 * sysdeps/unix/i386/sysdep.S: Likewise.
33180 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33181 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33182 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33183 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33185 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33186 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33187 * sysdeps/unix/sysv/linux/speed.c: Likewise.
33188 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33189 * sysdeps/wordsize-32/divdi3.c: Likewise.
33190 * time/sys/time.h: Likewise.
33191 * wcsmbs/Makefile: Likewise.
33192
0549fbba
DM
331932013-01-01 David S. Miller <davem@davemloft.net>
33194
a141f1a7
DM
33195 * po/fr.po: Update from translation team.
33196
0549fbba
DM
33197 * catgets/gencat.c: Update copyright year.
33198 * csu/version.c: Likewise.
33199 * debug/catchsegv.sh: Likewise.
33200 * debug/pcprofiledump.c: Likewise.
33201 * debug/xtrace.sh: Likewise.
33202 * elf/ldconfig.c: Likewise.
33203 * elf/ldd.bash.in: Likewise.
33204 * elf/pldd.c: Likewise.
33205 * elf/sotruss.ksh: Likewise.
33206 * elf/sprof.c: Likewise.
33207 * iconv/iconv_prog.c: Likewise.
33208 * iconv/iconvconfig.c: Likewise.
33209 * locale/programs/locale.c: Likewise.
33210 * locale/programs/localedef.c: Likewise.
33211 * login/programs/pt_chown.c: Likewise.
33212 * malloc/memusage.sh: Likewise.
33213 * malloc/memusagestat.c: Likewise.
33214 * malloc/mtrace.pl: Likewise.
33215 * nscd/nscd.c: Likewise.
33216 * nss/getent.c: Likewise.
33217 * nss/makedb.c: Likewise.
33218 * posix/getconf.c: Likewise.
33219
18ea052c
SP
332202012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
33221
33222 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33223 numbers.
33224
9c89fca6
MF
332252012-12-30 Mike Frysinger <vapier@gentoo.org>
33226
33227 * math/bits/mathcalls.h (modf): Use __nonnull.
33228
085ec079
SP
332292012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
33230
33231 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33232 (split): Use macro CN instead of the bare value.
33233 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33234 could be used.
33235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33236 instead of the bare value.
33237 (power1): Likewise.
33238
6d9f97e1
SP
332392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33240
d63f73be
SP
33241 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33242 __ATAN_TWOM.
33243 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33244
6d9f97e1
SP
33245 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33246 their values.
33247 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33248 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33249 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33250 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33251
4c4febf5
AJ
332522012-12-28 Andreas Jaeger <aj@suse.de>
33253
af5843ef
AJ
33254 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
33255 values are from Linux 3.7.
33256
4c4febf5
AJ
33257 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33258 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
33259
99136f82
SP
332602012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33261
2f216c3c 33262 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
33263 TRUE case.
33264
99136f82
SP
33265 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33266 (norm): Likewise.
33267 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33268 variables with preprocessor constants.
33269 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33270 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33271 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33272
7fffbdff
BH
332732012-12-27 Bruno Haible <bruno@clisp.org>
33274
33275 [BZ #14317]
33276 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33277 only if needed.
33278
b76eb5f0
SP
332792012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33280
31a7fe5c
SP
33281 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33282 and use variable directly.
33283 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33284
b76eb5f0
SP
33285 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33286 MPONE.
33287 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33288 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33289 variable MPONE.
33290 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33291 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33292 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33293 include directive. Remove local variable MPONE.
33294 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33295 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33296 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33297
2c8bfe7d
DM
332982012-12-25 David S. Miller <davem@davemloft.net>
33299
33300 * version.h (RELEASE): Set to "development".
33301 (VERSION): Set to "2.17.90".
33302 * NEWS: Add 2.18 section.
33303
147d03b0
DM
333042012-12-21 David S. Miller <davem@davemloft.net>
33305
33306 * po/hr.po: Update from translation team.
33307
a8ebb2b9
AK
333082012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33309
33310 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33311
95b4f1b6
SE
333122012-12-19 Steve Ellcey <sellcey@mips.com>
33313
b2d94007 33314 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 33315
cedb2a90
MS
333162012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33317
33318 * manual/contrib.texi (Contributors): Spelling correction.
33319
bbf527d6
DM
333202012-12-15 David S. Miller <davem@davemloft.net>
33321
33322 * po/ru.po: Update from translation team.
33323
bc38c906
DM
333242012-12-13 David S. Miller <davem@davemloft.net>
33325
85429b1a
DM
33326 * NEWS: Mention IFUNC testsuite enhancements.
33327
d283e353
DM
33328 * po/pl.po: Update from translation team.
33329 * po/bg.po: Likewise.
33330
bc38c906
DM
33331 * manual/contrib.texi (Contributors): Update entries for Hongjiu
33332 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
33333
a181b0d7
DM
333342012-12-11 David S. Miller <davem@davemloft.net>
33335
4641d57e
DM
33336 * po/sv.po: Update from translation team.
33337
f7bc6495
DM
33338 * po/vi.po: Update from translation team.
33339
6fc9048f
DM
33340 * po/cs.po: Update from translation team.
33341
a181b0d7
DM
33342 * po/de.po: Update from translation team.
33343 * po/eo.po: Likewise.
33344 * po/nl.po: Likewise.
33345
f70bfe80
SP
333462012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
33347
3c8b4190
SP
33348 [BZ #14246]
33349 * manual/argp.texi (Argp Helper Functions): Move node to follow
33350 Argp Parsing State.
33351
f70bfe80
SP
33352 [BZ #14872]
33353 * manual/conf.texi (Limits on File System Capacity): Mention if
33354 terminating null is included in the max size.
33355
188f0adf
AJ
333562012-12-10 Andreas Jaeger <aj@suse.de>
33357
33358 * po/cs.po: Update from translation team.
33359
56e7d3ad
SP
333602012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
33361
33362 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33363 void pointer and cast to uintptr_t.
33364 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33365 path.
33366 * sysdeps/s390/s390-64/memcpy.S: Likewise.
33367 * sysdeps/s390/s390-64/memset.S: Likewise.
33368
76f2d2ea 333692012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
33370
33371 [BZ #14833]
33372 * menual/message.texi (Message Translation): Fix typos.
33373 (Helper programs for gettext): Likewise.
33374
67cbf9a2
AS
333752012-12-07 Andreas Schwab <schwab@linux-m68k.org>
33376
33377 [BZ #14898]
33378 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33379 Change to -1.
33380
682d0e9a
DM
333812012-12-07 David S. Miller <davem@davemloft.net>
33382
33383 * po/libc.pot: Update.
33384
573cd484
RH
333852012-12-07 Richard Henderson <rth@redhat.com>
33386
7e9da188 33387 [BZ #10114]
573cd484
RH
33388 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33389 normal/normal case to before the switch.
33390 (_FP_DIV): Likewise.
33391
e933a943
MF
333922012-12-06 Carlos O'Donell <carlos@systemhalted.org>
33393 Mike Frysinger <vapier@gentoo.org>
33394
33395 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33396 check for __NR_fadvise64_64.
33397
82123268
CM
333982012-12-06 Chris Metcalf <cmetcalf@tilera.com>
33399
33400 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33401 0, not just to plain "0" as a statement.
33402 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33403 with cw.
33404
d9814526
JM
334052012-12-06 Joseph Myers <joseph@codesourcery.com>
33406
33407 * NEWS: Use sourceware.org in Bugzilla URL.
33408
7728c574
SP
334092012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
33410
f16946dd
SP
33411 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33412 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33413
5704bbcb
SP
33414 * stdio-common/tst-put-error.c (do_test): Add newline to the
33415 padded test to ensure flush.
33416
17aa0516
JL
334172012-12-05 Jeff Law <law@redhat.com>
33418
33419 * sunrpc/etc.rpc (fedfs_admin): Add entry.
33420
363313b5
JM
334212012-12-05 Joseph Myers <joseph@codesourcery.com>
33422
effbd42a
JM
33423 * README: Don't refer to ports add-on as distributed separately.
33424 Mention AArch64 in list of systems supported in the ports add-on.
33425
87600365
JM
33426 * LICENSES: Add more non-FSF copyright and license notices.
33427
a0d7066a
JM
33428 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33429 ((unused)).
33430
66ca5a5b
JM
33431 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33432
363313b5
JM
33433 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33434 10000 as width of padded output.
33435
b37984ad
JM
334362012-12-04 Joseph Myers <joseph@codesourcery.com>
33437
9003570a
JM
33438 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33439
b37984ad
JM
33440 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33441 variable LX with __attribute__ ((unused)).
33442 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33443 Likewise.
33444 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33445 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33446 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33447 with __attribute__ ((unused)).
33448
c8df52ec
DM
334492012-12-04 David S. Miller <davem@abraco.davemloft.net>
33450
33451 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33452
b3b099af
JM
334532012-12-04 Joseph Myers <joseph@codesourcery.com>
33454
c33aa6e3
JM
33455 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33456 (CFLAGS-nldbl-acos.c): New variable.
33457 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33458 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33459 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33460 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33461 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33462 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33463 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33464 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33465 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33466 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33467 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33468 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33469 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33470 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33471 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33472 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33473 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33474 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33475 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33476 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33477 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33478 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33479 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33480 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33481 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33482 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33483 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33484 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33485 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33486 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33487 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33488 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33489 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33490 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33491 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33492 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33493 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33494 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33495 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33496 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33497 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33498 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33499 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33500 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33501 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33502 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33503 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33504 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33505 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33506 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33507 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33508 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33509 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33510 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33511 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33512 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33513 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33514 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33515 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33516 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33517 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33518 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33519 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33520 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33521 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33522 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33523 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33524 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33525 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33526 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33527 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33528 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33529 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33530 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33531 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33532 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33533 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33534 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33535 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33536 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33537 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33538 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33539 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33540 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33541 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33542 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33543 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33544 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33545 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33546 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33547 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33548 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33549 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33550 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33551 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33552 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33553 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33554
20f0018d
JM
33555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33556 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33557
b3b099af
JM
33558 [BZ #14914]
33559 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33560 whole low double instead of just low 47 bits when splitting values
33561 into two parts.
33562
029264d1
AM
335632012-12-03 Allan McRae <allan@archlinux.org>
33564
33565 * manual/stdio.texi (Predefined Printf Handlers): Remove
33566 @hsep and @vsep usage.
33567
c9d6789e
MF
335682012-12-03 Mike Frysinger <vapier@gentoo.org>
33569
33570 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33571 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33572
4b7634a5
JL
335732012-12-03 Jeff Law <law@redhat.com>
33574
33575 * time/sys/time.h (settimeofday): Do not mark TV argument
33576 as __nonnull.
33577
eb6cbd24
MF
335782012-12-01 Mike Frysinger <vapier@gentoo.org>
33579
33580 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33581 when currently writing and seek to current position when not.
33582 * libio/Makefile (tests): Remove bug-fclose1.
33583 * libio/bug-fclose1.c: Delete.
33584
f638872a
JM
335852012-12-01 Joseph Myers <joseph@codesourcery.com>
33586
33587 * manual/arith.texi (feenableexcept): Fix typo.
33588 (fedisableexcept): Likewise.
33589
48085d14
RM
335902012-11-30 Roland McGrath <roland@hack.frob.com>
33591
33592 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33593 second, differently-typed declaration, rather than a cast.
33594
1a538b9f
SP
335952012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
33596
33597 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33598 * include/rpc/svc.h: ... here.
33599
d07f2ff1 336002012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
33601
33602 [BZ #13013]
33603 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33604 depending n and resplen2 to catch cases where answer
33605 equals answerp2.
33606
c93ec1f0
CD
336072012-11-29 Carlos O'Donell <carlos@systemhalted.org>
33608
33609 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33610 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33611
37db69de
MF
336122012-11-29 Mike Frysinger <vapier@gentoo.org>
33613
33614 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33615
e10c4e4f
RM
336162012-11-29 Roland McGrath <roland@hack.frob.com>
33617
33618 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33619
2af1b328
JL
336202012-11-28 Jeff Law <law@redhat.com>
33621
33622 [BZ #13761]
33623 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33624 dataset_temporary. Track alloca usage into alloca_used.
33625 If dataset is large allocate and release it via malloc/free.
33626
111db5b1
FW
336272012-06-04 Florian Weimer <fweimer@redhat.com>
33628
f06cc227 33629 [BZ #14197]
111db5b1
FW
33630 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33631
dd694abd
DM
336322012-11-28 David S. Miller <davem@davemloft.net>
33633
33634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33635
9984dd01
JM
336362012-11-28 Joseph Myers <joseph@codesourcery.com>
33637
33638 [BZ #14803]
33639 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33640 of pi/2 rounded to nearest to 64 bits.
33641 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33642 nearest to 64 bits.
33643 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33644 bits.
33645
14bc93a9
JL
336462012-11-28 Jeff Law <law@redhat.com>
33647 Martin Osvald <mosvald@redhat.com>
33648
33649 [BZ #14889]
33650 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33651 * sunrpc/svc.c: Include time.h.
33652 (__svc_accept_failed): New function.
33653 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33654 any reason other than EINTR, call __svc_accept_failed.
33655 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33656 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33657
e3c6aa3a
AS
336582012-11-28 Andreas Schwab <schwab@suse.de>
33659
33660 * scripts/abilist.awk: Also handle indirect functions in .opd
33661 section.
33662
1bead169
JM
336632012-11-28 Joseph Myers <joseph@codesourcery.com>
33664
33665 [BZ #13881]
33666 * sysdeps/x86/fpu/powl_helper.c: New file.
33667 * sysdeps/x86/fpu/Makefile: Likewise.
33668 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33669 (p3): New object.
33670 (__ieee754_powl): Use __powl_helper for finite arguments except
33671 integer exponents below 8.
33672 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33673 (p3): New object.
33674 (__ieee754_powl): Use __powl_helper for finite arguments except
33675 integer exponents below 8.
33676 * math/libm-test.inc (pow_test): Add more tests and enable some
33677 previously disabled tests.
33678 * sysdeps/i386/fpu/libm-test-ulps: Update.
33679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33680
0817d63d
SP
336812012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
33682 Carlos O'Donell <carlos_odonell@mentor.com>
33683
33684 * nss/makedb.c (is_prime): Assert that input is odd and greater
33685 than 4. Note that fact in a comment too.
33686 (next_prime): Add 4 to input.
33687
de2fd463
SP
336882012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
33689
33690 [BZ #11741]
33691 * libio/Makefile (tests): Add test case tst-fwrite-error.
33692 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33693 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33694 * libio/tst-fwrite-error.c: New test case.
33695
c515fb51
L
336962012-11-26 H.J. Lu <hongjiu.lu@intel.com>
33697
33698 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33699 before casting to void *.
33700 * include/libc-internal.h (__pointer_type): New macro.
33701 (__integer_if_pointer_type_sub): Likewise.
33702 (__integer_if_pointer_type): Likewise.
33703 (cast_to_integer): Likewise.
33704 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33705 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33706 before casting to atomic64_t.
33707 (atomic_exchange_acq): Likewise.
33708 (__arch_exchange_and_add_body): Likewise.
33709 (__arch_add_body): Likewise.
33710 (atomic_add_negative): Likewise.
33711 (atomic_add_zero): Likewise.
33712
4cf77aa9
JM
337132012-11-26 Joseph Myers <joseph@codesourcery.com>
33714
33715 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33716 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33717 (add_fdes): Likewise.
33718 (linear_search_fdes): Likewise.
33719 (binary_search_unencoded_fdes): Likewise.
33720
d260b3b4
AS
337212012-11-26 Andreas Schwab <schwab@linux-m68k.org>
33722
33723 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33724
67060746
AC
337252012-11-24 Adam Conrad <adconrad@0c3.net>
33726
33727 * configure.in: Autodetect C++ header directories.
33728 * configure: Regenerated.
33729
800938a1
MF
337302012-11-23 Mike Frysinger <vapier@gentoo.org>
33731
33732 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33733
4e6e34e6
AS
337342012-11-23 Andreas Schwab <schwab@linux-m68k.org>
33735
33736 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33737
7c7feb47
JM
337382012-11-22 Joseph Myers <joseph@codesourcery.com>
33739
7184dcdf
JM
33740 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33741 LDBL_MANT_DIG == 106]: Disable some tests.
33742 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33743 Likewise.
33744 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33745 Likewise.
33746
0a42601f
JM
33747 [BZ #14871]
33748 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33749 input for small inputs. Return +/- pi/2 for large inputs.
33750 * math/libm-test.inc (atan_test): Add more tests.
33751
79c9b9fe
JM
33752 * sysdeps/generic/unwind-dw2-fde-glibc.c
33753 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33754 __attribute__ ((unused)).
33755
c60d3bf2
JM
33756 [BZ #14645]
33757 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33758 x * y if x and y are nonzero and z is zero.
33759
ef1e0867
JM
33760 [BZ #14811]
33761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33762 nonzero exponents with absolute value below 0x1p-117 to +/-
33763 0x1p-117.
33764
1468ded3
JM
33765 [BZ #14869]
33766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33767 up arguments below 2**-450, not just those below 2**-500.
33768 * math/libm-test.inc (hypot_test): Add another test.
33769
8e27e3cc
JM
33770 [BZ #14868]
33771 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33772 Return a+b for ratio over 2**120, not 2**60.
33773 * math/libm-test.inc (hypot_test): Add another test.
33774
c9c0279b
JM
33775 * math/libm-test.inc (clog_test): Use
33776 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33777 (clog10_test): Likewise.
33778
7c7feb47
JM
33779 [BZ #6778]
33780 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33781
fff1530e
AS
337822012-11-22 Andreas Schwab <schwab@suse.de>
33783
33784 * sysdeps/i386/fpu/libm-test-ulps: Update.
33785
94558d30
PT
337862012-11-22 Pino Toscano <toscano.pino@tiscali.it>
33787
33788 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33789 printf output with newline.
33790
7e1be741
L
337912012-11-21 H.J. Lu <hongjiu.lu@intel.com>
33792
6bfea974
L
33793 [BZ #14865]
33794 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33795 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33796 -z nodlopen, -z initfirst and -z execstack support.
33797 * configure: Regenerated.
33798
7e1be741
L
33799 * elf/elf.h (DF_1_NODIRECT): New macro.
33800 (DF_1_IGNMULDEF): Likewise.
33801 (DF_1_NOKSYMS): Likewise.
33802 (DF_1_NOHDR): Likewise.
33803 (DF_1_EDITED): Likewise.
33804 (DF_1_NORELOC): Likewise.
33805 (DF_1_SYMINTPOSE): Likewise.
33806 (DF_1_GLOBAUDIT): Likewise.
33807 (DF_1_SINGLETON): Likewise.
33808 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33809 DT_1_SUPPORTED_MASK bits.
33810 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33811
105ce2ce
CD
338122012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
33813
33814 * sysdeps/unix/make-syscalls.sh: Document prefixes.
33815
123be9de
TS
338162012-11-20 Thomas Schwinge <thomas@codesourcery.com>
33817
d072f3f7
TS
33818 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33819 macro.
33820
123be9de
TS
33821 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33822 (sendmmsg): Move declarations...
33823 * socket/sys/socket.h: ... here.
33824 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33825 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33826 include it from...
33827 * socket/recvmmsg.c: ... this new file.
33828 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33829 (sendmmsg): Rename to __sendmmsg, create weak alias and make
33830 definition of __sendmmsg hidden.
33831 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33832 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33833 Move ENOSYS stub into and include it from...
33834 * socket/sendmmsg.c: ... this new file.
33835 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33836 (sysdep_routines): Move recvmmsg and sendmmsg...
33837 * socket/Makefile (routines): ... here.
33838 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33839 (GLIBC_PRIVATE): Add __sendmmsg.
33840 * include/sys/socket.h (__sendmmsg): Add declarations.
33841 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33842 sendmmsg.
33843
cf9a5d18
JM
338442012-11-20 Joseph Myers <joseph@codesourcery.com>
33845
33846 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33847 variable I1 with __attribute__ ((unused)).
33848 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33849
ecd4caf9
JM
338502012-11-19 Joseph Myers <joseph@codesourcery.com>
33851
be14d48f
JM
33852 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33853 DUMMY variables with __attribute__ ((unused)).
33854
ecd4caf9
JM
33855 * bits/byteswap.h: Include <bits/types.h>.
33856 (__bswap_64): Use __uint64_t instead of unsigned long long int.
33857
986cab95
PT
338582012-11-19 Pino Toscano <toscano.pino@tiscali.it>
33859
33860 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33861 string_t. Do not manually set errno.
33862 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33863 length with __strnlen. Make sure to both set errno and return it on
33864 failure.
33865
6d33cc9d
DM
338662012-11-19 David S. Miller <davem@davemloft.net>
33867
33868 With help from Joseph Myers.
33869 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33870 very large arguments properly.
33871 * math/libm-test.inc (atan_test): New tests.
33872 (atan2_test): New tests.
33873 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33874 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33875
ee663277
JM
338762012-11-19 Joseph Myers <joseph@codesourcery.com>
33877
877f2d8e
JM
33878 [BZ #14856]
33879 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33880 Define to 3.
33881
116fc08a
JM
33882 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33883 [POSIX] (EADDRNOTAVAIL): Likewise.
33884 [POSIX] (EAFNOSUPPORT): Likewise.
33885 [POSIX] (EALREADY): Likewise.
33886 [POSIX] (ECONNABORTED): Likewise.
33887 [POSIX] (ECONNREFUSED): Likewise.
33888 [POSIX] (ECONNRESET): Likewise.
33889 [POSIX] (EDESTADDRREQ): Likewise.
33890 [POSIX] (EDQUOT): Likewise.
33891 [POSIX] (EHOSTUNREACH): Likewise.
33892 [POSIX] (EIDRM): Likewise.
33893 [POSIX] (EISCONN): Likewise.
33894 [POSIX] (ELOOP): Likewise.
33895 [POSIX] (EMULTIHOP): Likewise.
33896 [POSIX] (ENETDOWN): Likewise.
33897 [POSIX] (ENETUNREACH): Likewise.
33898 [POSIX] (ENOBUFS): Likewise.
33899 [POSIX] (ENODATA): Likewise.
33900 [POSIX] (ENOLINK): Likewise.
33901 [POSIX] (ENOMSG): Likewise.
33902 [POSIX] (ENOPROTOOPT): Likewise.
33903 [POSIX] (ENOSR): Likewise.
33904 [POSIX] (ENOSTR): Likewise.
33905 [POSIX] (ENOTCONN): Likewise.
33906 [POSIX] (ENOTSOCK): Likewise.
33907 [POSIX] (EOPNOTSUPP): Likewise.
33908 [POSIX] (EOVERFLOW): Likewise.
33909 [POSIX] (EPROTO): Likewise.
33910 [POSIX] (EPROTONOSUPPORT): Likewise.
33911 [POSIX] (EPROTOTYPE): Likewise.
33912 [POSIX] (ESTALE): Likewise.
33913 [POSIX] (ETIME): Likewise.
33914 [POSIX] (ETXTBSY): Likewise.
33915 [POSIX] (EWOULDBLOCK): Likewise.
33916 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33917 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33918 [POSIX] (SEEK_CUR): Likewise.
33919 [POSIX] (SEEK_END): Likewise.
33920 [POSIX || UNIX98] (mode_t): Do not require.
33921 [POSIX] (off_t): Likewise.
33922 [POSIX] (pid_t): Likewise.
33923 [POSIX] (sys/stat.h): Do not allow header.
33924 [POSIX] (unistd.h): Likewise.
33925 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33926 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33927 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33928 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33929 require.
33930 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33931 sigevent): Specify elements.
33932 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33933 entry.
33934 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33935 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33936
a483863f
JM
33937 * conform/data/cpio.h-data [POSIX]: Disable whole file.
33938 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33939 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33940 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33941 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33942 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33943 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33944 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33945 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33946 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33947 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33948 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33949 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33950 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33951 Likewise.
33952 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33953 Likewise.
33954 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33955 Likewise.
33956 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33957 Likewise.
33958 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33959 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33960 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33961 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33962 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33963 Specify lower bound on value.
33964 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33965 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33966 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33967 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33968 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33969 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33970 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33971 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33972 value.
33973 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33974 as optional.
33975 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33976 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33977 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33978 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33979 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33980 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33981 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33982 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33983 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33984 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33985 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33986 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33987 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33988 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33989 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33990 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33991 entry.
33992 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33993 optional.
33994 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33995 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33996 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33997 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33998 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33999 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34000 Likewise.
34001 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34002 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34003 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34004 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34005 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
34006 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34007 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34008 as optional.
34009 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34010 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34011 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34012 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34013 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34014 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34015 specify as optional.
34016 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34017 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34018 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34019 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34020 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34021 [XPG3] (NL_LANGMAX): Likewise.
34022 [POSIX || XPG3] (NL_MSGMAX): Likewise.
34023 [POSIX || XPG3] (NL_NMAX): Likewise.
34024 [POSIX || XPG3] (NL_SETMAX): Likewise.
34025 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34026 [XPG3] (NZERO): Likewise.
34027 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34028 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34029 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34030 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34031 (REG_ERANGE): Expect.
34032 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34033 optional-constant.
34034 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34035 Use (void) in prototype.
34036 [POSIX] (*_t): Allow.
34037 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34038 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34039 (WRDE_BADVAL): Expect.
34040
5ba924e3
JM
34041 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34042 expect.
34043 [XPG3 || XPG4] (O_RSYNC): Likewise.
34044 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34045 Likewise.
34046 [XPG3 || XPG4] (pthread_sigmask): Likewise.
34047 [XPG3 || XPG4] (sigqueue): Likewise.
34048 [XPG3 || XPG4] (sigtimedwait): Likewise.
34049 [XPG3 || XPG4] (sigwaitinfo): Likewise.
34050 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34051 [XPG3 || XPG4] (vsnprintf): Likewise.
34052 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34053 Likewise.
34054 [XPG3 || XPG4] (blksize_t): Likewise.
34055 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34056 Likewise.
34057 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34058 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34059 [XPG3 || XPG4] (struct itimerspec): Likewise.
34060 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34061 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34062 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34063 [XPG3 || XPG4] (clockid_t): Likewise.
34064 [XPG3 || XPG4] (timer_t): Likewise.
34065 [XPG3 || XPG4] (clock_getres): Likewise.
34066 [XPG3 || XPG4] (clock_gettime): Likewise.
34067 [XPG3 || XPG4] (clock_settime): Likewise.
34068 [XPG3 || XPG4] (nanosleep): Likewise.
34069 [XPG3 || XPG4] (timer_create): Likewise.
34070 [XPG3 || XPG4] (timer_delete): Likewise.
34071 [XPG3 || XPG4] (timer_gettime): Likewise.
34072 [XPG3 || XPG4] (timer_getoverrun): Likewise.
34073 [XPG3 || XPG4] (timer_settime): Likewise.
34074 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34075 [XPG3 || XPG4] (getlogin_r): Likewise.
34076 [XPG3 || XPG4] (pread): Likewise.
34077 [XPG3 || XPG4] (pthread_atfork): Likewise.
34078 [XPG3 || XPG4] (pwrite): Likewise.
34079
ee663277
JM
34080 [BZ #14835]
34081 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34082 <bits/siginfo.h>.
34083
942caa16
PT
340842012-11-19 Pino Toscano <toscano.pino@tiscali.it>
34085
e19af380
PT
34086 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34087 finalizing MALLSTREAM.
34088
942caa16
PT
34089 * sysdeps/mach/hurd/syncfs.c: New file.
34090
cfde9b46
SP
340912012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
34092
34093 [BZ #14719]
34094 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34095 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34096 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34097 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34098 (_nss_dns_gethostbyname4_r): Likewise.
34099 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34100 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34101
f6da27e5
PH
341022012-11-19 Peng Haitao <penght@cn.fujitsu.com>
34103
34104 [BZ #13763]
34105 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34106
6665d4a2
SM
341072012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
34108
1f51ee92
SM
34109 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34110 * elf/cache.c (print_entry): Print ",AArch64" for
34111 FLAG_AARCH64_LIB64
34112
6665d4a2
SM
34113 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34114 * elf/cache.c (print_entry): Print ",hard-float" for
34115 FLAG_ARM_LIBHF.
34116
05b227bd
DM
341172012-11-18 David S. Miller <davem@davemloft.net>
34118
34119 With help from Joseph Myers.
34120 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34121 cutoff to 2**-13.
34122 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34123 cutoff to 2**-25.
34124 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34125 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34126 small.
34127 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34128 * math/libm-test.inc (y0_test): New tests.
34129 (y1_test): New tests.
34130 * sysdeps/i386/fpu/libm-test-ulps: Update.
34131 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34132 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34133
786b0b67
AS
341342012-11-18 Andreas Schwab <schwab@linux-m68k.org>
34135
34136 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34137 64-bit targets.
34138 * configure: Regenerated.
34139
8e18b86d
DM
341402012-11-17 David S. Miller <davem@davemloft.net>
34141
34142 [BZ #14811]
34143 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34144 nonzero exponents with absolute value below 0x1p-128 to +/-
34145 0x1p-128.
34146
531f1ae0
JM
341472012-11-17 Joseph Myers <joseph@codesourcery.com>
34148
12df29e2
JM
34149 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34150
150dc1a0
JM
34151 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34152
531f1ae0
JM
34153 * posix/getconf-speclist.c: New file.
34154 * posix/posix-envs.def: Likewise.
34155 * posix/confstr.c (START_ENV_GROUP): New macro.
34156 (END_ENV_GROUP): Likewise.
34157 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34158 (KNOWN_PRESENT_ENV_STRING): Likewise.
34159 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34160 (UNKNOWN_ENVIRONMENT): Likewise.
34161 (confstr): Include posix-envs.def instead of handling
34162 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34163 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34164 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34165 (END_ENV_GROUP): Likewise.
34166 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34167 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34168 (UNKNOWN_ENVIRONMENT): Likewise.
34169 (__sysconf): Include posix-envs.def instead of handling associated
34170 cases directly here.
34171 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34172 preprocessing getconf-speclist.c rather than running getconf or
34173 generating empty file.
34174
a93f9cbc
PT
341752012-11-16 Pino Toscano <toscano.pino@tiscali.it>
34176
34177 * scripts/check-local-headers.sh: Ignore 'mach' headers.
34178
d64d9f87
AL
341792012-11-16 Andrej Lajovic <natrij@gmail.com>
34180
34181 [BZ #14672]
34182 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34183
447885eb
DM
341842012-11-16 David S. Miller <davem@davemloft.net>
34185
34186 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34187 smaller than LDBL_EPSILON/2.0L, just return xm1.
34188
bcbf9830
L
341892012-11-16 H.J. Lu <hongjiu.lu@intel.com>
34190
34191 * elf/tst-array1.c (init): Set constructor priority to 1000.
34192 (fini): Set destructor priority to 1000.
34193 * elf/tst-array2dep.c: Likewise.
34194
2b766585
SP
341952012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34196
34197 [BZ #11741]
34198 * libio/fileops.c (_IO_new_file_write): Correctly return error.
34199 (_IO_new_file_xsputn): Also return EOF if none of the input
34200 data was written when overflow failed.
34201 * libio/iopadn.c (_IO_padn): Likewise.
34202 * libio/iowpadn.c (_IO_wpadn): Likewise.
34203 * stdio-common/tst-put-error.c: Add copyright notice.
34204 (do_test): Add case for printing padded string.
34205 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34206 _IO_padn returned error.
34207 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34208 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34209 return EOF.
34210
b1848fde
SP
342112012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
34212
34213 * libio/libioP.h: Add comment note that the references to C++
34214 bits are now obsolete.
34215
2fd89785
MS
342162012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34217
34218 * math/libm-test.inc (check_complex): Use asprintf.
34219
e3ea5409
JM
342202012-11-14 Joseph Myers <joseph@codesourcery.com>
34221
34222 * debug/pcprofiledump.c (print_version): Update copyright year.
34223 * malloc/memusagestat.c (print_version): Likewise.
34224
2e64d265
L
342252012-11-14 H.J. Lu <hongjiu.lu@intel.com>
34226
34227 [BZ #14831]
34228 * elf/Makefile (tests): Add tst-audit8.
34229 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34230 ($(objpfx)tst-audit8.out): New target.
34231 (tst-audit8-ENV): New variable.
34232 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34233 audit if l_reloc_result is NULL.
34234 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34235 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34236 * elf/tst-audit8.c: New file.
34237
c485e4d2
MS
342382012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34239
34240 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34241 * misc/Makefile (CFLAGS-select.c): Define.
34242 * posix/Makefile (CFLAGS-pause.c): Define.
34243
3a0d900a
DM
342442012-11-13 David S. Miller <davem@davemloft.net>
34245
34246 * crypt/Makefile: Move test targets after toplevel Rules
34247 inclusion. Grab any necessary sysdep routines when linking.
34248 * crypt/md5.c (md5_process_block): Remove define, we will always
34249 name it __md5_process_block.
34250 (md5_finish_ctx): Update md5_process_block call.
34251 (md5_stream): Likewise.
34252 (md5_process_bytes): Likewise.
34253 (md5_process_block): Rename to __md5_process_block and move to ...
34254 * crypt/md5-block.c: ... here.
34255 * crypt/sha256.c (sha256_process_block): Move to ...
34256 * crypt/sha256-block.c: ... here.
34257 * crypt/sha512.c (sha512_process_block): Move to ...
34258 * crypt/sha512-block.c: ... here.
34259 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34260 path.
34261 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34262 * sysdeps/sparc/sparc64/multiarch/Makefile
34263 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34264 crypt subdir.
34265 (localedef-aux): Add md5 crypto assembler when in locale subdir.
34266 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34267 multiarch changes.
34268 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34269 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34270 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34271 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34272 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34273 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34274 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34275 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34276 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34277 file.
34278 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34279 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34280 file.
34281 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34282
8ca89318
JM
342832012-11-13 Joseph Myers <joseph@codesourcery.com>
34284
e27d476a
JM
34285 * timezone/tzselect.ksh: Update from tzcode git revision
34286 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34287 * timezone/zdump.c: Likewise.
34288 * timezone/zic.c: Likewise.
34289 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34290 in TZVERSION setting, not $(PKGVERSION).
34291 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
34292 REPORT_BUGS_TO settings.
34293
8ca89318
JM
34294 [BZ #14838]
34295 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34296 macro.
34297
47594329
MS
342982012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34299
34300 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34301 detection to immediately after _FP_ROUND().
34302 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34303 bits are 0.
34304
640ac3f1
DM
343052012-11-11 David S. Miller <davem@davemloft.net>
34306
34307 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34308 inttypes.h
34309 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34310 __close rather than their public counterparts.
34311
3d2577bb
JM
343122012-11-10 Joseph Myers <joseph@codesourcery.com>
34313
34314 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34315 file.
34316 [UNIX98] (sem_timedwait): Do not expect.
34317 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34318 [XPG4 || UNIX98] (sockatmark): Do not expect.
34319 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34320 (clock_getcpuclockid): Do not expect.
34321 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34322 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34323 Do not expect.
34324 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34325 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34326 [UNIX98] (vwscanf): Likewise.
34327 [UNIX98] (vswscanf): Likewise.
34328
fb1ae1ee
JM
343292012-11-09 Joseph Myers <joseph@codesourcery.com>
34330
9ec6f8bd
JM
34331 * timezone/version.h: Remove file.
34332 * timezone/README: Do not refer to version.h.
34333 * timezone/Makefile ($(objpfx)zic.o): New dependency on
34334 $(objpfx)version.h.
34335 ($(objpfx)zdump.o): Likewise.
c3f81911 34336 ($(objpfx)version.h): New target.
9ec6f8bd 34337
0aa8f8a1
JM
34338 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34339 2012i.
34340 * timezone/README: Don't mention modification to tzselect.ksh.
34341 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34342 work on unmodified tzselect.ksh. Substitute version numbers in
34343 tzselect.ksh.
34344
4e87147f
JM
34345 * Makefile (format-me): Remove.
34346 (INSTALL): Adjust indentation. Use commands directly instead of
34347 using $(format-me).
34348
8b748aed
JM
34349 * aclocal.m4 (ACX_PKGVERSION): New macro.
34350 (ACX_BUGURL): Likewise.
34351 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34352 (PKGVERSION): New AC_DEFINE_UNQUOTED.
34353 (REPORT_BUGS_TO): Likewise.
34354 * configure: Regenerated.
34355 * config.h.in (PKGVERSION): New macro.
34356 (REPORT_BUGS_TO): Likewise.
34357 * config.make.in (PKGVERSION): New variable.
34358 (PKGVERSION_TEXI): Likewise.
34359 (REPORT_BUGS_TO): Likewise.
34360 (REPORT_BUGS_TEXI): Likewise.
34361 * Makefile (format-me): Use -I$(common-objpfx)manual.
34362 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34363 ($(common-objpfx)manual/%): New target.
34364 (manual/%): Remove target.
34365 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34366 (print_version): Use PKGVERSION.
34367 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34368 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34369 and REPORT_BUGS_TO.
34370 ($(objpfx)xtrace): Likewise.
34371 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34372 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34373 (print_version): Use PKGVERSION.
34374 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34375 (do_version): Use PKGVERSION.
34376 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34377 REPORT_BUGS_TO.
34378 (common-ldd-rewrite): Likewise.
34379 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34380 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34381 (print_version): Use PKGVERSION.
34382 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34383 * elf/pldd.c (argp_program_bug_address): Remove variable.
34384 (more_help): New function.
34385 (argp): Use more_help.
34386 (print_version): Use PKGVERSION.
34387 * elf/sln.c (main): Use PKGVERSION.
34388 (usage): Use REPORT_BUGS_TO.
34389 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34390 (top level): Use PKGVERSION.
34391 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34392 (print_version): Use PKGVERSION.
34393 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34394 (print_version): Use PKGVERSION.
34395 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34396 (print_version): Use PKGVERSION.
34397 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34398 (print_version): Use PKGVERSION.
34399 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34400 (print_version): Use PKGVERSION.
34401 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34402 (print_version): Use PKGVERSION.
34403 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34404 and BUGURL.
34405 ($(objpfx)memusage): Likewise.
34406 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34407 (do_version): Use PKGVERSION.
34408 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34409 (print_version): Use PKGVERSION.
34410 * malloc/mtrace.pl ($PACKAGE): Remove variable.
34411 ($PKGVERSION): New variable.
34412 ($REPORT_BUGS_TO): Likewise.
34413 (usage): Use $REPORT_BUGS_TO.
34414 (top level): Use $PKGVERSION.
34415 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34416 ($(objpfx)pkgvers.texi): New rule.
34417 ($(objpfx)stamp-pkgvers): Likewise.
34418 * manual/install.texi: Include pkgvers.texi.
34419 (--with-pkgversion): Document new configure option.
34420 (--with-bugurl): Likewise.
34421 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34422 than necessarily for this particular distribution. Use
34423 REPORT_BUGS_TO for where to report bugs.
34424 * INSTALL: Regenerated.
34425 * manual/libc.texinfo: Include pkgvers.texi.
34426 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34427 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34428 (print_version): Use PKGVERSION.
34429 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34430 (print_version): Use PKGVERSION.
34431 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34432 (print_version): Use PKGVERSION.
34433 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34434 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34435 macro.
34436 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34437 (print_version): Use PKGVERSION.
34438 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34439 (print_version): Use PKGVERSION.
34440 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34441 and PKGVERSION.
34442
92e4b6a9
JM
34443 * timezone/checktab.awk: Update from tzcode 2012i.
34444 * timezone/ialloc.c: Likewise.
34445 * timezone/private.h: Likewise.
34446 * timezone/scheck.c: Likewise.
34447 * timezone/tzfile.h: Likewise.
34448 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34449 (TZVERSION): Hardcode tzcode version number.
34450 * timezone/zdump.c: Update from tzcode 2012i.
34451 * timezone/zic.c: Likewise.
34452 * timezone/version.h: New file.
34453 * timezone/README: Describe version.h. Update upstream location.
34454
9bde902c
JM
34455 [BZ #14824]
34456 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34457 (mktemp): Enable declaration.
34458 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34459 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34460 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34461 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34462 Likewise.
34463 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34464 Likewise.
34465 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34466 Likewise.
34467 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34468 Likewise.
34469 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34470 Likewise.
34471 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34472 Likewise.
34473
fb1ae1ee
JM
34474 [BZ #14821]
34475 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34476 offset in buffer as u_int32_t not u_long. Consistently use memcpy
34477 for copies of such integer values.
34478 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34479 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34480
2c1adbcb
AJ
344812012-11-09 Andreas Jaeger <aj@suse.de>
34482
34483 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34484 definitions and declarations that are provided by
34485 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34486
d0f8457e
AK
344872012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34488
3a235abb 34489 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
34490 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34491 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34492 definition.
34493
57241e26
MS
344942012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34495
34496 * elf/elf.h: Update comment before AArch64 relocations.
34497
60e8270d
DM
344982012-11-07 David S. Miller <davem@davemloft.net>
34499
34500 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34501 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34502 (__start_context): Declare.
34503 (__makecontext_ret): Delete.
34504 (__makecontext): Hook up __start_context instead of
34505 __makecontext_ret.
34506 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34507 (sysdep_routines): Add __start_context when in stdlib.
34508
0fbb0fbc
JM
345092012-11-07 Joseph Myers <joseph@codesourcery.com>
34510
34511 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34512 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34513 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
34514 hardcoded "nm".
34515 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
34516 (READELF): New variable. Use it instead of hardcoded "readelf".
34517
eb48db7e
L
345182012-11-07 H.J. Lu <hongjiu.lu@intel.com>
34519
34520 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34521 * sysdeps/x86/Makefile: Here.
34522 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34523 * sysdeps/x86/tst-xmmymm.sh: This.
34524
05bcf62a
JM
345252012-11-07 Joseph Myers <joseph@codesourcery.com>
34526
c4b6cf53
JM
34527 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34528 expectations.
34529 [UNIX98] (pthread_barrier_t): Do not expect.
34530 [UNIX98] (pthread_barrierattr_t): Likewise.
34531 [UNIX98] (pthread_spinlock_t): Likewise.
34532 [UNIX98] (pthread_barrier_destroy): Likewise.
34533 [UNIX98] (pthread_barrier_init): Likewise.
34534 [UNIX98] (pthread_barrier_wait): Likewise.
34535 [UNIX98] (pthread_barrierattr_destroy): Likewise.
34536 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34537 [UNIX98] (pthread_barrierattr_init): Likewise.
34538 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34539 [UNIX98] (pthread_getcpuclockid): Likewise.
34540 [UNIX98] (pthread_mutex_timedlock): Likewise.
34541 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34542 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34543 [UNIX98] (pthread_sigmask): Likewise.
34544 [UNIX98] (pthread_spin_destroy): Likewise.
34545 [UNIX98] (pthread_spin_init): Likewise.
34546 [UNIX98] (pthread_spin_lock): Likewise.
34547 [UNIX98] (pthread_spin_trylock): Likewise.
34548 [UNIX98] (pthread_spin_unlock): Likewise.
34549 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34550 Do not expect.
34551 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34552 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34553 [XPG3 || XPG4] (pthread_cond_t): Likewise.
34554 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34555 [XPG3 || XPG4] (pthread_key_t): Likewise.
34556 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34557 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34558 [XPG3 || XPG4] (pthread_once_t): Likewise.
34559 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34560 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34561 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34562 [XPG3 || XPG4] (pthread_t): Likewise.
34563
cbe6e120
JM
34564 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34565 not expect.
34566 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34567
1b126443
JM
34568 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34569 Change function return type to int.
34570
b961a573
JM
34571 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34572 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34573 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34574 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34575 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34576 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34577 [!POSIX] (posix_madvise): Likewise.
34578 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34579 && !UNIX98].
34580 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34581 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34582 (mode_t): Likewise.
34583 (posix_mem_offset): Likewise.
34584 (posix_typed_mem_get_info): Likewise.
34585 (posix_typed_mem_open): Likewise.
34586
9e188909
JM
34587 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34588 Change condition to [XOPEN2K8].
34589
05bcf62a
JM
34590 * conform/conformtest.pl: Preprocess allow-header data with -x c
34591 instead of from stdin.
34592 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34593 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34594 [C99-based standards] (cerfc): Likewise.
34595 [C99-based standards] (cexp2): Likewise.
34596 [C99-based standards] (cexpm1): Likewise.
34597 [C99-based standards] (clog10): Likewise.
34598 [C99-based standards] (clog1p): Likewise.
34599 [C99-based standards] (clog2): Likewise.
34600 [C99-based standards] (clgamma): Likewise.
34601 [C99-based standards] (ctgamma): Likewise.
34602 [C99-based standards] (cerff): Likewise.
34603 [C99-based standards] (cerfcf): Likewise.
34604 [C99-based standards] (cexp2f): Likewise.
34605 [C99-based standards] (cexpm1f): Likewise.
34606 [C99-based standards] (clog10f): Likewise.
34607 [C99-based standards] (clog1pf): Likewise.
34608 [C99-based standards] (clog2f): Likewise.
34609 [C99-based standards] (clgammaf): Likewise.
34610 [C99-based standards] (ctgammaf): Likewise.
34611 [C99-based standards] (cerfl): Likewise.
34612 [C99-based standards] (cerfcl): Likewise.
34613 [C99-based standards] (cexp2l): Likewise.
34614 [C99-based standards] (cexpm1l): Likewise.
34615 [C99-based standards] (clog10l): Likewise.
34616 [C99-based standards] (clog1pl): Likewise.
34617 [C99-based standards] (clog2l): Likewise.
34618 [C99-based standards] (clgammal): Likewise.
34619 [C99-based standards] (ctgammal): Likewise.
34620 * conform/data/inttypes.h-data [C99-based standards]: Include
34621 stdint.h-data. Remove all expectations for stdint.h contents.
34622 [C99-based standards] (PRI*): Do not allow.
34623 [C99-based standards] (SCN*): Likewise.
34624 [C99-based standards] (*_t): Likewise.
34625 [C99-based-standards] (PRId8): Expect macro.
34626 [C99-based-standards] (PRIi8): Likewise.
34627 [C99-based-standards] (PRIo8): Likewise.
34628 [C99-based-standards] (PRIu8): Likewise.
34629 [C99-based-standards] (PRIx8): Likewise.
34630 [C99-based-standards] (PRIX8): Likewise.
34631 [C99-based-standards] (SCNd8): Likewise.
34632 [C99-based-standards] (SCNi8): Likewise.
34633 [C99-based-standards] (SCNo8): Likewise.
34634 [C99-based-standards] (SCNu8): Likewise.
34635 [C99-based-standards] (SCNx8): Likewise.
34636 [C99-based-standards] (PRIdLEAST8): Likewise.
34637 [C99-based-standards] (PRIiLEAST8): Likewise.
34638 [C99-based-standards] (PRIoLEAST8): Likewise.
34639 [C99-based-standards] (PRIuLEAST8): Likewise.
34640 [C99-based-standards] (PRIxLEAST8): Likewise.
34641 [C99-based-standards] (PRIXLEAST8): Likewise.
34642 [C99-based-standards] (SCNdLEAST8): Likewise.
34643 [C99-based-standards] (SCNiLEAST8): Likewise.
34644 [C99-based-standards] (SCNoLEAST8): Likewise.
34645 [C99-based-standards] (SCNuLEAST8): Likewise.
34646 [C99-based-standards] (SCNxLEAST8): Likewise.
34647 [C99-based-standards] (PRIdFAST8): Likewise.
34648 [C99-based-standards] (PRIiFAST8): Likewise.
34649 [C99-based-standards] (PRIoFAST8): Likewise.
34650 [C99-based-standards] (PRIuFAST8): Likewise.
34651 [C99-based-standards] (PRIxFAST8): Likewise.
34652 [C99-based-standards] (PRIXFAST8): Likewise.
34653 [C99-based-standards] (SCNdFAST8): Likewise.
34654 [C99-based-standards] (SCNiFAST8): Likewise.
34655 [C99-based-standards] (SCNoFAST8): Likewise.
34656 [C99-based-standards] (SCNuFAST8): Likewise.
34657 [C99-based-standards] (SCNxFAST8): Likewise.
34658 [C99-based-standards] (PRId16): Likewise.
34659 [C99-based-standards] (PRIi16): Likewise.
34660 [C99-based-standards] (PRIo16): Likewise.
34661 [C99-based-standards] (PRIu16): Likewise.
34662 [C99-based-standards] (PRIx16): Likewise.
34663 [C99-based-standards] (PRIX16): Likewise.
34664 [C99-based-standards] (SCNd16): Likewise.
34665 [C99-based-standards] (SCNi16): Likewise.
34666 [C99-based-standards] (SCNo16): Likewise.
34667 [C99-based-standards] (SCNu16): Likewise.
34668 [C99-based-standards] (SCNx16): Likewise.
34669 [C99-based-standards] (PRIdLEAST16): Likewise.
34670 [C99-based-standards] (PRIiLEAST16): Likewise.
34671 [C99-based-standards] (PRIoLEAST16): Likewise.
34672 [C99-based-standards] (PRIuLEAST16): Likewise.
34673 [C99-based-standards] (PRIxLEAST16): Likewise.
34674 [C99-based-standards] (PRIXLEAST16): Likewise.
34675 [C99-based-standards] (SCNdLEAST16): Likewise.
34676 [C99-based-standards] (SCNiLEAST16): Likewise.
34677 [C99-based-standards] (SCNoLEAST16): Likewise.
34678 [C99-based-standards] (SCNuLEAST16): Likewise.
34679 [C99-based-standards] (SCNxLEAST16): Likewise.
34680 [C99-based-standards] (PRIdFAST16): Likewise.
34681 [C99-based-standards] (PRIiFAST16): Likewise.
34682 [C99-based-standards] (PRIoFAST16): Likewise.
34683 [C99-based-standards] (PRIuFAST16): Likewise.
34684 [C99-based-standards] (PRIxFAST16): Likewise.
34685 [C99-based-standards] (PRIXFAST16): Likewise.
34686 [C99-based-standards] (SCNdFAST16): Likewise.
34687 [C99-based-standards] (SCNiFAST16): Likewise.
34688 [C99-based-standards] (SCNoFAST16): Likewise.
34689 [C99-based-standards] (SCNuFAST16): Likewise.
34690 [C99-based-standards] (SCNxFAST16): Likewise.
34691 [C99-based-standards] (PRId32): Likewise.
34692 [C99-based-standards] (PRIi32): Likewise.
34693 [C99-based-standards] (PRIo32): Likewise.
34694 [C99-based-standards] (PRIu32): Likewise.
34695 [C99-based-standards] (PRIx32): Likewise.
34696 [C99-based-standards] (PRIX32): Likewise.
34697 [C99-based-standards] (SCNd32): Likewise.
34698 [C99-based-standards] (SCNi32): Likewise.
34699 [C99-based-standards] (SCNo32): Likewise.
34700 [C99-based-standards] (SCNu32): Likewise.
34701 [C99-based-standards] (SCNx32): Likewise.
34702 [C99-based-standards] (PRIdLEAST32): Likewise.
34703 [C99-based-standards] (PRIiLEAST32): Likewise.
34704 [C99-based-standards] (PRIoLEAST32): Likewise.
34705 [C99-based-standards] (PRIuLEAST32): Likewise.
34706 [C99-based-standards] (PRIxLEAST32): Likewise.
34707 [C99-based-standards] (PRIXLEAST32): Likewise.
34708 [C99-based-standards] (SCNdLEAST32): Likewise.
34709 [C99-based-standards] (SCNiLEAST32): Likewise.
34710 [C99-based-standards] (SCNoLEAST32): Likewise.
34711 [C99-based-standards] (SCNuLEAST32): Likewise.
34712 [C99-based-standards] (SCNxLEAST32): Likewise.
34713 [C99-based-standards] (PRIdFAST32): Likewise.
34714 [C99-based-standards] (PRIiFAST32): Likewise.
34715 [C99-based-standards] (PRIoFAST32): Likewise.
34716 [C99-based-standards] (PRIuFAST32): Likewise.
34717 [C99-based-standards] (PRIxFAST32): Likewise.
34718 [C99-based-standards] (PRIXFAST32): Likewise.
34719 [C99-based-standards] (SCNdFAST32): Likewise.
34720 [C99-based-standards] (SCNiFAST32): Likewise.
34721 [C99-based-standards] (SCNoFAST32): Likewise.
34722 [C99-based-standards] (SCNuFAST32): Likewise.
34723 [C99-based-standards] (SCNxFAST32): Likewise.
34724 [C99-based-standards] (PRId64): Likewise.
34725 [C99-based-standards] (PRIi64): Likewise.
34726 [C99-based-standards] (PRIo64): Likewise.
34727 [C99-based-standards] (PRIu64): Likewise.
34728 [C99-based-standards] (PRIx64): Likewise.
34729 [C99-based-standards] (PRIX64): Likewise.
34730 [C99-based-standards] (SCNd64): Likewise.
34731 [C99-based-standards] (SCNi64): Likewise.
34732 [C99-based-standards] (SCNo64): Likewise.
34733 [C99-based-standards] (SCNu64): Likewise.
34734 [C99-based-standards] (SCNx64): Likewise.
34735 [C99-based-standards] (PRIdLEAST64): Likewise.
34736 [C99-based-standards] (PRIiLEAST64): Likewise.
34737 [C99-based-standards] (PRIoLEAST64): Likewise.
34738 [C99-based-standards] (PRIuLEAST64): Likewise.
34739 [C99-based-standards] (PRIxLEAST64): Likewise.
34740 [C99-based-standards] (PRIXLEAST64): Likewise.
34741 [C99-based-standards] (SCNdLEAST64): Likewise.
34742 [C99-based-standards] (SCNiLEAST64): Likewise.
34743 [C99-based-standards] (SCNoLEAST64): Likewise.
34744 [C99-based-standards] (SCNuLEAST64): Likewise.
34745 [C99-based-standards] (SCNxLEAST64): Likewise.
34746 [C99-based-standards] (PRIdFAST64): Likewise.
34747 [C99-based-standards] (PRIiFAST64): Likewise.
34748 [C99-based-standards] (PRIoFAST64): Likewise.
34749 [C99-based-standards] (PRIuFAST64): Likewise.
34750 [C99-based-standards] (PRIxFAST64): Likewise.
34751 [C99-based-standards] (PRIXFAST64): Likewise.
34752 [C99-based-standards] (SCNdFAST64): Likewise.
34753 [C99-based-standards] (SCNiFAST64): Likewise.
34754 [C99-based-standards] (SCNoFAST64): Likewise.
34755 [C99-based-standards] (SCNuFAST64): Likewise.
34756 [C99-based-standards] (SCNxFAST64): Likewise.
34757 [C99-based-standards] (PRIdMAX): Likewise.
34758 [C99-based-standards] (PRIiMAX): Likewise.
34759 [C99-based-standards] (PRIoMAX): Likewise.
34760 [C99-based-standards] (PRIuMAX): Likewise.
34761 [C99-based-standards] (PRIxMAX): Likewise.
34762 [C99-based-standards] (PRIXMAX): Likewise.
34763 [C99-based-standards] (SCNdMAX): Likewise.
34764 [C99-based-standards] (SCNiMAX): Likewise.
34765 [C99-based-standards] (SCNoMAX): Likewise.
34766 [C99-based-standards] (SCNuMAX): Likewise.
34767 [C99-based-standards] (SCNxMAX): Likewise.
34768 [C99-based-standards] (PRIdPTR): Likewise.
34769 [C99-based-standards] (PRIiPTR): Likewise.
34770 [C99-based-standards] (PRIoPTR): Likewise.
34771 [C99-based-standards] (PRIuPTR): Likewise.
34772 [C99-based-standards] (PRIxPTR): Likewise.
34773 [C99-based-standards] (PRIXPTR): Likewise.
34774 [C99-based-standards] (SCNdPTR): Likewise.
34775 [C99-based-standards] (SCNiPTR): Likewise.
34776 [C99-based-standards] (SCNoPTR): Likewise.
34777 [C99-based-standards] (SCNuPTR): Likewise.
34778 [C99-based-standards] (SCNxPTR): Likewise.
34779 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34780 allow.
34781 * conform/data/stdint.h-data: Update comments to clarify
34782 requirements.
34783 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
34784 type.
34785 [C99-based standards] (INT8_MAX): Likewise.
34786 [C99-based standards] (INT16_MIN): Likewise.
34787 [C99-based standards] (INT16_MAX): Likewise.
34788 [C99-based standards] (INT32_MIN): Likewise.
34789 [C99-based standards] (INT32_MAX): Likewise.
34790 [C99-based standards] (INT64_MIN): Likewise.
34791 [C99-based standards] (INT64_MAX): Likewise.
34792 [C99-based standards] (UINT8_MAX): Likewise.
34793 [C99-based standards] (UINT16_MAX): Likewise.
34794 [C99-based standards] (UINT32_MAX): Likewise.
34795 [C99-based standards] (UINT64_MAX): Likewise.
34796 [C99-based standards] (INT_LEAST8_MIN): Likewise.
34797 [C99-based standards] (INT_LEAST8_MAX): Likewise.
34798 [C99-based standards] (INT_LEAST16_MIN): Likewise.
34799 [C99-based standards] (INT_LEAST16_MAX): Likewise.
34800 [C99-based standards] (INT_LEAST32_MIN): Likewise.
34801 [C99-based standards] (INT_LEAST32_MAX): Likewise.
34802 [C99-based standards] (INT_LEAST64_MIN): Likewise.
34803 [C99-based standards] (INT_LEAST64_MAX): Likewise.
34804 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34805 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34806 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34807 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34808 [C99-based standards] (INT_FAST8_MIN): Likewise.
34809 [C99-based standards] (INT_FAST8_MAX): Likewise.
34810 [C99-based standards] (INT_FAST16_MIN): Likewise.
34811 [C99-based standards] (INT_FAST16_MAX): Likewise.
34812 [C99-based standards] (INT_FAST32_MIN): Likewise.
34813 [C99-based standards] (INT_FAST32_MAX): Likewise.
34814 [C99-based standards] (INT_FAST64_MIN): Likewise.
34815 [C99-based standards] (INT_FAST64_MAX): Likewise.
34816 [C99-based standards] (UINT_FAST8_MAX): Likewise.
34817 [C99-based standards] (UINT_FAST16_MAX): Likewise.
34818 [C99-based standards] (UINT_FAST32_MAX): Likewise.
34819 [C99-based standards] (UINT_FAST64_MAX): Likewise.
34820 [C99-based standards] (INTPTR_MIN): Likewise.
34821 [C99-based standards] (INTPTR_MAX): Likewise.
34822 [C99-based standards] (UINTPTR_MAX): Likewise.
34823 [C99-based standards] (INTMAX_MIN): Likewise.
34824 [C99-based standards] (INTMAX_MAX): Likewise.
34825 [C99-based standards] (UINTMAX_MAX): Likewise.
34826 [C99-based standards] (PTRDIFF_MIN): Likewise.
34827 [C99-based standards] (PTRDIFF_MAX): Likewise.
34828 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34829 [C99-based standards] (SIZE_MAX): Likewise.
34830 [C99-based standards] (WCHAR_MAX): Likewise.
34831 [C99-based standards] (WINT_MAX): Likewise.
34832 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
34833 constraint on value.
34834 [C99-based standards] (WCHAR_MIN): Likewise.
34835 [C99-based standards] (WINT_MIN): Likewise.
34836 [C99-based standards] (*_t): Allow.
34837 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34838 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34839 Include math.h-data and complex.h-data. Remove all expectations
34840 of math.h and complex.h contents.
34841 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34842 at end of line.
34843 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34844 (struct tm): Expect tag.
34845 [C99-based-standards] (wcstof): Expect function.
34846 [C99-based-standards] (wcstold): Likewise.
34847 [C99-based-standards] (wcstoll): Likewise.
34848 [C99-based-standards] (wcstoull): Likewise.
34849 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34850 macro-int-constant. Specify type.
34851 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
34852 constraint on value.
34853 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34854 Specify type.
34855 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34856 Specify value.
34857 [ISO C standards]: Do not allow headers.
34858 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34859 wcs[abcdefghijklmnopqrstuvwxyz]*.
34860 [ISO C standards] (*_t): Do not allow.
34861 * conform/data/wctype.h-data [C99-based standards] (iswblank):
34862 Expect function.
34863 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34864 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34865 Specify type.
34866 [ISO C standards]: Do not allow headers.
34867 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34868 is[abcdefghijklmnopqrstuvwxyz]*.
34869 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34870 to[abcdefghijklmnopqrstuvwxyz]*.
34871 [ISO C standards] (*_t): Do not allow.
34872 * conform/data/stdalign.h-data: New file.
34873 * conform/data/stdbool.h-data: Likewise.
34874 * conform/data/stdnoreturn.h-data: Likewise.
34875
7514feb8
RM
348762012-11-07 Roland McGrath <roland@hack.frob.com>
34877
34878 [BZ #14815]
34879 * manual/filesys.texi (Directory Entries): Typo fix.
34880 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34881
19b2ecfc
MS
348822012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
34883
34884 * elf/elf.h (EM_AARCH64): New macro.
34885 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34886 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34887 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34888 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34889 (R_AARCH64_TLSDESC): Likewise.
34890 (NT_ARM_TLS): Likewise.
34891 (NT_ARM_HW_BREAK): Likewise.
34892 (NT_ARM_HW_WATCH): Likewise.
34893
60e235ee
JM
348942012-11-07 Joseph Myers <joseph@codesourcery.com>
34895
34896 [BZ #14811]
34897 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34898 (__ieee754_powl): Saturate nonzero exponents with absolute value
34899 below 0x1p-79 to +/- 0x1p-79.
34900 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34901 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34902 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34903 nonzero exponents with absolute value below 0x1p-32 to +/-
34904 0x1p-32.
34905 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34906 (__ieee754_powl): Saturate nonzero exponents with absolute value
34907 below 0x1p-79 to +/- 0x1p-79.
34908 * math/libm-test.inc (pow_test): Add more tests.
34909
0ab234b7
AK
349102012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34911
34912 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34913 _dl_s390_cap_flags with kernel. Increase string length.
34914 (_dl_s390_platforms): Add z196 and zEC12.
34915
45832f74
JM
349162012-11-07 Joseph Myers <joseph@codesourcery.com>
34917
34918 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34919 Change XOPEN21K to XOPEN2K.
34920
19218757
MK
349212012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
34922
34923 * string/memmove.c: Use memcpy when possible.
34924
c5f45721
AJ
349252012-11-06 Andreas Jaeger <aj@suse.de>
34926
34927 * po/eo.po: Update from translation team.
34928
82477c28
JM
349292012-11-06 Joseph Myers <joseph@codesourcery.com>
34930
34931 [BZ #14793]
34932 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34933 exponent and small x and y exponents, scale x or y up. Increase
34934 by 2 the exponent used in scaling up.
34935 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34936 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34937 * math/libm-test.inc (fma_test): Add more tests.
34938 (fma_test_towardzero): Likewise.
34939 (fma_test_downward): Likewise.
34940 (fma_test_upward): Likewise.
34941
99252c8c
JM
349422012-11-05 Joseph Myers <joseph@codesourcery.com>
34943
acfa885f
JM
34944 [BZ #14805]
34945 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34946 fenv_t *.
34947
99252c8c
JM
34948 [BZ #14801]
34949 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34950 namespace for names of struct fields.
34951 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34952 fenv_t fields.
34953 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34954 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34955
d6d98dea
ST
349562012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
34957
34958 [BZ #3665]
34959 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34960
e10bb107
TS
349612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34962
34963 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34964 PTR_DEMANGLE.
34965
34966 [BZ #5246]
34967 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34968 PTR_DEMANGLE.
34969
a0c2940d
JM
349702012-11-04 Joseph Myers <joseph@codesourcery.com>
34971
34972 [BZ #14797]
34973 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34974 definitely overflow as x * y not x * y + z.
34975 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34976 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34977 * math/libm-test.inc (fma_test): Add more tests.
34978 (fma_test_towardzero): Likewise.
34979 (fma_test_downward): Likewise.
34980 (fma_test_upward): Likewise.
34981
b830319d
TS
349822012-11-04 Thomas Schwinge <thomas@codesourcery.com>
34983
34984 [BZ #157]
34985
34986 * include/stub-tag.h: Remove file.
34987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34988 '#include' of it.
34989 * manual/maint.texi (Porting): Don't reference it.
34990 * Makerules ($(objpfx)stubs): Likewise.
34991 * dirent/closedir.c: Don't include <stub-tag.h>.
34992 * dirent/dirfd.c: Likewise.
34993 * dirent/fdopendir.c: Likewise.
34994 * dirent/getdents.c: Likewise.
34995 * dirent/getdents64.c: Likewise.
34996 * dirent/opendir.c: Likewise.
34997 * dirent/readdir.c: Likewise.
34998 * dirent/readdir64.c: Likewise.
34999 * dirent/readdir64_r.c: Likewise.
35000 * dirent/readdir_r.c: Likewise.
35001 * dirent/rewinddir.c: Likewise.
35002 * dirent/seekdir.c: Likewise.
35003 * dirent/telldir.c: Likewise.
35004 * gmon/profil.c: Likewise.
35005 * grp/setgroups.c: Likewise.
35006 * inet/if_index.c: Likewise.
35007 * io/access.c: Likewise.
35008 * io/chdir.c: Likewise.
35009 * io/chmod.c: Likewise.
35010 * io/chown.c: Likewise.
35011 * io/close.c: Likewise.
35012 * io/dup.c: Likewise.
35013 * io/dup2.c: Likewise.
35014 * io/dup3.c: Likewise.
35015 * io/euidaccess.c: Likewise.
35016 * io/faccessat.c: Likewise.
35017 * io/fchdir.c: Likewise.
35018 * io/fchmod.c: Likewise.
35019 * io/fchmodat.c: Likewise.
35020 * io/fchown.c: Likewise.
35021 * io/fchownat.c: Likewise.
35022 * io/fcntl.c: Likewise.
35023 * io/flock.c: Likewise.
35024 * io/fstatfs.c: Likewise.
35025 * io/fstatfs64.c: Likewise.
35026 * io/fstatvfs.c: Likewise.
35027 * io/fstatvfs64.c: Likewise.
35028 * io/futimens.c: Likewise.
35029 * io/fxstat.c: Likewise.
35030 * io/fxstat64.c: Likewise.
35031 * io/fxstatat.c: Likewise.
35032 * io/fxstatat64.c: Likewise.
35033 * io/getcwd.c: Likewise.
35034 * io/isatty.c: Likewise.
35035 * io/lchmod.c: Likewise.
35036 * io/lchown.c: Likewise.
35037 * io/link.c: Likewise.
35038 * io/linkat.c: Likewise.
35039 * io/lseek.c: Likewise.
35040 * io/lseek64.c: Likewise.
35041 * io/lxstat64.c: Likewise.
35042 * io/mkdir.c: Likewise.
35043 * io/mkdirat.c: Likewise.
35044 * io/mkfifo.c: Likewise.
35045 * io/mkfifoat.c: Likewise.
35046 * io/open.c: Likewise.
35047 * io/open64.c: Likewise.
35048 * io/openat.c: Likewise.
35049 * io/openat64.c: Likewise.
35050 * io/pipe.c: Likewise.
35051 * io/pipe2.c: Likewise.
35052 * io/poll.c: Likewise.
35053 * io/posix_fadvise.c: Likewise.
35054 * io/posix_fadvise64.c: Likewise.
35055 * io/posix_fallocate.c: Likewise.
35056 * io/posix_fallocate64.c: Likewise.
35057 * io/read.c: Likewise.
35058 * io/readlink.c: Likewise.
35059 * io/readlinkat.c: Likewise.
35060 * io/rmdir.c: Likewise.
35061 * io/sendfile.c: Likewise.
35062 * io/sendfile64.c: Likewise.
35063 * io/statfs.c: Likewise.
35064 * io/statfs64.c: Likewise.
35065 * io/statvfs.c: Likewise.
35066 * io/statvfs64.c: Likewise.
35067 * io/symlink.c: Likewise.
35068 * io/symlinkat.c: Likewise.
35069 * io/ttyname.c: Likewise.
35070 * io/ttyname_r.c: Likewise.
35071 * io/umask.c: Likewise.
35072 * io/unlink.c: Likewise.
35073 * io/unlinkat.c: Likewise.
35074 * io/utime.c: Likewise.
35075 * io/utimensat.c: Likewise.
35076 * io/write.c: Likewise.
35077 * io/xmknod.c: Likewise.
35078 * io/xmknodat.c: Likewise.
35079 * io/xstat.c: Likewise.
35080 * io/xstat64.c: Likewise.
35081 * login/getpt.c: Likewise.
35082 * login/grantpt.c: Likewise.
35083 * login/unlockpt.c: Likewise.
35084 * math/e_acoshl.c: Likewise.
35085 * math/e_acosl.c: Likewise.
35086 * math/e_asinl.c: Likewise.
35087 * math/e_atan2l.c: Likewise.
35088 * math/e_atanhl.c: Likewise.
35089 * math/e_coshl.c: Likewise.
35090 * math/e_expl.c: Likewise.
35091 * math/e_fmodl.c: Likewise.
35092 * math/e_gammal_r.c: Likewise.
35093 * math/e_hypotl.c: Likewise.
35094 * math/e_j0l.c: Likewise.
35095 * math/e_j1l.c: Likewise.
35096 * math/e_jnl.c: Likewise.
35097 * math/e_lgammal_r.c: Likewise.
35098 * math/e_log10l.c: Likewise.
35099 * math/e_log2l.c: Likewise.
35100 * math/e_logl.c: Likewise.
35101 * math/e_powl.c: Likewise.
35102 * math/e_rem_pio2l.c: Likewise.
35103 * math/e_sinhl.c: Likewise.
35104 * math/e_sqrtl.c: Likewise.
35105 * math/fclrexcpt.c: Likewise.
35106 * math/fedisblxcpt.c: Likewise.
35107 * math/feenablxcpt.c: Likewise.
35108 * math/fegetenv.c: Likewise.
35109 * math/fegetexcept.c: Likewise.
35110 * math/fegetround.c: Likewise.
35111 * math/feholdexcpt.c: Likewise.
35112 * math/fesetenv.c: Likewise.
35113 * math/fesetround.c: Likewise.
35114 * math/feupdateenv.c: Likewise.
35115 * math/fgetexcptflg.c: Likewise.
35116 * math/fraiseexcpt.c: Likewise.
35117 * math/fsetexcptflg.c: Likewise.
35118 * math/ftestexcept.c: Likewise.
35119 * math/k_cosl.c: Likewise.
35120 * math/k_rem_pio2l.c: Likewise.
35121 * math/k_sinl.c: Likewise.
35122 * math/k_tanl.c: Likewise.
35123 * math/s_asinhl.c: Likewise.
35124 * math/s_atanl.c: Likewise.
35125 * math/s_cbrtl.c: Likewise.
35126 * math/s_erfl.c: Likewise.
35127 * math/s_expm1l.c: Likewise.
35128 * math/s_log1pl.c: Likewise.
35129 * math/s_tanhl.c: Likewise.
35130 * misc/acct.c: Likewise.
35131 * misc/brk.c: Likewise.
35132 * misc/chflags.c: Likewise.
35133 * misc/chroot.c: Likewise.
35134 * misc/fchflags.c: Likewise.
35135 * misc/fgetxattr.c: Likewise.
35136 * misc/flistxattr.c: Likewise.
35137 * misc/fremovexattr.c: Likewise.
35138 * misc/fsetxattr.c: Likewise.
35139 * misc/fsync.c: Likewise.
35140 * misc/ftruncate.c: Likewise.
35141 * misc/futimes.c: Likewise.
35142 * misc/futimesat.c: Likewise.
35143 * misc/getdomain.c: Likewise.
35144 * misc/getdtsz.c: Likewise.
35145 * misc/gethostid.c: Likewise.
35146 * misc/gethostname.c: Likewise.
35147 * misc/getloadavg.c: Likewise.
35148 * misc/getpagesize.c: Likewise.
35149 * misc/getsysstats.c: Likewise.
35150 * misc/getxattr.c: Likewise.
35151 * misc/gtty.c: Likewise.
35152 * misc/ioctl.c: Likewise.
35153 * misc/lgetxattr.c: Likewise.
35154 * misc/listxattr.c: Likewise.
35155 * misc/llistxattr.c: Likewise.
35156 * misc/lremovexattr.c: Likewise.
35157 * misc/lsetxattr.c: Likewise.
35158 * misc/lutimes.c: Likewise.
35159 * misc/madvise.c: Likewise.
35160 * misc/mincore.c: Likewise.
35161 * misc/mlock.c: Likewise.
35162 * misc/mlockall.c: Likewise.
35163 * misc/mmap.c: Likewise.
35164 * misc/mprotect.c: Likewise.
35165 * misc/msync.c: Likewise.
35166 * misc/munlock.c: Likewise.
35167 * misc/munlockall.c: Likewise.
35168 * misc/munmap.c: Likewise.
35169 * misc/preadv.c: Likewise.
35170 * misc/preadv64.c: Likewise.
35171 * misc/ptrace.c: Likewise.
35172 * misc/pwritev.c: Likewise.
35173 * misc/pwritev64.c: Likewise.
35174 * misc/readv.c: Likewise.
35175 * misc/reboot.c: Likewise.
35176 * misc/remap_file_pages.c: Likewise.
35177 * misc/removexattr.c: Likewise.
35178 * misc/revoke.c: Likewise.
35179 * misc/select.c: Likewise.
35180 * misc/setdomain.c: Likewise.
35181 * misc/setegid.c: Likewise.
35182 * misc/seteuid.c: Likewise.
35183 * misc/sethostid.c: Likewise.
35184 * misc/sethostname.c: Likewise.
35185 * misc/setregid.c: Likewise.
35186 * misc/setreuid.c: Likewise.
35187 * misc/setxattr.c: Likewise.
35188 * misc/sstk.c: Likewise.
35189 * misc/stty.c: Likewise.
35190 * misc/swapoff.c: Likewise.
35191 * misc/swapon.c: Likewise.
35192 * misc/sync.c: Likewise.
35193 * misc/syncfs.c: Likewise.
35194 * misc/syscall.c: Likewise.
35195 * misc/truncate.c: Likewise.
35196 * misc/ualarm.c: Likewise.
35197 * misc/usleep.c: Likewise.
35198 * misc/ustat.c: Likewise.
35199 * misc/utimes.c: Likewise.
35200 * misc/vhangup.c: Likewise.
35201 * misc/writev.c: Likewise.
35202 * posix/_exit.c: Likewise.
35203 * posix/alarm.c: Likewise.
35204 * posix/execve.c: Likewise.
35205 * posix/fexecve.c: Likewise.
35206 * posix/fork.c: Likewise.
35207 * posix/fpathconf.c: Likewise.
35208 * posix/getaddrinfo.c: Likewise.
35209 * posix/getegid.c: Likewise.
35210 * posix/geteuid.c: Likewise.
35211 * posix/getgid.c: Likewise.
35212 * posix/getgroups.c: Likewise.
35213 * posix/getlogin.c: Likewise.
35214 * posix/getlogin_r.c: Likewise.
35215 * posix/getpgid.c: Likewise.
35216 * posix/getpid.c: Likewise.
35217 * posix/getppid.c: Likewise.
35218 * posix/getresgid.c: Likewise.
35219 * posix/getresuid.c: Likewise.
35220 * posix/getsid.c: Likewise.
35221 * posix/getuid.c: Likewise.
35222 * posix/glob64.c: Likewise.
35223 * posix/nanosleep.c: Likewise.
35224 * posix/pathconf.c: Likewise.
35225 * posix/pause.c: Likewise.
35226 * posix/posix_madvise.c: Likewise.
35227 * posix/pread.c: Likewise.
35228 * posix/pread64.c: Likewise.
35229 * posix/pwrite.c: Likewise.
35230 * posix/pwrite64.c: Likewise.
35231 * posix/sched_getaffinity.c: Likewise.
35232 * posix/sched_getp.c: Likewise.
35233 * posix/sched_gets.c: Likewise.
35234 * posix/sched_primax.c: Likewise.
35235 * posix/sched_primin.c: Likewise.
35236 * posix/sched_rr_gi.c: Likewise.
35237 * posix/sched_setaffinity.c: Likewise.
35238 * posix/sched_setp.c: Likewise.
35239 * posix/sched_sets.c: Likewise.
35240 * posix/sched_yield.c: Likewise.
35241 * posix/setgid.c: Likewise.
35242 * posix/setlogin.c: Likewise.
35243 * posix/setpgid.c: Likewise.
35244 * posix/setresgid.c: Likewise.
35245 * posix/setresuid.c: Likewise.
35246 * posix/setsid.c: Likewise.
35247 * posix/setuid.c: Likewise.
35248 * posix/sleep.c: Likewise.
35249 * posix/spawni.c: Likewise.
35250 * posix/sysconf.c: Likewise.
35251 * posix/times.c: Likewise.
35252 * posix/wait.c: Likewise.
35253 * posix/wait3.c: Likewise.
35254 * posix/wait4.c: Likewise.
35255 * posix/waitpid.c: Likewise.
35256 * resolv/gai_sigqueue.c: Likewise.
35257 * resource/getpriority.c: Likewise.
35258 * resource/getrlimit.c: Likewise.
35259 * resource/getrusage.c: Likewise.
35260 * resource/nice.c: Likewise.
35261 * resource/setpriority.c: Likewise.
35262 * resource/setrlimit.c: Likewise.
35263 * resource/ulimit.c: Likewise.
35264 * rt/aio_cancel.c: Likewise.
35265 * rt/aio_fsync.c: Likewise.
35266 * rt/aio_read.c: Likewise.
35267 * rt/aio_sigqueue.c: Likewise.
35268 * rt/aio_suspend.c: Likewise.
35269 * rt/aio_write.c: Likewise.
35270 * rt/clock_getres.c: Likewise.
35271 * rt/clock_gettime.c: Likewise.
35272 * rt/clock_nanosleep.c: Likewise.
35273 * rt/clock_settime.c: Likewise.
35274 * rt/lio_listio.c: Likewise.
35275 * rt/mq_close.c: Likewise.
35276 * rt/mq_getattr.c: Likewise.
35277 * rt/mq_notify.c: Likewise.
35278 * rt/mq_open.c: Likewise.
35279 * rt/mq_receive.c: Likewise.
35280 * rt/mq_send.c: Likewise.
35281 * rt/mq_setattr.c: Likewise.
35282 * rt/mq_timedreceive.c: Likewise.
35283 * rt/mq_timedsend.c: Likewise.
35284 * rt/mq_unlink.c: Likewise.
35285 * rt/shm_open.c: Likewise.
35286 * rt/shm_unlink.c: Likewise.
35287 * rt/timer_create.c: Likewise.
35288 * rt/timer_delete.c: Likewise.
35289 * rt/timer_getoverr.c: Likewise.
35290 * rt/timer_gettime.c: Likewise.
35291 * rt/timer_settime.c: Likewise.
35292 * setjmp/__longjmp.c: Likewise.
35293 * setjmp/setjmp.c: Likewise.
35294 * signal/kill.c: Likewise.
35295 * signal/killpg.c: Likewise.
35296 * signal/raise.c: Likewise.
35297 * signal/sigaction.c: Likewise.
35298 * signal/sigaltstack.c: Likewise.
35299 * signal/sigblock.c: Likewise.
35300 * signal/sigignore.c: Likewise.
35301 * signal/sigintr.c: Likewise.
35302 * signal/signal.c: Likewise.
35303 * signal/sigpause.c: Likewise.
35304 * signal/sigpending.c: Likewise.
35305 * signal/sigqueue.c: Likewise.
35306 * signal/sigreturn.c: Likewise.
35307 * signal/sigset.c: Likewise.
35308 * signal/sigsetmask.c: Likewise.
35309 * signal/sigstack.c: Likewise.
35310 * signal/sigsuspend.c: Likewise.
35311 * signal/sigtimedwait.c: Likewise.
35312 * signal/sigvec.c: Likewise.
35313 * signal/sigwait.c: Likewise.
35314 * signal/sigwaitinfo.c: Likewise.
35315 * signal/sysv_signal.c: Likewise.
35316 * socket/accept.c: Likewise.
35317 * socket/accept4.c: Likewise.
35318 * socket/bind.c: Likewise.
35319 * socket/connect.c: Likewise.
35320 * socket/getpeername.c: Likewise.
35321 * socket/getsockname.c: Likewise.
35322 * socket/getsockopt.c: Likewise.
35323 * socket/isfdtype.c: Likewise.
35324 * socket/listen.c: Likewise.
35325 * socket/recv.c: Likewise.
35326 * socket/recvfrom.c: Likewise.
35327 * socket/recvmsg.c: Likewise.
35328 * socket/send.c: Likewise.
35329 * socket/sendmsg.c: Likewise.
35330 * socket/sendto.c: Likewise.
35331 * socket/setsockopt.c: Likewise.
35332 * socket/shutdown.c: Likewise.
35333 * socket/sockatmark.c: Likewise.
35334 * socket/socket.c: Likewise.
35335 * socket/socketpair.c: Likewise.
35336 * stdio-common/ctermid.c: Likewise.
35337 * stdio-common/cuserid.c: Likewise.
35338 * stdio-common/remove.c: Likewise.
35339 * stdio-common/rename.c: Likewise.
35340 * stdio-common/renameat.c: Likewise.
35341 * stdio-common/tempname.c: Likewise.
35342 * stdlib/getcontext.c: Likewise.
35343 * stdlib/makecontext.c: Likewise.
35344 * stdlib/setcontext.c: Likewise.
35345 * stdlib/swapcontext.c: Likewise.
35346 * stdlib/system.c: Likewise.
35347 * streams/fattach.c: Likewise.
35348 * streams/fdetach.c: Likewise.
35349 * streams/getmsg.c: Likewise.
35350 * streams/getpmsg.c: Likewise.
35351 * streams/putmsg.c: Likewise.
35352 * streams/putpmsg.c: Likewise.
35353 * sysdeps/unix/bsd/getpt.c: Likewise.
35354 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35355 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35356 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35358 Likewise.
35359 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35360 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35361 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35362 * sysvipc/msgctl.c: Likewise.
35363 * sysvipc/msgget.c: Likewise.
35364 * sysvipc/msgrcv.c: Likewise.
35365 * sysvipc/msgsnd.c: Likewise.
35366 * sysvipc/semctl.c: Likewise.
35367 * sysvipc/semget.c: Likewise.
35368 * sysvipc/semop.c: Likewise.
35369 * sysvipc/semtimedop.c: Likewise.
35370 * sysvipc/shmat.c: Likewise.
35371 * sysvipc/shmctl.c: Likewise.
35372 * sysvipc/shmdt.c: Likewise.
35373 * sysvipc/shmget.c: Likewise.
35374 * termios/tcdrain.c: Likewise.
35375 * termios/tcflow.c: Likewise.
35376 * termios/tcflush.c: Likewise.
35377 * termios/tcgetattr.c: Likewise.
35378 * termios/tcgetpgrp.c: Likewise.
35379 * termios/tcsendbrk.c: Likewise.
35380 * termios/tcsetattr.c: Likewise.
35381 * termios/tcsetpgrp.c: Likewise.
35382 * time/adjtime.c: Likewise.
35383 * time/clock.c: Likewise.
35384 * time/getitimer.c: Likewise.
35385 * time/gettimeofday.c: Likewise.
35386 * time/setitimer.c: Likewise.
35387 * time/settimeofday.c: Likewise.
35388 * time/stime.c: Likewise.
35389 * time/time.c: Likewise.
35390
353912012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 35392
a20492cf
PT
35393 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35394 /usr/old/bin.
35395
72e182e3
PT
35396 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35397 instead of spaces.
35398 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35399
fbeafede
JM
354002012-11-03 Joseph Myers <joseph@codesourcery.com>
35401
5b5b04d6
JM
35402 [BZ #14796]
35403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35404 FE_TONEAREST before applying Dekker multiplication and Knuth
35405 addition. Clear inexact exceptions and check for exact zero
35406 results afterwards.
35407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35408 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35409 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35410 * math/libm-test.inc (fma_test): Add more tests.
35411 (fma_test_towardzero): Likewise.
35412 (fma_test_downward): Likewise.
35413 (fma_test_upward): Likewise.
35414 * sysdeps/generic/math_private.h (default_libc_fesetround): New
35415 function.
35416 (libc_fesetround): New macro.
35417 (libc_fesetroundf): Likewise.
35418 (libc_fesetroundl): Likewise.
35419 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35420 function.
35421 (libc_fesetround_387): Likewise.
35422 (libc_fesetroundf): New macro.
35423 (libc_fesetround): Likewise.
35424 (libc_fesetroundl): Likewise.
35425 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35426 function.
35427 (libc_fesetroundf): New macro.
35428 (libc_fesetround): Likewise.
35429 (libc_fesetroundl): Likewise.
35430 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35431 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35432 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35433 libm_hidden_ver.
35434 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35435 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35436 libm_hidden_def.
35437 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35438 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35439 libm_hidden_ver.
35440 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35441 libm_hidden_def.
35442
fbeafede
JM
35443 [BZ #3439]
35444 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35445 integer constant usable in #if and use that to give value to enum
35446 constant.
35447 (FE_DIVBYZERO): Likewise.
35448 (FE_UNDERFLOW): Likewise.
35449 (FE_OVERFLOW): Likewise.
35450 (FE_INVALID): Likewise.
35451 (FE_INVALID_SNAN): Likewise.
35452 (FE_INVALID_ISI): Likewise.
35453 (FE_INVALID_IDI): Likewise.
35454 (FE_INVALID_ZDZ): Likewise.
35455 (FE_INVALID_IMZ): Likewise.
35456 (FE_INVALID_COMPARE): Likewise.
35457 (FE_INVALID_SOFTWARE): Likewise.
35458 (FE_INVALID_SQRT): Likewise.
35459 (FE_INVALID_INTEGER_CONVERSION): Likewise.
35460 (FE_TONEAREST): Likewise.
35461 (FE_TOWARDZERO): Likewise.
35462 (FE_UPWARD): Likewise.
35463 (FE_DOWNWARD): Likewise.
35464 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35465 (FE_DIVBYZERO): Likewise.
35466 (FE_OVERFLOW): Likewise.
35467 (FE_UNDERFLOW): Likewise.
35468 (FE_INEXACT): Likewise.
35469 (FE_TONEAREST): Likewise.
35470 (FE_DOWNWARD): Likewise.
35471 (FE_UPWARD): Likewise.
35472 (FE_TOWARDZERO): Likewise.
35473 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35474 (FE_UNDERFLOW): Likewise.
35475 (FE_OVERFLOW): Likewise.
35476 (FE_DIVBYZERO): Likewise.
35477 (FE_INVALID): Likewise.
35478 (FE_TONEAREST): Likewise.
35479 (FE_TOWARDZERO): Likewise.
35480 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35481 (FE_OVERFLOW): Likewise.
35482 (FE_UNDERFLOW): Likewise.
35483 (FE_DIVBYZERO): Likewise.
35484 (FE_INEXACT): Likewise.
35485 (FE_TONEAREST): Likewise.
35486 (FE_TOWARDZERO): Likewise.
35487 (FE_UPWARD): Likewise.
35488 (FE_DOWNWARD): Likewise.
35489 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35490 (FE_DIVBYZERO): Likewise.
35491 (FE_OVERFLOW): Likewise.
35492 (FE_UNDERFLOW): Likewise.
35493 (FE_INEXACT): Likewise.
35494 (FE_TONEAREST): Likewise.
35495 (FE_DOWNWARD): Likewise.
35496 (FE_UPWARD): Likewise.
35497 (FE_TOWARDZERO): Likewise.
35498
105ca950
CM
354992012-11-02 Chris Metcalf <cmetcalf@tilera.com>
35500
35501 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35502
a542b389
AS
355032012-11-03 Andreas Schwab <schwab@linux-m68k.org>
35504
35505 * scripts/cross-test-ssh.sh (command): Use newlines to separate
35506 commands. Quote $PWD.
35507 (blacklist_exports): Don't use remove_newlines. Replace "declare
35508 -x" by "export".
35509 (remove_newlines): Remove.
35510
f62c8abc
L
355112012-11-02 H.J. Lu <hongjiu.lu@intel.com>
35512
35513 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35514 * stdlib/stdlib.h (atof): Moved to ...
35515 * include/bits/stdlib-float.h: Here. New file.
35516 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35517 * stdlib/bits/stdlib-float.h: New file.
35518 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35519 -mno-sse -mno-mmx.
35520 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35521 <xmmintrin.h>.
35522
0155d5b2
JM
355232012-11-02 Joseph Myers <joseph@codesourcery.com>
35524
a68d0680
JM
35525 * conform/conformtest.pl (@headers): Add fenv.h.
35526 * conform/data/fenv.h-data: New file.
35527 * include/fenv.h [_ISOMAC]: Disable all contents of file except
35528 include of <math/fenv.h>.
35529
caf7f573
JM
35530 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35531 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35532 && !UNIX98]. Enables tests for XOPEN2K8.
35533 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35534 POSIX2008]: Likewise.
35535
6c073ad6
JM
35536 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35537 (struct rusage): Do not expect type or its members.
35538
0155d5b2
JM
35539 [BZ #3439]
35540 * math/math.h (FP_NAN): Define macro to integer constant usable in
35541 #if and use that to give value to enum constant.
35542 (FP_INFINITE): Likewise.
35543 (FP_ZERO): Likewise.
35544 (FP_SUBNORMAL): Likewise.
35545 (FP_NORMAL): Likewise.
35546
b5dcacb4
AS
355472012-11-02 Andreas Schwab <schwab@linux-m68k.org>
35548
35549 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35550 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35551 arguments.
35552
f7934be8
RM
355532012-11-02 Roland McGrath <roland@hack.frob.com>
35554
35555 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35556 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35557 autoconf-time if not.
35558 * configure.in: Remove AC_PREREQ.
35559
d7d08bde
TMQMF
355602012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35561
35562 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35563 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35564 of the internal implementation.
35565
dcdae19a
JM
355662012-11-02 Joseph Myers <joseph@codesourcery.com>
35567
35568 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35569 except include of <misc/sys/syslog.h>.
35570
d6cffd3e
AS
355712012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35572
35573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35574 function returns with a NULL context exit with zero.
35575
b3563932
TMQMF
355762012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35577
35578 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35579
b288a93d
L
355802012-11-01 H.J. Lu <hongjiu.lu@intel.com>
35581
35582 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35583 (run_program_cmd): This.
35584 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35585 (tst_langinfo): New variable. Use it.
35586
a2421a68
SAS
355872012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
35588
35589 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35590 floating point opcodes.
35591
6f796e1b
TS
355922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35593
7402596b
TS
35594 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35595 variable.
35596
d0d4f868
TS
35597 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35598
6f796e1b
TS
35599 * sysdeps/mach/hurd/powerpc: Remove directory.
35600 * sysdeps/mach/powerpc: Likewise.
35601
4da224a2
AS
356022012-11-01 Andreas Schwab <schwab@linux-m68k.org>
35603
35604 * scripts/check-local-headers.sh: Ignore c++ headers.
35605
341dd673
TS
356062012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35607
35608 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35609 __libc_cleanup_region_start argument.
35610
473611b2
JM
356112012-11-01 Joseph Myers <joseph@codesourcery.com>
35612
35613 [BZ #14784]
35614 [BZ #14785]
35615 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35616 x * y using scaling, not as x * y + z.
35617 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35618 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35619 * math/libm-test.inc (fma_test): Add more tests.
35620 (fma_test_towardzero): Likewise.
35621 (fma_test_downward): Likewise.
35622 (fma_test_upward): Likewise.
35623
4078da3d
TS
356242012-11-01 Thomas Schwinge <thomas@codesourcery.com>
35625
35626 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35627
903252aa
JM
356282012-10-31 Joseph Myers <joseph@codesourcery.com>
35629
35630 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35631 New variable.
35632
cbc818d0
TS
356332012-10-31 Thomas Schwinge <thomas@codesourcery.com>
35634
35635 * rt/tst-shm.c (worker): Correct checking for mmap failure.
35636
5a03cb1e
AS
356372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35638
35639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35640 Fix sort order.
35641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35642 Likewise.
35643
90aff2ff
TMQMF
356442012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35645
35646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35647 Fix the order of the list for glibc 2.17.
35648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35649 Likewise.
35650
1818fcb7
AS
356512012-10-31 Andreas Schwab <schwab@linux-m68k.org>
35652
35653 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35654
ef82f4da
JM
356552012-10-31 Joseph Myers <joseph@codesourcery.com>
35656
16a0e2ec
JM
35657 [BZ #14610]
35658 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35659 for low part of x being zero before using __atanl (y).
35660 * math/libm-test.inc (atan2_test): Add another test.
35661
0eb69512
JM
35662 * manual/install.texi (Configuring and compiling): Document
35663 general use of test-wrapper and test-wrapper-env.
35664 * INSTALL: Regenerated.
35665
ef82f4da
JM
35666 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35667 (__fma): Do not extract and scale down low bits on after-rounding
35668 systems when result rounded to normal precision would have normal
35669 exponent.
35670 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35671 (__fmal): Do not extract and scale down low bits on after-rounding
35672 systems when result rounded to normal precision would have normal
35673 exponent.
35674 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35675 (__fmal): Do not extract and scale down low bits on after-rounding
35676 systems when result rounded to normal precision would have normal
35677 exponent.
35678 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35679 macro.
35680 (fma_test): Add more tests.
35681 (fma_test_towardzero): Likewise.
35682 (fma_test_downward): Likewise.
35683 (fma_test_upward): Likewise.
35684
954ef0d9
L
356852012-10-30 H.J. Lu <hongjiu.lu@intel.com>
35686
35687 * sysdeps/i386/tininess.h: Renamed to ...
35688 * sysdeps/x86/tininess.h: This.
35689 * sysdeps/x86_64/tininess.h: Removed.
35690
df61ffb2
JM
356912012-10-30 Joseph Myers <joseph@codesourcery.com>
35692
35693 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35694 input. Use $(build-program-cmd).
35695 ($(objpfx)tst-array1-static.out): Likewise.
35696 ($(objpfx)tst-array2.out): Likewise.
35697 ($(objpfx)tst-array3.out): Likewise.
35698 ($(objpfx)tst-array4.out): Likewise.
35699 ($(objpfx)tst-array5.out): Likewise.
35700 ($(objpfx)tst-array5-static.out): Likewise.
35701
01767843
CM
357022012-10-30 Chris Metcalf <cmetcalf@tilera.com>
35703
47cc1490
CM
35704 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35705 if defined.
35706
01767843
CM
35707 * nss/nsswitch.h (nss_interface_function): Provide new
35708 macro for use with NSS functions.
35709 * grp/initgroups.c: Use new macro.
35710 * nss/getXXbyYY.c: Likewise.
35711 * nss/getXXbyYY_r.c: Likewise.
35712 * nss/getXXent.c: Likewise.
35713 * nss/getXXent_r.c: Likewise.
35714 * sysdeps/posix/getaddrinfo.c: Likewise.
35715
8321aa97
AJ
357162012-10-30 Andreas Jaeger <aj@suse.de>
35717
35718 * po/ru.po: Update Russion translation from translation project.
35719
2a27fd6d
JM
357202012-10-30 Joseph Myers <joseph@codesourcery.com>
35721
8627a232
JM
35722 [BZ #14152]
35723 [BZ #14783]
35724 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35725 result and shift together with sticky bit instead of replicating
35726 round-to-nearest rounding.
35727 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35728 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35729 * math/libm-test.inc (fma_test): Add more tests. Do not permit
35730 missing underflow exceptions.
35731 (fma_test_towardzero): Add more tests.
35732 (fma_test_downward): Likewise.
35733 (fma_test_upward): Likewise.
35734
2a27fd6d
JM
35735 [BZ #14047]
35736 * sysdeps/generic/tininess.h: New file.
35737 * sysdeps/i386/tininess.h: Likewise.
35738 * sysdeps/sh/tininess.h: Likewise.
35739 * sysdeps/x86_64/tininess.h: Likewise.
35740 * stdlib/tst-strtod-underflow.c: Likewise.
35741 * stdlib/tst-tininess.c: Likewise.
35742 * stdlib/strtod_l.c: Include <tininess.h>.
35743 (round_and_return): Do not set errno for exact underflow cases.
35744 Force an underflow exception when setting errno for underflow.
35745 Determine underflow based on rounding to normal precision if
35746 TININESS_AFTER_ROUNDING.
35747 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35748 ERANGE for exact underflow cases.
35749 * stdlib/Makefile (tests): Add tst-tininess and
35750 tst-strtod-underflow.
35751 ($(objpfx)tst-tininess): Use $(link-libm).
35752 ($(objpfx)tst-strtod-underflow): Likewise.
35753
e7170363
AJ
357542012-10-30 Andreas Jaeger <aj@suse.de>
35755
e5088dc6
AJ
35756 [BZ#14767]
35757 * elf/Makefile (tests): Remove conditional for have-initfini-array
35758 since this is now always required and the variable does not exist
35759 anymore.
35760 (tests-static): Likewise.
35761 (modules-names): Likewise.
35762
e7170363 35763 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
35764
35765 * elf/tst-array1.c (fini_array): Make writeable so that it can be
35766 merged with constructor/destructor.
35767 (init_array): Likewise.
35768 * elf/tst-array2dep.c (fini_array): Likewise.
35769 (init_array): Likewise.
35770
60457d8a
MF
357712012-10-29 Mike Frysinger <vapier@gentoo.org>
35772
35773 * manual/message.texi: Delete @cartouche tags.
35774
8bece752
PT
357752012-10-29 Pino Toscano <toscano.pino@tiscali.it>
35776
94ce799f
PT
35777 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35778 EOPNOTSUPP.
35779 * sysdeps/mach/hurd/fsync.c: Likewise.
35780
8bece752
PT
35781 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35782 [_POSIX_REALTIME_SIGNALS]: Change condition to
35783 [_POSIX_REALTIME_SIGNALS > 0].
35784
86ebe6b1
AJ
357852012-10-27 Andreas Jaeger <aj@suse.de>
35786
35787 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35788 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35790 [__WORDSIZE != 64]: Likewise.
35791
54399c08
L
357922012-10-26 H.J. Lu <hongjiu.lu@intel.com>
35793
35794 * iconvdata/tst-table.sh: Remove ${SHELL}.
35795 * iconvdata/tst-tables.sh: Likewise.
35796
e2211bed
DM
357972012-10-25 David S. Miller <davem@davemloft.net>
35798
35799 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35800 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35801 of strtoull.
35802
f303f97c
DM
35803 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35804 ifunc-impl-list.c
35805 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35806 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35807 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35808 file.
35809
1e9d84cd
RM
358102012-10-25 Roland McGrath <roland@hack.frob.com>
35811
35812 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35813 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35814 __getdirentries.
35815
df381762
JM
358162012-10-25 Joseph Myers <joseph@codesourcery.com>
35817 Jim Blandy <jimb@codesourcery.com>
35818
35819 * scripts/cross-test-ssh.sh: New file.
35820 * manual/install.texi (Configuring and compiling): Document use of
35821 cross-test-ssh.sh.
35822 * INSTALL: Regenerated.
35823
bff64913
PT
358242012-10-25 Pino Toscano <toscano.pino@tiscali.it>
35825
35826 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35827 EOPNOTSUPP.
35828
25fe8932
JM
358292012-10-25 Joseph Myers <joseph@codesourcery.com>
35830
35831 * Makeconfig (run-program-prefix): Fix comment.
35832
cc1290d0
JM
358332012-10-24 Joseph Myers <joseph@codesourcery.com>
35834 Jim Blandy <jimb@codesourcery.com>
35835
35836 * Makeconfig (test-wrapper): New variable,
35837 (test-wrapper-env): Likewise.
35838 [$(cross-compiling) = yes && $(test-wrapper) != ""]
35839 (run-built-tests): Define to yes.
35840 (run-program-prefix): Use $(test-wrapper).
35841 (built-program-cmd): Likewise.
35842 * Rules (make-test-out): Use $(test-wrapper-env) and
35843 $(host-built-program-cmd).
35844 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35845 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35846 tst-pathopt.sh.
35847 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35848 $(test-wrapper-env) to tst-rtld-load-self.sh.
35849 ($(objpfx)order2.out): Use $(test-wrapper).
35850 ($(objpfx)tst-initorder.out): Likewise.
35851 ($(objpfx)tst-initorder2.out): Likewise.
35852 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35853 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35854 (test_wrapper_env): New variable. Use it to run ld.so.
35855 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35856 Use it to run ld.so.
35857 (test_wrapper_env): Likewise.
35858 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35859 $(test-wrapper) to run-iconv-test.sh.
35860 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35861 (ICONV): Use $test_wrapper.
35862 * posix/Makefile ($(objpfx)globtest.out): Pass
35863 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35864 globtest.sh, not $(run-program-prefix).
35865 * posix/globtest.sh (run_via_rtld_prefix): New variable.
35866 (test_wrapper): Likewise.
35867 (test_wrapper_env): Likewise. Use it to run globtest with HOME
35868 set together with run_via_rtld_prefix.
35869 (run_program_prefix): Define in terms of test_wrapper and
35870 run_via_rtld_prefix.
35871
6e6249d0
RM
358722012-10-24 Roland McGrath <roland@hack.frob.com>
35873
35874 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35875 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35876 Targets removed.
35877
35878 [BZ #14743]
35879 * include/time.h: Remove librt_hidden_proto (clock_gettime).
35880 Declare __clock_getres, __clock_gettime, __clock_settime,
35881 __clock_nanosleep, and __clock_getcpuclockid.
35882 * rt/clock_gettime.c: Define __clock_gettime as an alias.
35883 Remove librt_hidden_def (clock_gettime).
35884 * sysdeps/unix/clock_gettime.c: Likewise.
35885 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35886 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35887 * rt/clock_getres.c: Define __clock_getres as an alias.
35888 * sysdeps/posix/clock_getres.c: Likewise.
35889 * rt/clock_settime.c: Define __clock_settime as an alias.
35890 * sysdeps/unix/clock_settime.c: Likewise.
35891 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35892 * sysdeps/unix/clock_nanosleep.c: Likewise.
35893 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35894 * rt/clock-compat.c: New file.
35895 * rt/Makefile (librt-routines): Add clock-compat and move
35896 $(clock-routines) to ...
35897 (routines): ... here, new variable.
35898 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35899 Don't add get_clockfreq here.
35900 * rt/Versions (libc: GLIBC_2.17): New version set.
35901 Add clock_* symbols here.
35902 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
35903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35904 (GLIBC_2.17): Add clock_* symbols.
35905 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35906 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35907 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35909 Likewise.
35910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35911 Likewise.
35912 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35914 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35916 * NEWS: Mention the move.
35917
35918 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35919 Use __open, __read, __close rather than their public counterparts.
35920 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35921 (__get_clockfreq_via_cpuinfo): Likewise.
35922 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35923 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35924
35925 * config.h.in (HAVE_IFUNC): New #undef.
35926 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35927 was successful.
35928 * configure: Regenerated.
35929
0cae3f4b
MF
359302012-10-24 Mike Frysinger <vapier@gentoo.org>
35931
35932 * configure.in: Move READELF check to start of file.
35933 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35934 libc_cv_asm_gnu_indirect_function in the process.
35935 * configure: Regenerated.
35936
8175a253
MF
359372012-10-24 Mike Frysinger <vapier@gentoo.org>
35938
35939 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35940 send the output to /dev/null.
35941 (libc_cv_cc_with_libunwind): Likewise.
35942 (libc_cv_as_noexecstack): Likewise.
35943 * configure: Regenerate.
35944
0708a7d1
JM
359452012-10-24 Joseph Myers <joseph@codesourcery.com>
35946
10b40d85
JM
35947 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35948
0708a7d1
JM
35949 * posix/globtest.sh (TMPDIR): Do not set.
35950 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35951 (testout): Likewise.
35952
9fddec1a
AJ
359532012-10-24 Andreas Jaeger <aj@suse.de>
35954
3a8db22f
AJ
35955 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35956 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35957 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35958 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35959 posix_fadvise64, posix_fallocate64.
35960
9fddec1a
AJ
35961 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35962 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35963 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35964 Likewise.
35965 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35966 Likewise.
35967 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35968
35969 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35970 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35971 <bits/fcntl-linux.h>.
35972 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35973
35974 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35975 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35976 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35977 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35978 [__WORDSIZE != 64]: Likewise.
35979
ebfd1bbd
JM
359802012-10-23 Joseph Myers <joseph@codesourcery.com>
35981
03ac099f
JM
35982 * Makeconfig (run-built-tests): New variable.
35983 * Rules [$(cross-compiling) = yes]: Change condition to
35984 [$(run-built-tests) = no].
35985 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35986 to [$(run-built-tests) = yes].
35987 * elf/Makefile [$(cross-compiling) = no]: Likewise
35988 * grp/Makefile [$(cross-compiling) = no]: Likewise.
35989 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35990 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35991 * intl/Makefile [$(cross-compiling) = no]: Likewise.
35992 * io/Makefile [$(cross-compiling) = no]: Likewise.
35993 * libio/Makefile [$(cross-compiling) = no]: Likewise.
35994 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35995 * misc/Makefile [$(cross-compiling) = no]: Likewise.
35996 * posix/Makefile [$(cross-compiling) = no]: Likewise.
35997 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35998 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35999 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36000 * string/Makefile [$(cross-compiling) = no]: Likewise.
36001
ebfd1bbd
JM
36002 * posix/Makefile ($(objpfx)globtest.out): Pass
36003 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36004 $(rtld-installed-name).
36005 * posix/globtest.sh (elf_objpfx): Remove variable.
36006 (rtld_installed_name): Likewise.
36007 (library_path): Likewise.
36008 (run_program_prefix): New variable. Use for running globtest
36009 binary.
36010
166bca24
JB
360112012-10-23 Jim Blandy <jimb@codesourcery.com>
36012 Joseph Myers <joseph@codesourcery.com>
36013
36014 * Makeconfig (host-built-program-cmd): New variable.
36015 * elf/Makefile (tst-stackguard1-ARGS): Use
36016 $(host-built-program-cmd).
36017 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36018 (tst-spawn-ARGS): Likewise.
36019 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36020
88866099
JM
360212012-10-23 Joseph Myers <joseph@codesourcery.com>
36022 Jim Blandy <jimb@codesourcery.com>
36023
36024 * Makeconfig (run-via-rtld-prefix): New variable.
36025 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36026 (built-program-cmd): Likewise.
36027
b4b4c296
AJ
360282012-10-22 Andreas Jaeger <aj@suse.de>
36029
36030 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36031 __O_RSYNC if it exists, otherwise to O_SYNC.
36032
6fb54a22
JB
360332012-10-22 Jim Blandy <jimb@codesourcery.com>
36034 Joseph Myers <joseph@codesourcery.com>
36035
36036 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36037 /dev/null.
36038 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36039 from /dev/null
36040 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36041 /dev/null.
36042
481b90b9
AJ
360432012-10-22 Andreas Jaeger <aj@suse.de>
36044
2a0e2669
AJ
36045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36046 Define always.
36047 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36048
76e38f9a
AJ
36049 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36050 bits/fcntl-linux.h.
36051
7cd37b43
AJ
36052 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36053 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36054
481b90b9
AJ
36055 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36056 to __O_LARGEFILE.
36057 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36058 to __O_LARGEFILE.
36059
aba75984
JB
360602012-10-21 Jim Blandy <jimb@codesourcery.com>
36061 Joseph Myers <joseph@codesourcery.com>
36062
36063 * config.make.in (NM): New variable.
36064
88d4247f
AJ
360652012-10-21 Andreas Jaeger <aj@suse.de>
36066
36067 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36068 definitions and declarations that are provided by
36069 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36070
f2eed205
L
360712012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36072
36073 [BZ #14683]
36074 * elf/Makefile (tests-static): Add tst-leaks1-static.
36075 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36076 ($(objpfx)tst-leaks1-static): New rule.
36077 ($(objpfx)tst-leaks1-static-mem): Likewise.
36078 (tst-leaks1-static-ENV): New macro.
36079 * elf/dl-open.c (dl_open_worker): Check the main application
36080 only if SHARED is defined.
36081 * elf/tst-leaks1-static.c: New file.
36082
335e6931
AJ
360832012-10-20 Andreas Jaeger <aj@suse.de>
36084
36085 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36086 generic values for Linux.
36087 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36088 and declarations that are provided by <bits/fcntl-linux.h> and
36089 include <bits/fcntl-linux.h>.
36090 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36091 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36092
ac5c94d3
RM
360932012-10-20 Roland McGrath <roland@hack.frob.com>
36094
36095 * io/fcntl.h: Move include of <bits/types.h> to the top and
36096 include it unconditionally.
36097
de54b33a
L
360982012-10-20 H.J. Lu <hongjiu.lu@intel.com>
36099
228cfb01
L
36100 * wcsmbs/Makefile (tests-ifunc): New variable.
36101 (tests): Add $(tests-ifunc).
36102 * wcsmbs/test-wcschr-ifunc.c: New file.
36103 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36104 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36105 * wcsmbs/test-wcslen-ifunc.c: Likewise.
36106 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36107 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36108
69f07e5f
L
36109 * string/Makefile (tests-ifunc): New variable.
36110 (tests): Add $(tests-ifunc).
36111 * string/test-memccpy.c (TEST_NAME): New macro.
36112 * string/test-memchr.c (TEST_NAME): Likewise.
36113 * string/test-memcmp.c (TEST_NAME): Likewise.
36114 * string/test-memcpy.c (TEST_NAME): Likewise.
36115 * string/test-memmem.c (TEST_NAME): Likewise.
36116 * string/test-memmove.c (TEST_NAME): Likewise.
36117 * string/test-memset.c (TEST_NAME): Likewise.
36118 * string/test-rawmemchr.c (TEST_NAME): Likewise.
36119 * string/test-stpcpy.c (TEST_NAME): Likewise.
36120 * string/test-stpncpy.c (TEST_NAME): Likewise.
36121 * string/test-strcasecmp.c (TEST_NAME): Likewise.
36122 * string/test-strcasestr.c (TEST_NAME): Likewise.
36123 * string/test-strcat.c (TEST_NAME): Likewise.
36124 * string/test-strchr.c (TEST_NAME): Likewise.
36125 * string/test-strcmp.c(TEST_NAME): Likewise.
36126 * string/test-strcpy.c (TEST_NAME): Likewise.
36127 * string/test-strcspn.c (TEST_NAME): Likewise.
36128 * string/test-strlen.c (TEST_NAME): Likewise.
36129 * string/test-strncasecmp.c (TEST_NAME): Likewise.
36130 * string/test-strncmp.c (TEST_NAME): Likewise.
36131 * string/test-strncpy.c (TEST_NAME): Likewise.
36132 * string/test-strnlen.c (TEST_NAME): Likewise.
36133 * string/test-strpbrk.c (TEST_NAME): Likewise.
36134 * string/test-strrchr.c (TEST_NAME): Likewise.
36135 * string/test-strspn.c (TEST_NAME): Likewise.
36136 * string/test-strstr.c (TEST_NAME): Likewise.
36137 * string/test-bcopy-ifunc.c: New file.
36138 * string/test-bzero-ifunc.c: Likewise.
36139 * string/test-memccpy-ifunc.c: Likewise.
36140 * string/test-memchr-ifunc.c: Likewise.
36141 * string/test-memcmp-ifunc.c: Likewise.
36142 * string/test-memcpy-ifunc.c: Likewise.
36143 * string/test-memmem-ifunc.c: Likewise.
36144 * string/test-memmove-ifunc.c: Likewise.
36145 * string/test-mempcpy-ifunc.c: Likewise.
36146 * string/test-memset-ifunc.c: Likewise.
36147 * string/test-rawmemchr-ifunc.c: Likewise.
36148 * string/test-stpcpy-ifunc.c: Likewise.
36149 * string/test-stpncpy-ifunc.c: Likewise.
36150 * string/test-strcasecmp-ifunc.c: Likewise.
36151 * string/test-strcasestr-ifunc.c: Likewise.
36152 * string/test-strcat-ifunc.c: Likewise.
36153 * string/test-strchr-ifunc.c: Likewise.
36154 * string/test-strchrnul-ifunc.c: Likewise.
36155 * string/test-strcmp-ifunc.c: Likewise.
36156 * string/test-strcpy-ifunc.c: Likewise.
36157 * string/test-strcspn-ifunc.c: Likewise.
36158 * string/test-strlen-ifunc.c: Likewise.
36159 * string/test-strncasecmp-ifunc.c: Likewise.
36160 * string/test-strncat-ifunc.c: Likewise.
36161 * string/test-strncmp-ifunc.c: Likewise.
36162 * string/test-strncpy-ifunc.c: Likewise.
36163 * string/test-strnlen-ifunc.c: Likewise.
36164 * string/test-strpbrk-ifunc.c: Likewise.
36165 * string/test-strrchr-ifunc.c: Likewise.
36166 * string/test-strspn-ifunc.c: Likewise.
36167 * string/test-strstr-ifunc.c: Likewise.
36168
de54b33a
L
36169 * debug/Makefile (tests-ifunc): New variable.
36170 (tests): Add $(tests-ifunc).
36171 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36172 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36173 * debug/test-stpcpy_chk-ifunc.c: New file.
36174 * debug/test-strcpy_chk-ifunc.c: Likewise.
36175
88481c16
SP
361762012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
36177
36178 [BZ #13601]
36179 * elf/dl-load.c (open_verify): Retry read if the entire ELF
36180 header is not read in.
36181
135948bd
JM
361822012-10-19 Joseph Myers <joseph@codesourcery.com>
36183
89f1c388
JM
36184 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
36185 script to $(SHELL) as $<. Pass $(common-objpfx) to script
36186 directly. Pass built executable to script as
36187 $(built-program-cmd).
36188 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
36189 $testprogram without using LD_LIBRARY_PATH and $ldso.
36190
e40a0d21
JM
36191 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36192 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36193 $(rtld-installed-name).
36194 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36195 (rtld_installed_name): Likewise.
36196 (library_path): Likewise.
36197 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
36198 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36199 $(run-program-prefix) to tst-tables.sh.
36200 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
36201 it to run tst-table-from and tst-table-to.
36202 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36203 Pass it to tst-table.sh.
36204 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36205 $(run-program-prefix) to tst-gettext.sh.
36206 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36207 tst-translit.sh.
36208 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36209 tst-gettext2.sh.
36210 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
36211 to run tst-gettext.
36212 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
36213 to run tst-gettext2.
36214 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
36215 to run tst-translit.
36216 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36217 $(run-program-prefix) to tst-mtrace.sh.
36218 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
36219 to run tst-mtrace.
36220 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36221 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36222 $(rtld-installed-name).
36223 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36224 (rtld_installed_name): Likewise.
36225 (run_program_prefix): New variable. Use it to run wordexp-test.
36226
728e272a
JM
36227 * Makeconfig (ARCH): Remove all definitions.
36228 (machine): Likewise.
36229 [ARCH]: Remove conditional code.
36230 [!objdir]: Give error.
36231 [!objdir] (objpfx): Remove.
36232 [!objdir] (common-objpfx): Likewise.
36233 [!objdir] (common-objdir): Likewise.
36234 * configure.in (config_makefile): Remove. Hardcode Makefile in
36235 AC_CONFIG_FILES call.
36236 * configure: Regenerated.
36237
d528cdcf
JM
36238 [BZ #13888]
36239 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36240 or TMPDIR.
36241 (testout): Likewise.
36242
135948bd
JM
36243 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36244 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36245 $(rtld-installed-name).
36246 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36247 (rtld_installed_name): Likwise.
36248 (runit): Remove function.
36249 (run_getconf): New variable, Use it for running getconf binary.
36250
38c78296
L
362512012-10-18 H.J. Lu <hongjiu.lu@intel.com>
36252
36253 [BZ #14716]
36254 * string/test-memmem.c (check_result): New function.
36255 (do_one_test): Use it.
36256 (check1): New function.
36257 (test_main): Use it.
36258
d077f65f
MT
362592012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
36260
36261 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36262
ced52c71
JM
362632012-10-18 Joseph Myers <joseph@codesourcery.com>
36264
36265 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36266 (_G_LSEEK64): Likewise.
36267 (_G_MMAP64): Likewise.
36268 (_G_FSTAT64): Likewise.
36269 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36270 (_G_LSEEK64): Likewise.
36271 (_G_MMAP64): Likewise.
36272 (_G_FSTAT64): Likewise.
36273 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36274 unconditional. Call __mmap64 directly.
36275 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36276 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
36277 __lseek64 directly.
36278 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36279 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
36280 __mmap64 directly.
36281 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36282 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
36283 __lseek64 directly.
36284 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36285 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
36286 __lseek64 directly.
36287 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36288 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
36289 __lseek64 directly.
36290 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36291 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
36292 __fxstat64 directly.
36293 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36294 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36295 unconditional.
36296 (freopen64) [!_G_OPEN64]: Remove conditional code.
36297 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36298 unconditional.
36299 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36300 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36301 unconditional.
36302 (ftello64) [!_G_LSEEK64]: Remove conditional code.
36303 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36304 unconditional.
36305 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36306 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36307 unconditional.
36308 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36309 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36310 unconditional.
36311 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36312 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36313 unconditional.
36314 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36315 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36316 unconditional.
36317 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36318
b741de23
SP
363192012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
36320
36321 [BZ #12140]
36322 * manual/memory.texi (Malloc Tunable Parameters): Add note
36323 about free list pointers overwriting some perturb bytes.
36324 Wording suggested by Roland McGrath.
36325
f9b9d9c9
JM
363262012-10-17 Joseph Myers <joseph@codesourcery.com>
36327
36328 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36329 (lgamma_test): Likewise.
36330 (tgamma_test): Likewise.
36331
172a631a
FW
363322012-10-16 Florian Weimer <fweimer@redhat.com>
36333
36334 [BZ #14700]
36335 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36336 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36337
e9f37252
MK
363382012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
36339
36340 * NEWS: Mention BZ #14716.
36341 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36342 when removing AVAILABLE1_USES_J macro.
36343
d394eb74
L
363442012-10-12 H.J. Lu <hongjiu.lu@intel.com>
36345
36346 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36347 (__bswap_64): __uint64_t for unsigned 64-bit int.
36348
ca38dc17
AS
363492012-10-12 Andreas Schwab <schwab@linux-m68k.org>
36350
36351 * include/string.h (memmem): Declare libc hidden alias.
36352 * string/memmem.c (memmem): Define libc hidden alias.
36353 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36354 __read, __close instead of open, read, close.
36355
9a387d1f
L
363562012-10-11 H.J. Lu <hongjiu.lu@intel.com>
36357
ac49ecaf
L
36358 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36359 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36360 global and hidden.
36361 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36362 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36363 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36364 Likewise.
36365 (__rawmemchr_sse2): Likewise.
36366 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36367 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36368 (__strchr_sse2): Likewise.
36369 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36370 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36371 (__strcasecmp_sse2): Likewise.
36372 (__strncasecmp_sse2): Likewise.
36373 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36374 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36375 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36376 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36377 (__strrchr_sse2): Likewise.
36378 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36379 ifunc-impl-list.c.
36380 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36381 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36382 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36383 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36384 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36385 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36386 * sysdeps/x86_64/multiarch/memset.S: Likewise.
36387 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36388 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36389 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36390 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36391 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36392 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36393 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36394 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36395 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36396 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36397 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36398 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36399 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36400 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36401 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36402 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36403 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36404 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36405 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36406 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36407 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36408 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36409 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36410
b090e8ea
L
36411 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36412 global and hidden.
36413 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36414 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36415 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36416 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36417 Likewise.
36418 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36419 Likewise.
36420 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36421 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36422 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36423 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36424 ifunc-impl-list.c.
36425 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36426 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36427 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36428 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36429 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36430 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36431 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36432 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36433 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36434 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36435 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36436 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36437 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36438 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36439 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36441 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36442 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36443 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36444 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36445 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36446 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36447 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36448 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36449 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36450 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36451 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36452 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36453 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36454 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36455 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36456 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36457 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36458 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36459 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36460 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36461 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36462 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36463 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36464 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36465 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36466
11dd4af6
L
36467 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36468 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36469 * include/ifunc-impl-list.h: New file.
36470 * misc/ifunc-impl-list.c: Likewise.
36471 * misc/Makefile (routines): Add ifunc-impl-list.
36472 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36473 * string/test-string.h: Include <ifunc-impl-list.h>.
57f41c40
AS
36474 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36475 TEST_NAME]: New variables.
11dd4af6
L
36476 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36477 are defined.
36478 (test_init): Call __libc_ifunc_impl_list to initialize
36479 func_list if TEST_IFUNC and TEST_NAME are defined.
36480
9a387d1f
L
36481 * string/Makefile (strop-tests): Add bcopy and bzero.
36482 * string/test-bcopy.c: New file.
36483 * string/test-bzero.c: Likewise.
36484 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36485 defined.
36486 * string/test-memset.c: Support bzero test if TEST_BZERO is
36487 defined.
36488 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36489 __libc_memmove.
36490 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36491 __libc_memset.
36492 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36493 of memset.
36494
472371b9
JM
364952012-10-10 Joseph Myers <joseph@codesourcery.com>
36496
1e4a9536
JM
36497 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36498 * configure: Regenerated.
36499
d173d12e
JM
36500 * Makeconfig (+link-static-before-libc): Don't include
36501 $(link-static-libc).
36502
472371b9
JM
36503 * libio/libio.h (_IO_pos_t): Remove.
36504
89a3ad0b
AO
365052012-10-10 Alexandre Oliva <aoliva@redhat.com>
36506
36507 * NEWS: Add note about FIPS mode. Wording suggested by Roland
36508 McGrath.
36509
e7451425
AO
365102012-10-10 Alexandre Oliva <aoliva@redhat.com>
36511
36512 * crypt/crypt-entry.c: Include fips-private.h.
36513 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36514 * crypt/md5c-test.c (main): Tolerate disabled MD5.
36515 * sysdeps/unix/sysv/linux/fips-private.h: New file.
36516 * sysdeps/generic/fips-private.h: New file, dummy fallback.
36517
4ba74a35
AO
365182012-10-10 Alexandre Oliva <aoliva@redhat.com>
36519
36520 * crypt/crypt-private.h: Include stdbool.h.
36521 (_ufc_setup_salt_r): Return bool.
36522 * crypt/crypt-entry.c: Include errno.h.
36523 (__crypt_r): Return NULL with EINVAL for bad salt.
36524 * crypt/crypt_util.c (bad_for_salt): New.
36525 (_ufc_setup_salt_r): Check that salt is long enough and within
36526 the specified alphabet.
36527 * crypt/badsalttest.c: New file.
36528 * crypt/Makefile (tests): Add it.
36529 ($(objpfx)badsalttest): New.
36530
f96f1242
MK
365312012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
36532
36533 * NEWS: Add entry for BZ #14602.
36534
0e8e0c1c
JM
365352012-10-09 Joseph Myers <joseph@codesourcery.com>
36536
36537 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36538 type-generic.
36539 * math/libm-test.inc: Update comment listing what functions and
36540 macros are tested.
36541 (isgreater_test): New function.
36542 (isgreaterequal_test): Likewise.
36543 (isless_test): Likewise.
36544 (islessequal_test): Likewise.
36545 (islessgreater_test): Likewise.
36546 (isunordered_test): Likewise.
36547 (main): Call the new functions.
36548
273edc5e
RM
365492012-10-09 Roland McGrath <roland@hack.frob.com>
36550
b8493de0
RM
36551 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36552 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36553 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36554 * sysdeps/i386/configure: Regenerated.
36555 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36556 * sysdeps/mach/configure: Regenerated.
36557 * sysdeps/mach/hurd/configure: Regenerated.
36558 * sysdeps/powerpc/configure: Regenerated.
36559 * sysdeps/powerpc/powerpc32/configure: Regenerated.
36560 * sysdeps/powerpc/powerpc64/configure: Regenerated.
36561 * sysdeps/s390/s390-32/configure: Regenerated.
36562 * sysdeps/s390/s390-64/configure: Regenerated.
36563 * sysdeps/sh/configure: Regenerated.
36564 * sysdeps/sparc/configure: Regenerated.
36565 * sysdeps/unix/sysv/linux/configure: Regenerated.
36566 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36567 * sysdeps/x86_64/configure: Regenerated.
36568
273edc5e
RM
36569 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36570 defined. Don't check if MAP is NULL.
36571
c8450f70
JM
365722012-10-09 Joseph Myers <joseph@codesourcery.com>
36573
36574 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36575 (_G_stat64): Likewise.
36576 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36577 (_G_stat64): Likewise.
36578 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36579 instead of struct _G_stat64.
36580 * libio/fileops.c (mmap_remap_check): Likewise.
36581 (decide_maybe_mmap): Likewise.
36582 (_IO_new_file_seekoff): Likewise.
36583 (_IO_file_stat): Likewise.
36584 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36585 _G_off64_t.
36586 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36587 instead of struct _G_stat64.
36588 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36589
57e605ba
MK
365902012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
36591
36592 [BZ #14602]
36593 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36594 Replace with ...
36595 (CHECK_EOL): New macro.
36596 (two_way_short_needle): Check beginning of haystack for EOL. Use
36597 CHECK_EOL.
36598 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36599 Replace with CHECK_EOL.
36600 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36601 Replace with CHECK_EOL.
36602
ef1bb361
JM
366032012-10-08 Joseph Myers <joseph@codesourcery.com>
36604
36605 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36606 type-generic.
36607 * math/libm-test.inc: Update comment listing what functions and
36608 macros are tested.
36609 (finite_test): New function.
36610 (isinf_test): Likewise.
36611 (isnan_test): Likewise.
36612 (fpclassify_test): Test subnormal input.
36613 (isfinite_test): Likewise.
36614 (isnormal_test): Likewise.
36615 (main): Call the new functions.
36616
55f11534
JN
366172012-10-08 Jonathan Nieder <jrnieder@gmail.com>
36618
36619 [BZ #14660]
36620 * Makerules (%.dynsym): Force C locale when running
36621 $(OBJDUMP) --dynamic-syms.
36622
1ab29350
AS
366232012-10-08 Andreas Schwab <schwab@linux-m68k.org>
36624
36625 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36626 <stdint.h>.
36627
f1ecb7ef
DM
366282012-10-06 David S. Miller <davem@davemloft.net>
36629
36630 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36631 upper 32-bits of the length value in %o2 since we use branch-on-register
36632 tests which consider the entire 64-bit register.
36633
5d41d91a
L
366342012-10-06 H.J. Lu <hongjiu.lu@intel.com>
36635
36636 * string/test-strstr.c (check2): Add a test for page boundary.
36637
3baddb72
DM
366382012-10-05 David S. Miller <davem@davemloft.net>
36639
36640 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36641 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36642 file.
36643 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36644 sysdep_routines.
36645 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36646 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36647 and bzero when HWCAP_SPARC_CRYPTO is present.
36648
9cee5585
L
366492012-10-05 H.J. Lu <hongjiu.lu@intel.com>
36650
d7e0dab9
L
36651 [BZ #14602]
36652 * string/test-strstr.c (check2): New function.
36653 (test_main): Call check2.
36654
03759f47
L
36655 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36656 and bug-strchr1.
36657 * string/bug-strcasestr1.c (do_test): Moved to ...
36658 * string/test-strcasestr.c (check1): Here. New function.
36659 (do_one_test): Break out result checking code into ...
36660 (check_result): This. New function.
36661 (do_one_test): Call check_result.
36662 (test_main): Call check1.
36663 * string/bug-strchr1.c (do_test): Moved to ...
36664 * string/test-strchr.c (check1): Here. New function.
36665 (do_one_test): Break out result checking code into ...
36666 (check_result): This. New function.
36667 (do_one_test): Call check_result.
36668 (test_main): Call check1.
36669 * string/bug-strstr1.c (main): Moved to ...
046f153e 36670 * string/test-strstr.c (check1): Here. New function.
03759f47
L
36671 (do_one_test): Break out result checking code into ...
36672 (check_result): This. New function.
36673 (do_one_test): Call check_result.
36674 (test_main): Call check1.
36675 * string/bug-strcasestr1.c: Removed.
36676 * string/bug-strchr1.c: Likewise.
36677 * string/bug-strstr1.c: Likewise.
36678
53cea63e
L
36679 * elf/Makefile (dl-routines): Add hwcaps.
36680 * elf/dl-support.c (_dl_important_hwcaps): Removed.
36681 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36682 (_dl_important_hwcaps): Moved to ...
36683 * elf/dl-hwcaps.c: Here. New file.
36684 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36685
9cee5585 36686 [BZ #14557]
bb859b06
L
36687 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36688 if IS_IN_rtld isn't defined.
36689
9cee5585
L
36690 * elf/dl-support.c (_dl_sysinfo_map): New.
36691 Include "get-dynamic-info.h" and "setup-vdso.h".
36692 (_dl_non_dynamic_init): Call setup_vdso.
36693 * elf/dynamic-link.h: Don't include <assert.h>.
36694 (elf_get_dynamic_info): Moved to ...
36695 * elf/get-dynamic-info.h: Here. New file.
36696 * elf/dynamic-link.h: Include "get-dynamic-info.h".
36697 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36698 * elf/setup-vdso.h: Here. New file.
36699 * elf/rtld.c: Include "setup-vdso.h".
36700 (dl_main): Call setup_vdso.
36701
23c31b76
JM
367022012-10-05 Joseph Myers <joseph@codesourcery.com>
36703
28234b07
JM
36704 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36705 creal in comment listing functions tested. List finite, isinf,
36706 isnan, isless, islessequal, isgreater, isgreaterequal,
36707 islessgreater, isunordered, lgamma_r and pow10 as functions and
36708 macros not tested. Mention which functions not tested are aliases
36709 for other functions. Fix typo. Note that signs of NaNs are not
36710 tested.
36711
23c31b76
JM
36712 * scripts/config.guess: Update from config.git.
36713 * scripts/config.sub: Likewise.
36714
9043e228
RM
367152012-10-04 Roland McGrath <roland@hack.frob.com>
36716
36717 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36718 * misc/madvise.c (madvise): Renamed to __madvise.
36719 Make madvise a weak alias.
36720 * include/sys/mman.h: Declare __madvise.
36721 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36722 * sysdeps/unix/syscalls.list
36723 (madvise): Make __madvise the strong name, and madvise a weak alias.
36724 * sysdeps/unix/sysv/linux/syscalls.list
36725 (madvise, mmap): Remove redundant entries.
36726 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36727 * malloc/malloc.c (mtrim): Likewise.
36728 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36729
f57f8055
RM
367302012-10-03 Roland McGrath <roland@hack.frob.com>
36731
36732 * sysdeps/mach/hurd/dl-cache.c: File removed.
36733 * config.h.in (USE_LDCONFIG): New #undef.
36734 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36735 * configure: Regenerated.
36736 * elf/Makefile (dl-routines): Add dl-cache only under
36737 [$(use-ldconfig) = yes].
36738 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36739 cache on [USE_LDCONFIG].
36740 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36741 [USE_LDCONFIG].
36742 * elf/rtld.c (dl_main): Likewise.
36743
5bb0c10a
PT
367442012-10-03 Pino Toscano <toscano.pino@tiscali.it>
36745
36746 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36747 _SC_LEVEL4_CACHE_LINESIZE.
36748
010188c6
RM
367492012-10-03 Roland McGrath <roland@hack.frob.com>
36750
36751 * sysdeps/unix/bsd/confstr.h: File removed.
36752
b6c5ec07
AO
367532012-10-02 Alexandre Oliva <aoliva@redhat.com>
36754
36755 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36756 sys/sdt-config.h.
36757
408223d4
RM
367582012-10-02 Roland McGrath <roland@hack.frob.com>
36759
36760 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36761 Make 'mapoff' field ElfW(Off) rather than off_t.
36762
bb9510dc
DL
367632012-10-02 Dmitry V. Levin <ldv@altlinux.org>
36764
fc997c6e
DL
36765 * nscd/Makefile: Remove nscd-cflags and all its users.
36766 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36767 (CFLAGS-nonlib): Add compiler flags for nscd modules.
36768
bb9510dc
DL
36769 [BZ #10631]
36770 * malloc.c (malloc_printerr): Clarify error message.
36771
05699367
L
367722012-10-02 H.J. Lu <hongjiu.lu@intel.com>
36773
36774 [BZ #14648]
36775 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36776 Set bit_FMA_Usable if FMA is supported.
36777 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36778 macro.
36779 (bit_FMA4_Usable): Updated.
36780 (index_FMA_Usable): New macro.
36781 (CPUID_FMA): Likewise
36782 (HAS_FMA): Defined with bit_FMA_Usable.
36783
51367701
RM
367842012-10-01 Roland McGrath <roland@hack.frob.com>
36785
36786 * bits/types.h (__swblk_t): Type removed.
36787 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36788 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36789 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36790 (__SWBLK_T_TYPE): Likewise.
36791 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36792 (__SWBLK_T_TYPE): Likewise.
36793 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36794 (__SWBLK_T_TYPE): Likewise.
36795 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36796 (__SWBLK_T_TYPE): Likewise.
36797
4d57bf63 367982012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 36799 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
36800
36801 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36802 (xdr_mapname): Use YPMAXMAP as maxsize.
36803 (xdr_peername): Use YPMAXPEER as maxsize.
36804 (xdr_keydat): Use YPAXRECORD as maxsize.
36805 (xdr_valdat): Use YPMAXRECORD as maxsize.
36806
93c65d43
RM
368072012-10-01 Roland McGrath <roland@hack.frob.com>
36808
497a03d6
RM
36809 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36810
93c65d43
RM
36811 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36812 * csu/init-first.c: ... here.
36813 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36814 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36815 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36816 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36817 * sysdeps/i386/init-first.c: File removed.
36818 * sysdeps/sh/init-first.c: File removed.
36819
bec749fd
JM
368202012-10-01 Joseph Myers <joseph@codesourcery.com>
36821
36822 [BZ #14645]
36823 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36824 if x * y might underflow to zero and z is zero.
36825 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36826 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36827 * math/libm-test.inc (min_subnorm_value): New variable.
36828 (fma_test): Add more tests.
36829 (fma_test_towardzero): Likewise.
36830 (fma_test_downward): Likewise
36831 (fma_test_upward): Likewise.
36832 (initialize): Set min_subnorm_value.
36833
8ec5b013
JM
368342012-09-29 Joseph Myers <joseph@codesourcery.com>
36835
36836 [BZ #14638]
36837 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36838 0 + 0.
36839 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36840 mode for addition resulting in exact zero.
36841 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36842 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36843 exact 0 + 0.
36844 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36845 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36846 * math/libm-test.inc (fma_test): Add more tests.
36847 (fma_test_towardzero): New function.
36848 (fma_test_downward): Likewise.
36849 (fma_test_upward): Likewise.
36850 (main): Call the new functions.
36851
b1fa802e
DM
368522012-09-28 David S. Miller <davem@davemloft.net>
36853
36854 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36855
d3b9fd9e
RM
368562012-09-28 Roland McGrath <roland@hack.frob.com>
36857
ea4d37b3
RM
36858 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36859 instead of SIGALRM.
36860
ac51c949
RM
36861 * sysdeps/gnu/_G_config.h: Moved to ...
36862 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36863 * sysdeps/mach/hurd/_G_config.h: Moved to ...
36864 * sysdeps/generic/_G_config.h: ... here.
36865
28c195f7
RM
36866 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
36867
848917f9
RM
36868 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36869
6bacf05b
RM
36870 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36871 Conditionalize target on [libnss_test1.so-version].
36872
91363dbb
RM
36873 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36874
cc87f7d8
RM
36875 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36876 (elfobjdir): Move out of conditionals.
36877
b1c608fe
RM
36878 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36879 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36880 (__nss_lookup_function): Conditionalize label remove_from_tree on
36881 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 36882
1d9a6d96
DM
368832012-09-28 David S. Miller <davem@davemloft.net>
36884
36885 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36886 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36887 file.
36888 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36889 sysdep_routines.
36890 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36891 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36892 when HWCAP_SPARC_CRYPTO is present.
36893
72581615
PT
368942012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36895
36896 * io/tst-mknodat.c: Create a FIFO instead of a socket.
36897
715a900c
JL
368982012-09-28 Andreas Schwab <schwab@linux-m68k.org>
36899
36900 [BZ #6530]
36901 * stdio-common/vfprintf.c (process_string_arg): Revert
36902 2000-07-22 change.
36903
369042011-09-28 Jonathan Nieder <jrnieder@gmail.com>
36905
36906 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36907 for testcase.
36908 * stdio-common/tst-sprintf.c: Include <locale.h>
36909 (main): Test sprintf's handling of incomplete multibyte
36910 characters.
36911
9bac1d86
L
369122012-09-28 H.J. Lu <hongjiu.lu@intel.com>
36913
36914 * elf/dl-runtime.c (VERSYMIDX): Removed.
36915 * elf/dl-version.c (VERSYMIDX): Likewise.
36916 * elf/do-rel.h (VERSYMIDX): Likewise.
36917 (VALIDX): Likewise.
36918 * elf/dynamic-link.h (VERSYMIDX): Likewise.
36919 * elf/rtld.c (VALIDX): Likewise.
36920 (ADDRIDX): Likewise.
9bac1d86
L
36921 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36922 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36923 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
36924 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36925 (VALIDX): Likewise.
36926 (ADDRIDX): Likewise.
9bac1d86 36927
b31606c0
PT
369282012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36929
36930 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36931
11541177
JL
369322012-09-28 Dmitry V. Levin <ldv@altlinux.org>
36933
36934 [BZ #11438]
36935 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36936 to global scope.
36937 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36938 addresses are in the same scope as 192.0.2/24.
36939 * posix/gai.conf: Document new scope table defaults.
36940
adb26fae
SP
369412012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36942
36943 [BZ #5298]
36944 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36945 for ftell. Compute offsets from write pointers instead.
36946 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36947
4573c6b0
SP
369482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
36949
36950 [BZ #14543]
36951 * libio/Makefile (tests): New test case tst-fseek.
36952 * libio/tst-fseek.c: New test case to verify that fseek/ftell
36953 combination works in wide mode.
36954 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36955 state when the external buffer state changes.
36956
aa9bbfe6
DM
369572012-09-27 David S. Miller <davem@davemloft.net>
36958
36959 [BZ #14376]
36960 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36961 pass reloc->r_addend in as the 'high' argument to
36962 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36963
784421e7
DM
36964 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36965
c39bc8b8
PT
369662012-09-28 Pino Toscano <toscano.pino@tiscali.it>
36967
36968 * rt/tst-aio2.c: Include <pthread.h>.
36969 * rt/tst-aio3.c: Likewise.
36970
1ccc2399
SE
369712012-09-27 Steve Ellcey <sellcey@mips.com>
36972
36973 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36974
31ed4153
L
369752012-09-27 H.J. Lu <hongjiu.lu@intel.com>
36976
25f5f885
L
36977 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36978 contents on [SHARED].
31ed4153 36979
b7bfe116
MP
369802012-09-26 Marek Polacek <polacek@redhat.com>
36981
36982 [BZ #14530]
36983 [BZ #13741]
36984 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36985 for C++ and GCC <4.3 as well as for non GCC compilers.
36986
43c4edba
MT
369872012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
36988
36989 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36990
6a1bf82f
RM
369912012-09-25 Roland McGrath <roland@hack.frob.com>
36992
36993 * Makefile.in (all, install): Declare with .PHONY.
36994 Reported by Michael Hope <michael.hope@linaro.org>.
36995
8ad11b9a
TMQMF
369962012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
36997
36998 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36999 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37000 system header.
37001 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37002 Likewise.
37003 (sydep_routines): Add the new and the internal functions.
37004 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37005 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37007 (GLIBC_2.17): Add the new function.
37008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37009 (GLIBC_2.17): Likewise.
37010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37011 (GLIBC_2.17): Likewise.
37012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37013 (GLIBC_2.17): Likewise.
37014 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37015
7e2fca8d
AM
370162012-09-25 Alan Modra <amodra@gmail.com>
37017
37018 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37019 Add release barrier before setting once_control to say
37020 initialisation is done. Add hints on lwarx. Use macro in
37021 place of isync.
37022 (clear_once_control): Add release barrier.
37023
b87c4b24
JM
370242012-09-25 Joseph Myers <joseph@codesourcery.com>
37025
d032e0d2
JM
37026 [BZ #13629]
37027 * math/s_clog.c (__clog): Handle more values close to |z| = 1
37028 specially.
37029 * math/s_clog10.c (__clog10): Likewise.
37030 * math/s_clog10f.c (__clog10f): Likewise.
37031 * math/s_clog10l.c (__clog10l): Likewise.
37032 * math/s_clogf.c (__clogf): Likewise.
37033 * math/s_clogl.c (__clogl): Likewise.
37034 * math/Makefile (libm-calls): Add x2y2m1.
37035 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37036 (__x2y2m1): Likewise.
37037 (__x2y2m1l): Likewise.
37038 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37039 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37040 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37041 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37042 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37043 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37044 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37045 * sysdeps/i386/fpu/libm-test-ulps: Update.
37046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37047
b87c4b24
JM
37048 [BZ #14621]
37049 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37050 int as type of variable DEPTH.
37051 (glob): Use size_t instead of int as type of variables NEWCOUNT
37052 and OLD_PATHC.
37053
6d3bf199
LD
370542012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37055
22bf5c17
LD
37056 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37057 Add s_sincosf-sse2.
37058 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37059 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37060 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37061 macros for using routine as __sincosf_ia32.
37062 Use macro for function declaration and weak_alias.
37063 * sysdeps/i386/fpu/libm-test-ulps: Update.
37064
37065 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37066 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37067
37068 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
37069 subnormal argument.
37070 * math/s_cexpf.c (__cexpf): Likewise.
37071 * math/s_csinf.c (__csinf): Likewise.
37072 * math/s_csinhf.c (__csinhf): Likewise.
37073 * math/s_ctanf.c (__ctanf): Likewise.
37074 * math/s_ctanhf.c (__ctanhf): Likewise.
37075 * math/s_ccosh.c (__ccoshf): Likewise.
37076 * math/s_cexp.c (__cexpl): Likewise.
37077 * math/s_csin.c (__csin): Likewise.
37078 * math/s_csinh.c (__csinh): Likewise.
37079 * math/s_ctan.c (__ctan): Likewise.
37080 * math/s_ctanh.c (ctanh): Likewise.
37081 * math/s_ccoshl.c (__ccoshl): Likewise.
37082 * math/s_cexpl.c (__cexpl): Likewise.
37083 * math/s_csinl.c (__csinl): Likewise.
37084 * math/s_csinhl.c (__csinhl): Likewise.
37085 * math/s_ctanl.c (__ctanl): Likewise.
37086 * math/s_ctanhl.c (__ctanhl): Likewise.
37087
203e5603
JM
370882012-09-25 Joseph Myers <joseph@codesourcery.com>
37089
37090 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37091 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37092 (_IO_off_t): Define to __off_t, not _G_off_t.
37093 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37094 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37095 (_IO_wint_t): Define to wint_t, not _G_wint_t.
37096 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37097 type of __dummy and __dummy2 fields.
37098 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37099 (_G_ssize_t): Likewise.
37100 (_G_off_t): Likewise.
37101 (_G_pid_t): Likewise.
37102 (_G_uid_t): Likewise.
37103 (_G_wchar_t): Likewise.
37104 (_G_wint_t): Likewise.
37105 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37106 (_G_ssize_t): Likewise.
37107 (_G_off_t): Likewise.
37108 (_G_pid_t): Likewise.
37109 (_G_uid_t): Likewise.
37110 (_G_wchar_t): Likewise.
37111 (_G_wint_t): Likewise.
37112 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37113 (_G_ssize_t): Likewise.
37114 (_G_off_t): Likewise.
37115 (_G_pid_t): Likewise.
37116 (_G_uid_t): Likewise.
37117 (_G_wchar_t): Likewise.
37118 (_G_wint_t): Likewise.
37119
9fab36eb
SP
371202012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37121
37122 * malloc/arena.c: Include malloc-sysdep.h.
37123 (shrink_heap): Use check_may_shrink_heap to decide if madvise
37124 is sufficient to shrink the heap or an unmap is needed.
37125 * sysdeps/generic/malloc-sysdep.h: New file. Define
37126 new function check_may_shrink_heap.
37127 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
37128 new function check_may_shrink_heap.
37129
2b4f00d1
SP
371302012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
37131
37132 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37133 comments.
37134
9a9028b1
DL
371352012-09-24 Dmitry V. Levin <ldv@altlinux.org>
37136
57c69bef
DL
37137 * catgets/test-gencat.sh: Add "set -e".
37138 * elf/tst-pathopt.sh: Likewise.
37139 * grp/tst_fgetgrent.sh: Likewise.
37140 * iconvdata/run-iconv-test.sh: Likewise.
37141 * intl/tst-gettext.sh: Likewise.
37142 * intl/tst-gettext2.sh: Likewise.
37143 * intl/tst-gettext4.sh: Likewise.
37144 * intl/tst-gettext6.sh: Likewise.
37145 * intl/tst-translit.sh: Likewise.
37146 * io/ftwtest-sh: Likewise.
37147 * libio/test-freopen.sh: Likewise.
37148 * malloc/tst-mtrace.sh: Likewise.
37149 * posix/globtest.sh: Likewise.
37150 * posix/tst-getconf.sh: Likewise.
37151 * posix/wordexp-tst.sh: Likewise.
37152 * stdio-common/tst-printf.sh: Likewise.
37153 * stdio-common/tst-unbputc.sh: Likewise.
37154 * stdlib/tst-fmtmsg.sh: Likewise.
37155 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37156 * catgets/Makefile: Do not specify -e option when running
37157 testsuite shell scripts.
37158 * elf/Makefile: Likewise.
37159 * grp/Makefile: Likewise.
37160 * iconvdata/Makefile: Likewise.
37161 * intl/Makefile: Likewise.
37162 * io/Makefile: Likewise.
37163 * libio/Makefile: Likewise.
37164 * malloc/Makefile: Likewise.
37165 * posix/Makefile: Likewise.
37166 * stdio-common/Makefile: Likewise.
37167 * stdlib/Makefile: Likewise.
37168 * sysdeps/x86_64/Makefile: Likewise.
37169
9a9028b1
DL
37170 * io/ftwtest-sh: Add copyright header.
37171 * posix/globtest.sh: Likewise.
37172 * posix/tst-getconf.sh: Likewise.
37173 * posix/wordexp-tst.sh: Likewise.
37174 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37175
ced6f16e
L
371762012-09-24 H.J. Lu <hongjiu.lu@intel.com>
37177
94b32c39
L
37178 [BZ #13679]
37179 * Makeconfig (+link): Defined as $(+link-static) if
37180 $(build-shared) isn't yes.
37181 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37182 isn't yes.
37183 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37184
189e935b
L
37185 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37186
ced6f16e
L
37187 [BZ #14562]
37188 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37189 new chunk size with MALLOC_ALIGN_MASK.
37190
a9f8e53a
JM
371912012-09-24 Joseph Myers <joseph@codesourcery.com>
37192
37193 [BZ #5044]
37194 * stdio-common/printf_fphex.c: Include <stdbool.h> and
37195 <rounding-mode.h>.
37196 (__printf_fphex): Determine rounding using get_rounding_mode and
37197 round_away.
37198 * stdio-common/tst-printf-round.c (struct hex_test): New
37199 structure.
37200 (hex_tests): New variable.
37201 (test_hex_in_one_mode): New function.
37202 (do_test): Also run tests for hex float output.
37203
43153109
JM
372042012-09-21 Joseph Myers <joseph@codesourcery.com>
37205
37206 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37207 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37208 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37209 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37210 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37211 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37212 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37213 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37214
8a26625d
JM
372152012-09-20 Joseph Myers <joseph@codesourcery.com>
37216
37217 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37218 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37219 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37220 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37221
f3fd569c
DL
372222012-09-19 Dmitry V. Levin <ldv@altlinux.org>
37223
37224 [BZ #14579]
37225 * elf/rtld.c (dl_main): Limit the check for self loading to normal
37226 mode only.
37227 * elf/tst-rtld-load-self.sh: New test.
37228 * elf/Makefile: Run it.
37229
63bbedd4
JM
372302012-09-18 Joseph Myers <joseph@codesourcery.com>
37231
37232 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37233 (tst-writev-ENV): Remove.
37234 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37235
626f8b6a
CM
372362012-09-17 Chris Metcalf <cmetcalf@tilera.com>
37237
37238 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37239
b7aaa4d6
JM
372402012-09-17 Joseph Myers <joseph@codesourcery.com>
37241
37242 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37243 unconditional.
37244 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37245 Likewise.
37246 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37247 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37248 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37249 Likewise.
37250
65513990
L
372512012-09-14 H.J. Lu <hongjiu.lu@intel.com>
37252
37253 [BZ #14587]
37254 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37255 * config.make.in (have-cpp-asm-debuginfo): Removed.
37256 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37257 * configure: Regenerated.
37258
784761be
JM
372592012-09-14 Joseph Myers <joseph@codesourcery.com>
37260
37261 [BZ #5044]
37262 * stdio-common/printf_fp.c: Include <stdbool.h> and
37263 <rounding-mode.h>.
37264 (___printf_fp): Determine rounding using get_rounding_mode and
37265 round_away.
37266 * stdio-common/tst-printf-round.c: New file.
37267 * stdio-common/Makefile (tests): Add tst-printf-round.
37268 (link-libm): New variable.
37269 ($(objpfx)tst-printf-round): Depend in $(link-libm).
37270
9503345f
L
372712012-09-13 H.J. Lu <hongjiu.lu@intel.com>
37272
37273 [BZ #14576]
37274 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37275 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37276 Likewise.
37277 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37278 Likewise.
37279
ad35fc00
JM
372802012-09-13 Joseph Myers <joseph@codesourcery.com>
37281
37282 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37283 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37284 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37285 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37286
6c9b0f68
JM
372872012-09-12 Joseph Myers <joseph@codesourcery.com>
37288
37289 [BZ #14518]
37290 * include/rounding-mode.h: New file.
37291 * sysdeps/generic/get-rounding-mode.h: Likewise.
37292 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37293 * stdlib/strtod_l.c: Include <rounding-mode.h>.
37294 (MAX_VALUE): New macro.
37295 (MIN_VALUE): Likewise.
37296 (overflow_value): New function.
37297 (underflow_value): Likewise.
37298 (round_and_return): Use overflow_value and underflow_value to
37299 determine return values in overflow and underflow cases. Use
37300 round_away to determine rounding depending on rounding mode.
37301 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37302 determine return values in overflow and underflow cases.
37303 * stdlib/tst-strtod-round.c: Include <fenv.h>.
37304 (struct test_results): New structure.
37305 (struct test): Use struct test_results to store expected results
37306 for all rounding modes.
37307 (TEST): Include expected results for all rounding modes.
37308 (test_in_one_mode): New function.
37309 (do_test): Use test_in_one_mode to compute and check results.
37310 Check results for all rounding modes.
37311 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37312 $(link-libm).
37313
19fcedd5
AM
373142012-12-09 Allan McRae <allan@archlinux.org>
37315
1e9d84cd 37316 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 37317
8bbfd2f1
JM
373182012-09-11 Joseph Myers <joseph@codesourcery.com>
37319
37320 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37321 (_G_int32_t): Likewise.
37322 (_G_uint16_t): Likewise.
37323 (_G_uint32_t): Likewise.
37324 (_G_HAVE_BOOL): Likewise.
37325 (_G_HAVE_ATEXIT): Likewise.
37326 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37327 (_G_HAVE_IO_FILE_OPEN): Likewise.
37328 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37329 (_G_int32_t): Likewise.
37330 (_G_uint16_t): Likewise.
37331 (_G_uint32_t): Likewise.
37332 (_G_HAVE_BOOL): Likewise.
37333 (_G_HAVE_ATEXIT): Likewise.
37334 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37335 (_G_HAVE_IO_FILE_OPEN): Likewise.
37336 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37337 (_G_int32_t): Likewise.
37338 (_G_uint16_t): Likewise.
37339 (_G_uint32_t): Likewise.
37340 (_G_HAVE_BOOL): Likewise.
37341 (_G_HAVE_ATEXIT): Likewise.
37342 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37343 (_G_HAVE_IO_FILE_OPEN): Likewise.
37344
b1dc5912
L
373452012-09-11 H.J. Lu <hongjiu.lu@intel.com>
37346
37347 * csu/libc-tls.c: Update copyright years.
37348
0e886ef9
JM
373492012-09-10 Joseph Myers <joseph@codesourcery.com>
37350
28361c5e
JM
37351 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37352 [!_G_USING_THUNKS]: Remove conditional code.
37353 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37354 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37355
0e886ef9
JM
37356 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37357 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37358 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37359 (_G_VTABLE_LABEL_PREFIX): Likewise.
37360 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37361 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37362 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37363 (_G_VTABLE_LABEL_PREFIX): Likewise.
37364 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37365 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37366 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37367 (_G_VTABLE_LABEL_PREFIX): Likewise.
37368 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37369
bcba7aa2
L
373702012-09-10 H.J. Lu <hongjiu.lu@intel.com>
37371
37372 * libio/Makefile: Include ../Makeconfig before tests.
37373 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37374 only if $(build-shared) is yes.
37375
06585ee8
L
37376 * iconv/gconv_db.c: Update copyright years.
37377
80ccd52c
LD
373782012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37379
37380 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37381 unwind info if defined PIC. Fix special cases description.
37382 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37383
37384 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37385 DP_HI_MASK entry.
37386 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37387
691bc9c1
L
373882012-09-07 H.J. Lu <hongjiu.lu@intel.com>
37389
3d9b46b3
L
37390 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37391
de2139a9
L
37392 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37393 is NULL.
37394
5ca78dd0
L
37395 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37396 (LDLIBS-tst-chk4): This.
37397 (LDFLAGS-tst-chk5): Renamed to ...
37398 (LDLIBS-tst-chk5): This.
37399 (LDFLAGS-tst-chk6): Renamed to ...
37400 (LDLIBS-tst-chk6): This.
37401 (LDFLAGS-tst-lfschk4): Renamed to ...
37402 (LDLIBS-tst-lfschk4): This.
37403 (LDFLAGS-tst-lfschk5): Renamed to ...
37404 (LDLIBS-tst-lfschk5): This.
37405 (LDFLAGS-tst-lfschk6): Renamed to ...
37406 (LDLIBS-tst-lfschk6): This.
37407
691bc9c1
L
37408 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37409 on $(common-objpfx)soversions.mk.
37410
65cafb1c
JM
374112012-09-07 Joseph Myers <joseph@codesourcery.com>
37412
37413 [BZ #10014]
37414 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37415 example host name.
37416
c78ab094
SP
374172012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
37418
37419 * malloc/arena.c (arena_get_retry): New function that gets
37420 another arena for the caller to try its request on.
37421 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37422 current arena cannot fulfill the request.
37423 (__libc_memalign): Likewise.
37424 (__libc_memalign): Likewise.
37425 (__libc_pvalloc): Likewise.
37426 (__libc_calloc): Likewise.
37427
01f49f59
JT
374282012-09-05 John Tobey <john.tobey@gmail.com>
37429
37430 [BZ #13542]
37431 * manual/arith.texi (Operations on Complex): Fix description
37432 of carg branch cut.
37433
4c23fed5
JM
374342012-09-06 Joseph Myers <joseph@codesourcery.com>
37435
1d3c8572
JM
37436 [BZ #10014]
37437 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37438 host name.
37439
4c23fed5
JM
37440 [BZ #10038]
37441 * manual/memory.texi (Memory): Make order of menu items match
37442 order of sections.
37443
04570aaa
L
374442012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37445
37446 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37447 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
37448 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37449
b80af2f4
L
374502012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37451
37452 * csu/libc-tls.c (static_dtv): Renamed to ...
37453 (_dl_static_dtv): This. Make it global.
37454 (_dl_initial_dtv): Removed.
37455 (__libc_setup_tls): Updated.
37456 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37457 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37458 DL_INITIAL_DTV.
37459
2abe9f15
PM
374602012-09-06 Petr Machata <pmachata@redhat.com>
37461
37462 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37463 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37464 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37465 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37466
0948c3af
L
374672012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37468
37469 [BZ #14545]
37470 * csu/libc-tls.c (_dl_initial_dtv): New variable.
37471 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37472 freeing dtv[-1].
37473
a5055ad1
L
374742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
37475
37476 [BZ #14544]
37477 * Makeconfig (link-static-before-libc): Replace $(+prector)
37478 with $(+prectorT).
37479 (link-static-after-libc): Replace $(+postctor) with
37480 $(+postctorT).
37481 (link-bounded): Replace $(+prector)/$(+postctor) with
37482 $(+prectorT)/$(+postctorT).
37483 (+prectorT): New macro.
37484 (+postctorT): Likewise.
37485
ed8c2ecd
JM
374862012-09-06 Joseph Myers <joseph@codesourcery.com>
37487
37488 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37489 (round_str): Handle values above the maximum for IBM long double
37490 as inexact.
37491 * stdlib/tst-strtod-round.c (tests): Regenerated.
37492
14c996c8
AK
374932012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37494
37495 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37496 assembler flag.
37497 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37498 zarch_nohighgprs around the zarch optimized routines.
37499 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37500 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37501 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37502 for zarch.
37503
430d6ce6
DM
375042012-09-05 David S. Miller <davem@davemloft.net>
37505
37506 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37507
57f41c40
AS
37508 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37509 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
ff04dda4
DM
37510 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37511 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37512 entries.
37513
24d4e01b
AO
375142012-09-05 Alexandre Oliva <aoliva@redhat.com>
37515
37516 * malloc/arena.c: Fold copyright years.
37517 * malloc/mcheck.c, malloc/memusage.c: Likewise.
37518
61d58174
AO
375192012-09-05 Alexandre Oliva <aoliva@redhat.com>
37520
37521 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37522
20196a5e
AO
375232012-09-05 Alexandre Oliva <aoliva@redhat.com>
37524
37525 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
37526
5c447383
AO
375272012-09-05 Alexandre Oliva <aoliva@redhat.com>
37528
37529 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37530 change internal state upon failure.
37531
fad64255
AO
375322012-09-05 Alexandre Oliva <aoliva@redhat.com>
37533
37534 * malloc/mcheck.c (mcheck_check_all): Fix typo.
37535 * malloc/memusage.c (mmap): Likewise.
37536 (mmap64, mremap): Likewise. Adjust name in comment.
37537
1ffb8c90
SP
375382012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37539
37540 * libio/fileops.c: Fix typos in comments.
37541 * libio/oldfileops.c: Likewise.
37542 * libio/wfileops.c: Likewise.
37543
6ef9cc37
SP
375442012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
37545
37546 [BZ #1349]
37547 * malloc/Makefile (tests): Add tst-malloc-usable test case.
37548 (tst-malloc-usable-ENV): Set environment for test case.
37549 * malloc/hooks.c (malloc_check_get_size): New function to get
37550 requested size.
37551 * malloc/malloc.c (musable): Use malloc_check_get_size.
37552 * malloc/tst-malloc-usable.c: New test case.
37553
4d038ae3
AS
375542012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37555
37556 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37557
c4e85184
AM
375582012-09-05 Allan McRae <allan@archlinux.org>
37559
b9dafc56 37560 [BZ #13966]
c4e85184
AM
37561 * configure.in (CXX_SYSINCLUDES): Use compiler output to
37562 determine header location.
37563 * configure: Regenerated.
37564
e1343020
AS
375652012-09-05 Andreas Schwab <schwab@linux-m68k.org>
37566
37567 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37568 float format.
37569 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
37570 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37571 format.
e1343020
AS
37572 (test): Regenerate.
37573
0a9f1987
DM
375742012-09-04 David S. Miller <davem@davemloft.net>
37575
37576 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37577 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37578 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37579
29237804
FW
375802012-09-04 Florian Weimer <fweimer@redhat.com>
37581
37582 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37583 failures.
37584
edb3cb88
FW
37585 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37586
60160d83
JM
375872012-09-04 Joseph Myers <joseph@codesourcery.com>
37588
37589 [BZ #9914]
37590 * libio/iogetdelim.c: Include <limits.h>.
37591 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37592 + len + 1 would overflow.
37593
bcd6c8dc
AJ
375942012-09-03 Andreas Jaeger <aj@suse.de>
37595
37596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37597 * sysdeps/i386/fpu/libm-test-ulps: Update.
37598
4ffffbd2
LD
375992012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37600
37601 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37602 Add s_sinf-sse2, s_conf-sse2.
37603
37604 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37605 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37606 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37607 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37608
37609 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37610 for using routine as __sinf_ia32.
37611 Use macro for function declaration and weak_alias.
37612 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37613 for using routine as __cosf_ia32.
37614 Use macro for function declaration and weak_alias.
37615
37616 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37617 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37618
37619 * sysdeps/x86_64/fpu/s_sinf.S: New file.
37620 * sysdeps/x86_64/fpu/s_cosf.S: New file.
37621 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37622
37623 * math/libm-test.inc (cos_test): Add more test cases.
37624 (sin_test): Likewise.
37625 (sincos_test): Likewise.
37626
511fa286
AK
376272012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37628
37629 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37630 (IFUNC_RESOLVE): Make pointers to the specialized implementations
37631 hidden.
37632 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37633
5f30cfec
L
376342012-09-02 H.J. Lu <hongjiu.lu@intel.com>
37635
37636 [BZ #14538]
37637 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37638 first element of the GOT.
37639 (elf_machine_load_address): Return the difference between
37640 the runtime address of _DYNAMIC and elf_machine_dynamic ().
37641
0786794f
AM
376422012-09-01 Allan McRae <allan@archlinux.org>
37643
5f30cfec
L
37644 [BZ #13412]
37645 * configure.in (AWK): Require gawk version 3.0 or later.
37646 * configure: Regenerated.
0786794f 37647
26889eac
JM
376482012-09-01 Joseph Myers <joseph@codesourcery.com>
37649
37650 * sysdeps/unix/sysv/linux/kernel-features.h
37651 (__ASSUME_POSIX_CPU_TIMERS): Remove.
37652 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37653 [__NR_clock_getres]: Make code unconditional.
37654 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37655 (clock_getcpuclockid): Remove code left unreachable by removal of
37656 conditionals.
37657 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37658 code unconditional.
37659 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37660 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37661 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37662 Make code unconditional.
37663 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37664 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37665 * sysdeps/unix/sysv/linux/clock_settime.c
37666 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37667 conditional code.
37668 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37669 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37670
d22e28b0
L
376712012-08-29 H.J. Lu <hongjiu.lu@intel.com>
37672
37673 [BZ #14476]
37674 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37675 scripts/test-installation.pl.
37676
37677 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37678 and $ld_so_version if it is set.
37679
050af9c4
SP
376802012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
37681
37682 [BZ #14516]
37683 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37684 failure if reading from procfs failed.
37685 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37686
ad845c0b
JM
376872012-08-27 Joseph Myers <joseph@codesourcery.com>
37688
37689 * sysdeps/unix/sysv/linux/kernel-features.h
37690 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37691 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37692 Remove conditional code.
37693 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37694 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37695 Remove conditional code.
37696 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37697 * sysdeps/unix/sysv/linux/i386/fxstat.c
37698 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37699 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37700 * sysdeps/unix/sysv/linux/i386/fxstatat.c
37701 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37702 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37703 * sysdeps/unix/sysv/linux/i386/lxstat.c
37704 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37705 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37706 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37707 Remove conditional code.
37708 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37709 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37710 Remove conditional code.
37711 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37712 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37713 <kernel-features.h>.
37714 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37715 Remove.
37716 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37717 Remove conditional code.
37718 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37719 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37720 Remove conditional.
37721
5dbf56af
MF
377222012-08-27 Mike Frysinger <vapier@gentoo.org>
37723
37724 [BZ #5400]
37725 * NEWS: Add fixed bug number.
37726
d6e70f43
JM
377272012-08-27 Joseph Myers <joseph@codesourcery.com>
37728
7efb4737
JM
37729 [BZ #14519]
37730 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37731 underflowing exponent in case of negative sign.
37732 * stdlib/tst-strtod-round-data: Add more tests.
37733 * stdlib/tst-strtod-round.c (tests): Regenerated.
37734
af92131a
JM
37735 [BZ #3479]
37736 * stdlib/strtod_l.c (NDIG): Remove.
37737 (HEXNDIG): Likewise.
37738 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37739 smallest representable value.
37740 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37741 lie within an exact representation of 1/2 ulp of the result.
37742 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37743 unconditionally.
37744 (TENS_P9_IDX): Define unconditionally.
37745 (TENS_P9_SIZE): Likewise.
37746 (TENS_P10_IDX): Likewise.
37747 (TENS_P10_SIZE): Likewise.
37748 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37749 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37750 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37751 entries for 10^2^13 and 10^2^14.
37752 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37753 (TENS_P13_IDX): Define.
37754 (TENS_P13_SIZE): Likewise.
37755 (TENS_P14_IDX): Likewise.
37756 (TENS_P14_SIZE): Likewise.
37757 (_fpioconst_pow10): Change array size to
37758 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
37759 unconditional.
37760 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37761 1024]: Add entries for 10^2^13 and 10^2^14.
37762 [LAST_POW10 > _LAST_POW10]: Remove #error.
37763 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37764 (_fpioconst_pow10): Change array size to
37765 FPIOCONST_POW10_ARRAY_SIZE.
37766 * stdlib/gen-fpioconst.c: New file.
37767 * stdlib/gen-tst-strtod-round.c: Likewise.
37768 * stdlib/tst-strtod-round-data: Likewise.
37769 * stdlib/tst-strtod-round.c: Likewise.
37770 * stdlib/Makefile (tests): Add tst-strtod-round.
37771
d6e70f43
JM
37772 [BZ #14459]
37773 * stdlib/strtod_l.c: Include <stdint.h>.
37774 (NDEBUG): Do not define.
37775 (round_and_return): Change EXPONENT parameter to type intmax_t.
37776 Rearrange calculations to avoid internal overflow possibilities.
37777 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37778 Rearrange calculations to avoid internal overflow possibilities.
37779 Assert that number fits inside MPNSIZE limbs.
37780 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37781 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
37782 calculations and add assertions to avoid internal overflow
37783 possibilities. Add casts to avoid signed/unsigned operations.
37784 * stdlib/tst-strtod-overflow.c: New file.
37785 * stdlib/Makefile (tests): Add tst-strtod-overflow.
37786
1f529f7d
MP
377872012-08-25 Marek Polacek <polacek@redhat.com>
37788
37789 * time/time.h: Fix some typos in comments.
37790
59a629f1
RM
377912012-08-23 Roland McGrath <roland@hack.frob.com>
37792
37793 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37794 * posix/tst-rfc3484-2.c: Likewise.
37795 * posix/tst-rfc3484-3.c: Likewise.
37796
d3bafbc9
SM
377972012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
37798
37799 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37800 (EF_ARM_ABI_FLOAT_HARD): Likewise.
37801
4efcc022
JM
378022012-08-23 Joseph Myers <joseph@codesourcery.com>
37803
37804 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37805 #include of fxstatat64.c.
37806
3cc3ef96
RM
378072012-08-22 Roland McGrath <roland@hack.frob.com>
37808
f04e2132
RM
37809 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37810 * shadow/getspent_r.c: Likewise.
37811 * shadow/getspnam.c: Likewise.
37812 * shadow/getspnam_r.c: Likewise.
37813 * gshadow/getsgent.c: Likewise.
37814 * gshadow/getsgent_r.c: Likewise.
37815 * gshadow/getsgnam.c: Likewise.
37816 * gshadow/getsgnam_r.c: Likewise.
37817 * inet/getnetbyad.c: Likewise.
37818 * inet/getnetbyad_r.c: Likewise.
37819 * inet/getnetbynm.c: Likewise.
37820 * inet/getnetbynm_r.c: Likewise.
37821 * inet/getnetent.c: Likewise.
37822 * inet/getnetent_r.c: Likewise.
37823 * inet/getproto.c: Likewise.
37824 * inet/getproto_r.c: Likewise.
37825 * inet/getprtent.c: Likewise.
37826 * inet/getprtent_r.c: Likewise.
37827 * inet/getprtname.c: Likewise.
37828 * inet/getprtname_r.c: Likewise.
37829 * inet/getrpcbyname.c: Likewise.
37830 * inet/getrpcbyname_r.c: Likewise.
37831 * inet/getrpcbynumber.c: Likewise.
37832 * inet/getrpcbynumber_r.c: Likewise.
37833 * inet/getrpcent.c: Likewise.
37834 * inet/getrpcent_r.c: Likewise.
37835 * inet/getaliasent.c: Likewise.
37836 * inet/getaliasent_r.c: Likewise.
37837 * inet/getaliasname.c: Likewise.
37838 * inet/getaliasname_r.c: Likewise.
37839 * nscd/getgrgid_r.c: Likewise.
37840 * nscd/getgrnam_r.c: Likewise.
37841 * nscd/gethstbyad_r.c: Likewise.
37842 * nscd/gethstbynm3_r.c: Likewise.
37843 * nscd/getpwnam_r.c: Likewise.
37844 * nscd/getpwuid_r.c: Likewise.
37845 * nscd/getsrvbynm_r.c: Likewise.
37846 * nscd/getsrvbypt_r.c: Likewise.
37847 * nscd/gai.c: Likewise.
37848
c53d909c
RM
37849 * configure.in (build_nscd): New substituted variable, set
37850 by --disable-build-nscd and defaults to $use_nscd.
37851 * configure: Regenerated.
37852 * config.make.in (build-nscd): New substituted variable.
37853 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37854 Change conditional to require [$(build-nscd) = yes] as well.
37855 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37856
3cc3ef96
RM
37857 [BZ# 13696]
37858 * configure.in (use_nscd): New substituted variable, set by
37859 --disable-nscd. If enabled, define USE_NSCD.
37860 * configure: Regenerated.
37861 * config.h.in: Add USE_NSCD.
37862 * config.make.in (use-nscd): New substituted variable.
37863 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37864 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37865 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37866 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37867 (CFLAGS-getgrnam_r.c): Likewise.
37868 (CFLAGS-initgroups.c): Likewise.
37869 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37870 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37871 Variables removed.
37872 * inet/getnetgrent_r.c
37873 (nscd_setnetgrent): New function, broken out of ...
37874 (setnetgrent): ... here. Call it.
37875 (innetgr): Conditionalize nscd bits on [USE_NSCD].
37876 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37877 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37878 * nscd/Makefile (routines, aux): Move definitions after include of
37879 Makeconfig. Conditionalize on [$(use-nscd) != no].
37880 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37881 Conditionalize on [USE_NSCD].
37882 (is_nscd, nscd_init_cb): Likewise.
37883 (nss_load_library): Conditionalize init callback on [USE_NSCD].
37884 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37885 * nss/nss_db/db-init.c: Likewise.
37886 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37887 [USE_NSCD].
37888 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37889 (make_request): Use it.
37890 (cache_valid_p): New function.
37891 (__check_pf): Use it.
37892 * NEWS: Add item for --disable-nscd.
37893
07e51550
DL
378942012-08-22 Dmitry V. Levin <ldv@altlinux.org>
37895
37896 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37897 to support sed >= 4.2.1-20-ga9bf076.
37898 * configure: Regenerated.
37899
35a5b08b
RM
379002012-08-22 Roland McGrath <roland@hack.frob.com>
37901
37902 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37903 Conditionalize whole body on [IREL].
37904
8479f23a
JL
379052012-08-22 Jeff Law <law@redhat.com>
37906
37907 [BZ #14505]
37908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37909 if the family is PF_UNSPEC.
37910
48da0b21
MF
379112012-08-22 Mike Frysinger <vapier@gentoo.org>
37912
37913 * Makerules (lib-version): Rename from V.
37914 (install-lib-nosubdir): Change V to lib-version.
37915
15d0da8c
WS
379162012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
37917
37918 [BZ #14252]
37919 * powerpc32/power6/wcschr.c: New file.
37920 * powerpc32/power6/wcscpy.c: New file.
37921 * powerpc32/power6/wcsrchr.c: New file.
37922 * powerpc64/power6/wcschr.c: New file.
37923 * powerpc64/power6/wcscpy.c: New file.
37924 * powerpc64/power6/wcsrchr.c: New file.
37925
bcca0895
MK
379262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37927
37928 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37929 (two_way_short_needle): Use it.
5a4aaa33
RM
37930 * string/strstr.c (AVAILABLE1_USES_J): Define.
37931 * string/strcasestr.c: Likewise.
99677e57
MK
37932
37933 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37934 array references.
37935 * string/strcasestr.c (TOLOWER): Make side-effect safe.
37936
400726de
MK
37937 [BZ #11607]
37938 * NEWS: Add an entry.
37939 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37940 define their defaults.
37941 (two_way_short_needle): Detect end-of-string on-the-fly.
37942 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37943 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37944 * string/bug-strcasestr1.c: New test.
37945 * string/Makefile: Run it.
37946
20a71f2c
MK
379472012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
37948
37949 [BZ #11607]
37950 * string/str-two-way.h (two_way_short_needle): Optimize matching of
37951 the first character.
37952
21ad0558
RM
379532012-08-21 Roland McGrath <roland@hack.frob.com>
37954
37955 * csu/elf-init.c (__libc_csu_irel): Function removed.
37956 * csu/libc-start.c (apply_irel): New function.
37957 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37958
0e1d9911
JM
379592012-08-21 Joseph Myers <joseph@codesourcery.com>
37960
37961 * sysdeps/unix/sysv/linux/kernel-features.h
37962 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37963 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37964 <kernel-features.h>.
37965 [__NR_fadvise64_64]: Make code unconditional.
37966 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37967 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37968 !__NR_fadvise64_64)]: Likewise.
37969 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37970 !__NR_fadvise64_64))]: Likewise.
37971 [__NR_fadvise64]: Make code unconditional.
37972 [!__NR_fadvise64]: Remove conditional code.
37973 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37974 <kernel-features.h>.
37975 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37976 unconditional.
37977 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37978 conditional code.
37979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37980 not include <kernel-features.h>.
37981 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37982 unconditional.
37983 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37984 conditional code.
37985 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37986 include <kernel-features.h>.
37987 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37988 unconditional.
37989 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37990 conditional code.
37991
14a50c9d
WS
379922012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
37993
37994 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37995 slight instruction rearrangements per scrollpipe analysis.
37996 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37997
c0f4faf0
RM
379982012-08-20 Roland McGrath <roland@hack.frob.com>
37999
696da859
RM
38000 * manual/syslog.texi (syslog; vsyslog, closelog):
38001 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38002 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38003
c0f4faf0
RM
38004 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38005 DSOCAPS to match condition on defining it.
38006
348363b2
JM
380072012-08-20 Joseph Myers <joseph@codesourcery.com>
38008
a35cbf28
JM
38009 * sysdeps/unix/sysv/linux/kernel-features.h
38010 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38012 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38013 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38015 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38016 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38018 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38019 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38020
445f7ecd
JM
38021 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38022 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38023
348363b2
JM
38024 * sysdeps/unix/sysv/linux/kernel-features.h
38025 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38026 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38027 unconditional.
38028 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38029 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38030 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38031 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38032 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38033 Make code unconditional.
38034 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38035 (__mmap64) [!__NR_mmap2]: Likewise.
38036 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38037 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38038 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38039 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38040 [__NR_mmap2]: Make code unconditional.
38041 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38042 (__mmap64) [!__NR_mmap2]: Likewise.
38043
bc5bc0e5
AK
380442012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38045
38046 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38047
88d506de
AJ
380482012-08-18 Andreas Jaeger <aj@suse.de>
38049
38050 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38051
493387d2
MF
380522012-08-18 Mike Frysinger <vapier@gentoo.org>
38053
38054 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38055 * include/unistd.h (__have_sock_cloexec): Likewise.
38056 (__have_pipe2): Likewise.
38057 (__have_dup3): Likewise.
38058
a277af22
MF
380592012-08-18 Mike Frysinger <vapier@gentoo.org>
38060
38061 [BZ #9685]
38062 * include/unistd.h (__have_pipe2): Change define into an extern int.
38063 (__have_dup3): Likewise.
38064 * socket/have_sock_cloexec.c: Include fcntl.h.
38065 (__have_pipe2): New variable.
38066 (__have_dup3): Likewise.
38067
fdab8fd3
MF
380682012-08-17 Mike Frysinger <vapier@gentoo.org>
38069
38070 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38071
31035e80
MP
380722012-08-17 Marek Polacek <polacek@redhat.com>
38073
38074 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38075 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38076
3bd9e993
RM
380772012-08-17 Roland McGrath <roland@hack.frob.com>
38078
c91c505f
RM
38079 * configure.in: Add AC_SUBST for sysheaders.
38080 * configure: Regenerated.
38081 * config.make.in (sysheaders): New substituted variable.
38082
7c6f9d53
RM
38083 * sysdeps/unix/mkfifo.c: Moved ...
38084 * sysdeps/posix/mkfifo.c: ... here.
38085 * sysdeps/unix/mkfifoat.c: Moved ...
38086 * sysdeps/posix/mkfifoat.c: ... here.
38087
38088 * sysdeps/unix/utime.c: Moved ...
38089 * sysdeps/posix/utime.c: ... here.
38090
38091 * sysdeps/unix/time.c: Moved ...
38092 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
38093 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38094 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
38095
38096 * sysdeps/unix/nice.c: Moved ...
38097 * sysdeps/posix/nice.c: ... here.
38098
38099 * sysdeps/unix/alarm.c: Moved ...
38100 * sysdeps/posix/alarm.c: ... here.
38101
3bd9e993
RM
38102 * intl/Makefile ($(codeset_mo)): Depend on the input file.
38103
d1f09384
JL
381042012-08-17 Jeff Law <law@redhat.com>
38105
38106 * intl/Makefile (codeset_mo): New variable.
38107 ($(codeset_mo)): New target.
38108 (tst-codeset.out): Depend on that. Remove explicit rule.
38109 (tst-gettext3.out, tst-gettext5.out): Likewise.
38110 (LOCPATH-ENV, tst-codeset-ENV): New variables.
38111 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38112 * intl/tst-codeset.sh: Remove.
38113 * intl/tst-gettext3.sh: Likewise.
38114 * intl/tst-gettext5.sh: Likewise.
38115
2ae1ae5c
RM
381162012-08-17 Roland McGrath <roland@hack.frob.com>
38117
c31fdb83
RM
38118 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
38119 * sysdeps/unix/syscalls.list: ... here.
38120
a0844057
RM
38121 * sysdeps/posix/getaddrinfo.c
38122 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38123 (gaiconf_init, gaiconf_reload): Use them.
38124 [!_STATBUF_ST_NSEC]
38125 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38126 Define using time_t rather than struct timespec.
38127
750c1f2a
RM
38128 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38129 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38130 Macros removed.
38131 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38132 [!NO_THREADS].
38133 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38134 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38135 Likewise.
38136
2ae1ae5c
RM
38137 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38138 __libc_cleanup_push argument.
38139
e66a42f5
RM
38140 * bits/param.h: New file.
38141 * misc/sys/param.h: New file.
38142 * include/sys/param.h: New file.
38143 * misc/Makefile (headers): Add bits/param.h.
38144 * sysdeps/generic/sys/param.h: File removed.
38145 * sysdeps/unix/sysv/linux/bits/param.h: New file.
38146 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38147 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 38148 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 38149
b7c08a66
RM
38150 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38151 last change.
38152
b2e1c562
RM
38153 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38154 [_IO_MTSAFE_IO].
38155 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38156 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38157 New macros.
38158
c75ccd4c
RM
38159 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38160 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38161 rather than -D_IO_MTSAFE_IO conditionally.
38162 * stdio-common/Makefile (CPPFLAGS): Likewise.
38163 * wcsmbs/Makefile (CPPFLAGS): Likewise.
38164 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38165 Use $(libio-mtsafe).
38166 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38167 of -D_IO_MTSAFE_IO.
38168 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38169 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38170 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38171 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38172 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38173 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38174 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38175 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38176 (CFLAGS-fread_u_chk.c): Likewise.
38177 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38178 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38179 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38180 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38181 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38182 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38183 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38184 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38185 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38186
38187 * libio/Makefile: Test [$(libc-reentrant) = yes]
38188 instead of [$(filter %REENTRANT, $(defines)) nonempty].
38189
38190 * Makeconfig
38191 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38192 * sysdeps/pthread/configure: File removed.
38193 * sysdeps/pthread/Makeconfig: New file.
38194 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38195 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38196
d9195db8
GB
381972012-08-16 Gary Benson <gbenson@redhat.com>
38198
38199 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38200 unmapping the first object in a namespace.
38201
86466cd9
RM
382022012-08-16 Roland McGrath <roland@hack.frob.com>
38203
38204 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38205 (__internal_setnetgrent): ... this. Add internal_function to
38206 definition. Add libc_hidden_def.
38207 (setnetgrent): Update caller.
38208 (internal_endnetgrent): Renamed to ...
38209 (__internal_endnetgrent): ... this. Add internal_function to
38210 definition. Add libc_hidden_def.
38211 (endnetgrent): Update caller.
38212 (internal_getnetgrent_r): Renamed to ...
38213 (__internal_getnetgrent_r): ... this. Add internal_function to
38214 definition. Add libc_hidden_def.
38215 (__getnetgrent_r): Update caller.
38216 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
38217
c3c8283c
JM
382182012-08-16 Joseph Myers <joseph@codesourcery.com>
38219
38220 * stdlib/longlong.h: Update from GCC.
38221
db1ee0a8
RM
382222012-08-16 Roland McGrath <roland@hack.frob.com>
38223
38224 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38225 on _QL, which is set by umul_ppmm but never used.
38226 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38227 variables, which are set by GMP macros but never used.
38228 * stdio-common/_itowa.c (_itowa): Likewise.
38229 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38230 * stdlib/mod_1.c (mpn_mod_1): Likewise.
38231
30f69637
CD
382322012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
38233
38234 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38235 struct La_sh_regs is not constant.
38236 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38237 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38238 and struct La_sparc64_regs are not constant.
38239
93a78ac4
JM
382402012-08-16 Joseph Myers <joseph@codesourcery.com>
38241
38242 * sysdeps/unix/sysv/linux/kernel-features.h
38243 (__ASSUME_POSIX_TIMERS): Remove.
38244 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38245 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38246 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38247 Make code unconditional.
38248 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38249 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38250 Make code unconditional.
38251 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38252 * sysdeps/unix/sysv/linux/clock_nanosleep.c
38253 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38254 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38255 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38256 Make code unconditional.
38257 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38258 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38259 (__libc_missing_posix_timers): Remove.
38260
dd924cd7
RM
382612012-08-15 Roland McGrath <roland@hack.frob.com>
38262
4b4f2771
RM
38263 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38264 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38265
601c888b
RM
38266 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38267
176790a7
RM
38268 * elf/dl-sym.c: Include <stdlib.h>.
38269
329bc018
RM
38270 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38271 constants, which avoids warnings in 32-bit builds.
38272
e04e272d
RM
38273 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38274 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38275
952bf94a
RM
38276 * misc/lseek.c: File moved to ...
38277 * io/lseek.c: ... here.
38278
7c99b50a
RM
38279 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38280
dd924cd7
RM
38281 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38282 shifting LEN more than 31 bits at once.
38283
b3f479a8
LD
382842012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38285
38286 [BZ #14195]
8c4ae0d4
RM
38287 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38288 segmentation fault for a case of two empty input strings.
b3f479a8
LD
38289 * string/test-strncasecmp.c (check1): Renamed to...
38290 (bz12205): ...this.
38291 (bz14195): Add new testcase for two empty input strings and N > 0.
38292 (test_main): Call new testcase, adapt for renamed function.
38293
9c55864e
AJ
382942012-08-15 Andreas Jaeger <aj@suse.de>
38295
38296 [BZ #14090]
38297 * crypt/md5test2.c: New test, based on test supplied by Serge
38298 Belyshev <belyshev@depni.sinp.msu.ru>.
38299 * crypt/Makefile (xtests): Add md5test-giant..
38300 * crypt/Makefile ($(objpfx)md5test-giant): Add.
38301
02dcb6c5
PE
383022012-08-15 Paul Eggert <eggert@cs.ucla.edu>
38303
38304 [BZ #14090]
38305 * crypt/md5.c (md5_process_block): Don't assume the buffer
38306 length is less than 2**32.
38307 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38308 length is less than 2**64.
38309
a3f95dcc
RM
383102012-08-15 Roland McGrath <roland@hack.frob.com>
38311
be75d758
RM
38312 * string/str-two-way.h: Include <sys/param.h>.
38313 (MAX): Macro removed.
38314
7312ca90
RM
38315 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38316 Move #define and #undef of memmove to just before and after
38317 including <string.h>.
38318
9a0a5486
RM
38319 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38320 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38321 and after including <string.h>. Move declarations of
38322 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38323 to before #include "string/memmove.c".
38324
67cc348d
RM
38325 * include/dirent.h: Declare __getdirentries.
38326
a3f95dcc
RM
38327 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38328 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38329
ca98e171
MF
383302012-08-14 Mike Frysinger <vapier@gentoo.org>
38331
38332 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38333 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38334 * sysdeps/i386/configure: Regenerated.
38335 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38336 STABS_CURRENT_FILE, and STABS_FUN.
38337 (END): Remove call to STABS_FUN_END.
38338 (STABS_CURRENT_FILE1): Delete.
38339 (STABS_CURRENT_FILE): Likewise.
38340 (STABS_FUN): Likewise.
38341 (STABS_FUN_END): Likewise.
38342 (STABS_FUN2): Likewise.
38343 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38344 * sysdeps/x86_64/configure: Regenerated.
38345
5908bf46
RM
383462012-08-14 Roland McGrath <roland@hack.frob.com>
38347
38348 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 38349 * elf/dl-lookup.c: Likewise.
5908bf46 38350
f2c05b9e
JM
383512012-08-14 Joseph Myers <joseph@codesourcery.com>
38352
38353 * sysdeps/unix/sysv/linux/kernel-features.h
38354 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38355 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38356 unconditionally.
38357 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38358 unconditionally.
38359 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38360 condition on __ASSUME_CLONE_THREAD_FLAGS.
38361
e11f5155
AJ
383622012-08-14 Andreas Jaeger <aj@suse.de>
38363
38364 * sysdeps/i386/fpu/libm-test-ulps: Update.
38365
51a9ba86
MK
383662012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
38367
2fdd4f78
AJ
38368 * include/atomic.h (atomic_exchange_and_add): Split into ...
38369 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38370 New atomic macros.
51a9ba86 38371
ba6cba9e
MT
383722012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
38373
38374 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38375
42443a47
JL
383762012-08-13 Jeff Law <law@redhat.com>
38377
38378 * manual/stdio.texi (snprintf): Clarify handling of the trailing
38379 null byte in the output string.
38380
121dce05
JM
383812012-08-10 Joseph Myers <joseph@codesourcery.com>
38382
38383 * sysdeps/unix/sysv/linux/kernel-features.h
38384 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38385 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38386 (__ASSUME_ARG_MAX_STACK_BASED): Define.
38387 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38388 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38389 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
38390 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38391
bf51f568
JL
383922012-08-09 Jeff Law <law@redhat.com>
38393
38394 [BZ #13939]
38395 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38396 When avoid_arena is set, don't retry in the that arena. Pick the
38397 next one, whatever it might be.
38398 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38399 (arena_lock): Pass in new parameter to arena_get2.
38400 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38401 arena_get2.
38402 (__libc_malloc): Unify retrying after main arena failure with
38403 __libc_memalign version.
38404 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38405
f85fa270
L
384062012-08-09 H.J. Lu <hongjiu.lu@intel.com>
38407
38408 [BZ #14166]
38409 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38410 to __redirect_strstr.
38411 (__strstr_sse42): Use typeof __redirect_strstr.
38412 (__strstr_ia32): Likewise.
38413 (__libc_strstr): New prototype.
38414 (strstr): Renamed to ...
38415 (__libc_strstr): This.
38416 (strstr): New strong alias of __libc_strstr.
38417 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38418 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38419 __redirect_time.
38420 Include <time.h>.
38421 (__libc_time): New prototype.
38422 (time_ifunc): Replace time with __libc_time.
38423 (time): New strong alias and hidden definition of __libc_time.
38424 (__GI_time): Remove strong alias.
38425 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38426 Include <stddef.h>.
38427 (memmove): Redefined to __redirect_memmove.
38428 (__memmove_sse2): Use typeof __redirect_memmove.
38429 (__memmove_ssse3): Likewise.
38430 (__memmove_ssse3_back): Likewise.
38431 (__libc_memmove): New prototype.
38432 (memmove): Renamed to ...
38433 (__libc_memmove): This.
38434 (memmove): New strong alias of __libc_memmove.
38435
33b4a91e
MS
384362012-08-08 Mark Salter <msalter@redhat.com>
38437
38438 * elf/elf.h
38439 (R_MN10300_TLS_GD): Define.
38440 (R_MN10300_TLS_LD): Likewise.
38441 (R_MN10300_TLS_LDO): Likewise.
38442 (R_MN10300_TLS_GOTIE): Likewise.
38443 (R_MN10300_TLS_IE): Likewise.
38444 (R_MN10300_TLS_LE): Likewise.
38445 (R_MN10300_TLS_DTPMOD): Likewise.
38446 (R_MN10300_TLS_DTPOFF): Likewise.
38447 (R_MN10300_TLS_TPOFF): Likewise.
38448 (R_MN10300_SYM_DIFF): Likewise.
38449 (R_MN10300_ALIGN): Likewise.
38450 (R_MN10300_NUM): Update.
38451
b36137f1
JM
384522012-08-08 Joseph Myers <joseph@codesourcery.com>
38453
38454 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38455 Remove.
38456
cdd915fd
RM
384572012-08-08 Roland McGrath <roland@hack.frob.com>
38458
a2433aac
RM
38459 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38460
cdd915fd
RM
38461 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38462 sysdeps/unix -> sysdeps/posix move.
38463 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38464
bf9b740a
AM
384652012-08-07 Allan McRae <allan@archlinux.org>
38466
38467 [BZ #14303]
38468 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38469 (SUNOS_CPP): Likewise.
38470 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38471 not found.
38472 (open_input): Call CPP using execvp.
38473
93df14ee
JM
384742012-08-07 Joseph Myers <joseph@codesourcery.com>
38475
38476 * sysdeps/unix/sysv/linux/kernel-features.h
38477 (__ASSUME_PROT_GROWSUPDOWN): Remove.
38478 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38479 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38480 (__ASSUME_WAITID_SYSCALL): Likewise.
38481 * sysdeps/unix/sysv/linux/dl-execstack.c
38482 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38483 code unconditional.
38484 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38485 conditional code.
38486 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38487 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38488 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38489 code.
38490 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38491 unconditional.
38492 [__ASSUME_WAITID_SYSCALL]: Likewise.
38493 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38494
d34689de
RM
384952012-08-07 Roland McGrath <roland@hack.frob.com>
38496
a281decc
RM
38497 * sysdeps/unix/closedir.c: Renamed to ...
38498 * sysdeps/posix/closedir.c: ... here.
38499 * sysdeps/unix/dirfd.c: Renamed to ...
38500 * sysdeps/posix/dirfd.c: ... here.
38501 * sysdeps/unix/dirstream.h: Renamed to ...
38502 * sysdeps/posix/dirstream.h: ... here.
38503 * sysdeps/unix/fdopendir.c: Renamed to ...
38504 * sysdeps/posix/fdopendir.c: ... here.
38505 * sysdeps/unix/opendir.c: Renamed to ...
38506 * sysdeps/posix/opendir.c: ... here.
38507 * sysdeps/unix/readdir.c: Renamed to ...
38508 * sysdeps/posix/readdir.c: ... here.
38509 * sysdeps/unix/readdir_r.c: Renamed to ...
38510 * sysdeps/posix/readdir_r.c: ... here.
38511 * sysdeps/unix/rewinddir.c: Renamed to ...
38512 * sysdeps/posix/rewinddir.c: ... here.
38513 * sysdeps/unix/seekdir.c: Renamed to ...
38514 * sysdeps/posix/seekdir.c: ... here.
38515 * sysdeps/unix/telldir.c: Renamed to ...
38516 * sysdeps/posix/telldir.c: ... here.
38517 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38518 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38519 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38520 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38521
22895b47
RM
38522 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38523 * bits/fcntl.h: ... here.
38524
707a53b6
RM
38525 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38526 not 0.
38527 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38528 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38529 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38530 (struct flock): Move l_start, l_len to the beginning.
38531 Use __pid_t for l_pid.
38532 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38533 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38534 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38535 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38536 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38537 [__USE_LARGEFILE64] (struct flock64): New type.
38538 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38539
f0bd3e25
RM
38540 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38541 * bits/dirent.h: ... here.
38542
d34689de
RM
38543 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38544 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38545
6dad2c06
JM
385462012-08-07 Joseph Myers <joseph@codesourcery.com>
38547
38548 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38549 Change from 2.6.0 to 2.6.16.
38550 * sysdeps/unix/sysv/linux/configure: Regenerated.
38551 * sysdeps/unix/sysv/linux/kernel-features.h
38552 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38553 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38554 version.
38555 (__ASSUME_UTIMES): Likewise.
38556 (__ASSUME_CLONE_STOPPED): Remove.
38557 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38558 architectures, not kernel version.
38559 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38560 (__ASSUME_NO_CLONE_DETACHED): Likewise.
38561 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38562 (__ASSUME_WAITID_SYSCALL): Likewise.
38563 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38564 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38565 * README: State 2.6.16 as minimum Linux kernel version. Do not
38566 refer to older versions.
38567
03af9520
RM
385682012-08-06 Roland McGrath <roland@hack.frob.com>
38569
8e49df1d
RM
38570 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38571 Define alphasort64 as an alias.
38572 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38573 Define versionsort64 as an alias.
38574 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38575 Define scandir64 as an alias.
38576 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38577 Define scandirat64 as an alias.
38578 * dirent/alphasort64.c (alphasort64):
38579 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38580 * dirent/versionsort64.c: Likewise.
38581 * dirent/scandir64.c: Likewise.
38582 * dirent/scandirat64.c: Likewise.
38583 * sysdeps/wordsize-64/alphasort.c: File removed.
38584 * sysdeps/wordsize-64/alphasort64.c: File removed.
38585 * sysdeps/wordsize-64/scandir.c: File removed.
38586 * sysdeps/wordsize-64/scandir64.c: File removed.
38587 * sysdeps/wordsize-64/scandirat.c: File removed.
38588 * sysdeps/wordsize-64/scandirat64.c: File removed.
38589 * sysdeps/wordsize-64/versionsort.c: File removed.
38590 * sysdeps/wordsize-64/versionsort64.c: File removed.
38591 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38592 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38593 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38594 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38595 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38596 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38597 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38598 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38599
38600 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38601 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38602 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38603 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38604 [defined __arch64__ || defined __sparcv9]
38605 (__INO_T_MATCHES_INO64_T): New macro.
38606 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38607 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38608 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38609 * sysdeps/unix/sysv/linux/bits/dirent.h
38610 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38611 (_DIRENT_MATCHES_DIRENT64): New macro.
38612
03af9520
RM
38613 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38614 Define lockf64 as an alias.
38615 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38616 Define fseeko64 as an alias.
38617 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38618 Define ftello64 as an alias.
38619 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38620 Define _IO_fgetpos64 and fgetpos64 as aliases.
38621 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38622 Define _IO_fsetpos64 and fsetpos64 as aliases.
38623 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38624 Conditionalize body on this.
38625 * libio/fseeko64.c: Likewise.
38626 * libio/ftello64.c: Likewise.
38627 * libio/iofgetpos64.c: Likewise.
38628 * libio/iofsetpos64.c: Likewise.
38629 * sysdeps/wordsize-64/lockf.c: File removed.
38630 * sysdeps/wordsize-64/lockf64.c: File removed.
38631 * sysdeps/wordsize-64/fseeko.c: File removed.
38632 * sysdeps/wordsize-64/fseeko64.c: File removed.
38633 * sysdeps/wordsize-64/ftello.c: File removed.
38634 * sysdeps/wordsize-64/ftello64.c: File removed.
38635 * sysdeps/wordsize-64/iofgetpos.c: File removed.
38636 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38637 * sysdeps/wordsize-64/iofsetpos.c: File removed.
38638 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38639 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38640 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38641 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38642 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38643 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38644 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38645 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38646 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38647 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38648 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38649
38650 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38652 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38653 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38654 [defined __arch64__ || defined __sparcv9]
38655 (__OFF_T_MATCHES_OFF64_T): New macro.
38656 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38657 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38658 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38659 (__OFF_T_MATCHES_OFF64_T): New macro.
38660
c5757acd
L
386612012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38662
38663 * stdlib/secure-getenv.c (__secure_getenv): Replace
38664 GLIBC_2_16 with GLIBC_2_17.
38665
3a31811e
L
386662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
38667
38668 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38669 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38670
faa2bccb
DM
386712012-08-03 David S. Miller <davem@davemloft.net>
38672
38673 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38674
85fe1997
JM
386752012-08-03 Joseph Myers <joseph@codesourcery.com>
38676
38677 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38678 Remove.
38679 (__ASSUME_CORRECT_SI_PID): Likewise.
38680 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38681 (__ASSUME_TMPFS_NAME): Likewise.
38682 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38683 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38684 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38685 (HAVE_AUX_SECURE): Make definition unconditional.
38686 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38687 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38688
4f75b7a0
RM
386892012-08-03 Roland McGrath <roland@hack.frob.com>
38690
38691 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38692 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38693 * sysdeps/mach/hurd/eloop-threshold.h: New file.
38694 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38695 __eloop_threshold instead of SYMLOOP_MAX.
38696
38697 * sysdeps/generic/eloop-threshold.h: New file.
38698 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38699 of MAXSYMLINKS.
38700 * elf/chroot_canon.c (chroot_canon): Likewise.
38701
7aab07e4
JM
387022012-08-03 Joseph Myers <joseph@codesourcery.com>
38703
38704 [BZ #13717]
38705 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38706 Change to 2.6.0 everywhere.
38707 * sysdeps/unix/sysv/linux/configure: Regenerated.
38708 * sysdeps/unix/sysv/linux/kernel-features.h
38709 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38710 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38711 kernel versions.
38712 (__ASSUME_POSIX_TIMERS): Define unconditionally.
38713 (__ASSUME_FUTEX_REQUEUE): Remove.
38714 (__ASSUME_STATFS64): Define unconditionally.
38715 (__ASSUME_AT_SECURE): Likewise.
38716 (__ASSUME_CORRECT_SI_PID): Likewise.
38717 (__ASSUME_TGKILL): Define without depending on kernel version for
38718 i386.
38719 (__ASSUME_UTIMES): Likewise.
38720 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38721 kernel version.
38722 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38723 (__ASSUME_TMPFS_NAME): Likewise.
38724 * README: Update reference to Linux kernel versions.
38725
b67e9372
MP
387262012-08-02 Marek Polacek <polacek@redhat.com>
38727
1f529f7d 38728 [BZ# 14150]
b67e9372
MP
38729 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
38730 libc_cv_asm_type_prefix with %.
38731 * configure: Regenerated.
d2441631
RM
38732 * include/libc-symbols.h: Remove comment about
38733 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
38734 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38735 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38736 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38737 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38738 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38739 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38740 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38741 * elf/tst-unique2mod1.c: Likewise.
38742 * elf/tst-unique1mod2.c: Likewise.
38743 * elf/tst-unique1mod1.c: Likewise.
38744 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38745 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38746 Replace ASM_TYPE_DIRECTIVE with .type.
38747 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38748 * sysdeps/i386/sysdep.h: Likewise.
38749 * sysdeps/x86_64/sysdep.h: Likewise.
38750 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
38751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38752 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 38753 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
38754 * sysdeps/powerpc/powerpc32/sysdep.h:
38755 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
38756 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38757 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38758 * sysdeps/i386/fpu/e_powf.S: Likewise.
38759 * sysdeps/i386/fpu/e_expl.S: Likewise.
38760 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38761 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38762 * sysdeps/i386/fpu/e_pow.S: Likewise.
38763 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38764 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38765 * sysdeps/i386/fpu/s_expm1.S: Likewise.
38766 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38767 * sysdeps/i386/fpu/e_log2.S: Likewise.
38768 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38769 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38770 * sysdeps/i386/fpu/e_powl.S: Likewise.
38771 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38772 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38773 * sysdeps/i386/fpu/e_logl.S: Likewise.
38774 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38775 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38776 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38777 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38778 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38779 * sysdeps/i386/fpu/e_log.S: Likewise.
38780 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38781 * sysdeps/i386/fpu/e_logf.S: Likewise.
38782 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38783 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38784 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38785 * sysdeps/i386/fpu/e_log10.S: Likewise.
38786 * sysdeps/i386/fpu/s_frexp.S: Likewise.
38787 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38788 * sysdeps/i386/fpu/s_asinh.S: Likewise.
38789 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38790 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38791 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38792 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38793 * sysdeps/i386/i686/strtok.S: Likewise.
38794 * sysdeps/i386/i386-mcount.S: Likewise.
38795 * sysdeps/i386/strtok.S: Likewise.
38796 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38797 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38798 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38799 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38800 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38801 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38802 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38803 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38804 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38805 * sysdeps/x86_64/_mcount.S: Likewise.
38806 * sysdeps/x86_64/strtok.S: Likewise.
38807 * sysdeps/sh/_mcount.S: Likewise.
38808
2747bf9a
RM
388092012-08-01 Roland McGrath <roland@hack.frob.com>
38810
38811 * libio/iofopen.c: Include <fcntl.h>.
38812 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38813 (_IO_fopen64, fopen64): Define as aliases.
38814 * libio/iofopen64.c: Include <fcntl.h>.
38815 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38816 Conditionalize body on this.
38817 * sysdeps/wordsize-64/iofopen.c: File removed.
38818 * sysdeps/wordsize-64/iofopen64.c: File removed.
38819
3fb791b8
MP
388202012-08-01 Marek Polacek <polacek@redhat.com>
38821
38822 * libc/Makeconfig: Use elf in place of binfmt-subdir.
38823 Use dlfcn directly instead of a variable.
38824 (binfmt-subdir): Do not define.
38825 (dlfcn): Likewise.
38826
a9f1039f
JM
388272012-08-01 Joseph Myers <joseph@codesourcery.com>
38828
23bddc06
JM
38829 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38830 Remove all definitions.
38831 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38832 <kernel-features.h>.
38833 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38834 (miss_F_GETOWN_EX): Remove all definitions.
38835 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38836 macro definition.
38837 [!__ASSUME_FCNTL64]: Remove conditional code.
38838 [__ASSUME_FCNTL64]: Make code unconditional.
38839 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38840 <kernel-features.h>.
38841 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38842 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38843 (lockf64) [__NR_fcntl64]: Make code unconditional.
38844 (lockf64) [__ASSUME_FCNTL64]: Likewise.
38845
a9f1039f
JM
38846 * sysdeps/unix/sysv/linux/kernel-features.h
38847 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38848 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38849 Make code unconditional.
38850 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38851 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38852 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38853 [__NR_vfork]: Make code unconditional.
38854 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38855 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38857 [__NR_vfork]: Make code unconditional.
38858 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38859 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38860
09c0ee5f
RM
388612012-08-01 Roland McGrath <roland@hack.frob.com>
38862
48aec5b9
RM
38863 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38864 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38865
cd97c966
RM
38866 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38867 Define mkstemp64 as an alias.
3f55550c
RM
38868 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38869 Define mkstemps64 as an alias.
cd97c966
RM
38870 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38871 Define mkostemp64 as an alias.
b8625cfc
RM
38872 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38873 Define mkostemps64 as an alias.
cd97c966
RM
38874 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38875 Conditionalize body on this.
38876 * misc/mkostemp64.c: Likewise.
b8625cfc 38877 * misc/mkostemps64.c: Likewise.
3f55550c 38878 * misc/mkstemps64.c: Likewise.
cd97c966
RM
38879 * sysdeps/wordsize-64/mkstemp64.c: File removed.
38880 * sysdeps/wordsize-64/mkostemp64.c: File removed.
38881 * sysdeps/wordsize-64/mkostemp.c: File removed.
38882 * sysdeps/wordsize-64/mkstemp.c: File removed.
38883 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38884 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38885 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38886 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38887
09c0ee5f
RM
38888 [BZ #14138]
38889 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38890 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38891 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38892 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38893
38894 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38895 compat_symbol macros from <shlib-compat.h> rather than the underlying
38896 default_symbol_version and symbol_version macros, so that DEFAULT
38897 lines in shlib-versions are respected.
38898 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38899
7e66ee51
FW
389002012-08-01 Florian Weimer <fweimer@redhat.com>
38901
38902 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38903 Declare with warn_unused_result.
38904 (setgid, setregid, setegid, setresgid): Likewise.
38905 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38906 Likewise.
38907 * WUR-REPORT: Remove set*id functions.
38908
d2a54255
PT
389092012-07-31 Pino Toscano <toscano.pino@tiscali.it>
38910
38911 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38912
7ecdb005
RM
389132012-07-31 Roland McGrath <roland@hack.frob.com>
38914
b4180a5e 38915 [BZ #10191]
789bd351
RM
38916 * include/sys/socket.h (__libc_accept, __libc_accept4):
38917 Add attribute_hidden.
38918 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38919
40ce302d
RM
38920 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38921 use of PTR_MANGLE.
38922 * inet/getnetgrent_r.c (setup): Likewise.
38923
7ecdb005
RM
38924 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38925
e2eabb2c
DM
389262012-07-31 David S. Miller <davem@davemloft.net>
38927
38928 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38929
d0419dbf
JM
389302012-07-31 Joseph Myers <joseph@codesourcery.com>
38931
38932 [BZ #13629]
38933 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38934 value between 1.0 and 2.0 and smaller part has absolute value less
38935 than 1.0.
38936 * math/s_clog10.c (__clog10): Likewise.
38937 * math/s_clog10f.c (__clog10f): Likewise.
38938 * math/s_clog10l.c (__clog10l): Likewise.
38939 * math/s_clogf.c (__clogf): Likewise.
38940 * math/s_clogl.c (__clogl): Likewise.
38941 * math/libm-test.inc (clog_test): Add more tests.
38942 (clog10_test): Likewise.
38943 * sysdeps/i386/fpu/libm-test-ulps: Update.
38944 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38945
2bc13872
FW
389462012-07-31 Florian Weimer <fweimer@redhat.com>
38947
38948 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38949 Exit with zero in case no suitable GID is found, and write a
38950 message to standard error.
38951
bea9b193
RM
389522012-07-30 Roland McGrath <roland@hack.frob.com>
38953
38954 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38955 rather than to 1.
38956 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38957 (MAXPATHLEN): Removed.
38958 (NOGROUP, NODEV): New macros.
38959 (setbit, clrbit, isset, isclr): New macros.
38960 (howmany, roundup, powerof2): New macros.
38961 (DEV_BSIZE): New macro.
38962
38963 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38964 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38965
38966 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38967 definition on [!__NO_LONG_DOUBLE_MATH].
38968
38969 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38970 PTR_MANGLE and PTR_DEMANGLE.
38971
38972 * socket/accept4.c (accept4): Rename to __libc_accept4.
38973 Define accept4 as a weak alias.
38974
38975 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38976 on [_DIRENT_HAVE_D_TYPE].
38977 * io/ftw.c (ftw_dir): Likewise.
38978
38979 * io/xmknod.c (__xmknod): Don't check PATH for being null.
38980
38981 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38982
38983 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38984 Use the BSD numbers rather than the arbitrary ones we had.
38985 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38986 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38987 (SIGXCPU, SIGXFSZ): New macros.
38988 (_NSIG): Now 32.
38989
38990 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38991 initializer on [_LIBC_REENTRANT].
38992
38993 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38994 definitions inside [_POSIX_MAPPED_FILES].
38995
38996 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38997
38998 * dirent/opendir.c: Include <fcntl.h>.
38999
39000 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39001 (__libc_getspecific): Likewise.
39002 (__libc_key_create): Likewise.
39003
39004 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39005 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39006 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39007 (tmpfile64): Define as alias.
39008 * sysdeps/wordsize-64/tmpfile.c: File removed.
39009 * sysdeps/wordsize-64/tmpfile64.c: File removed.
39010 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39011 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39012
39013 * stdio-common/vfscanf.c: Include <stdbool.h>.
39014 * nss/makedb.c: Likewise.
39015 * stdio-common/_i18n_number.h: Likewise.
39016 * argp/argp-help.c: Likewise.
39017 * posix/wordexp.c: Likewise.
39018 * sysdeps/posix/spawni.c: Likewise.
39019 * nss/nss_files/files-initgroups.c: Likewise.
39020 * stdio-common/reg-modifier.c: Include <stdlib.h>.
39021 * nss/nss_files/files-initgroups.c: Likewise.
39022 * nss/nss_db/db-netgrp.c: Likewise.
39023 * nss/nss_db/db-initgroups.c: Likewise.
39024 * io/fchmodat.c: Include <sys/stat.h>.
39025
39026 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39027 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39028
39029 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39030 [HAVE_MMAP].
39031
39032 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39033 Add multiple inclusion protection.
39034
e5abc686
DM
390352012-07-27 David S. Miller <davem@davemloft.net>
39036
39037 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39038
815e6fa3
GB
390392012-07-27 Gary Benson <gbenson@redhat.com>
39040
39041 [BZ #14298]
39042 * elf/rtld.c: Include <stap-probe.h>.
39043 (dl_main): Added static probes "init_start" and "init_complete".
39044 * elf/dl-load.c: Include <stap-probe.h>.
39045 (lose): Take new parameter "nsid".
39046 Added static probe "map_failed".
39047 (_dl_map_object_from_fd): Pass namespace id to lose.
39048 Added static probe "map_start".
39049 (open_verify): Pass namespace id to lose.
39050 * elf/dl-open.c: Include <stap-probe.h>.
39051 (dl_open_worker) Added static probes "map_complete", "reloc_start"
39052 and "reloc_complete".
39053 * elf/dl-close.c: Include <stap-probe.h>.
39054 (_dl_close_worker): Added static probes "unmap_start" and
39055 "unmap_complete".
39056 * elf/rtld-debugger-interface.txt: New file documenting the above.
39057
9f98c16c
RM
390582012-07-26 Roland McGrath <roland@hack.frob.com>
39059
39060 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39061 rather than a string variable.
39062 * sunrpc/rpc_main.c (h_output): Likewise.
39063 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39064
f3c22df3
PT
390652012-07-26 Pino Toscano <toscano.pino@tiscali.it>
39066
39067 * inet/check_native.c: New file.
39068
3129cfc6
JM
390692012-07-26 Joseph Myers <joseph@codesourcery.com>
39070
da865e95
JM
39071 [BZ #13629]
39072 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39073 if larger part has absolute value 1.0.
39074 * math/s_clog10.c (__clog10): Likewise.
39075 * math/s_clog10f.c (__clog10f): Likewise.
39076 * math/s_clog10l.c (__clog10l): Likewise.
39077 * math/s_clogf.c (__clogf): Likewise.
39078 * math/s_clogl.c (__clogl): Likewise.
39079 * math/libm-test.inc (clog_test): Add more tests.
39080 (clog10_test): Likewise.
39081 * sysdeps/i386/fpu/libm-test-ulps: Update.
39082 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39083
3129cfc6
JM
39084 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39085 (pltexit): Likewise.
39086 (La_regs): Likewise.
39087 (La_retval): Likewise.
39088 (int_retval): Likewise.
39089 Update #error for removed macros to refer only to definitions in
39090 tst-audit.h.
39091 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39092 macro.
39093 (pltexit): Likewise.
39094 (La_regs): Likewise.
39095 (La_retval): Likewise.
39096 (int_retval): Likewise.
39097 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39098 macro.
39099 (pltexit): Likewise.
39100 (La_regs): Likewise.
39101 (La_retval): Likewise.
39102 (int_retval): Likewise.
39103 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39104 macro.
39105 (pltexit): Likewise.
39106 (La_regs): Likewise.
39107 (La_retval): Likewise.
39108 (int_retval): Likewise.
39109 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39110 macro.
39111 (pltexit): Likewise.
39112 (La_regs): Likewise.
39113 (La_retval): Likewise.
39114 (int_retval): Likewise.
39115 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39116 macro.
39117 (pltexit): Likewise.
39118 (La_regs): Likewise.
39119 (La_retval): Likewise.
39120 (int_retval): Likewise.
39121 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39122 macro.
39123 (pltexit): Likewise.
39124 (La_regs): Likewise.
39125 (La_retval): Likewise.
39126 (int_retval): Likewise.
39127 * sysdeps/generic/tst-audit.h: Update comment to refer only to
39128 macro definitions in tst-audit.h.
39129 * sysdeps/i386/tst-audit.h: New file.
39130 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39131 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39132 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39133 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39134 * sysdeps/sh/tst-audit.h: Likewise.
39135 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39136 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39137 * sysdeps/x86_64/tst-audit.h: Likewise.
39138
bfc07087
AJ
391392012-07-26 Andreas Jaeger <aj@suse.de>
39140
b1b2aaf8
AJ
39141 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39142 ptrace.
39143
39144 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39145 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39146 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39147 PTRACE_O_MASK.
39148 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39149 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39150 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39151
bfc07087
AJ
39152 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39153 value.
39154
39155 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39156 _sigsys.
39157 (si_call_addr, si_syscall, si_arch): Define new macro.
39158 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39159 _sigsys.
39160 (si_call_addr, si_syscall, si_arch): Define new marcro.
39161 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39162 _sigsys.
39163 (si_call_addr, si_syscall, si_arch): Define new macro.
39164 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39165 _sigsys.
39166 (si_call_addr, si_syscall, si_arch): Define new macro.
39167
89b4b02f
JM
391682012-07-25 Joseph Myers <joseph@codesourcery.com>
39169
39170 [BZ #13717]
39171 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39172 Change to 2.4.21 where previously 2.4.1.
39173 * sysdeps/unix/sysv/linux/configure: Regenerated.
39174 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39175 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39176 Linux kernel version.
39177 (__ASSUME_STD_AUXV): Remove.
39178 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39179 kernel version.
39180 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39181 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39182 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39183 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39184 (__ASSUME_NETLINK_SUPPORT): Likewise.
39185 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39186 (__no_netlink_support): Remove conditional definition.
39187 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39188 Remove.
39189 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39190 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39191 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39192 (if_nameindex_ioctl): Remove.
39193 (if_nameindex_netlink): Do not handle __no_netlink_support.
39194 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39195 code.
39196 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39197 Remove conditional code.
39198 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39199 code.
39200 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39201 unconditional.
39202 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39203 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39204 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39205 Remove.
39206 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39207 [!__ASSUME_STD_AUXV]: Remove conditional code.
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39209 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39210 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39212 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39213 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39214 code.
39215 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39217 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39218 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39219 conditional code.
39220 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39222 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39223 code.
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39225 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39226 conditional code.
39227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39228 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39229 code unconditional.
39230 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39231 conditional code.
39232 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39233 unconditional.
39234 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39235 conditional code.
39236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39237 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39238 unconditional.
39239 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39240 conditional code.
39241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39242 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39243 code unconditional.
39244 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39245 conditional code.
39246 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39247 unconditional.
39248 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39249 conditional code.
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39251 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39252 code unconditional.
39253 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39254 conditional code.
39255 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39256 unconditional.
39257 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39258 conditional code.
39259
842a39cd
AS
392602012-07-25 Andreas Schwab <schwab@linux-m68k.org>
39261
39262 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39263 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39264 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39265 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39266 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39267 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39268 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39269 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39270 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39271 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39272 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39273 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39274 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39275 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39277 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39278 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39279 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39280 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39281 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39282 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39283 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39284 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39285
84b3fd84
FW
392862012-07-25 Florian Weimer <fweimer@redhat.com>
39287
39288 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
39289 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39290 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39291 Introduce __libc_secure_getenv.
0c7936d5
FW
39292 * stdlib/Versions (2.17): Add secure_getenv
39293 (GLIBC_PRIVATE): Add __libc_secure_getenv.
39294 * stdlib/secure-getenv.c: Rename __secure_getenv to
39295 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
39296 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
39297 * stdlib/tst-secure-getenv.c: New.
39298 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
39299 * manual/startup.texi (Environment Access): Document
39300 secure_getenv.
84b3fd84
FW
39301 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39302 __libc_secure_getenv.
39303 * inet/ruserpass.c (ruserpass): Likewise.
39304 * malloc/mtrace.c (mtrace): Likewise.
39305 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 39306 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
39307 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39308 * sysdeps/posix/tempname.c: Likewise. Evaluate
39309 HAVE_SECURE_GETENV.
39310 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 39311 __secure_getenv to __libc_secure_getenv.
84b3fd84 39312 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39314 Likewise.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39316 Likewise.
39317 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39318 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39319 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39321 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 39324
56e49b71
JM
393252012-07-25 Joseph Myers <joseph@codesourcery.com>
39326
39327 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39328 (struct La_i86_retval): Likewise.
39329 (struct La_x86_64_regs): Likewise.
39330 (struct La_x86_64_retval): Likewise.
39331 (struct La_x32_regs): Likewise.
39332 (struct La_x32_retval): Likewise.
39333 (struct La_ppc32_regs): Likewise.
39334 (struct La_ppc32_retval): Likewise.
39335 (struct La_ppc64_regs): Likewise.
39336 (struct La_ppc64_retval): Likewise.
39337 (struct La_sh_regs): Likewise.
39338 (struct La_sh_retval): Likewise.
39339 (struct La_s390_32_regs): Likewise.
39340 (struct La_s390_32_retval): Likewise.
39341 (struct La_s390_64_regs): Likewise.
39342 (struct La_s390_64_retval): Likewise.
39343 (struct La_sparc32_regs): Likewise.
39344 (struct La_sparc32_retval): Likewise.
39345 (struct La_sparc64_regs): Likewise.
39346 (struct La_sparc64_retval): Likewise.
39347 (struct audit_ifaces): Remove architecture-specific pltenter and
39348 pltexit members.
39349 * sysdeps/i386/ldsodefs.h: New file.
39350 * sysdeps/powerpc/ldsodefs.h: Likewise.
39351 * sysdeps/s390/ldsodefs.h: Likewise.
39352 * sysdeps/sh/ldsodefs.h: Likewise.
39353 * sysdeps/sparc/ldsodefs.h: Likewise.
39354 * sysdeps/x86_64/ldsodefs.h: Likewise.
39355
354691b7
MP
393562012-07-25 Marek Polacek <polacek@redhat.com>
39357
39358 [BZ #6808]
39359 * math/libm-test.inc (yn_test): Add another test.
39360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39361 to ERANGE when the result is +-Inf.
39362 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39363 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39364 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39365 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39366
bf9e2071
JM
393672012-07-24 Joseph Myers <joseph@codesourcery.com>
39368
39369 * conform/data/time.h-data (NULL): Use macro-constant. Require
39370 equal to 0.
39371 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
39372 clock_t.
39373 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
39374
57633811
TS
393752012-07-23 Thomas Schwinge <thomas@codesourcery.com>
39376
39377 * configure.in <sysdeps resolving>: Correct printing
39378 Implies_before.
39379 * configure: Regenerate.
39380
c23c33b0
TS
393812012-07-22 Thomas Schwinge <thomas@codesourcery.com>
39382
39383 * math/w_ilogb.c: Include <limits.h>.
39384 * math/w_ilogbl.c: Likewise.
39385
b5982523
JM
393862012-07-20 Joseph Myers <joseph@codesourcery.com>
39387
39388 * manual/lang.texi (__va_copy): Document primarily as ISO C99
39389 va_copy. Document allowing for unavailable va_copy only as
39390 pre-C99 compatibility.
39391 * manual/string.texi (Copying and Concatenation): Use va_copy
39392 instead of __va_copy in concat example.
39393
ac4ea442
PT
393942012-07-20 Pino Toscano <toscano.pino@tiscali.it>
39395
39396 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39397 (__sendto): Use create_address_port. Initialize APORT and deallocate
39398 it if not null.
39399
f98eafbd
PT
39400 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39401 with O_NOLINK passed to __file_name_lookup.
39402
898c7aab
PT
39403 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39404 with O_NOLINK passed to __file_name_lookup.
39405
0ced335a
PT
39406 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39407 negative N or less than NGIDS.
39408
b3404dbd
PT
39409 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39410 type to string_t. Set ERANGE as errno and return it if NAME is not big
39411 enough. Use memcpy instead of strncpy.
39412
0f48659e
JM
394132012-07-20 Joseph Myers <joseph@codesourcery.com>
39414
39415 * elf/Makefile (check-data): Remove.
39416 (localplt.data): New vpath directive.
39417 ($(objpfx)check-localplt.out): Use localplt.data from vpath
39418 instead of $(check-data).
39419 * scripts/data/localplt-generic.data: Move to ...
39420 * sysdeps/generic/localplt.data: ... here.
39421 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39422 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39423 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39425 ... here.
39426 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39428 ... here.
39429 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39430 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39431 ... here.
39432 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39434 ... here.
39435 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39436 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39437 ... here.
39438 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39439 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39440 ... here.
39441
d37cbdaa
AZ
394422012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39443
39444 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39445 PPC32 and PPC64 files.
39446 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39447 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39448
46f85fc2
AK
394492012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39450
39451 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39452 __makecontext_ret to ...
39453 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39454 ... here and call exit if uc_link is NULL. New file.
39455 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39456 __makecontext_ret.S.
39457 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39458 __makecontext_ret to ...
39459 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39460 ... here and call exit if uc_link is NULL. New file.
39461 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39462 __makecontext_ret.S.
39463
08f43f9b
AK
394642012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39465
39466 * elf/elf.h (R_390_IRELATIVE): New definition.
39467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39468 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
39469 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39470 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39471 (elf_machine_lazy_rel): Likewise.
39472 * sysdeps/s390/dl-irel.h: New file.
39473 * sysdeps/s390/s390-64/memcpy.S: New asm code.
39474 * sysdeps/s390/s390-64/memset.S: New asm code.
39475 * sysdeps/s390/s390-64/memcmp.S: New asm code.
39476 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39477 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39478 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39479 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39480 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39481 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39482 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39483 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39484 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39485 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39486 * sysdeps/s390/s390-32/memcpy.S: New asm code.
39487 * sysdeps/s390/s390-32/memset.S: New asm code.
39488 * sysdeps/s390/s390-32/memcmp.S: New asm code.
39489
3b05db33
MP
394902012-07-17 Marek Polacek <polacek@redhat.com>
39491
39492 [BZ #14349]
39493 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39494 * sysdeps/s390/s390-64/configure.in: Likewise.
39495 * sysdeps/sparc/configure.in: Likewise.
39496 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39497 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39498 * sysdeps/i386/configure.in: Likewise.
39499 * sysdeps/x86_64/configure.in: Likewise.
39500 * sysdeps/sh/configure.in: Likewise.
39501 * sysdeps/s390/s390-32/configure: Regenerated.
39502 * sysdeps/s390/s390-64/configure: Likewise.
39503 * sysdeps/x86_64/configure: Likewise.
39504 * sysdeps/sh/configure: Likewise.
39505 * sysdeps/powerpc/powerpc64/configure: Likewise.
39506 * sysdeps/powerpc/powerpc32/configure: Likewise.
39507 * sysdeps/sparc/configure: Likwise.
39508 * sysdeps/i386/configure: Likewise.
39509
a66877c6
MP
39510 * elf/dl-open.c: Comment fixes.
39511
cfc82fd8
JM
395122012-07-17 Joseph Myers <joseph@codesourcery.com>
39513
bd29910a
JM
39514 * Makefile [CXX] (check-data): Remove.
39515 [CXX] (c++-types.data): New vpath directive.
39516 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39517 vpath. Do not allow for C++ type data being missing.
39518 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39519 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39520 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39521 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39522 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39523 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39524 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39526 ... here.
39527 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39528 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39529 ... here.
39530 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39531 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39532 ... here.
39533 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39534 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39535 ... here.
39536 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39537 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39538 ... here.
39539 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39540 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39541 ... here.
39542 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39544 ... here.
39545 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39546 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39547
cfc82fd8
JM
39548 * elf/tls-macros.h (TLS_LE): Move architecture-specific
39549 definitions to architecture-specific files.
39550 (TLS_IE): Likewise.
39551 (TLS_LD): Likewise.
39552 (TLS_GD): Likewise.
39553 * sysdeps/i386/tls-macros.h: New file.
39554 * sysdeps/powerpc/tls-macros.h: Likewise.
39555 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39556 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39557 * sysdeps/sh/tls-macros.h: Likewise.
39558 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39559 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39560 * sysdeps/x86_64/tls-macros.h: Likewise.
39561
f7db3170
TS
395622012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39563
07cbfc23
TS
39564 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39565 zero value for regular exit case.
39566
f7db3170
TS
39567 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39568 (__start_context): Preserve zero value for regular exit case.
39569
dc97c227
TS
395702012-07-17 Thomas Schwinge <thomas@codesourcery.com>
39571 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39572
39573 * manual/setjmp.texi (setcontext): Clarify normal process
39574 termination when uc_link is the null pointer.
39575 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39576 exit call.
39577
d0cd7d02
AS
395782012-07-16 Andreas Schwab <schwab@linux-m68k.org>
39579
39580 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39581 preprocessor. Test for each exception mask separately.
39582
dd318934
AJ
395832012-07-16 Andreas Jaeger <aj@suse.de>
39584
39585 * po/ru.po: Update from translation team.
39586
8048311a
JM
395872012-07-15 Joseph Myers <joseph@codesourcery.com>
39588
39589 * conform/data/string.h-data (NULL): Use macro-constant. Require
39590 equal to 0.
39591 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39592 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39593 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39594 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39595 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39596
b637d46e
AJ
395972012-07-13 Andreas Jaeger <aj@suse.de>
39598
39599 * po/fr.po: Update from translation team.
39600
541428fe
MP
396012012-07-12 Marek Polacek <polacek@redhat.com>
39602
39603 [BZ #14173]
39604 * math/libm-test.inc (yn_test): Add test for BZ #14173.
39605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39606 loop condition.
39607
ec332e94
JM
396082012-07-12 Joseph Myers <joseph@codesourcery.com>
39609
39610 [BZ #13717]
39611 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39612 Change to 2.4.1 where previously 2.4.0.
39613 * sysdeps/unix/sysv/linux/configure: Regenerated.
39614 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39615 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39616 version.
39617 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39618 (__ASSUME_AT_CLKTCK): Remove.
39619 (__ASSUME_AT_PAGESIZE): Likewise.
39620 (__ASSUME_AT_XID): Likewise.
39621 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39622 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39623 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39624 unconditionally.
39625 (HAVE_AUX_PAGESIZE): Likewise.
39626 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39627 [__ASSUME_AT_CLKTCK]: Make code unconditional.
39628 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39629
7b6e99be
JB
396302012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
39631
39632 [BZ #14307]
39633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39634 the temporary buffer used to invoke __gethostbyname2_r,
39635 __gethostbyaddr_r and gethostbyname4_r to make room for struct
39636 host_data / struct gaih_addrtuple.
39637 * resolv/nss_dns/dns-host.c (global scope): Move definition of
39638 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39639 header file nss/nsswitch.h.
39640 * nss/nsswitch.h (global scope): Add definition of implementation
39641 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39642 resolv/nss_dns/dns-host.c).
39643
608404eb
AJ
396442012-07-11 Andreas Jaeger <aj@suse.de>
39645
39646 * po/fr.po: Update from translation team.
39647
71220aca
AJ
39648 * po/sv.po: Update from translation team
39649 * po/fr.po: Another update from translation team.
39650
28cfe843
AZ
396512012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39652
39653 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39654 for subnormals or multiply small sinh result by itself.
39655 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39656 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39657
6b90f981
DM
396582012-07-11 David S. Miller <davem@davemloft.net>
39659
39660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39661
c6825772
AS
396622012-07-10 Andreas Schwab <schwab@linux-m68k.org>
39663
39664 [BZ #14347]
39665 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39666 (INTERNAL_MARK): Shift it here.
39667
7b8e0d49
MP
396682012-07-10 Marek Polacek <polacek@redhat.com>
39669
39670 [BZ #14151]
39671 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
39672 libc_cv_asm_global_directive with .globl.
39673 * configure: Regenerated.
39674 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39675 with .globl.
39676 * sysdeps/i386/configure: Regenerated.
39677 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39678 with .globl.
39679 * sysdeps/x86_64/configure: Regenerated.
39680 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39681 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39682 * elf/tst-unique2mod2.c: Likewise.
39683 * elf/tst-unique2mod1.c: Likewise.
39684 * elf/tst-unique1mod2.c: Likewise.
39685 * elf/tst-unique1mod1.c: Likewise.
39686 * sysdeps/s390/s390-32/sysdep.h: Likewise.
39687 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39688 * sysdeps/s390/s390-64/sysdep.h: Likewise.
39689 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39690 * sysdeps/mach/sysdep.h: Likewise.
39691 * sysdeps/i386/sysdep.h: Likewise.
39692 * sysdeps/i386/i386-mcount.S: Likewise.
39693 * sysdeps/x86_64/_mcount.S: Likewise.
39694 * sysdeps/x86_64/sysdep.h: Likewise.
39695 * sysdeps/sh/_mcount.S: Likewise.
39696 * sysdeps/sh/sysdep.h: Likewise.
39697 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39698 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39699 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39700 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39701 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39702 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39703 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39704 * locale/localeinfo.h: Likewise.
39705 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39706 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39707
6c55cda3
RM
397082012-07-09 Roland McGrath <roland@hack.frob.com>
39709
39710 [BZ #14336]
39711 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39712 system".
39713 * manual/message.texi (The Uniforum approach): Likewise.
39714 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39715 (glibc iconv Implementation): Likewise.
39716
638a572e
JM
397172012-07-09 Joseph Myers <joseph@codesourcery.com>
39718
39719 [BZ #14337]
39720 * math/s_clog.c (__clog): Avoid scaling a value down where that
39721 could result in underflow.
39722 * math/s_clog10.c (__clog10): Likewise.
39723 * math/s_clog10f.c (__clog10f): Likewise.
39724 * math/s_clog10l.c (__clog10l): Likewise.
39725 * math/s_clogf.c (__clogf): Likewise.
39726 * math/s_clogl.c (__clogl): Likewise.
39727 * math/libm-test.inc (clog_test): Add more tests.
39728 (clog10_test): Likewise.
39729 * sysdeps/i386/fpu/libm-test-ulps: Update.
39730 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39731
261f4859
AS
397322012-07-06 Andreas Schwab <schwab@linux-m68k.org>
39733
0abaf3e4
AS
39734 [BZ #14283]
39735 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39736 by 7 not 8 to examine high bit of fractional part.
39737
261f4859
AS
39738 [BZ #14042]
39739 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39740 for call to __mcount_internal.
39741 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39742 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39743 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39744
f17ac40d
JM
397452012-07-06 Joseph Myers <joseph@codesourcery.com>
39746
9ad63c23
JM
39747 [BZ #14154]
39748 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39749 approximation for values within 0x1p-13f of an odd multiple of
39750 pi/4.
39751 * math/libm-test.inc (tan_test): Do not allow spurious underflow
39752 exception. Add more tests.
39753 * sysdeps/i386/fpu/libm-test-ulps: Update.
39754
f17ac40d
JM
39755 [BZ #6778]
39756 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39757 inputs and return -1 for them. Do not check for +Inf in case not
39758 reachable for +Inf.
39759 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39760 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39761 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39762 and return -1 for them. Do not check for +Inf in case not
39763 reachable for +Inf.
39764 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39765 define.
39766 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39767 and return -1 for them. Do not check for +Inf in case not
39768 reachable for +Inf.
39769 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
39770 spurious underflow.
39771 * sysdeps/i386/fpu/libm-test-ulps: Update.
39772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39773
fb21f89b
MF
397742012-07-06 Mike Frysinger <vapier@gentoo.org>
39775
39776 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39777
cdfe2c5e
JM
397782012-07-05 Joseph Myers <joseph@codesourcery.com>
39779
39780 [BZ #14157]
39781 [BZ #14331]
39782 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39783 could result in spurious underflow. Scale down values above
39784 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39785 * math/s_csqrtf.c (__csqrtf): Likewise.
39786 * math/s_csqrtl.c (__csqrtl): Likewise.
39787 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
39788 spurious underflow.
39789 * sysdeps/i386/fpu/libm-test-ulps: Update.
39790 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39791
70d35b67
AS
397922012-07-04 Andreas Schwab <schwab@linux-m68k.org>
39793
704bc459
AS
39794 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39795 xopen-msg.sed.
39796 * catgets/xopen-msg.awk: New file.
39797 * catgets/xopen-msg.sed: Removed.
39798
70d35b67
AS
39799 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39800 po2text.sed.
39801 * intl/po2test.awk: New file.
39802 * intl/po2test.sed: Removed.
39803
ca61cf32
JM
398042012-07-04 Joseph Myers <joseph@codesourcery.com>
39805
39806 [BZ #14328]
39807 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39808 or multiply small sinh result by itself.
39809 * math/s_ctanf.c (__ctanf): Likewise.
39810 * math/s_ctanh.c (__ctanh): Likewise.
39811 * math/s_ctanhf.c (__ctanhf): Likewise.
39812 * math/s_ctanhl.c (__ctanhl): Likewise.
39813 * math/s_ctanl.c (__ctanl): Likewise.
39814 * math/libm-test.inc (ctan_test_tonearest): New function.
39815 (ctan_test_towardzero): Likewise.
39816 (ctan_test_downward): Likewise.
39817 (ctan_test_upward): Likewise.
39818 (ctanh_test_tonearest): Likewise.
39819 (ctanh_test_towardzero): Likewise.
39820 (ctanh_test_downward): Likewise.
39821 (ctanh_test_upward): Likewise.
39822 (main): Call these new functions.
39823 * sysdeps/i386/fpu/libm-test-ulps: Update.
39824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39825
ca48a46a
MF
398262012-07-03 Mike Frysinger <vapier@gentoo.org>
39827
39828 * .gitignore: Delete /ports entry.
39829
9d63d37d
AJ
398302012-07-03 Andreas Jaeger <aj@suse.de>
39831
39832 * po/bg.po: Update from translation team.
39833 * po/cs.po: Likewise.
39834 * po/de.po: Likewise.
39835 * po/hr.po: Likewise.
39836 * po/nl.pl: Likewise.
39837 * po/pl.po: Likewise.
39838 * po/vi.po: Likewise.
39839
370ca3d2
JM
398402012-07-03 Joseph Myers <joseph@codesourcery.com>
39841
95f5a9a8
JM
39842 * Makeconfig [!+link] (+link-before-libc): New variable.
39843 [!+link] (+link-after-libc): Likewise.
39844 [!+link] (+link-tests): Likewise.
39845 [!+link] (+link): Define in terms of $(+link-before-libc) and
39846 $(+link-after-libc).
39847 [!+link-static] (+link-static-before-libc): New variable.
39848 [!+link-static] (+link-static-after-libc): Likewise.
39849 [!+link-static] (+link-static-tests): Likewise.
39850 [!+link-static] (+link-static): Define in terms of
39851 $(+link-static-before-libc) and $(+link-static-after-libc).
39852 [build-shared] (link-libc-before-gnulib): New variable.
39853 [build-shared] (link-libc-tests): Likewise.
39854 [build-shared] (link-libc): Define in terms of
39855 $(link-libc-before-gnulib).
39856 [!build-shared] (link-libc-tests): New variable.
39857 (link-libc-static-tests): New variable.
39858 [!gnulib] (gnulib-arch): New variable.
39859 [!gnulib] (gnulib-tests): Likewise.
39860 [!gnulib] (static-gnulib-arch): Likewise.
39861 [!gnulib] (static-gnulib-tests): Likewise.
39862 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
39863 Define with "=" instead of ":=".
39864 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
39865 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
39866 * Rules (binaries-all-notests): New variable.
39867 (binaries-all-tests): Likewise.
39868 (binaries-static-notests): Likewise.
39869 (binaries-static-tests): Likewise.
39870 (binaries-all): Define using $(binaries-all-notests) and
39871 $(binaries-all-tests).
39872 (binaries-static): Define using $(binaries-static-notests) and
39873 $(binaries-static-tests).
39874 (binaries-shared-tests): New variable.
39875 (binaries-shared-notests): Likewise.
39876 (binaries-shared): Remove variable.
39877 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39878 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39879 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39880 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39881 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39882 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39883 * elf/Makefile (sln-modules): New variable.
39884 (extra-objs): Add $(sln-modules:=.o).
39885 (ldconfig-modules): Add static-stubs.
39886 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39887 * elf/static-stubs.c: New file.
39888
7a845b2c
JM
39889 [BZ #14283]
39890 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39891 by 7 not 8 to examine high bit of fractional part. Use volatile
39892 variables when splitting into final array of floats if
39893 __FLT_EVAL_METHOD__ != 0.
39894 * math/libm-test.inc (cos_test): Add another test.
39895 (sin_test): Likewise.
39896 * sysdeps/i386/fpu/libm-test-ulps: Update.
39897
e2283f38
JM
39898 [BZ #14273]
39899 * math/libm-test.inc (cosh_test): Add more tests.
39900
370ca3d2
JM
39901 * version.h (RELEASE): Set to "development".
39902 (VERSION): Set to "2.16.90".
39903
ee9247c3
CD
399042012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
39905
39906 * NEWS: Update copyright. Remove last-updated date.
39907 Mention math library bug fixes and timezone data changes.
39908 * README: Mention GNU/Hurd, x32, and HPPA support status.
39909
4648c381
TS
399102012-06-28 Thomas Schwinge <thomas@codesourcery.com>
39911
39912 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39913
aac78a43
AJ
399142012-06-27 Andreas Jaeger <aj@suse.de>
39915
39916 * manual/contrib.texi (Contributors): Add Samuel Thibault.
39917
ed3dbfad
AJ
399182012-06-25 Andreas Jaeger <aj@suse.de>
39919
39920 * sysdeps/s390/fpu/libm-test-ulps: Update.
39921
4d0ee855
AS
399222012-06-23 Andreas Schwab <schwab@linux-m68k.org>
39923 Thomas Schwinge <thomas@codesourcery.com>
39924
39925 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39926 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39927 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39928 fanotify_mark.
39929
af1bce34
TS
399302012-06-23 Thomas Schwinge <thomas@codesourcery.com>
39931
a9fa33ba
TS
39932 * sysdeps/mach/start.c: Remove file.
39933 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39934 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39935 * sysdeps/sh/init-first.c: Likewise.
39936
58f902b8
TS
39937 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39938 registers for frame unwinding purposes, add CFI directives.
39939 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39940 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39941 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39942 Likewise.
39943
1518f58b
TS
39944 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39945 __fortify_fail returning.
39946 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39947
db9b5059
TS
39948 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39949 sysdeps/sh/____longjmp_chk.S.
39950 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39951 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39952 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39953 (gen-as-const-headers): Append sigaltstack-offsets.sym.
39954
967705fe
TS
39955 * sysdeps/sh/abort-instr.h: New file.
39956 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39957 process in case exit returns.
39958
a9def8c4
TS
39959 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39960 initialize the GOT register before use.
39961
2a649725
TS
39962 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39963 calculation of ARGC > 4.
39964
af1bce34
TS
39965 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39966 meaningful names to some local labels.
39967
d230f50a
KK
399682012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
39969 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39970
39971 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39972 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39973 (__arch_compare_and_exchange_val_16_acq): Likewise.
39974 (__arch_compare_and_exchange_val_32_acq): Likewise.
39975 (atomic_exchange_and_add): Fix gUSA sequence.
39976 (atomic_add): Likewise.
39977 (atomic_add_negative): Likewise.
39978 (atomic_add_zero): Likewise.
39979 (atomic_bit_test_set): Likewise.
39980
0479b305
AS
399812012-06-22 Andreas Schwab <schwab@redhat.com>
39982
39983 [BZ #13579]
39984 * include/link.h (struct link_map): Add l_free_initfini.
39985 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39986 l_initfini.
39987 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39988 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39989 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39990 set.
39991
0e3933b9
CD
399922012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
39993
39994 * configure.in: Use AC_LANG_SOURCE.
39995 * configure: Regenerate.
39996
4248b1b1
RM
399972012-06-22 Roland McGrath <roland@hack.frob.com>
39998
39999 * configure.in (libc_cv_localstatedir): New substituted variable.
40000 * configure: Regenerated.
40001 * config.make.in (localstatedir): New variable, substituted from
40002 libc_cv_localstatedir.
40003 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40004 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40005 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40006 * sysdeps/gnu/configure: Regenerated.
40007
006dd861
JL
400082012-06-21 Jeff Law <law@redhat.com>
40009
40010 [BZ #14277]
40011 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40012 free. Simplify list management for _LIBC case.
40013
79662d42
JM
400142012-06-21 Joseph Myers <joseph@codesourcery.com>
40015
b7abb4bf
JM
40016 [BZ #14273]
40017 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40018 Clear sign bit of 64-bit integer value before comparing against
40019 overflow value.
40020
79662d42
JM
40021 * sysdeps/mach/configure: Regenerated.
40022
1f150908
L
400232012-06-21 H.J. Lu <hongjiu.lu@intel.com>
40024
40025 [BZ #14278]
40026 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40027
28363bbf
JL
400282012-06-21 Jeff Law <law@redhat.com>
40029
40030 [BZ #13882]
40031 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
40032 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 40033 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
40034 * elf/dl-open.c (dl_open_worker): Likewise.
40035
09615db4
CD
400362012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
40037
40038 * scripts/list-sources.sh: Scan PORTS for translations.
40039 * po/libc.pot: Regenerated.
40040
2174c6dd
AJ
400412012-06-21 Andreas Jaeger <aj@suse.de>
40042
40043 [BZ #12194]
40044 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40045 warning.
40046 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40047 * bits/byteswap-16.h (__bswap_16): Likewise.
40048 * bits/byteswap.h (__bswap_constant_16): Likewise.
40049
3ee947b1
L
400502012-06-18 H.J. Lu <hongjiu.lu@intel.com>
40051
40052 [BZ #14117]
a2f34833
L
40053 * sysdeps/i386/fpu_control.h: Removed.
40054 * sysdeps/x86_64/fpu_control.h: Moved to ...
40055 * sysdeps/x86/fpu_control.h: Here.
40056
3ee947b1
L
40057 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40058 (_FPU_SETCW): Likewise.
40059
ed1825f8
L
400602012-06-15 H.J. Lu <hongjiu.lu@intel.com>
40061
25f1282a
L
40062 [BZ #14117]
40063 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40064 * sysdeps/x86/fpu/bits/mathinline.h: This.
40065 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40066
ed1825f8
L
40067 [BZ #14050]
40068 [BZ #14117]
40069 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40070 functions if __x86_64__ is defined.
40071
36d54b74
CLT
400722012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
40073
40074 * string/endian.h: Add !__ASSEMBLER__ condition for including
40075 conversion interfaces.
40076
10285c21
JM
400772012-06-15 Joseph Myers <joseph@codesourcery.com>
40078
40079 [BZ #14241]
40080 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40081 of ABS(x) in calculating zero to negative powers other than odd
40082 integers.
40083 * math/libm-test.inc (pow_test): Add more tests.
40084
06c5abbd
AJ
400852012-06-15 Andreas Jaeger <aj@suse.de>
40086
40087 * manual/contrib.texi (Contributors): Update entry of Liubov
40088 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40089 Machado Filho.
40090
a3aeac40
CH
400912012-06-15 Cyril Hrubis <metan@ucw.cz>
40092
40093 * string/string.h: Add __wur to GNU version of strerror_r.
40094
49bdf4c1
L
400952012-06-14 H.J. Lu <hongjiu.lu@intel.com>
40096
40097 [BZ #14229]
40098 * string/Makefile (tests): Add tst-strtok_r.
40099 * string/tst-strtok_r.c: New file.
40100 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40101 RAX_LP/RDX_LP on SAVE_PTR.
40102
834f9b8d
RM
401032012-06-14 Roland McGrath <roland@hack.frob.com>
40104
40105 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40106
75fa1921
JM
401072012-06-14 Joseph Myers <joseph@codesourcery.com>
40108
40109 * libm_test.inc (csqrt_test): Allow more spurious underflow
40110 exceptions.
40111 (j0_test): Likewise.
40112 (j1_test): Likewise.
40113 (y0_test): Likewise.
40114 (y1_test): Likewise.
40115
771766df
CD
401162012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
40117
40118 * po/Makefile (libc.pot): Use UTF-8 charset.
40119
ceb9e56b
PP
401202012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
40121
40122 [BZ #14210]
40123 Suppress sign-conversion warning from FD_SET.
40124 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40125 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40126 not unsigned long int.
40127 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40128
ddb28975
L
401292012-06-12 H.J. Lu <hongjiu.lu@intel.com>
40130
40131 [BZ #14050]
40132 [BZ #14117]
40133 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40134 __extern_always_inline instead of __extern_inline.
40135 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40136 (__signbit): Likewise.
40137 (__signbitl): Support C++ namespace.
40138 (lrintf): New inline function.
40139 (lrint): Likewise.
40140 (llrintf): Likewise.
40141 (llrint): Likewise.
40142 (fmaxf): Likewise.
40143 (fmax): Likewise.
40144 (fminf): Likewise.
40145 (fmin): Likewise.
40146 (rint): Likewise.
40147 (rintf): Likewise.
40148 (ceil): Likewise.
40149 (ceilf): Likewise.
40150 (floor): Likewise.
40151 (floorf): Likewise.
40152 (nearbyint): Likewise.
40153 (nearbyintf): Likewise.
40154
d7b4fb26
TS
401552012-06-12 Thomas Schwinge <thomas@codesourcery.com>
40156
40157 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40158 non-default versions.
40159
eb55f5c2
RM
401602012-06-11 Roland McGrath <roland@hack.frob.com>
40161
40162 [BZ #14218]
40163 * manual/argp.texi (Argp): Reword argp_parse description slightly.
40164
366af02c
TS
401652012-06-09 Thomas Schwinge <thomas@codesourcery.com>
40166
99ff6e5c
TS
40167 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40168 (FE_UPWARD, FE_DOWNWARD): Don't define.
40169 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40170 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40171
366af02c
TS
40172 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40173 reading it.
40174 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40175 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40176
793ea851
KK
401772012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40178
40179 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40181 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40182 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40183
a728a38f
L
401842012-06-06 H.J. Lu <hongjiu.lu@intel.com>
40185
40186 [BZ #14117]
c08010c7
L
40187 * sysdeps/i386/fpu/bits/fenv.h: Removed.
40188 * sysdeps/i386/fpu/Implies: New file.
40189 * sysdeps/x86_64/fpu/Implies: Likewise.
40190 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40191 * sysdeps/x86/fpu/bits/fenv.h: This.
40192
a728a38f
L
40193 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40194 __SSE_MATH__.
40195
6e230d11
SP
401962012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
40197
40198 [BZ #14134]
40199 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40200 character 0xffff that matches the last element of the
40201 conversion table.
40202
1b671feb
AZ
402032012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40204
40205 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40206 fmodl commit.
40207
6043738b
AZ
402082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40209
40210 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40211 values higher than 25.6283.
40212
34ae0b32
AZ
402132012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40214
40215 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40216 subnormal exponent extraction and add some __builtin_expect.
40217 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40218 Fix for subnormal mantissa calculation.
40219
1214ec8f
MF
402202012-06-04 Mike Frysinger <vapier@gentoo.org>
40221
40222 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40223 cpu2 is -1 and errno is not ENOSYS.
40224
f3d1f93c
L
402252012-06-04 H.J. Lu <hongjiu.lu@intel.com>
40226
40227 [BZ #14117]
0e4a3cd7
L
40228 * sysdeps/i386/i486/bits/string.h: Renamed to ...
40229 * sysdeps/x86/bits/string.h: This.
40230 * sysdeps/x86_64/bits/string.h: Removed.
40231
6704c645
L
40232 * sysdeps/i386/i486/bits/string.h: Define inline functions only
40233 if not compiling for x86-64, but compiling for >= i486.
40234
48495318
L
40235 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40236 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40237
14adcbfc
L
40238 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40239 New macro from Linux kernel 3.4.0.
40240 (FP_XSTATE_MAGIC2): Likewise.
40241 (FP_XSTATE_MAGIC2_SIZE): Likewise.
40242 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40243 (struct _fpx_sw_bytes): New struct.
40244 (struct _xsave_hdr): Likewise.
40245 (struct _ymmh_state): Likewise.
40246 (struct _xstate): Likewise.
40247
68e408ab
L
40248 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40249 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40250 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40251 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40252 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40253 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40254
f3d1f93c
L
40255 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40256 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40257 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40258 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40259 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40260 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40261
d9dc34cd
TMQMF
402622012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40263
40264 [BZ #13743]
40265 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40266 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40267 (sysdep_headers): Include sys/platform/ppc.h.
40268 * sysdeps/powerpc/test-gettimebase.c: Test for
40269 __ppc_get_timebase() to catch future ISA opcode/insn changes.
40270 * manual/Makefile (appendices): Include platform.texi.
40271 * manual/contrib.texi (Contributors): Update @node pointers.
40272 * manual/maint.texi (Maintenance): Likewise.
40273 (Platform): New node.
40274 * manual/platform.texi: New file. Document the new features.
40275
4af3879c
SP
402762012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
40277 Jakub Jelinek <jakub@redhat.com>
40278
40279 [BZ #14188]
40280 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40281 where __builtin_expect is unavailable.
40282
2fd6ff13
DM
402832012-06-03 David S. Miller <davem@davemloft.net>
40284
40285 * stdlib/longlong.h: Updated from GCC.
40286
173f7220
AS
402872012-06-02 Andreas Schwab <schwab@linux-m68k.org>
40288
40289 [BZ #14042]
40290 * sysdeps/powerpc/powerpc32/mcount.c: New file.
40291 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40292 __mcount_internal.
40293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40294 (GLIBC_2.16): Likewise.
40295
f34a1c6f
L
402962012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40297
40298 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40299
88a4576f
JM
403002012-06-01 Joseph Myers <joseph@codesourcery.com>
40301
ea32bcdd
JM
40302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40303 (default-abi): New variable.
40304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40305 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40306 variable.
40307 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40308 Likewise.
40309 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40310 Likewise.
40311 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40312 Likewise.
40313
88a4576f
JM
40314 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40315 definition. Document in comment.
40316
402fe938
DM
403172012-06-01 David S. Miller <davem@davemloft.net>
40318
40319 * stdlib/longlong.h: Updated from GCC.
40320
3553723f
L
403212012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40322
40323 [BZ #14117]
3bd872c4
L
40324 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40325 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40326 sys/debugreg.h sys/io.h here.
40327 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40328 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40329 sys/io.h.
40330 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40331 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40332 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40333 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40334 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40335 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40336
3553723f
L
40337 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40338 Define only if __x86_64__ is defined.
40339
4842e4fe
JM
403402012-06-01 Joseph Myers <joseph@codesourcery.com>
40341
c5bfe3d5
JM
40342 [BZ #14048]
40343 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40344 Use int64_t for variable i.
40345 * math/libm-test.inc (fmod_test): Add more tests.
40346
4842e4fe
JM
40347 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40348 z computation is not scheduled after fetestexcept.
40349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40350 Use math_force_eval instead of asm to ensure calculation scheduled
40351 before exception test.
40352 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40353 Ensure a1 + u.d computation is not scheduled after fetestexcept.
40354
efb73488
AJ
403552012-06-01 Aurelien Jarno <aurelien@aurel32.net>
40356
40357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40358 computation is not scheduled after fetestexcept.
40359
29bcce7c
L
403602012-06-01 H.J. Lu <hongjiu.lu@intel.com>
40361
40362 [BZ #14117]
40363 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40364 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40365
73a68f94
AZ
403662012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40367
40368 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40369 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40370
67b6df78
L
403712012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40372
edf2933a 40373 [BZ #14117]
ebc64a18
L
40374 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40375 <bits/wordsize.h>.
40376 (__WCHAR_MIN): Support __WORDSIZE == 64.
40377 (__WCHAR_MAX): Likewise.
40378
edf2933a
L
40379 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40380 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40381
57c6cf40
L
40382 [BZ #14183]
40383 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40384 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40385
67b6df78 40386 [BZ #14117]
8eb6281e
L
40387 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40388 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40389
aac639f4
L
40390 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40391 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40392
67b6df78
L
40393 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40394 Defined to 1 if __x86_64__ isn't defined.
40395 (_STAT_VER_LINUX_OLD): New.
40396 (st_atime): Remove duplicate.
40397 (st_mtime): Likewise.
40398 (st_ctime): Likewise.
40399
1c2cfe81
DM
404002012-05-31 David S. Miller <davem@davemloft.net>
40401
40402 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40403 entries.
40404
5be8418c
AS
404052012-06-01 Andreas Schwab <schwab@linux-m68k.org>
40406
e7725326
AS
40407 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40408 gen-libm-test.pl.
40409
5be8418c
AS
40410 [BZ #14132]
40411 * elf/dl-reloc.c: Include <_itoa.h>.
40412 (_dl_reloc_bad_type): Remove use of INTUSE.
40413 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40414 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40415 * stdio-common/psiginfo.c (psiginfo): Likewise.
40416 * stdio-common/psignal.c (psignal): Likewise.
40417 * string/strsignal.c (strsignal): Likewise.
40418 * include/signal.h (_sys_siglist): Declare hidden proto.
40419 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
40420 INTVARDEF with libc_hidden_data_def.
40421 * stdio-common/itoa-udigits.c: Likewise.
40422 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40423 (_itoa_lower_digits_internal): Remove declaration.
40424 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40425 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40426 (_sys_sigabbrev_internal): Remove aliases.
40427 (_sys_siglist): Define hidden alias.
40428
507352f1
MT
404292012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
40430
40431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40432 bits/sysctl.h.
40433
42bbb1c3
L
404342012-05-31 H.J. Lu <hongjiu.lu@intel.com>
40435
40436 [BZ #14117]
6bd784b6
L
40437 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40438 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40439
8bca20f0
L
40440 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40441 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40442 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40443 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40444 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40445 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40446
f9e890a9
L
40447 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40448 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40449 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40450
471101a1
L
40451 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40452 with __addr.
40453 (insw): Likewise.
40454 (insl): Likewise.
40455 (outsb): Likewise.
40456 (outsw): Likewise.
40457 (outsl): Likewise.
40458
6451c862
L
40459 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40460 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40461 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40462
a254b8c9
L
40463 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40464 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40465 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40466 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40467 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40468 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40469
b8dfdd92
L
40470 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40471 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40472
578cd270
L
40473 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40474 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40475
de662f5f
L
40476 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40477 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40478 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40479
25653439
L
40480 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40481 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40482 to ...
40483 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40484
6bad24a0
L
40485 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40486 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40487 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40488
42bbb1c3
L
40489 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40490 for x86-64.
40491 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40492
2d10d547
JM
404932012-05-31 Joseph Myers <joseph@codesourcery.com>
40494
40495 * math/math.h (M_El): Use two more decimal places.
40496 (M_LOG2El): Likewise.
40497 (M_LOG10El): Likewise.
40498 (M_LN2l): Likewise.
40499 (M_LN10l): Likewise.
40500 (M_PIl): Likewise.
40501 (M_PI_2l): Likewise.
40502 (M_PI_4l): Likewise.
40503 (M_1_PIl): Likewise.
40504 (M_2_PIl): Likewise.
40505 (M_2_SQRTPIl): Likewise.
40506 (M_SQRT2l): Likewise.
40507 (M_SQRT1_2l): Likewise.
40508
f230c29b
DM
405092012-05-31 David S. Miller <davem@davemloft.net>
40510
40511 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40512 values between float registers.
40513 * sysdeps/sparc/sparc64/memset.S: Likewise.
40514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40515
fed806c3
MF
405162012-05-31 Mike Frysinger <vapier@gentoo.org>
40517
40518 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40519 -D_FORTIFY_SOURCE=1.
40520 (CPPFLAGS-tst-longjmp_chk.c): Define.
40521 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40522 (CPPFLAGS-tst-longjmp_chk2.c): Define.
40523 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40524 CFLAGS-tst-wchar-h.c.
40525
30917259
MP
405262012-05-31 Marek Polacek <polacek@redhat.com>
40527
40528 [BZ #14132]
40529 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40530 __endmntent_internal): Remove declaration.
40531 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40532 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40533 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40534
1c58d5dc
DM
405352012-05-30 David S. Miller <davem@davemloft.net>
40536
40537 * sysdeps/sparc/sparc32/soft-fp/q_util.c
40538 (___Q_simulate_exceptions): Use real FP ops rather than writing
40539 into the %fsr.
40540 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40541 Likewise.
40542
7dc00e0d
L
405432012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40544
40545 [BZ #14117]
0bd53985
L
40546 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40547 * sysdeps/x86/bits/xtitypes.h: This.
40548
3a257e66
L
40549 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40550 * sysdeps/x86/bits/wordsize.h: This.
40551
62f62904
L
40552 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40553 * sysdeps/x86/bits/huge_vall.h: This.
40554
404fe9d9
L
40555 * sysdeps/i386/bits/select.h: Removed.
40556 * sysdeps/x86_64/bits/select.h: Renamed to ...
40557 * sysdeps/x86/bits/select.h: This.
40558
d48d0446
L
40559 * sysdeps/i386/bits/setjmp.h: Removed.
40560 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40561 * sysdeps/x86/bits/setjmp.h: This.
40562
7dc00e0d
L
40563 * sysdeps/i386/bits/mathdef.h: Removed.
40564 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40565 * sysdeps/x86/bits/mathdef.h: This.
40566
03277f8f
AS
405672012-05-30 Andreas Schwab <schwab@linux-m68k.org>
40568
40569 [BZ #14132]
40570 * include/sys/socket.h (__connect_internal)
40571 (__libc_sa_len_internal): Remove declaration.
40572 (__connect, __libc_sa_len): Declare hidden_proto.
40573 (SA_LEN): Remove use of INTUSE.
40574 * socket/connect.c: Add libc_hidden_def.
40575 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40576 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40577 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40578 alias.
40579 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40580 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40581 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40582 of adding _internal alias.
40583
13764867
L
405842012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40585
40586 [BZ #14117]
6bd97696
L
40587 * sysdeps/i386/bits/link.h: Removed.
40588 * sysdeps/i386/bits/linkmap.h: Likewise.
40589 * sysdeps/x86_64/bits/link.h: Renamed to ...
40590 * sysdeps/x86/bits/link.h: This.
40591 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40592 * sysdeps/x86/bits/linkmap.h: This.
40593
f726f0bb
L
40594 * sysdeps/i386/bits/endian.h: Removed.
40595 * sysdeps/x86_64/bits/endian.h: Renamed to ...
40596 * sysdeps/x86/bits/endian.h: This.
40597
13764867
L
40598 * sysdeps/i386/bits/byteswap.h: Removed.
40599 * sysdeps/i386/bits/byteswap-16.h: Likewise.
40600 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40601 * sysdeps/x86/bits/byteswap.h: This.
40602 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40603 * sysdeps/x86/bits/byteswap-16.h: This.
40604 * sysdeps/i386/Implies: Add x86.
40605 * sysdeps/x86_64/Implies: Likewise.
40606
ae251b0b
DM
406072012-05-30 David S. Miller <davem@davemloft.net>
40608
40609 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40610 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40611 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40612 (FP_TRAPPING_EXCEPTIONS): Define.
40613 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40614 (FP_TRAPPING_EXCEPTIONS): Define.
40615 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40616 subnormals only when inexact has been signalled or underflow
40617 exceptions are enabled.
40618 (_FP_PACK_CANONICAL): Likewise.
40619
d5c90867
L
406202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40621
40622 [BZ #14183]
40623 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40624 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40625
63f1549e
RH
406262012-05-30 Richard Henderson <rth@twiddle.net>
40627
8d8f2279
RH
40628 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40629 with #ifndef NOT_IN_libc.
40630
63f1549e
RH
40631 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
40632 marked to avoid plt entry.
40633
0ab0291b
L
406342012-05-30 H.J. Lu <hongjiu.lu@intel.com>
40635
40636 [BZ #14112]
40637 * Makeconfig (default-abi): New macro.
40638 (abi-includes): Likewise.
40639 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
40640 $(abi-$(default-abi)-lib-soname) for soname if defined.
40641 ($(common-objpfx)gnu/lib-names.stmp): Generate from
40642 abi-variants.
40643 * Makefile (installed-stubs): Likewise.
40644 * include/stubs-biarch.h: Removed.
40645 * scripts/lib-names.awk: Only handle one library at a time.
40646 * scripts/soversions.awk: Remove WORDSIZE support.
40647 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40648 entries.
40649 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40650 Removed.
40651 (syscall-list-default-condition): Likewise.
40652 (syscall-list-default-condition): Likewise.
40653 (syscall-list-includes): Likewise.
40654 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40655 syscall-list-* with abi-*. Handle undefined abi-variants.
40656 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40657 * sysdeps/unix/sysv/linux/i386/Implies: New file.
40658 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40659 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40660 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40661 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40662 Removed.
40663 (syscall-list-32-options): Likewise.
40664 (syscall-list-32-condition): Likewise.
40665 (syscall-list-64-options): Likewise.
40666 (syscall-list-64-condition): Likewise.
40667 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40668 macro.
40669 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40670 Renamed to ...
40671 (abi-*): This.
40672 (abi-64-ld-soname): New macro.
40673 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40674 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40675 Renamed to ...
40676 (abi-*): This.
40677 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40678 * sysdeps/x86_64/x32/shlib-versions: Likewise.
40679
4da0431d
JM
406802012-05-30 Joseph Myers <joseph@codesourcery.com>
40681
3a85279c
JM
40682 * sysdeps/unix/sysv/linux/kernel-features.h
40683 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40684 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40685 include <kernel-features.h>.
40686 [!__NR_ftruncate64]: Remove conditional code.
40687 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40688 [__NR_ftruncate64]: Make code unconditional.
40689 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40690 * sysdeps/unix/sysv/linux/truncate64.c: Do not
40691 include <kernel-features.h>.
40692 [!__NR_ftruncate64]: Remove conditional code.
40693 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40694 [__NR_ftruncate64]: Make code unconditional.
40695 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40697 include <kernel-features.h>.
40698 [!__NR_ftruncate64]: Remove conditional code.
40699 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40700 [__NR_ftruncate64]: Make code unconditional.
40701 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40703 include <kernel-features.h>.
40704 [!__NR_ftruncate64]: Remove conditional code.
40705 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40706 [__NR_ftruncate64]: Make code unconditional.
40707 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40708
4da0431d
JM
40709 * configure.in (libc_cv_fpie): Weaken to a compile test using
40710 LIBC_TRY_CC_OPTION.
40711 * configure: Regenerated.
40712
11ef492c
AK
407132012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40714
40715 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40716 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40718 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40719 Refreshed.
40720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40721 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40723 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40724 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40726 Refreshed.
40727
d66ef399
DM
407282012-05-27 David S. Miller <davem@davemloft.net>
40729
40730 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40731 (___Q_zero): New.
40732 (__Q_simulate_exceptions): Return void. Change to simulate
40733 exceptions by writing into the %fsr.
40734 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40735 (__Qp_handle_exceptions): Likewise.
40736 (numbers): Delete.
40737 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40738 __Qp_handle_exceptions.
40739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40740 __Qp_handle_exceptions.
40741 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40742 as unused and give dummy FP_RND_NEAREST initializer.
40743 (FP_INHIBIT_RESULTS): Define.
40744 (___Q_simulate_exceptions): Update declaration.
40745 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40746 formatting.
40747 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40748 as unused and give dummy FP_RND_NEAREST initializer.
40749 (__Qp_handle_exceptions): Update declaration.
40750 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40751 formatting.
40752
04fb54b5
TS
407532012-05-27 Thomas Schwinge <thomas@codesourcery.com>
40754
40755 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40756 the temporary FPU control word.
40757 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40758 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40759 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40762 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40763 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40764 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40765 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40766 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40767 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40768
3f99608f
KK
407692012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
40770
40771 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40772 fields.
40773
65a4de4e
CLT
407742012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
40775
40776 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40777 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40778 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40779 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40780 Likewise.
40781 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40782 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40783 Likewise.
40784
15749d40
UD
407852012-05-27 Ulrich Drepper <drepper@gmail.com>
40786
40787 * po/h.po: Update from translation team.
40788
25dbcb27
AS
407892012-05-26 Andreas Schwab <schwab@linux-m68k.org>
40790
3d3f8e55
AS
40791 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40792
25dbcb27
AS
40793 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40794 handling of denormals.
40795 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40796 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40797 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40798 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40799 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40800 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40802 Likewise.
40803
7ad47a80 408042012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
40805
40806 [BZ #14152]
40807 * math/libm-test.inc (fma_test): Don't always expect underflow
40808 exception.
40809
9c6ea9fa
SP
408102012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
40811
40812 [BZ #12416]
40813 * elf/tst-execstack.c: Include stackinfo.h.
40814 (do_test): Adjust test case to ensure that pthread_getattr_np
40815 behaviour remains the same after marking stack executable.
40816
a8239222
JM
408172012-05-25 Joseph Myers <joseph@codesourcery.com>
40818
40819 * sysdeps/unix/sysv/linux/kernel-features.h
40820 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40821 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40822 kernel-features.h.
40823 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40824 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40825 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40826 kernel-features.h.
40827 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40828 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40829
918b5606
L
408302012-05-25 H.J. Lu <hongjiu.lu@intel.com>
40831
40832 * configure.in: Define the default includes to being none.
40833 * configure: Regenerated.
40834
3a097cc7
RM
408352012-05-25 Roland McGrath <roland@hack.frob.com>
40836
8422c9a5
RM
40837 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40838 * sysdeps/x86_64/setjmp.S: Likewise.
40839 * sysdeps/i386/bsd-setjmp.S: Likewise.
40840 * sysdeps/i386/bsd-_setjmp.S: Likewise.
40841 * sysdeps/i386/setjmp.S: Likewise.
40842 * sysdeps/i386/__longjmp.S: Likewise.
40843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40844 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40845
3a097cc7
RM
40846 * include/stap-probe.h: New file.
40847 * configure.in: Handle --enable-systemtap.
40848 * configure: Regenerated.
40849 * config.h.in (USE_STAP_PROBE): New #undef.
40850 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40851 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40852 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40853
21708942
JM
408542012-05-25 Joseph Myers <joseph@codesourcery.com>
40855
40856 [BZ #13717]
40857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40858 to 2.4.0 where earlier.
40859 * sysdeps/unix/sysv/linux/configure: Regenerated.
40860 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40861 <kernel-features.h>.
40862 [__ASSUME_32BITUIDS]: Make code unconditional.
40863 [!__ASSUME_32BITUIDS]: Remove conditional code.
40864 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40865 <kernel-features.h>.
40866 [__ASSUME_32BITUIDS]: Make code unconditional.
40867 [!__ASSUME_32BITUIDS]: Remove conditional code.
40868 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40869 [__ASSUME_32BITUIDS]: Make code unconditional.
40870 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40871 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40872 <kernel-features.h>.
40873 [__ASSUME_32BITUIDS]: Make code unconditional.
40874 [!__ASSUME_32BITUIDS]: Remove conditional code.
40875 * sysdeps/unix/sysv/linux/i386/geteuid.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/getgid.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/getgroups.c: Do not include
40884 <kernel-features.h>.
40885 [__ASSUME_32BITUIDS]: Make code unconditional.
40886 [!__ASSUME_32BITUIDS]: Remove conditional code.
40887 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40888 <kernel-features.h>.
40889 [__ASSUME_32BITUIDS]: Make code unconditional.
40890 [!__ASSUME_32BITUIDS]: Remove conditional code.
40891 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40892 <kernel-features.h>.
40893 [__ASSUME_32BITUIDS]: Make code unconditional.
40894 [!__ASSUME_32BITUIDS]: Remove conditional code.
40895 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40896 <kernel-features.h>.
40897 [__ASSUME_32BITUIDS]: Make code unconditional.
40898 [!__ASSUME_32BITUIDS]: Remove conditional code.
40899 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40900 <kernel-features.h>.
40901 [__ASSUME_32BITUIDS]: Make code unconditional.
40902 [!__ASSUME_32BITUIDS]: Remove conditional code.
40903 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40904 <kernel-features.h>.
40905 [__ASSUME_32BITUIDS]: Make code unconditional.
40906 [!__ASSUME_32BITUIDS]: Remove conditional code.
40907 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40908 <kernel-features.h>.
40909 [__ASSUME_32BITUIDS]: Make code unconditional.
40910 [!__ASSUME_32BITUIDS]: Remove conditional code.
40911 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40912 <kernel-features.h>.
40913 [__NR_setresgid] (__setresgid): Do not declare.
40914 [__ASSUME_32BITUIDS]: Make code unconditional.
40915 [!__ASSUME_32BITUIDS]: Remove conditional code.
40916 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40917 <kernel-features.h>.
40918 [__NR_setresuid] (__setresuid): Do not declare.
40919 [__ASSUME_32BITUIDS]: Make code unconditional.
40920 [!__ASSUME_32BITUIDS]: Remove conditional code.
40921 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40922 <kernel-features.h>.
40923 [__ASSUME_32BITUIDS]: Make code unconditional.
40924 [!__ASSUME_32BITUIDS]: Remove conditional code.
40925 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40926 <kernel-features.h>.
40927 [__ASSUME_32BITUIDS]: Make code unconditional.
40928 [!__ASSUME_32BITUIDS]: Remove conditional code.
40929 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40930 <kernel-features.h>.
40931 [__ASSUME_32BITUIDS]: Make code unconditional.
40932 [!__ASSUME_32BITUIDS]: Remove conditional code.
40933 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40934 <kernel-features.h>.
40935 [__ASSUME_32BITUIDS]: Make code unconditional.
40936 [!__ASSUME_32BITUIDS]: Remove conditional code.
40937 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40938 <kernel-features.h>.
40939 [__ASSUME_32BITUIDS]: Make code unconditional.
40940 [!__ASSUME_32BITUIDS]: Remove conditional code.
40941 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40942 <kernel-features.h>.
40943 [__ASSUME_32BITUIDS]: Make code unconditional.
40944 [!__ASSUME_32BITUIDS]: Remove conditional code.
40945 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40946 <kernel-features.h>.
40947 [__ASSUME_32BITUIDS]: Make code unconditional.
40948 [!__ASSUME_32BITUIDS]: Remove conditional code.
40949 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40950 <kernel-features.h>.
40951 [__ASSUME_32BITUIDS]: Make code unconditional.
40952 [!__ASSUME_32BITUIDS]: Remove conditional code.
40953 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40954 <kernel-features.h>.
40955 [__ASSUME_32BITUIDS]: Make code unconditional.
40956 [!__ASSUME_32BITUIDS]: Remove conditional code.
40957 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40958 <kernel-features.h>.
40959 [__ASSUME_32BITUIDS]: Make code unconditional.
40960 [!__ASSUME_32BITUIDS]: Remove conditional code.
40961 * sysdeps/unix/sysv/linux/kernel-features.h
40962 (__ASSUME_SETRESUID_SYSCALL): Remove.
40963 (__ASSUME_SETRESGID_SYSCALL): Likewise.
40964 (__ASSUME_32BITUIDS): Likewise.
40965 (__ASSUME_LDT_WORKS): Likewise.
40966 (__ASSUME_O_DIRECTORY): Likewise.
40967 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40968 architecture but not kernel version.
40969 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40970 (__ASSUME_MMAP2_SYSCALL): Likewise.
40971 (__ASSUME_STAT64_SYSCALL): Likewise.
40972 (__ASSUME_IPC64): Likewise.
40973 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40974 <kernel-features.h>.
40975 [__ASSUME_32BITUIDS]: Make code unconditional.
40976 [!__ASSUME_32BITUIDS]: Remove conditional code.
40977 * sysdeps/unix/sysv/linux/opendir.c: Do not include
40978 <kernel-features.h>.
40979 [__ASSUME_O_DIRECTORY]: Make code unconditional.
40980 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40981 132096]: Remove conditional code.
40982 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40983 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40984 <kernel-features.h>.
40985 [__ASSUME_32BITUIDS]: Make code unconditional.
40986 [!__ASSUME_32BITUIDS]: Remove conditional code.
40987 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40988 <kernel-features.h>.
40989 [__ASSUME_32BITUIDS]: Make code unconditional.
40990 [!__ASSUME_32BITUIDS]: Remove conditional code.
40991 * sysdeps/unix/sysv/linux/setegid.c: Do not include
40992 <kernel-features.h>.
40993 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40994 unconditional.
40995 (__setresgid): Do not declare.
40996 [__ASSUME_32BITUIDS]: Make code unconditional.
40997 [!__ASSUME_32BITUIDS]: Remove conditional code.
40998 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40999 <kernel-features.h>.
41000 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41001 unconditional.
41002 (__setresuid): Do not declare.
41003 [__ASSUME_32BITUIDS]: Make code unconditional.
41004 [!__ASSUME_32BITUIDS]: Remove conditional code.
41005 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41006 <kernel-features.h>.
41007 [__ASSUME_32BITUIDS]: Make code unconditional.
41008 [!__ASSUME_32BITUIDS]: Remove conditional code.
41009 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41010 <kernel-features.h>.
41011 [__ASSUME_32BITUIDS]: Make code unconditional.
41012 [!__ASSUME_32BITUIDS]: Remove conditional code.
41013
a386f1cc
RH
410142012-05-25 Richard Henderson <rth@twiddle.net>
41015
41016 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41017 dl_hwcap to ifunc resolver.
41018 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41019 elf_ifunc_invoke.
41020 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41021 dl_hwcap to ifunc resolver.
41022 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41023
b6550497
JM
410242012-05-24 Joseph Myers <joseph@codesourcery.com>
41025
41026 [BZ #14153]
41027 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41028 for |x| <= 2**-26, not 2**-57.
41029 * math/libm-test.inc (acos_test): Do not allow spurious underflow
41030 exception.
41031
b0bc23a1
JL
410322012-05-24 Jeff Law <law@redhat.com>
41033
41034 * stdio-common/Makefile (tests): Add bug25.
41035 * stdio-common/bug25.c: New test.
41036
347c92e9
L
410372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41038
41039 [BZ #13576]
41040 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41041 multiple of MALLOC_ALIGNMENT in size.
41042 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41043
6bcc8b3f
JM
410442012-05-24 Joseph Myers <joseph@codesourcery.com>
41045
41046 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41047 Require >= 256.
41048 (FILENAME_MAX): Use macro-int-constant.
41049 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
41050 (_IOFBF): Use macro-int-constant.
41051 (_IOLBF): Likewise.
41052 (_IONBF): Likewise.
41053 (SEEK_CUR): Likewise.
41054 (SEEK_END): Likewise.
41055 (SEEK_SET): Likewise.
41056 (TMP_MAX): Likewise.
41057 (EOF): Use macro-int-constant. Require < 0.
41058 (NULL): Use macro-constant. Require == 0.
41059 (stdin): Require type to be FILE *.
41060 (stdout): Likewise.
41061 (stderr): Likewise.
41062 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41063 macro-int-constant.
41064 (EXIT_SUCCESS): Likewise.
41065 (NULL): Use macro-constant. Require == 0.
41066 (RAND_MAX): Use macro-int-constant.
41067 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41068 [C99-based standards] (strtof): Require function.
41069 [C99-based standards] (strtold): Likewise.
41070 [C99-based standards] (strtoll): Likewise.
41071 [C99-based standards] (strtoull): Likewise.
41072 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41073 [ISO || ISO99 || ISO11] (limits.h): Likewise.
41074 [ISO || ISO99 || ISO11] (math.h): Likewise.
41075 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41076 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41077 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41078
d18ea0c5
AS
410792012-05-24 Andreas Schwab <schwab@linux-m68k.org>
41080
41081 [BZ #14132]
56d25bb8
AS
41082 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41083 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41084 * intl/dgettext.c (DCGETTEXT): Likewise.
41085 * intl/gettext.c (DCGETTEXT): Likewise.
41086 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41087 * posix/regex_internal.h (gettext): Likewise.
41088 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41089 Remove declaration.
41090 * include/argz.h (__argz_count_internal)
41091 (__argz_stringify_internal): Remove declaration.
41092 (__argz_count, __argz_stringify): Declare hidden proto.
41093 * intl/dcgettext.c: Remove use of INTDEF.
41094 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41095 * string/argz-stringify.c: Likewise.
41096 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41097 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41098 Declare hidden proto.
d18ea0c5
AS
41099 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41100 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41101 Declare hidden proto.
41102 * include/stdio.h (__asprintf_internal): Don't declare.
41103 (__asprintf): Don't define as macro. Declare hidden proto.
41104 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41105 (__fsetlocking): Declare hidden proto.
41106 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41107 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41108 hidden proto.
41109 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41110 (_IO_setlinebuf): Remove use of INTUSE.
41111 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41112 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41113 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41114 Remove declaration.
41115 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41116 (_IO_do_flush): Remove use of INTUSE.
41117 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41118 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41119 (_IO_adjust_column, _IO_least_wmarker)
41120 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41121 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41122 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41123 (_IO_default_doallocate, _IO_wdefault_doallocate)
41124 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41125 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41126 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41127 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41128 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41129 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41130 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41131 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41132 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41133 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41134 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41135 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41136 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41137 proto.
41138 (_IO_flush_all_internal, _IO_adjust_column_internal)
41139 (_IO_default_uflow_internal, _IO_default_finish_internal)
41140 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41141 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41142 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41143 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41144 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41145 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41146 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41147 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41148 (_IO_file_close_internal, _IO_file_close_it_internal)
41149 (_IO_file_underflow_internal, _IO_file_overflow_internal)
41150 (_IO_file_init_internal, _IO_file_attach_internal)
41151 (_IO_file_fopen_internal, _IO_file_read_internal)
41152 (_IO_file_sync_internal, _IO_file_seek_internal)
41153 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41154 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41155 (_IO_str_underflow_internal, _IO_str_overflow_internal)
41156 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41157 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41158 (_IO_list_all_internal, _IO_link_in_internal)
41159 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41160 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41161 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41162 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41163 (_IO_do_write_internal, _IO_padn_internal)
41164 (_IO_getline_info_internal, _IO_getline_internal)
41165 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41166 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41167 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41168 (_IO_vfscanf_internal, _IO_vfprintf_internal)
41169 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41170 (_IO_init_internal, _IO_un_link_internal): Don't declare.
41171 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41172 with libc_hidden_ver, remove use of INTUSE.
41173 * libio/genops.c: Likewise.
41174 * libio/freopen.c: Likewise.
41175 * libio/freopen64.c: Likewise.
41176 * libio/iofclose.c: Likewise.
41177 * libio/iofdopen.c: Likewise.
41178 * libio/iofflush.c: Likewise.
41179 * libio/iofflush_u.c: Likewise.
41180 * libio/iofgets.c: Likewise.
41181 * libio/iofgets_u.c: Likewise.
41182 * libio/iofopen.c: Likewise.
41183 * libio/iofopncook.c: Likewise.
41184 * libio/iofread.c: Likewise.
41185 * libio/iofread_u.c: Likewise.
41186 * libio/ioftell.c: Likewise.
41187 * libio/iofwrite.c: Likewise.
41188 * libio/iogetline.c: Likewise.
41189 * libio/iogets.c: Likewise.
41190 * libio/iogetwline.c: Likewise.
41191 * libio/iopadn.c: Likewise.
41192 * libio/iopopen.c: Likewise.
41193 * libio/ioseekoff.c: Likewise.
41194 * libio/ioseekpos.c: Likewise.
41195 * libio/iosetbuffer.c: Likewise.
41196 * libio/iosetvbuf.c: Likewise.
41197 * libio/ioungetc.c: Likewise.
41198 * libio/ioungetwc.c: Likewise.
41199 * libio/iovdprintf.c: Likewise.
41200 * libio/iovsprintf.c: Likewise.
41201 * libio/iovsscanf.c: Likewise.
41202 * libio/memstream.c: Likewise.
41203 * libio/obprintf.c: Likewise.
41204 * libio/oldfileops.c: Likewise.
41205 * libio/oldiofclose.c: Likewise.
41206 * libio/oldiofdopen.c: Likewise.
41207 * libio/oldiofopen.c: Likewise.
41208 * libio/oldiopopen.c: Likewise.
41209 * libio/oldstdfiles.c: Likewise.
41210 * libio/putc.c: Likewise.
41211 * libio/setbuf.c: Likewise.
41212 * libio/setlinebuf.c: Likewise.
41213 * libio/stdfiles.c: Likewise.
41214 * libio/strops.c: Likewise.
41215 * libio/vasprintf.c: Likewise.
41216 * libio/vscanf.c: Likewise.
41217 * libio/vsnprintf.c: Likewise.
41218 * libio/vswprintf.c: Likewise.
41219 * libio/wfiledoalloc.c: Likewise.
41220 * libio/wfileops.c: Likewise.
41221 * libio/wgenops.c: Likewise.
41222 * libio/wmemstream.c: Likewise.
41223 * libio/wstrops.c: Likewise.
41224 * libio/__fpurge.c: Likewise.
41225 * libio/__fsetlocking.c: Likewise.
41226 * assert/assert.c: Likewise.
41227 * debug/fgets_chk.c: Likewise.
41228 * debug/fgets_u_chk.c: Likewise.
41229 * debug/fread_chk.c: Likewise.
41230 * debug/fread_u_chk.c: Likewise.
41231 * debug/gets_chk.c: Likewise.
41232 * debug/obprintf_chk.c: Likewise.
41233 * debug/vasprintf_chk.c: Likewise.
41234 * debug/vdprintf_chk.c: Likewise.
41235 * debug/vsnprintf_chk.c: Likewise.
41236 * debug/vsprintf_chk.c: Likewise.
41237 * malloc/mtrace.c: Likewise.
41238 * misc/error.c: Likewise.
41239 * misc/syslog.c: Likewise.
41240 * stdio-common/asprintf.c: Likewise.
41241 * stdio-common/fxprintf.c: Likewise.
41242 * stdio-common/getw.c: Likewise.
41243 * stdio-common/isoc99_fscanf.c: Likewise.
41244 * stdio-common/isoc99_scanf.c: Likewise.
41245 * stdio-common/isoc99_vfscanf.c: Likewise.
41246 * stdio-common/isoc99_vscanf.c: Likewise.
41247 * stdio-common/isoc99_vsscanf.c: Likewise.
41248 * stdio-common/printf-prs.c: Likewise.
41249 * stdio-common/printf_fp.c: Likewise.
41250 * stdio-common/printf_fphex.c: Likewise.
41251 * stdio-common/printf_size.c: Likewise.
41252 * stdio-common/putw.c: Likewise.
41253 * stdio-common/scanf.c: Likewise.
41254 * stdio-common/sprintf.c: Likewise.
41255 * stdio-common/tmpfile.c: Likewise.
41256 * stdio-common/vfprintf.c: Likewise.
41257 * stdio-common/vfscanf.c: Likewise.
41258 * stdlib/strfmon_l.c: Likewise.
41259 * sunrpc/openchild.c: Likewise.
41260 * sunrpc/xdr_stdio.c: Likewise.
41261 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41262 * sysdeps/mach/hurd/tmpfile.c: Likewise.
41263
d6c33fda
RM
412642012-05-24 Roland McGrath <roland@hack.frob.com>
41265
c1487492
RM
41266 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41267
41268 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41269 in the third column, to generate for the shared library an IFUNC
41270 that uses _dl_vdso_vsym.
41271 * Makerules (COMPILE.c, compile-stdin.c): New variables.
41272 * Makeconfig (object-suffixes-noshared): New variable.
41273
41274 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41275 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41276 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41277 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41278
d6c33fda
RM
41279 [BZ #14132]
41280 * include/sys/time.h (__gettimeofday): Remove macro.
41281 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41282 * time/gettimeofday.c (__gettimeofday): Remove #undef.
41283 Remove INTDEF.
41284 (__gettimeofday): Add libc_hidden_def.
41285 (gettimeofday): Add libc_hidden_weak.
41286 * sysdeps/mach/gettimeofday.c: Likewise.
41287 * sysdeps/posix/gettimeofday.c: Likewise.
41288 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41289 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41291 (__gettimeofday_internal): Remove strong_alias.
41292 (__gettimeofday): Add libc_hidden_def.
41293 (gettimeofday): Add libc_hidden_weak.
41294 * sysdeps/unix/syscalls.list (gettimeofday):
41295 Remove __gettimeofday_internal alias.
41296
b5a2bbe6
L
412972012-05-24 Daniel Jacobowitz <drow@false.org>
41298 H.J. Lu <hongjiu.lu@intel.com>
41299
41300 [BZ #12495]
41301 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41302 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41303 (largebin_index_32_big): New.
41304 (largebin_index): Use it for 16-byte alignment.
41305 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
41306 correction with front_misalign.
41307
cfba4fda
L
413082012-05-24 H.J. Lu <hongjiu.lu@intel.com>
41309
7f907421
L
41310 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41311 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41312 Likewise.
41313 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41314 Likewise.
41315 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41316 Likewise.
41317 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41318 Likewise.
41319 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41320 Likewise.
41321 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41322 Likewise.
41323 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41324 Likewise.
41325 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41326 Likewise.
41327 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41328 Likewise.
41329 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41330 Likewise.
41331 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41332 Likewise.
41333 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41334 Likewise.
41335
cfba4fda
L
41336 * scripts/data/c++-types-x32-linux-gnu.data: New file.
41337 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41338
80bad0cc
JM
413392012-05-24 Joseph Myers <joseph@codesourcery.com>
41340
7a25eb06
JM
41341 [BZ #10846]
41342 [BZ #14036]
41343 * math/libm-test.inc (exp_test): Add test from bug 14036.
41344 (pow_test): Add test from bug 10846.
41345
795405f9
JM
41346 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41347 and other flags.
41348 (special_function): Do not include flags in test name.
41349 (parse_args): Likewise.
41350 * sysdeps/i386/fpu/libm-test-ulps: Update.
41351 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41352 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41353 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41355
80bad0cc
JM
41356 * math/gen-libm-test.pl (%beautify): Add entries for underflow
41357 exceptions.
41358 * math/libm-test.inc ("Philosophy"): Update comment about
41359 exception testing.
41360 (UNDERFLOW_EXCEPTION): New macro.
41361 (UNDERFLOW_EXCEPTION_OK): Likewise.
41362 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41363 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41364 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41365 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41366 (INVALID_EXCEPTION_OK): Update value.
41367 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41368 (OVERFLOW_EXCEPTION_OK): Likewise.
41369 (IGNORE_ZERO_INF_SIGN): Likewise.
41370 (test_exceptions): Handle underflow exceptions.
41371 (acos_test): Update for underflow exception expectations.
41372 (cexp_test): Likewise.
41373 (clog_test): Likewise.
41374 (clog10_test): Likewise.
41375 (csqrt_test): Likewise.
41376 (ctan_test): Likewise.
41377 (ctanh_test): Likewise.
41378 (exp_test): Likewise.
41379 (exp10_test): Likewise.
41380 (exp2_test): Likewise.
41381 (expm1_test): Likewise.
41382 (fma_test): Likewise.
41383 (j0_test): Likewise.
41384 (jn_test): Likewise.
41385 (nexttoward_test): Likewise.
41386 (pow_test): Likewise.
41387 (scalbn_test): Likewise.
41388 (scalbln_test): Likewise.
41389 (tan_test): Likewise.
41390 (y1_test): Likewise.
41391 * sysdeps/i386/fpu/libm-test-ulps: Update.
41392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41393
9e0e3d0b
DM
413942012-05-23 David S. Miller <davem@davemloft.net>
41395
41396 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41397 (__libc_sigaction): Remove unused local variables.
41398
ccd0a08f
L
413992012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41400
41401 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41402
62bdf9a6
PE
414032012-05-23 Paul Eggert <eggert@cs.ucla.edu>
41404
f8591f80
PE
41405 mktime: avoid signed integer overflow
41406 * time/mktime.c (__mktime_internal): Do not mishandle the case
41407 where diff == INT_MIN.
41408
94c7d826
PE
41409 mktime: simplify computation of average
41410 * time/mktime.c (ranged_convert): Use new time_t_avg function
41411 instead of rolling our own (probably-slower) code.
41412
ce73d683
PE
41413 mktime: do not assume signed right shift propagates sign bit
41414 * time/mktime.c (isdst_differ): New static function.
41415 (__mktime_internal): No need to normalize tm_isdst now.
41416 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41417 tm_isdst values.
41418
72a22e59
PE
41419 mktime: merge another wrapv change from gnulib
41420 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41421 from some compilers.
41422
68605433
PE
41423 mktime: remove incorrect attempt at unusual arithmetics
41424 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41425 The code didn't really work on such machines anyway.
41426 (TYPE_MINIMUM): Assume two's complement.
41427 (twos_complement_arithmetic): Verify that long_int and time_t
41428 are two's complement (or unsigned, in the latter case).
41429
03cf7fe3
PE
41430 mktime: check signed shifts on long_int and time_t, too
41431 * time/mktime.c (SHR): Check that shifts work as desired
41432 on the types long_int and time_t too, as SHR is used on
41433 such types.
41434
f04dfbc2
PE
41435 mktime: do not assume 'long' is wide enough
41436 * time/mktime.c (verify): Move decl up.
41437 (long_int): New type.
41438 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41439 to remove assumption in the code that 'long' is wide enough to
41440 store year values. This assumption is not true on x32 and on
41441 some non-glibc platforms.
41442
62bdf9a6
PE
41443 mktime: merge wrapv change from gnulib
41444 * time/mktime.c (WRAPV): New macro.
41445 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41446 (guess_time_tm, __mktime_internal): Do not assume that signed
41447 integer overflow wraps around; modern compilers generate code
41448 where this assumption is no longer valid.
41449
5e292e4f
L
414502012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41451
41452 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41453 Replace "jmp L(pseudo_end)" with "ret".
41454 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41455 Likewise.
41456
8caf8c87
AJ
414572012-05-23 Andreas Jaeger <aj@suse.de>
41458
41459 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41460 * sysdeps/unix/sysv/linux/poll.c: Remove file.
41461
1a09dc56
AJ
414622012-05-23 Andreas Jaeger <aj@suse.de>
41463 Maximilian Attems <max@stro.at>
41464
41465 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41466 New macros.
41467
1c87aba0
L
414682012-05-23 H.J. Lu <hongjiu.lu@intel.com>
41469
41470 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41471 code so that pseudo_end is just ret and the stack pointer is
41472 correct also for static library in error case.
41473
40e45bd5
JM
414742012-05-23 Joseph Myers <joseph@codesourcery.com>
41475
c2670533
JM
41476 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41477 move to syscalls.list.
41478 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41480 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41482
40e45bd5
JM
41483 * manual/install.texi (Running make install): Do not mention Linux
41484 kernel version for which pt_chown is not needed.
41485 (Linux): Do not mention problems with nscd with 2.0 kernels.
41486 * INSTALL: Regenerated.
41487
be08eda5
AJ
414882012-05-23 Andreas Jaeger <aj@suse.de>
41489
41490 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41491 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41492 macro.
41493 * sysdeps/unix/sysv/linux/s390/bits/mman.h
41494 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41495 * sysdeps/unix/sysv/linux/sh/bits/mman.h
41496 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41497 * sysdeps/unix/sysv/linux/i386/bits/mman.h
41498 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41499 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41500 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41501 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41502 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41503 * sysdeps/unix/sysv/linux/bits/in.h
41504 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41505
a6a056bb
RM
415062012-05-22 Roland McGrath <roland@hack.frob.com>
41507
41508 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41509 (PREPARE_VERSION): Just use assert instead, it will be elided
41510 under [NDEBUG] anyway.
41511
c9009328
L
415122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41513
41514 * sysdeps/unix/sysv/linux/Makefile: Include
41515 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 41516 (sysdep_routines): Remove sysctl.
c9009328
L
41517 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41518 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41519 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41520 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41521 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41522
73338355
AJ
415232012-05-22 Andreas Jaeger <aj@suse.de>
41524
41525 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41526 that pseudo_end is just ret and the stack pointer is correct also
41527 for static library in error case.
41528
d44638b0
PP
415292012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
41530
41531 [BZ #14122]
41532 * nss/nsswitch.c (defconfig_entries): New variable.
41533 (__nss_database_lookup): Don't leak defconfig entries.
41534 (nss_parse_service_list): Don't leak on error paths.
41535 (free_database_entries): New function.
41536 (free_defconfig): New function.
41537 (free_mem): Move common code to free_database_entries.
41538
31a39bd8
L
415392012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41540
da0331a8
L
41541 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41542 Add arch_prctl.
41543 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41544
31a39bd8
L
41545 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41546 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41547 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41548 New macro.
41549 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41550 (INTERNAL_SYSCALL_TYPES): Likewise.
41551 (LOAD_ARGS_TYPES_[1-6]): Likewise.
41552 (LOAD_REGS_TYPES_[1-6]): Likewise.
41553 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41554 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41555
45470df3
AZ
415562012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41557
41558 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41559 copysignl for GLIBC_2_0.
41560 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41561 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41563 logbl for GLIBC_2_0.
41564 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41565 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41566
98a61bcb
L
415672012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41568
a4f6e481
L
41569 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41570 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
41571
f63d5db6
L
41572 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41573 Use "neg %eax".
41574
98a61bcb
L
41575 * time/mktime.c: Update copyright years.
41576
95770f14
PE
415772012-05-22 Paul Eggert <eggert@cs.ucla.edu>
41578
6226efbd
PE
41579 mktime: merge comment-quoting-style change from gnulib
41580 * time/mktime.c: Quote 'like this' in comments.
41581 The GNU coding standards suggest that we no longer quote `like this',
41582 as "`" and "'" are typically rendered asymmetrically nowadays.
41583 The typical gnulib style is to quote 'like this' when quoting
41584 code, and "like this" when quoting English.
41585
b99e4f78
PE
41586 * time/mktime.c (compile-command): Add "-I.".
41587
643e01e6
PE
41588 mktime: merge mktime-internal.h change from gnulib
41589 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41590
2554247d
PE
41591 mktime: merge time_r change from gnulib
41592 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41593
826dd0ab
PE
41594 mktime: merge DEBUG change from gnulib
41595 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41596 case system <time.h> has a #define.
41597
bd83aabe
PE
41598 mktime: merge <sys/types.h> change from gnulib
41599 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41600 since <time.t> is now guaranteed to define time_t.
41601
95770f14
PE
41602 mktime: merge HAVE_CONFIG_H change from gnulib
41603 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41604
5e1a27a9
L
416052012-05-22 H.J. Lu <hongjiu.lu@intel.com>
41606
0e44a77e
L
41607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41608 Use "neg %eax".
41609
5e1a27a9
L
41610 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41611 __rlim_t cast.
41612 (struct rusage): Use anonymous union to pad each field to
41613 __syscall_slong_t.
41614
46259bec
DM
416152012-05-21 David S. Miller <davem@davemloft.net>
41616
41617 * Makefules (o-iterator): Remove .s cases.
41618 (compile-command.s): Delete.
41619 (COMPILE.s): Delete.
41620 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41621
59f0c22e
JM
416222012-05-21 Joseph Myers <joseph@codesourcery.com>
41623
41624 * configure.in (libc_cv_predef_stack_protector): Only consider
41625 "foobar" and "__stack_chk_fail" lines in libc_undefs.
41626 * configure: Regenerated.
41627
20c07380
L
416282012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41629
bbb3154b
L
41630 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41631 New macro. Use R*LP on int and pointer.
41632 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
41633 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41634 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
41635 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41636
20c07380
L
41637 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41638 [__WORDSIZE_TIME64_COMPAT32] instead of
41639 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41640 (struct utmp): Likewise.
41641 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41642 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41643 Renamed to ...
41644 (__WORDSIZE_TIME64_COMPAT32): This.
41645 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41646 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41647 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41648 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41649 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41650 (__WORDSIZE_TIME64_COMPAT32): New macro.
41651
d8d1017e
AJ
416522012-05-21 Andreas Jaeger <aj@suse.de>
41653
41654 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41655 only if [SHARED]. Add prototype for __wcschr_ia32.
41656
6c7fb145
RM
416572012-05-21 Roland McGrath <roland@hack.frob.com>
41658
41659 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41660 of %rbp unmolested in the jmp_buf while mangling the low bits.
41661 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41662 unmolested high bits of %rbp while demangling the low bits.
41663 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41664
66274218
AJ
416652012-05-21 Andreas Jaeger <aj@suse.de>
41666
07c58f8f
AJ
41667 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41668 * sunrpc/svc_simple.c: Use it for registerrpc.
41669 * sunrpc/xcrypt.c: Use it for passwd2des.
41670
66274218
AJ
41671 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41672
61f65140
L
416732012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41674
41675 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41676 Don't define if [__SYSCALL_WORDSIZE != 32].
41677 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41678 New macro.
41679
5fefb436
AJ
416802012-05-21 Bruno Haible <bruno@clisp.org>
41681 Andreas Jaeger <aj@suse.de>
41682
41683 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41684 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41685 inptr and inend for must_buffer_ch.
41686 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41687 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41688 * stdio-common/Makefile (tests): Remove bug15.
41689 (bug15-ENV): Remove macro.
41690 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41691 anymore.
41692
d8e272ab
AJ
416932012-05-19 Andreas Jaeger <aj@suse.de>
41694 Roland McGrath <roland@hack.frob.com>
41695
41696 * manual/contrib.texi: Completely rewritten. It contains now an
41697 alphabetical list of contributors and their contributions.
41698
4a56a162
RH
416992012-05-21 Richard Henderson <rth@twiddle.net>
41700
41701 * misc/getauxval.c (__getauxval): Use unsigned long int.
41702 * misc/sys/auxv.h: Include <sys/cdefs.h>.
41703 (getauxval): Use unsigned long int.
41704
d024d23c
L
417052012-05-21 H.J. Lu <hongjiu.lu@intel.com>
41706
41707 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41708
cbc00a03
RM
417092012-05-21 Roland McGrath <roland@hack.frob.com>
41710
41711 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41712 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41713 __alignof__ (long double).
41714
478143fa
AZ
417152012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41716
41717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41718
c7683a6d
RH
417192012-05-20 Richard Henderson <rth@twiddle.net>
41720
41721 * misc/getauxval.c: New file.
41722 * misc/sys/auxv.h: New file.
41723 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41724 (routines): Add getauxval.
41725 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41726 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41727 * elf/dl-sysdep.c (_dl_auxv): Remove.
41728 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41729 * elf/dl-support.c (_dl_auxv): New variable.
41730 (_dl_aux_init): Initialize it.
41731 * manual/startup.texi (Auxiliary Vector): New node.
41732 * sysdeps/generic/bits/hwcap.h: New file.
41733 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41734 * sysdeps/powerpc/sysdep.h: ... here. Include it.
41735 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41736 * sysdeps/sparc/sysdep.h: ... here. Include it.
41737 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41738 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
41739 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41740 Update.
c7683a6d
RH
41741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41742 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41743 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41744 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41745 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41746 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41749
a6f1845d
AZ
417502012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41751
41752 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41753
cbcbe830
DM
417542012-05-19 David S. Miller <davem@davemloft.net>
41755
41756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41757
e0b16cc2
JM
417582012-05-19 Joseph Myers <joseph@codesourcery.com>
41759
41760 [BZ #14123]
41761 * math/s_ccosh.c: Include <float.h>
41762 (__ccosh): Avoid internal overflow calculating sinh and cosh
41763 values before multiplying by sin and cos values.
41764 * math/s_ccoshf.c: Likewise.
41765 * math/s_ccoshl.c: Likewise.
41766 * math/s_csin.c: Likewise.
41767 * math/s_csinf.c: Likewise.
41768 * math/s_csinl.c: Likewise.
41769 * math/s_csinh.c: Likewise.
41770 * math/s_csinhf.c: Likewise.
41771 * math/s_csinhl.c: Likewise.
41772 * math/libm-test.inc (ccos_test): Add more tests.
41773 (ccosh_test): Likewise.
41774 (csin_test): Likewise.
41775 (csinh_test): Likewise.
41776 * sysdeps/i386/fpu/libm-test-ulps: Update.
41777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41778
6ad13e08
L
417792012-05-19 H.J. Lu <hongjiu.lu@intel.com>
41780
f66f0ce8
L
41781 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41782 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41783
6ad13e08
L
41784 * sysdeps/x86_64/x32/_itoa.h: Add comment.
41785
b1d072a7
JM
417862012-05-19 Joseph Myers <joseph@codesourcery.com>
41787
41788 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41789 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41790 * sysdeps/powerpc/soft-fp/Versions: Likewise.
41791 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41792 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41793 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41794 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41795 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41796 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41797 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41798 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41799 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41800 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41801 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41802 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41803 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41804 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41805 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41806 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41807 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41808 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41809 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41810 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41811 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41812 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41813 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41814 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41815 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41816 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41817 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41818 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41819
9eae47cb
AJ
418202012-05-18 Andreas Jaeger <aj@suse.de>
41821
41822 * csu/.gitignore: Delete.
41823
bb07f69f
L
418242012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41825
41826 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41827 (timex): Use __syscall_slong_t.
41828
e6bdb741
AJ
418292012-05-18 Andreas Jaeger <aj@suse.de>
41830 Carlos O'Donell <carlos_odonell@mentor.com>
41831
41832 * manual/install.texi (Configuring and compiling): Update
41833 description about files modified in the source directory.
d6c33fda 41834 * INSTALL: Regenerated.
e6bdb741 41835
1b74487e
L
418362012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41837
41838 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41839 value. Use "or" to set return value to -1.
41840 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41841 negate return value.
41842
a88b64b9
TMQMF
418432012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
41844
57f41c40
AS
41845 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41846 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
a88b64b9
TMQMF
41847 failure if the compiler has Graphite support disabled.
41848 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41849 Likewise.
57f41c40
AS
41850 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41851 (CFLAGS-memmove.c): Likewise.
a88b64b9
TMQMF
41852 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41853 Likewise.
41854
3707636e
L
418552012-05-18 H.J. Lu <hongjiu.lu@intel.com>
41856
610b8622
L
41857 * sysdeps/x86_64/x32/_itoa.h: New file.
41858
7cd195df
L
41859 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41860 getdents system call only if kernel and user dirents have the
41861 same d_ino and d_off.
41862
94b07d20
L
41863 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41864 LLONG_MAX != LONG_MAX.
41865 (_itoa_word): Use _ITOA_WORD_TYPE on value.
41866 (_fitoa_word): Likewise.
41867
18298070
L
41868 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41869 years.
41870 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41871 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41872 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41873
553c7ea4
L
41874 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41875 include <bits/wordsize.h>. Check __x86_64__ instead of
41876 __WORDSIZE.
41877 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41878 if __x86_64__ is defined. Use anonymous union on fpstate.
41879
3707636e
L
41880 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41881 anonymous union.
41882
b53ef01a
AS
418832012-05-18 Andreas Schwab <schwab@linux-m68k.org>
41884
37fb1dc0
AS
41885 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41886 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41887 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41888 Refer to _rtld_local_ro instead of _rtld_global_ro.
41889 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41890 Likewise.
41891 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41892 Likewise.
41893 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41894 Likewise.
41895 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41896 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41897 of _rtld_global, and rtld_progname instead of _dl_argv[0].
41898
b53ef01a
AS
41899 * sysdeps/powerpc/powerpc32/dl-machine.c
41900 (__elf_machine_runtime_setup) [PROF]: Don't reference
41901 _dl_prof_resolve.
41902
7a185db2
AJ
419032012-05-18 Andreas Jaeger <aj@suse.de>
41904
41905 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41906 function only available for GCCs before 3.4 since GCC 3.4
41907 introduced a builtin.
41908 (lrint): Likewise.
41909 (llrintf): Likewise.
41910 (llrint): Likewise.
41911 (fmaxf): Likewise.
41912 (fmax): Likewise.
41913 (fminf): Likewise.
41914 (fmin): Likewise.
41915 (rint): Likewise.
41916 (rintf): Likewise.
41917 (nearbyint): Likewise.
41918 (nearbyintf): Likewise.
41919 (ceil): Likewise.
41920 (ceilf): Likewise.
41921 (floor): Likewise.
41922 (floorf): Likewise.
41923
3e5aef87
L
419242012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41925
428bd707
L
41926 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41927 on both fields and cast pointer to __syscall_ulong_t.
41928
3e5aef87
L
41929 * bits/types.h (__fsword_t): New type.
41930 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41931 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41932 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41933 (__FSWORD_T_TYPE): Likewise.
41934 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41935 (__FSWORD_T_TYPE): Likewise.
41936 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41937 (__FSWORD_T_TYPE): Likewise.
41938 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41939 (__FSWORD_T_TYPE): Likewise.
41940 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41941 __SWORD_TYPE with __fsword_t.
41942 (statfs64): Likewise.
41943
1ba7c3dc
DM
419442012-05-17 David S. Miller <davem@davemloft.net>
41945
41946 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41947
59910343
AJ
419482012-05-17 Andreas Jaeger <aj@suse.de>
41949
41950 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41951 warning.
41952
2e4c1e9e
L
419532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41954
41955 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41956
de7f5ce7
AJ
419572012-05-17 Andreas Jaeger <aj@suse.de>
41958
41959 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41960 when it is used.
41961
286abc3d
CM
419622012-05-17 Chris Metcalf <cmetcalf@tilera.com>
41963
41964 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41965
477cc68e
L
419662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
41967
41968 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41969 * sysdeps/x86_64/tst-mallocalign1.c: New file.
41970
1a0994f5
CD
419712012-05-17 Andreas Jaeger <aj@suse.de>
41972 Carlos O'Donell <carlos_odonell@mentor.com>
41973
41974 [BZ #14059]
41975 * sysdeps/x86_64/multiarch/init-arch.h
41976 (bit_YMM_Usable): Rename to...
41977 (bit_AVX_Usable): ... this.
41978 (bit_FMA4_Usable): New macro.
41979 (bit_XMM_state): New macro.
41980 (bit_YMM_state): New macro.
41981 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41982 [__ASSEMBLER__] (index_AVX_Usable): ... this.
41983 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41984 (CPUID_OSXSAVE): New macro.
41985 (CPUID_AVX): New macro.
41986 (CPUID_FMA4): New macro.
41987 (index_YMM_Usable): Rename to...
41988 (index_AVX_Usable): ... this.
41989 (HAS_AVX): Use HAS_ARCH_FEATURE.
41990 (HAS_FMA4): Likewise.
41991 (HAS_YMM_USABLE): Remove.
41992 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41993 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41994 are present.
41995 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41996 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41997 * sysdeps/x86_64/multiarch/Makefile: Likewise.
41998 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41999 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42000
0af797de
CM
420012012-05-17 Chris Metcalf <cmetcalf@tilera.com>
42002
42003 * math/libm-test.c: Support platforms without multiple rounding modes.
42004 * math/bug-nextafter.c: Support platforms without FP exceptions.
42005 * math/bug-nexttoward.c: Likewise.
42006 * math/test-fenv.c: Likewise.
42007 * math/test-misc.c: Likewise.
42008 * stdlib/bug-getcontext.c: Likewise.
42009
e39745ff
AJ
420102012-05-17 Andreas Jaeger <aj@suse.de>
42011
42012 * manual/examples/search.c (critter_cmp): Change signature to
42013 avoid warnings.
42014 * manual/string.texi (Collation Functions): Likewise.
42015
48970aba
L
420162012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42017
42018 * bits/types.h: Fold copyright years.
42019 * bits/typesizes.h: Likewise.
42020 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42021 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42022 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42023 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42024 * time/time.h: Likewise.
42025
bedee953
PP
420262012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
42027
42028 [BZ #208]
42029 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42030 in instead of returning them. Return void.
42031 (__libc_mallinfo): Accumulate over all arenas.
42032 (__malloc_stats): Adjust for change in int_mallinfo interface.
42033
61653dfb
RM
420342012-05-16 Roland McGrath <roland@hack.frob.com>
42035
30b99d79
RM
42036 [BZ #10375]
42037 * configure.in (NM): Add AC_CHECK_TOOL for it.
42038 (libc_extra_cflags): New substituted variable.
42039 Check for -fstack-protector being used implicitly.
42040 * configure: Regenerated.
42041 * config.make.in (config-extra-cflags): New variable,
42042 gets @libc_extra_cflags@.
42043 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42044
61653dfb
RM
42045 [BZ #10375]
42046 * configure.in: Check for _FORTIFY_SOURCE being predefined.
42047 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42048 * configure: Regenerated.
42049 * config.make.in (CPPUNDEFS): New substituted variable.
42050 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42051 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42052 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42053
661768bb
L
420542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42055
42056 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42057 (mq_attr): Use __syscall_slong_t.
42058
d4261567
L
420592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42060
42061 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42062 Check __x86_64__ instead of __WORDSIZE.
42063 (_STAT_VER_LINUX): Likewise.
42064 (stat): Check __x86_64__ instead of __WORDSIZE. Use
42065 __syscall_ulong_t and __syscall_slong_t.
42066 (stat64): Likewise.
42067
cf3ff365
L
420682012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42069
42070 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42071
76cf3e4d
L
420722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42073
42074 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42075
a637753a
L
420762012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42077
42078 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42079 __syscall_ulong_t.
42080
d5e05119
L
42081 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42082 include <bits/wordsize.h>. Check __x86_64__ instead of
42083 __WORDSIZE.
42084 (greg_t): Use "__extension__ long long int" if __x86_64__ is
42085 defined.
42086 (mcontext_t): Replace "unsigned long" with "unsigned long long".
42087
f62ee380
L
42088 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42089 include <bits/wordsize.h>. Check __x86_64__ instead of
42090 __WORDSIZE.
42091 (user_regs_struct): Use "__extension__ unsigned long long"
42092 instead of "unsigned long" if __x86_64__ is defined.
42093 (user): Likewise. Pad after pointer field if __ILP32__ is
42094 defined.
42095
4e124ced
JM
420962012-05-16 Joseph Myers <joseph@codesourcery.com>
42097
6a3951a0
JM
42098 * configure.in (makeinfo): Require version 4.5 or later. Allow
42099 versions 5 to 9.
42100 * configure: Regenerated.
42101 * manual/install.texi (texinfo): Increase version requirement to
42102 4.5 or later.
42103 * INSTALL: Regenerated.
42104
4e124ced
JM
42105 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42106
953ca31a
L
421072012-05-16 H.J. Lu <hongjiu.lu@intel.com>
42108
42109 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42110
617aca05
L
42111 * sysdeps/x86_64/x32/ffs.c: New file.
42112
5762f7ae
L
42113 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42114 __syscall_ulong_t.
42115 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42116 defined. Use __syscall_ulong_t.
42117 (shminfo): Use __syscall_ulong_t.
42118 (shm_info): Likewise.
42119
a26b6856
L
42120 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42121 __syscall_ulong_t.
42122
cb2b9ef7
L
42123 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42124 <bits/wordsize.h>.
42125 (msgqnum_t): Use __syscall_ulong_t.
42126 (msglen_t): Likewise.
42127 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
42128 __syscall_ulong_t.
42129
34683bb0
L
42130 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42131 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42132
84a68786
L
42133 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42134
48baa5f1
L
42135 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42136 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42137
180be88b
L
42138 * sysvipc/sys/msg.h (msgbuf): Replace long int with
42139 __syscall_slong_t.
42140
5e90c8ad
L
42141 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42142 include <bits/wordsize.h>. Check __x86_64__ instead of
42143 __WORDSIZE.
42144
23dfb58b
L
42145 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42146 "unsigned long long int" if __x86_64__ is defined.
42147 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42148
ce5d54b0
L
42149 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42150 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
42151 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42152
13dc9eac
L
42153 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42154 <stdint.h>.
42155 (GET_PC): Cast to uintptr_t first.
42156 (GET_FRAME): Likewise.
42157 (GET_STACK): Likewise.
42158
a7895d15
L
42159 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42160 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42161 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42162 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42163 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42164 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42165 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42166 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42167 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42168 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42169 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42170 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42171 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42172 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42173 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42174 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42175 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42176 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42177 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42178 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42179 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42181 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42183 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42184 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42185 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42186 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42187 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42188
656416c9
AS
421892012-05-16 Andreas Schwab <schwab@linux-m68k.org>
42190
5bd66283
AS
42191 * Makerules (+depfiles): Also collect depfiles from .oS in
42192 $(extra-objs).
42193 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42194 .oS, $(libnldbl-routines)).
42195
656416c9
AS
42196 * Makerules (native-compile-mkdep-flags): Define.
42197 * sunrpc/Makefile (extra-objs): Add $(addprefix
42198 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42199 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42200 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
42201 calling $(make-target-directory).
42202
a46f2169
L
422032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42204
42205 * bits/types.h (__snseconds_t): Removed.
42206 * time/time.h (struct timespec): Replace __snseconds_t with
42207 __syscall_slong_t.
42208 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42209 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42210 Likewise.
42211 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42212 (__SNSECONDS_T_TYPE): Likewise.
42213 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42214 (__SNSECONDS_T_TYPE): Likewise.
42215 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42216 (__SNSECONDS_T_TYPE): Likewise.
42217
6af6528b
L
422182012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42219
42220 * sysdeps/mach/hurd/bits/typesizes.h
42221 (__SYSCALL_SLONG_TYPE): New macro.
42222 (__SYSCALL_ULONG_TYPE): Likewise.
42223
de986b56
L
422242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42225
42226 * bits/types.h (__syscall_slong_t): New type.
42227 (__syscall_ulong_t): Likewise.
42228
42229 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42230 (__SYSCALL_ULONG_TYPE): Likewise.
42231 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42232 (__SYSCALL_SLONG_TYPE): Likewise.
42233 (__SYSCALL_ULONG_TYPE): Likewise.
42234 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42235 (__SYSCALL_SLONG_TYPE): Likewise.
42236 (__SYSCALL_ULONG_TYPE): Likewise.
42237 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42238 (__SYSCALL_SLONG_TYPE): Likewise.
42239 (__SYSCALL_ULONG_TYPE): Likewise.
42240
85736dc7
L
422412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42242
42243 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42244 Add sigaltstack-offsets.sym.
42245 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42246 <sigaltstack-offsets.h>.
42247 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
42248 longjmp_msg pointer.
42249 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
42250 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42251 signal stack.
42252 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42253
cc03b296
JM
422542012-05-15 Joseph Myers <joseph@codesourcery.com>
42255
a9538892
JM
42256 * elf/stackguard-macros.h: Remove file.
42257 * sysdeps/generic/stackguard-macros.h: New file.
42258 * sysdeps/i386/stackguard-macros.h: Likewise.
42259 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42260 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42261 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42262 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42263 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42264 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42265 * sysdeps/x86_64/stackguard-macros.h: Likewise.
42266 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42267 <elf/stackguard-macros.h>.
42268
cc03b296
JM
42269 [BZ #14109]
42270 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42271 __aligned__ in attribute.
42272 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42273 (gregset_t): Likewise.
42274
93171016
L
422752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42276
42277 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42278 * sysdeps/x86_64/64/Implies-after: Here. New file.
42279 * sysdeps/x86_64/x32/Implies-after: New file.
42280
d86813a0
L
422812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42282
42283 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42284 and access return value for _dl_profile_fixup. Use R10_LP to
42285 load frame size.
42286
2953ec75
L
422872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42288
42289 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42290
3b550e9e
L
422912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42292
42293 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42294 * sysdeps/x86_64/x32/sysdep.h: New file.
42295
eda41706
L
422962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42297
42298 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42299 * sysdeps/x86_64/setjmp.S: Likewise.
42300
9ea01d93
AZ
423012012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42302
42303 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42304 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42305 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42306 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42307 remove unused global constant.
42308
02a91938
CM
423092012-05-15 Chris Metcalf <cmetcalf@tilera.com>
42310
42311 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42312 include of <not-cancel.h>.
42313
6540185f
RM
423142012-05-15 Roland McGrath <roland@hack.frob.com>
42315
42316 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42317
509072a0
AJ
423182012-05-15 Jeff Law <law@redhat.com>
42319 Andreas Jaeger <aj@suse.de>
42320
42321 [BZ #13594]
42322 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42323 out from...
42324 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42325 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42326 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42327 code changing __hst_map_handle.map.
42328
ba75122d
RM
423292012-05-15 Roland McGrath <roland@hack.frob.com>
42330
42331 * configure.in (sysnames): Look for Implies-before and Implies-after
42332 files.
42333 * configure: Regenerated.
42334
890d8bd8
L
423352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42336
42337 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42338 8-byte data alignment with LP_SIZE alignment.
42339
f6ee6623
L
423402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42341
42342 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42343 into R10_LP.
42344
ea2626f6
L
423452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42346
42347 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42348
085f715e
L
423492012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42350
42351 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42352 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42353 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42354 Likewise.
42355 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42356
be8498fc
L
423572012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42358
42359 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42360 (stackinfo_sub_sp): Likewise.
42361
70bc83b9
L
423622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42363
42364 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42365 RAX_LP.
42366
9bc0b730
L
423672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42368
42369 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42370 into R*_LP.
42371
6d2850e7
L
423722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42373
42374 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42375 sizes into R*_LP.
42376
3cb84561
L
423772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42378
42379 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42380
54e2ed81
L
423812012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42382
42383 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42384 into R11_LP and load __x86_64_shared_cache_size_half into
42385 R8_LP.
42386
8a17f349
L
423872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
42388
42389 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42390 R8_LP.
42391
777b1eea
AZ
423922012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42393
42394 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42395 logb for POWER7.
42396 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42397 logbf for POWER7.
42398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42399 logbl for POWER7.
42400 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42401 powerpc32/power7/fpu/s_logb.c via #include.
42402 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42403 powerpc32/power7/fpu/s_logbf.c via #include.
42404 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42405 powerpc32/power7/fpu/s_logbl.c via #include.
42406
d20d4ac2
JM
424072012-05-15 Joseph Myers <joseph@codesourcery.com>
42408
42409 * README.libm: Remove file.
42410
6cdef1ab
L
424112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42412
42413 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42414 count for x32. Use R*_LP and omit operand-size suffix.
42415
0b254d8f
L
424162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42417
42418 * shlib-versions: Move x86_64-.*-linux.* entries to ...
42419 * sysdeps/x86_64/64/shlib-versions: Here. New file.
42420 * sysdeps/x86_64/x32/shlib-versions: New file.
42421
ceb809dc
RM
424222012-05-14 Roland McGrath <roland@hack.frob.com>
42423
42424 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42425 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42426 Use _dl_fatal_printf instead.
42427
37f1abd4
JM
424282012-05-14 Joseph Myers <joseph@codesourcery.com>
42429
42430 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42431 set if not set by the user. Do not allow for being unset.
42432 * sysdeps/unix/sysv/linux/configure: Regenerated.
42433
11de3a33
L
424342012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42435
42436 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42437 the `q' suffix from lea and replace .quad with ASM_ADDR.
42438
e02f153a
L
424392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42440
42441 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42442 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
42443 instead of $17.
42444 (PTR_DEMANGLE): Likewise.
42445
520ae0fd
L
424462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42447
42448 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42449 (LP_OP): Likewise.
42450 (ASM_ADDR): Likewise.
42451 (RAX_LP): Likewise.
42452 (RBP_LP): Likewise.
42453 (RBX_LP): Likewise.
42454 (RCX_LP): Likewise.
42455 (RDI_LP): Likewise.
42456 (RSI_LP): Likewise.
42457 (RSP_LP): Likewise.
42458 (R8_LP): Likewise.
42459 (R9_LP): Likewise.
42460 (R10_LP): Likewise.
42461 (R10_LP): Likewise.
42462 (R11_LP): Likewise.
42463 (R12_LP): Likewise.
42464 (R13_LP): Likewise.
42465 (R14_LP): Likewise.
42466 (R15_LP): Likewise.
42467
b985be81
L
424682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42469
42470 * sysdeps/x86_64/x32/dl-machine.h: New file.
42471
6a4888ff
AJ
424722012-05-14 Andreas Jaeger <aj@suse.de>
42473
42474 * manual/Makefile (subdir): Remove export of subdir.
42475 (all): Remove target.
42476 (.PHONY): Remove all from list.
42477 (mkinstalldirs): Remove.
42478 (.PHONY): Remove installdirs from list.
42479 ($(inst_infodir)/libc.info): Use make-target-directory.
42480 (installdirs): Remove.
42481 (subdir_%): Remove.
42482 (glibc-targets): Remove.
42483 (lib): Remove.
42484 (stubs): Remove.
42485 ($(objpfx)stubs ../po/manual.pot): Remove.
42486 ($(objpfx)stamp%): Remove.
42487 (make-target-directory): Remove.
42488 (subdir_install): Remove.
42489 (routines): Remove.
42490 (aux): Remove.
42491 (sources): Remove.
42492 (objects): Remove.
42493 (headers): Remove.
42494
42495 [BZ #13750]
42496 * manual/.gitignore: Remove, it's not needed anymore.
42497 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42498 all files in it.
42499 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42500 directory.
42501 (texis): Renamed to $(objpfx)texis.
42502 (texis-path): New, contains path to generated files.
42503 (chapters.%): Use texis-path for complete path, add extra argument
42504 libc-texinfo.sh.
42505 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42506 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42507 (summary,texi, stamp-summary): Use complete path of
42508 files. Generate files in build dir.
42509 (dir-add.texi): Build in build dir.
42510 (libm-err.texi,stamp-libm-err): Likewise.
42511 (version.texi, stamp-version): Likewise.
42512 (.%c.texi): Likewise.
42513 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42514 (mostlyclean): Remove target.
42515 (realclean): Remove target.
42516 (generated): Add new variable with contents from mostlyclean and
42517 realclean, remove entries duplicated in common-mostlyclean, add
42518 stamp-libm-err and stamp-version.
42519 (generated-dirs): Add libc directory.
42520 ($(inst_infodir)/libc.info): Install files from build dir.
42521
42522 * manual/install.texi (Configuring and compiling): Adjust since
42523 the info files are not part of the tar ball anymore.
42524
7ac77294
AJ
425252012-05-14 Andreas Jaeger <aj@suse.de>
42526
42527 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42528 variable.
42529
ffb7875d
JM
425302012-05-14 Joseph Myers <joseph@codesourcery.com>
42531
42532 [BZ #13717]
42533 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42534 to 2.2.0 where earlier.
42535 * sysdeps/unix/sysv/linux/configure: Regenerated.
42536 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42537 Remove conditional code.
42538 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42539 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42540 Remove conditional code.
42541 [!__NR_lchown]: Likewise.
42542 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42543 [__NR_lchown]: Likewise.
42544 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42545 comment referencing __ASSUME_LCHOWN_SYSCALL.
42546 * sysdeps/unix/sysv/linux/i386/sigaction.c
42547 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42548 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42549 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42550 Remove conditional code.
42551 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42552 (__protocol_available): Remove #if 0 code.
42553 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42554 conditional code.
42555 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42556 * sysdeps/unix/sysv/linux/kernel-features.h
42557 (__ASSUME_GETCWD_SYSCALL): Don't define.
42558 (__ASSUME_REALTIME_SIGNALS): Likewise.
42559 (__ASSUME_PREAD_SYSCALL): Likewise.
42560 (__ASSUME_PWRITE_SYSCALL): Likewise.
42561 (__ASSUME_POLL_SYSCALL): Likewise.
42562 (__ASSUME_LCHOWN_SYSCALL): Likewise.
42563 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42564 non-SPARC.
42565 (__ASSUME_SIOCGIFNAME): Don't define.
42566 (__ASSUME_MSG_NOSIGNAL): Likewise.
42567 (__ASSUME_SENDFILE): Define unconditionally.
42568 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42569 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42570 conditional code.
42571 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42572 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42573 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42574 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42575 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42576 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42577 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42579 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42580 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42581 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42582 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42583 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42584 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42585 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42586 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42588 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42589 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42590 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42591 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42592 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42594 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42595 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42597 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42598 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42600 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42601 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42602 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42603 Remove conditional code.
42604 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42605 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42606 Remove conditional code.
42607 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42608 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42609 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42610 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42611 Remove conditional code.
42612 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42613 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42614 Remove conditional code.
42615 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42616 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42617 Remove conditional code.
42618 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42619 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42620 Remove conditional code.
42621 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42622 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42623 Remove conditional code.
42624 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42625 * sysdeps/unix/sysv/linux/sh/pwrite64.c
42626 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42627 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42628 * sysdeps/unix/sysv/linux/sigaction.c
42629 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42630 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42631 * sysdeps/unix/sysv/linux/sigpending.c
42632 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42633 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42634 * sysdeps/unix/sysv/linux/sigprocmask.c
42635 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42636 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42637 * sysdeps/unix/sysv/linux/sigsuspend.c
42638 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42639 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42640 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42641 (__libc_missing_rt_sigs): Remove.
42642 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42643 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42644 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42645 Remove conditional code.
42646 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42647 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42648 return 1.
42649 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42650 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42651 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42652 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42653
1bfb7291
AJ
426542012-05-14 Andreas Jaeger <aj@suse.de>
42655
caae5a81
AJ
42656 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42657 it's not used in glibc.
42658 (__coshm1): Likewise.
42659 (__acosh1p): Likewise.
42660 (__sgn): Likewise.
42661
1bfb7291
AJ
42662 * manual/string.texi (Copying and Concatenation): Add missing
42663 variable in concat example.
42664 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42665
c044d724
L
426662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42667
144c5467 42668 [BZ #14103]
c044d724
L
42669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42670 __builtin_clzl with __builtin_clzll.
42671
2523c62b
L
426722012-05-14 H.J. Lu <hongjiu.lu@intel.com>
42673
42674 [BZ #14104]
42675 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42676 libc_freeres_ptr.
42677
d7bb4c42
LD
426782012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
42679
42680 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42681 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42682 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42683 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42684
9dc4e1fb
MF
426852012-05-14 Mike Frysinger <vapier@gentoo.org>
42686
42687 * NEWS: Update ia64 info.
42688
c7df0112
AS
426892012-05-12 Andreas Schwab <schwab@linux-m68k.org>
42690
42691 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42692 used as bcopy.
42693
dc70356c
TS
426942012-05-12 Thomas Schwinge <thomas@codesourcery.com>
42695
42696 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42697 * sysdeps/unix/syscalls.list (dup3): Likewise.
42698 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42699 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42700
9fb1a21f
L
427012012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42702
42703 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42704 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42705
4822a2a5
L
427062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
42707
42708 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42709 thread pointer.
42710 (TLS_IE): Use mov/add instead of movq/addq to load thread
42711 pointer.
42712 (TLS_GD_PREFIX): New.
42713 (TLS_GD): Use it.
42714
842b81d6
DM
427152012-05-11 David S. Miller <davem@davemloft.net>
42716
42717 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42718 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42719 (_FPU_SETCW): Likewise.
42720
1cf463cd
L
427212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42722
42723 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42724 is 32-byte aligned.
42725
60cc4a18
AS
427262012-05-11 Andreas Schwab <schwab@linux-m68k.org>
42727
42728 [BZ #11837]
42729 * iconvdata/gb18030.c: Update tables.
42730 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
42731 characters specially.
42732 (BODY for TO_LOOP): Add encoding of missing ranges.
42733
febb44a4
TS
427342012-05-11 Thomas Schwinge <thomas@codesourcery.com>
42735
42736 [BZ #13673]
42737 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42738 * sysdeps/mach/hurd/dup3.c: Likewise.
42739 * sysdeps/mach/hurd/readlinkat.c: Likewise.
42740 * sysdeps/powerpc/memmove.c:: Likewise.
42741
0a10fb9e
L
427422012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42743
42744 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42745 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42746
df8a552f
L
427472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
42748
42749 * elf/elf.h (R_X86_64_RELATIVE64): New.
42750 (R_X86_64_NUM): Updated.
42751 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42752 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
42753 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42754 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42755 tst-quad1pie tst-quad2pie
42756 (modules-names): Add tst-quadmod1 tst-quadmod2.
42757 ($(objpfx)tst-quad1): New dependency.
42758 ($(objpfx)tst-quad2): Likewise.
42759 ($(objpfx)tst-quad1pie): Likewise.
42760 ($(objpfx)tst-quad2pie): Likewise.
42761 * sysdeps/x86_64/tst-quad1.c: New file.
42762 * sysdeps/x86_64/tst-quad1pie.c: New file.
42763 * sysdeps/x86_64/tst-quad2.c: Likewise.
42764 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42765 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42766 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42767 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42768 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42769
f34d6f84
ST
427702012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42771
f42d41d1
ST
42772 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42773 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42774 * streams/stropts.h (t_scalar_t): Define type.
42775
3c3571fc
ST
42776 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42777 (_PATH_PRESERVE): Set to "/var/lib".
42778 (_PATH_RWHODIR): Set to "/var/spool/rwho".
42779
61f06bd3
ST
42780 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42781 instead of int.
42782
918d4d71
ST
42783 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42784 if __dir_mkfile succeeded.
42785
f34d6f84
ST
42786 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42787 checking for _hurd_dtablesize. Unlock it right after having
42788 finished _hurd_dtable allocation.
42789
10589b4a
TS
427902012-05-10 Thomas Schwinge <thomas@schwinge.name>
42791
674cdbc7
TS
42792 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42793 * sysdeps/mach/hurd/configure: Regenerated.
42794 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42795 special-casing to...
42796 * sysdeps/gnu/configure.in: ... this new file.
42797 * sysdeps/unix/sysv/linux/configure: Regenerated.
42798 * sysdeps/gnu/configure: New generated file.
42799
8e41b99f
TS
42800 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42801 for Linux: use nsec instead of usec, as well as:
42802 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42803 members of type struct timespec.
42804 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42805 New macros.
42806 (struct stat64): Likewise.
42807 (_STATBUF_ST_NSEC): New macro.
42808 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42809
10589b4a
TS
42810 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42811 __strtoul_internal rather than strtoul.
42812
63643c85
PT
428132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42814
42815 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42816 and reject them.
42817
3faebe6a
ST
428182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42819
42820 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42821 which preserves existing values.
42822 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42823
c6474b07
PT
428242012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42825
42826 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42827 TIMEOUT values. Return EINVAL for NFDS values either negative or
42828 greater than FD_SETSIZE.
42829
1043890b
ST
428302012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42831
42832 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42833 allocated, call __vm_protect to finish enabling the existing space, and
42834 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42835 allocate the remainder.
42836
37ed8b9b
PT
428372012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42838
42839 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42840 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
42841
db653660
ST
428422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42843
37ed8b9b
PT
42844 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42845 sysdeps/mach/hurd/readlink.c.
b29d4053 42846
db653660
ST
42847 * posix/tst-sysconf.c (posix_options): Only use
42848 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42849 _POSIX_SYNCHRONIZED_IO when they are defined
42850 * sysdeps/mach/hurd/bits/posix_opt.h:
42851 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42852 (_XOPEN_REALTIME): Undefine macro.
42853 (_XOPEN_REALTIME_THREADS): Undefine macro.
42854 (_XOPEN_SHM): Undefine macro.
42855 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42856 macro to -1.
42857 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42858 macro to -1.
42859 (_POSIX_ASYNC_IO): Undefine macro.
42860 (_POSIX_PRIORITIZED_IO): Undefine macro.
42861 (_POSIX_SPIN_LOCKS): Define macro to -1.
42862
ee16e894
ST
42863 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42864 SA_NODEFER, SA_RESETHAND.
42865 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42866 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42867 F_DUPFD_CLOEXEC.
42868
6103ae3b
TS
428692012-05-10 Thomas Schwinge <thomas@schwinge.name>
42870
42871 * elf/Makefile (pldd-modules): Define unconditionally.
42872
80b4e5f3
TS
428732012-05-10 Thomas Schwinge <thomas@schwinge.name>
42874
42875 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42876
edadcbd6
ST
428772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42878
42879 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42880 Return ENOENT when name is empty.
42881 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42882
80694780
TS
428832012-05-10 Thomas Schwinge <thomas@schwinge.name>
42884
1792c087
TS
42885 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42886
80694780
TS
42887 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42888
6b645f0d
ST
428892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42890
80694780
TS
42891 Fix mlock in all cases except non-readable pages.
42892 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42893 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 42894
6b645f0d
ST
42895 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42896 (__mkdir): When path is `/', just fail with EEXIST.
42897 * sysdeps/mach/hurd/mkdirat.c: Likewise.
42898
e468f8a3
TS
428992012-05-10 Thomas Schwinge <thomas@schwinge.name>
42900
42901 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42902 <sys/uio.h> (for writev).
42903 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42904 and <sys/param.h> (for MIN).
42905
a4186cff
PT
429062012-05-10 Pino Toscano <toscano.pino@tiscali.it>
42907
42908 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42909 REQUESTED_TIME. Properly set the remaining time and return EINTR
42910 if interrupted.
42911
510bbf14
TS
429122012-05-10 Thomas Schwinge <thomas@schwinge.name>
42913
42914 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42915 Depend on against $(link-rpcuserlibs).
42916
5d5722e8
ST
429172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42918
a4186cff
PT
42919 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42920 (__libc_stack_end): Do not use attribute_relro.
42921 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42922 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 42923 to libthread-provided value.
a4186cff
PT
42924 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42925 attribute_relro.
5d5722e8 42926
37233df9
TS
429272012-05-10 Thomas Schwinge <thomas@schwinge.name>
42928
be971a2b
TS
42929 [BZ #3748]
42930 * bits/libc-lock.h (__libc_once_get): New macro.
42931 * sysdeps/mach/bits/libc-lock.h: Likewise.
42932 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42933 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42934 instead of using implementation details.
42935
37233df9
TS
42936 * libio/fileops.c: Unconditionally include <kernel-features.h>.
42937 * libio/freopen.c: Likewise.
42938 * libio/freopen64.c: Likewise.
42939 * misc/syslog.c: Likewise.
42940 * nscd/connections.c: Likewise.
42941 * nscd/netgroupcache.c: Likewise.
42942 * sysdeps/posix/getcwd.c: Likewise.
42943
38de94a5
RM
429442012-05-10 Roland McGrath <roland@hack.frob.com>
42945
42946 * math/w_ilogbf.c: Add #include <limits.h>.
42947
67530489
ST
429482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42949
a4186cff 42950 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
42951 path instead of returning without unlocking.
42952
67530489
ST
42953 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42954 immediate-write ioctls.
42955 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42956
5aa3a74a
TS
429572012-05-10 Thomas Schwinge <thomas@schwinge.name>
42958
18bad2ae
TS
42959 * sysdeps/mach/hurd/i386/init-first.c (init): Use
42960 __builtin_frame_address instead of making assumptions about the
42961 location of the return address relative to DATA. Force early load of
42962 the return address.
42963 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42964 __builtin_frame_address.
42965
5aa3a74a
TS
42966 dup3 for GNU Hurd.
42967 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42968 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
42969 implement dup3 and do some further code clean-ups.
42970 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42971 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42972
ecd0de9a
ST
429732012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
42974
cd9fa985
ST
42975 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42976
a4186cff
PT
42977 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42978 HURD_CRITICAL_END around holding _hurd_dtable_lock.
42979 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42980 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42981 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42982 d->port.lock.
802ca5a5 42983
a4186cff
PT
42984 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42985 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
42986 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 42987
bcf55240
TS
429882012-05-10 Thomas Schwinge <thomas@schwinge.name>
42989
6960eb42
TS
42990 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42991 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42992 definitions.
42993
eb43375f
TS
42994 accept4 for GNU Hurd.
42995 * include/sys/socket.h (__libc_accept4): New prototype.
42996 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
42997 to implement __libc_accept4.
42998 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42999 __libc_accept4.
43000 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43001
bcf55240
TS
43002 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43003 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43004 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43005 signal-defines.sym.
43006
6178c55b
ST
430072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43008
a4186cff 43009 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 43010
6f080c2f
TS
430112012-05-10 Thomas Schwinge <thomas@schwinge.name>
43012
43013 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43014 assertion on O_CLOEXEC flag.
43015 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43016 * hurd/intern-fd.c: Likewise.
43017 * hurd/port2fd.c: Likewise.
43018
bcfe3a54
ST
430192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
43020
43021 [BZ #3906]
43022 * bits/in.h (IPV6_PKTINFO): Define new macro.
43023 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43024
89c9aa49
AZ
430252012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43026
43027 [BZ #13954]
43028 [BZ #13955]
43029 [BZ #13956]
43030 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43031 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43032 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43033 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43034 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43035 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43036 * math/libm-test.inc (logb_test) : Additional logb tests.
43037
021db4be
AJ
430382012-05-09 Andreas Schwab <schwab@linux-m68k.org>
43039 Andreas Jaeger <aj@suse.de>
43040
43041 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43042 * configure: Regenerated.
43043 * config.h.in (LINK_OBSOLETE_RPC): New macro.
43044 * config.make.in (link-obsolete-rpc): New substituted variable.
43045 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43046 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43047 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43048 (shared-only-routines): Don't set it under [link-obsolete-rpc],
43049 so that libc.a contains the symbols.
43050 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43051 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43052 * sunrpc/auth_none.c: Likewise.
43053 * sunrpc/auth_unix.c: Likewise.
43054 * sunrpc/authdes_prot.c: Likewise.
43055 * sunrpc/authuxprot.c: Likewise.
43056 * sunrpc/clnt_gen.c: Likewise.
43057 * sunrpc/clnt_perr.c: Likewise.
43058 * sunrpc/clnt_raw.c: Likewise.
43059 * sunrpc/clnt_simp.c: Likewise.
43060 * sunrpc/clnt_tcp.c: Likewise.
43061 * sunrpc/clnt_udp.c: Likewise.
43062 * sunrpc/clnt_unix.c: Likewise.
43063 * sunrpc/des_crypt.c: Likewise.
43064 * sunrpc/des_soft.c: Likewise.
43065 * sunrpc/get_myaddr.c: Likewise.
43066 * sunrpc/key_call.c: Likewise.
43067 * sunrpc/key_prot.c: Likewise.
43068 * sunrpc/netname.c: Likewise.
43069 * sunrpc/pm_getmaps.c: Likewise.
43070 * sunrpc/pm_getport.c: Likewise.
43071 * sunrpc/pmap_clnt.c: Likewise.
43072 * sunrpc/pmap_prot.c: Likewise.
43073 * sunrpc/pmap_prot2.c: Likewise.
43074 * sunrpc/pmap_rmt.c: Likewise.
43075 * sunrpc/publickey.c: Likewise.
43076 * sunrpc/rpc_cmsg.c: Likewise.
43077 * sunrpc/rpc_common.c: Likewise.
43078 * sunrpc/rpc_dtable.c: Likewise.
43079 * sunrpc/rpc_prot.c: Likewise.
43080 * sunrpc/rpc_thread.c: Likewise.
43081 * sunrpc/rtime.c: Likewise.
43082 * sunrpc/svc.c: Likewise.
43083 * sunrpc/svc_auth.c: Likewise.
43084 * sunrpc/svc_raw.c: Likewise.
43085 * sunrpc/svc_run.c: Likewise.
43086 * sunrpc/svc_tcp.c: Likewise.
43087 * sunrpc/svc_udp.c: Likewise.
43088 * sunrpc/svc_unix.c: Likewise.
43089 * sunrpc/svcauth_des.c: Likewise.
43090 * sunrpc/xcrypt.c: Likewise.
43091 * sunrpc/xdr.c: Likewise.
43092 * sunrpc/xdr_array.c: Likewise.
43093 * sunrpc/xdr_float.c: Likewise.
43094 * sunrpc/xdr_intXX_t.c: Likewise.
43095 * sunrpc/xdr_mem.c: Likewise.
43096 * sunrpc/xdr_rec.c: Likewise.
43097 * sunrpc/xdr_ref.c: Likewise.
43098 * sunrpc/xdr_sizeof.c: Likewise.
43099 * sunrpc/xdr_stdio.c: Likewise.
43100
b5c086a2
RM
431012012-05-10 Roland McGrath <roland@hack.frob.com>
43102
43103 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43104 change. Update copyright years.
43105
6d74dd09
JM
431062012-05-10 Joseph Myers <joseph@codesourcery.com>
43107
43108 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43109
28e72501
MK
431102012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
43111 Joseph Myers <joseph@codesourcery.com>
43112 Paul Pluzhnikov <ppluzhnikov@google.com>
43113
43114 [BZ #14012]
43115 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43116 requiring rpcgen.
43117 [cross-compiling] (extra-libs): Likewise.
43118 [cross-compiling] (extra-libs-others): Likewise.
43119 [cross-compiling] (librpcsvc-routines): Likewise.
43120 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43121 [cross-compiling] (omit-deps): Likewise.
43122 (sunrpc-CPPFLAGS): New variable.
43123 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43124 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43125 (cross-rpcgen-objs): New variable.
43126 (extra-objs): Append $(cross-rpcgen-objs).
43127 ($(cross-rpcgen-objs)): New rule.
43128 ($(objpfx)cross-rpcgen): Likewise.
43129 (rpcgen-cmd): Define to use $(built-program-file). Expand
43130 comment.
43131 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43132 ($(objpfx)x%.stmp): Likewise.
43133 * sunrpc/proto.h [IS_IN_build] (_): Define.
43134 [IS_IN_build] (_libc_intl_domainname): Likewise.
43135
c8c59454
L
431362012-05-10 H.J. Lu <hongjiu.lu@intel.com>
43137
43138 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43139 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43140 and R_X86_64_TPOFF64.
43141
6f27cd16
JM
431422012-05-10 Joseph Myers <joseph@codesourcery.com>
43143
43144 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43145 sysdeps/unix/sysv/syscalls.list.
43146 (stime): Likewise.
43147 (utime): Likewise.
43148 * sysdeps/unix/sysv/syscalls.list: Remove file.
43149
02467e1c
PE
431502012-05-10 Paul Eggert <eggert@cs.ucla.edu>
43151
43152 [BZ #3440]
43153 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43154 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43155 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43156 (__LC_IDENTIFICATION): Make these macros useful in #if
43157 expressions, as required by C99.
43158
da392631
AS
431592012-05-10 Andreas Schwab <schwab@linux-m68k.org>
43160
43161 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43162 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
43163 after this.
43164
8115f29b
L
431652012-05-09 H.J. Lu <hongjiu.lu@intel.com>
43166
43167 * stdlib/longlong.h: Updated from GCC.
43168
bdd74070
AJ
431692012-05-09 Andreas Jaeger <aj@suse.de>
43170
edfe0dbe
AJ
43171 * nscd/nscd.c (run_modes): Make named enum, reorder so that
43172 default is first entry.
43173 (run_mode): Set type.
43174 (main): Remove informal message about syslog.
43175 (options): Fix typo.
43176
bcfe3a54
ST
43177 [BZ #14053]
43178 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 43179 to asm.
bcfe3a54
ST
43180 (lrint): Likewise.
43181 (llrintf): Likewise.
43182 (llrint): Likewise.
43183 (rint): Likewise.
43184 (rintf): Likewise.
43185 (nearbyint): Likewise.
43186 (nearbyintf): Likewise.
bdd74070 43187
91d8d69e
AJ
431882012-05-09 Andreas Jaeger <aj@suse.de>
43189 Pedro Alves <palves@redhat.com>
43190
43191 * nscd/nscd.c (run_mode): Use enum.
43192 (main): Cleanup coding style issue.
43193
bb90b80b
AJ
431942012-05-09 Alexandre Oliva <aoliva@redhat.com>
43195 Andreas Jaeger <aj@suse.de>
43196
bcfe3a54
ST
43197 * nscd/nscd.c (go_background): Replaced with...
43198 (run_mode): ... this.
bb90b80b 43199 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
43200 (options): Add -F --foreground.
43201 (main): Implement it.
43202 (parse_opt): Parse it.
bb90b80b 43203
1a4b75a1
AJ
432042012-05-09 Andreas Jaeger <aj@suse.de>
43205
43206 [BZ #14083]
43207 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43208 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43209 -Wconversion warning.
43210 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43211 Likewise.
43212
b1cc2472
JM
432132012-05-09 Joseph Myers <joseph@codesourcery.com>
43214
43215 * conform/data/locale.h-data (NULL): Use macro-constant. Require
43216 == 0.
43217 (LC_ALL): Use macro-int-constant.
43218 (LC_COLLATE): Likewise.
43219 (LC_CTYPE): Likewise.
43220 (LC_MESSAGES): Likewise.
43221 (LC_MONETARY): Likewise.
43222 (LC_NUMERIC): Likewise.
43223 (LC_TIME): Likewise.
43224 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43225 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43227 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43228 Specify type.
43229 [C99-based standards] (float_t): Expect type.
43230 [C99-based standards] (double_t): Expect type.
43231 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
43232 type.
43233 [C99-based standards] (HUGE_VALL): Likewise.
43234 [C99-based standards] (INFINITY): Likewise.
43235 [C99-based standards] (NAN): Likewise.
43236 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43237 [C99-based standards] (FP_NAN): Likewise.
43238 [C99-based standards] (FP_NORMAL): Likewise.
43239 [C99-based standards] (FP_SUBNORMAL): Likewise.
43240 [C99-based standards] (FP_ZERO): Likewise.
43241 [C99-based standards] (FP_FAST_FMA): Use
43242 optional-macro-int-constant. Specify type. Require == 1.
43243 [C99-based standards] (FP_FAST_FMAF): Likewise.
43244 [C99-based standards] (FP_FAST_FMAL): Likewise.
43245 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43246 [C99-based standards] (FP_ILOGBNAN): Likewise.
43247 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43248 Specify type.
43249 [C99-based standards] (MATH_ERREXCEPT): Likewise.
43250 [C99-based standards] (math_errhandling): Specify type.
43251 [ISO99 || ISO11] (signgam): Do not allow.
43252 [non-C99-based standards] (copysignf): Do not allow.
43253 [non-C99-based standards] (exp2f): Likewise.
43254 [non-C99-based standards] (log2f): Likewise.
43255 [non-C99-based standards] (modff): Allow.
43256 [non-C99-based standards] (erff): Do not allow.
43257 [non-C99-based standards] (erfcf): Likewise.
43258 [non-C99-based standards] (gammaf): Likewise.
43259 [non-C99-based standards] (hypotf): Likewise.
43260 [non-C99-based standards] (j0f): Likewise.
43261 [non-C99-based standards] (j1f): Likewise.
43262 [non-C99-based standards] (jnf): Likewise.
43263 [non-C99-based standards] (lgammaf): Likewise.
43264 [non-C99-based standards] (tgammaf): Likewise.
43265 [non-C99-based standards] (y0f): Likewise.
43266 [non-C99-based standards] (y1f): Likewise.
43267 [non-C99-based standards] (ynf): Likewise.
43268 [non-C99-based standards] (isnanf): Likewise.
43269 [non-C99-based standards] (acoshf): Likewise.
43270 [non-C99-based standards] (asinhf): Likewise.
43271 [non-C99-based standards] (atanhf): Likewise.
43272 [non-C99-based standards] (cbrtf): Likewise.
43273 [non-C99-based standards] (expm1f): Likewise.
43274 [non-C99-based standards] (ilogbf): Likewise.
43275 [non-C99-based standards] (log1pf): Likewise.
43276 [non-C99-based standards] (logbf): Likewise.
43277 [non-C99-based standards] (nextafterf): Likewise.
43278 [non-C99-based standards] (remainderf): Likewise.
43279 [non-C99-based standards] (rintf): Likewise.
43280 [non-C99-based standards] (scalbf): Likewise.
43281 [non-C99-based standards] (copysignl): Likewise.
43282 [non-C99-based standards] (exp2l): Likewise.
43283 [non-C99-based standards] (log2l): Likewise.
43284 [non-C99-based standards] (modfl): Allow.
43285 [non-C99-based standards] (erfl): Do not allow.
43286 [non-C99-based standards] (erfcl): Likewise.
43287 [non-C99-based standards] (gammal): Likewise.
43288 [non-C99-based standards] (hypotl): Likewise.
43289 [non-C99-based standards] (j0l): Likewise.
43290 [non-C99-based standards] (j1l): Likewise.
43291 [non-C99-based standards] (jnl): Likewise.
43292 [non-C99-based standards] (lgammal): Likewise.
43293 [non-C99-based standards] (tgammal): Likewise.
43294 [non-C99-based standards] (y0l): Likewise.
43295 [non-C99-based standards] (y1l): Likewise.
43296 [non-C99-based standards] (ynl): Likewise.
43297 [non-C99-based standards] (isnanl): Likewise.
43298 [non-C99-based standards] (acoshl): Likewise.
43299 [non-C99-based standards] (asinhl): Likewise.
43300 [non-C99-based standards] (atanhl): Likewise.
43301 [non-C99-based standards] (cbrtl): Likewise.
43302 [non-C99-based standards] (expm1l): Likewise.
43303 [non-C99-based standards] (ilogbl): Likewise.
43304 [non-C99-based standards] (log1pl): Likewise.
43305 [non-C99-based standards] (logbl): Likewise.
43306 [non-C99-based standards] (nextafterl): Likewise.
43307 [non-C99-based standards] (remainderl): Likewise.
43308 [non-C99-based standards] (rintl): Likewise.
43309 [non-C99-based standards] (scalbl): Likewise.
43310 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43311 [non-C99-based standards] (FP_*): Do not allow.
43312 [C99-based standards] (FP_*): Change to
43313 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43314 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43315 allow.
43316 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43317 (SIG_ERR): Likewise.
43318 [X/Open-based standards] (SIG_HOLD): Likewise.
43319 (SIG_IGN): Likewise.
43320 (SIGABRT): Use macro-int-constant. Specify type. Require
43321 positive value.
43322 (SIGFPE): Likewise.
43323 (SIGILL): Likewise.
43324 (SIGINT): Likewise.
43325 (SIGSEGV): Likewise.
43326 (SIGTER): Likewise.
43327 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43328 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43329 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43330 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43331 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43332 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43333 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43334 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43335 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43336 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43337 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43338 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43339 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43340 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43341 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43342 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43343 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43344 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43345 [X/Open-based standards] (SIGTRAP): Likewise.
43346 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43347 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43348 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43349 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43350 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43351 allow.
43352
b9f1922d
IW
433532012-05-08 Ian Wienand <ianw@vmware.com>
43354
43355 [BZ #14080]
43356 * time/tzset.c (__tzset_parse_tz): Update default rules for
43357 daylight time changes in the Energy Policy Act of 2005.
43358
1db86e88
AJ
433592012-05-09 Andreas Jaeger <aj@suse.de>
43360
43361 [BZ #13983]
43362 * elf/ldconfig.c (parse_conf): Change string to make clear that
43363 ldconfig only issued a warning if ld.so.conf does not exist.
43364
dee4a4e3
DM
433652012-05-08 David S. Miller <davem@davemloft.net>
43366
ee0db190
DM
43367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43368 movxtod instead of popping the value on the stack.
43369
dee4a4e3
DM
43370 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43371
6a43ec98
CD
433722012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
43373
43374 * config.h.in: Add HAVE_ARM_PCS_VFP.
43375
05c2c961
RMG
433762012-05-08 Roland Mc Grath <roland@hack.frob.com>
43377
bcfe3a54
ST
43378 [BZ #13979]
43379 * include/features.h: Warn if user requests __FORTIFY_SOURCE
43380 checking but the checks are disabled for any reason.
05c2c961 43381
4b30f61a
L
433822012-05-08 H.J. Lu <hongjiu.lu@intel.com>
43383
43384 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43385 and ELF64_R_TYPE with ELFW(R_TYPE).
43386
eee2bc67
JM
433872012-05-08 Joseph Myers <joseph@codesourcery.com>
43388
7ea5391a
JM
43389 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43390 (ulimit): Likewise.
43391
eee2bc67
JM
43392 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43393 (settimeofday): Likewise.
43394
abb66a67
MF
433952012-05-08 Mike Frysinger <vapier@gentoo.org>
43396
43397 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
43398 a struct th_u2 inside the union, and move tu_block/tu_code into
43399 a new th_u3 union of tu_block/tu_code inside of that. Move
43400 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
43401 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
43402 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43403 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43404 (th_stuff): Change to th_u1.tu_stuff.
43405 (th_data): Define.
43406 (th_msg): Change to th_u1.th_u2.tu_data.
43407
7f18b530
DM
434082012-05-07 David S. Miller <davem@davemloft.net>
43409
05760585
DM
43410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43411
7f18b530
DM
43412 [BZ #14074]
43413 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43414 (SETUP_PIC_REG): Use it.
43415 (SETUP_PIC_REG_LEAF): Use it.
43416
495fd99f
JM
434172012-05-07 Joseph Myers <joseph@codesourcery.com>
43418
43419 [BZ #13885]
43420 [BZ #13923]
43421 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43422 USE_AS_EXPM1L.
43423 (EXPL_FINITE): Likewise.
43424 (FLDLOG): Likewise.
43425 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43426 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43427 e_expl.S.
43428 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43429 USE_AS_EXPM1L.
43430 (EXPL_FINITE): Likewise.
43431 (FLDLOG): Likewise.
43432 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43433 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43434 e_expl.S.
43435 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
43436 test of -max_value argument for long double.
43437 * sysdeps/i386/fpu/libm-test-ulps: Update.
43438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43439
6693d694
DM
434402012-05-06 David S. Miller <davem@davemloft.net>
43441
43442 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43443 quad soft-float symbols whose references which are compiler
43444 generated.
43445 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43446
6c23e11c
JM
434472012-05-06 Joseph Myers <joseph@codesourcery.com>
43448
d8b82cad
JM
43449 [BZ #13884]
43450 [BZ #13914]
43451 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43452 USE_AS_EXP10L.
43453 (EXPL_FINITE): Likewise.
43454 (FLDLOG): Likewise.
43455 (c0): Likewise.
43456 (c1): Likewise.
43457 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
43458 Adjust comments for base varying.
43459 (__expl_finite): Change alias to EXPL_FINITE.
43460 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43461 e_expl.S.
43462 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43463 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43464 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43465 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43466 * sysdeps/x86_64/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 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
43476 tests for bugs.
43477 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43478
6c23e11c
JM
43479 [BZ #14064]
43480 * math/libm-test.inc (check_float_internal): Correct ulp
43481 calculation for subnormal expected results.
43482
29ba805c
AJ
434832012-05-06 Andreas Jaeger <aj@suse.de>
43484
43485 * Makeconfig (+math-flags): New, set to -frounding-math.
43486 (+cflags): Add +math-flags so that all of glibc gets compiled with
43487 it.
43488
43489 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43490
7b17aeda
JM
434912012-05-05 Joseph Myers <joseph@codesourcery.com>
43492
5779f134
JM
43493 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43494 Disable one test.
43495
41498f4d
JM
43496 [BZ #13787]
43497 [BZ #13922]
43498 [BZ #14036]
43499 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43500 (__ieee754_expl): Allow for and saturate large arguments.
43501 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43502 (u_threshold): Likewise.
43503 (__exp): Call __ieee754_exp before checking for overflow and
43504 underflow.
43505 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43506 (u_threshold): Likewise.
43507 (__expf): Call __ieee754_expf before checking for overflow and
43508 underflow.
43509 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43510 (u_threshold): Likewise.
43511 (__expl): Call __ieee754_expl before checking for overflow and
43512 underflow.
43513 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43514 (__ieee754_expl): Allow for and saturate large arguments.
43515 * math/libm-test.inc (exp_test): Add another test. Do not allow
43516 missing overflow exception on overflow.
43517 (expm1_test): Do not allow missing overflow exception on overflow.
43518
6698b8bf
JM
43519 * sysdeps/i386/fpu/e_expl.c: Move to ...
43520 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
43521 rather than using inline asm.
43522 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43523 * sysdeps/x86_64/fpu/e_expl.S: Copy from
43524 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43525
7b17aeda
JM
43526 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43527 (nice): Likewise.
43528 (poll): Likewise.
43529 (signal): Likewise.
43530 (time): Likewise.
43531 (times): Likewise.
43532
f7c85819
JM
435332012-05-04 Joseph Myers <joseph@codesourcery.com>
43534
43535 * sysdeps/unix/syscalls.list (adjtime): Add entry from
43536 sysdeps/unix/common/syscalls.list.
43537 (fchmod): Likewise.
43538 (fchown): Likewise.
43539 (ftruncate): Likewise.
43540 (getrusage): Likewise.
43541 (gettimeofday): Likewise.
43542 (setpgid): Likewise.
43543 (setregid): Likewise.
43544 (setreuid): Likewise.
43545 (sigaction): Likewise.
43546 (truncate): Likewise.
43547 (vhangup): Likewise.
43548 * sysdeps/unix/common/syscalls.list: Remove file.
43549 * sysdeps/unix/bsd/Implies: Don't include unix/common.
43550 * sysdeps/unix/sysv/linux/Implies: Likewise.
43551
336270d0
L
435522012-05-04 H.J. Lu <hongjiu.lu@intel.com>
43553
43554 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43555 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43556 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43557 Moved to ...
43558 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43559 Here.
43560 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43561 to ...
43562 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43563 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43564 to ...
43565 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43566 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43567 to ...
43568 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43569 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43570 to ...
43571 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43572 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43573 to ...
43574 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43575 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43576 to ...
43577 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43578 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43579 to ...
43580 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43581 Here.
43582 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43583 to ...
43584 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43585 Here.
43586 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43587 to ...
43588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43589 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43590 Moved to ...
43591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43592 Here.
43593 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43594 to ...
43595 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43596
d128e450
JM
435972012-05-04 Joseph Myers <joseph@codesourcery.com>
43598
fa8ee516
JM
43599 * sysdeps/unix/common/bits/dirent.h: Remove file.
43600 * sysdeps/unix/common/bits/fcntl.h: Likewise.
43601
d128e450
JM
43602 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43603 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43604 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43605 * sysdeps/unix/bsd/isatty.c: Likewise.
43606 * sysdeps/unix/bsd/tcdrain.c: Likewise.
43607 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43608 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43609
ff8faaf0 436102012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 43611
62881be4 43612 [BZ #13563]
31dc8730
AZ
43613 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43614 long double comparison inaccuracies.
43615 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43616 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43617
6fef930c
AS
436182012-05-04 Andreas Schwab <schwab@linux-m68k.org>
43619
43620 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43621 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43622
8f203e6c
JM
436232012-05-04 Joseph Myers <joseph@codesourcery.com>
43624
43625 [BZ #14049]
43626 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43627 nonzero digits before rounding a hex value.
43628 * stdlib/tst-strtod.c (tests): Add another test.
43629
5197d9c2
AK
436302012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
43631
43632 * sysdeps/s390/fpu/libm-test-ulps: Update.
43633
f0c1dedf
AJ
436342012-05-03 Andreas Jaeger <aj@suse.de>
43635
43636 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43637 does not get optimized out.
43638 (malloc_opt_barrier): New.
43639
a65ef2ae 436402012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 43641 Roland McGrath <roland@hack.frob.com>
a65ef2ae 43642
2b942cb7 43643 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 43644 intermediate file deletion.
2b942cb7 43645 (generated): Add .symlist files.
a65ef2ae 43646
54b71e02
JM
436472012-05-03 Joseph Myers <joseph@codesourcery.com>
43648
43649 [BZ #13775]
43650 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43651 Redirect under this condition.
43652 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43653 [__USE_GNU] (__dprintf_chk): Not under this condition.
43654 [__USE_GNU] (__vdprintf_chk): Likewise.
43655 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43656 under this condition.
43657 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43658 [__USE_XOPEN2K8] (dprintf): Define under this condition.
43659 [__USE_XOPEN2K8] (vdprintf): Likewise.
43660 [__USE_GNU] (__dprintf_chk): Not under this condition.
43661 [__USE_GNU] (__vdprintf_chk): Likewise.
43662 [__USE_GNU] (dprintf): Likewise.
43663 [__USE_GNU] (vdprintf): Likewise.
43664
d3dfcc41
RM
436652012-05-03 Roland McGrath <roland@hack.frob.com>
43666
43667 * elf/Makefile (common-generated): Set this instead of generated for
43668 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
43669 $(all-built-dso)-derived lists.
43670
7ac30cc5
AJ
436712012-05-03 Andreas Jaeger <aj@suse.de>
43672
0c51e550
AJ
43673 * sysdeps/i386/fpu/libm-test-ulps: Update.
43674
7ac30cc5
AJ
43675 * FAQ: Removed.
43676 * FAQ.in: Likewise.
43677 * scripts/gen-FAQ.pl: Likewise.
43678 * manual/install.texi (Installation): Point to online location of
43679 FAQ.
43680 * Makefile (files-for-dist): Remove FAQ.
43681 (FAQ): Remove.
43682
d4c2917f
AM
436832012-05-02 Allan McRae <allan@archlinux.org>
43684
43685 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43686 (LDFLAGS-reldepmod5.so): Likewise.
43687 (LDFLAGS-reldep6mod1.so): Likewise.
43688 (LDFLAGS-reldep6mod4.so): Likewise.
43689 (LDFLAGS-reldep8mod3.so): Likewise.
43690 (LDFLAGS-unload4mod1.so): Likewise.
43691 (LDFLAGS-unload4mod2.so): Likewise.
43692 (LDFLAGS-tst-initorder): Likewise.
43693 (LDFLAGS-tst-initordera2.so): Likewise.
43694 (LDFLAGS-tst-initordera3.so): Likewise.
43695 (LDFLAGS-tst-initordera4.so): Likewise.
43696 (LDFLAGS-tst-initorderb2.so): Likewise.
43697 (LDFLAGS-noload): Likewise.
43698 (LDFLAGS-next): Likewise.
43699 (LDFLAGS-order2mod1.so): Likewise.
43700 (LDFLAGS-order2mod2.so): Likewise.
43701 (LDFLAGS-tst-initorder2): Likewise.
43702 (LDFLAGS-tst-initorder2a.so): Likewise.
43703 (LDFLAGS-tst-initorder2b.so): Likewise.
43704 (LDFLAGS-tst-initorder2c.so): Likewise.
43705 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43706
d77f993f
DM
437072012-05-02 David S. Miller <davem@davemloft.net>
43708
43709 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43710
171a70b4
PP
437112012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
43712
43713 [BZ #14055]
43714 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43715
0be196ad
AJ
437162012-05-02 Andreas Jaeger <aj@suse.de>
43717
43718 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43719 since we manipulate rounding mode.
43720 (CPPFLAGS-test-idouble.c): Likewise.
43721 (CPPFLAGS-test-ifloat.c): Likewise.
43722 (CFLAGS-test-ldouble.c): Likewise.
43723 (CFLAGS-test-double.c): Likewise.
43724 (CFLAGS-test-float.c): Likewise.
43725 (CFLAGS-test-misc.c): Likewise.
43726 (CFLAGS-test-test-fenv.c): Likewise.
43727
4f9d04aa
AZ
437282012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43729
2b942cb7
RM
43730 [BZ #2550]
43731 [BZ #2570]
43732 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43733 comparisons to determine direction to adjust input.
4f9d04aa 43734
82a79e7d
RM
437352012-05-01 Roland McGrath <roland@hack.frob.com>
43736
f5a01ca9
RM
43737 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43738 output to the target.
43739
90fe4186
RM
43740 * scripts/localplt.awk: New file.
43741 * elf/Makefile ($(objpfx)check-localplt): Target removed.
43742 (check-localplt-CFLAGS): Variable removed.
43743 ($(all-built-dso:=.jmprel)): New static pattern rule.
43744 (generated): Add those targets.
43745 (localplt-built-dso): New variable.
43746 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43747
43748 * elf/check-localplt.c: File removed.
43749
82397ed6
RM
43750 * scripts/check-execstack.awk: New file.
43751 * elf/Makefile ($(objpfx)check-execstack): Target removed.
43752 (check-execstack-CFLAGS): Variable removed.
43753 ($(objpfx)check-execstack.h): Target removed.
43754 ($(objpfx)execstack-default): New target.
43755 (generated): Add that instead of check-execstack.h.
43756 ($(all-built-dso:=.phdr)): New static pattern rule.
43757 (generated): Add those targets.
43758 * elf/check-execstack.c: File removed.
43759
82a79e7d
RM
43760 * scripts/check-textrel.awk: New file.
43761 * elf/Makefile ($(objpfx)check-textrel): Target removed.
43762 (check-textrel-CFLAGS): Variable removed.
43763 (all-built-dso): Use := to define.o
43764 ($(all-built-dso:=.dyn)): New static pattern rule.
43765 (generated): Add those targets.
43766 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43767 * config.make.in (READELF): New substituted variable.
43768 * elf/check-textrel.c: File removed.
43769
62fde54f 437702012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 43771
615605c9
JM
43772 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43773 allow.
43774 * conform/data/ctype.h-data [C99-based standards] (isblank):
43775 Expect function.
43776 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43777 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43778 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43779 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43780 Specify type. Require positive value.
43781 (EILSEQ): Likewise.
43782 (ERANGE): Likewise.
43783 [ISO || POSIX] (EILSEQ): Do not expect.
43784 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43785 Specify type. Require positive value.
43786 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43787 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43788 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43789 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43790 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43791 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43792 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43793 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43794 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43795 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43796 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43797 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43798 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43799 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43800 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43801 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43802 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43803 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43804 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43805 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43806 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43807 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43808 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43809 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43810 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43811 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43812 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43813 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43814 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43815 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43816 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43817 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43818 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43819 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43820 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43821 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43822 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43823 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43824 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43825 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43826 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43827 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43828 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43829 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43830 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43831 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43832 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43833 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43834 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43835 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43836 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43837 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43838 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43839 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43840 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43841 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43842 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43843 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43844 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43845 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43846 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43847 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43848 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43849 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43850 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43851 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43852 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43853 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43854 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43855 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43856 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43857 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43858 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43859 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43860 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43861 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43862 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43863 Require >= 2.
43864 (FLT_ROUNDS): Expect as macro, not constant.
43865 (FLT_MANT_DIG): Use macro-int-constant.
43866 (DBL_MANT_DIG): Likewise.
43867 (LDBL_MANT_DIG): Likewise.
43868 (FLT_DIG): Likewise.
43869 (DBL_DIG): Likewise.
43870 (LDBL_DIG): Likewise.
43871 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
43872 (DBL_MIN_EXP): Likewise.
43873 (LDBL_MIN_EXP): Likewise.
43874 (FLT_MAX_EXP): Use macro-int-constant.
43875 (DBL_MAX_EXP): Likewise.
43876 (LDBL_MAX_EXP): Likewise.
43877 (FLT_MAX_10_EXP): Likewise.
43878 (DBL_MAX_10_EXP): Likewise.
43879 (LDBL_MAX_10_EXP): Likewise.
43880 (FLT_MAX): Use macro-constant.
43881 (DBL_MAX): Likewise.
43882 (LDBL_MAX): Likewise.
43883 (FLT_EPSILON): Use macro-constant. Give upper bound.
43884 (DBL_EPSILON): Likewise.
43885 (LDBL_EPSILON): Likewise.
43886 (FLT_MIN): Likewise.
43887 (DBL_MIN): Likewise.
43888 (LDBL_MIN): Likewise.
43889 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43890 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43891 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43892 [ISO11] (FLT_HAS_SUBNORM): Likewise.
43893 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43894 [ISO11] (DBL_DECIMAL_DIG): Likewise.
43895 [ISO11] (FLT_DECIMAL_DIG): Likewise.
43896 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43897 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43898 [ISO11] (FLT_TRUE_MIN): Likewise.
43899 [ISO11] (LDBL_TRUE_MIN): Likewise.
43900 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43901 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43902 (SCHAR_MIN): Use macro-int-constant. Specify type.
43903 (SCHAR_MAX): Likewise.
43904 (UCHAR_MAX): Likewise.
43905 (CHAR_MIN): Likewise.
43906 (CHAR_MAX): Likewise.
43907 (MB_LEN_MAX): Use macro-int-constant.
43908 (SHRT_MIN): Use macro-int-constant. Specify type.
43909 (SHRT_MAX): Likewise.
43910 (USHRT_MAX): Likewise.
43911 (INT_MAX): Likewise.
43912 (INT_MIN): Use macro-int-constant. Specify type. Make upper
43913 bound negative.
43914 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
43915 bound with "U".
43916 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43917 bound with "L".
43918 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
43919 bound negative. Suffix upper bound with "L".
43920 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
43921 bound with "UL".
43922 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43923 Specify type.
43924 [C99-based standards] (LLONG_MAX): Likewise.
43925 [C99-based standards] (ULLONG_MAX): Likewise.
43926 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
43927 == 0.
43928 [ISO11] (max_align_t): Require type.
43929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
43930
c9140a62
JM
43931 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43932 from $CFLAGS, without defining away __attribute__ calls.
43933 (checknamespace): Use $CFLAGS_namespace.
43934
9af0bf29
JM
43935 * conform/conformtest.pl (@keywords): Only include C99 keywords
43936 for standards based on C99 or C11.
43937
343222a2
JM
43938 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43939 Disable tests.
43940 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43941 UNIX98]: Likewise.
43942
661f8cf0
JM
43943 * conform/conformtest.pl: Handle "macro-int-constant" and test for
43944 usability of symbols in #if.
43945
ee74b9cb
JM
43946 * conform/conformtest.pl: If macro or constant types start
43947 "promoted:", expect the symbol to be of the following type
43948 promoted by the integer promotions.
62fde54f 43949
aafc49b3
JM
43950 * conform/conformtest.pl: Parse all "constant" and "macro" lines
43951 in one place. Also handle "macro-constant".
43952
fefdf574
JM
43953 * conform/conformtest.pl: Only accept expected macro values with
43954 "==". Parse all "macro" lines in one place.
43955 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43956
f2d922fe
JM
43957 * conform/conformtest.pl: Handle braced types on "constant" lines
43958 instead of handling "typed-constant".
43959 * conform/data/signal.h-data: Use "constant" instead of
43960 "typed-constant".
43961
d22956c9
JM
43962 * conform/conformtest.pl: Handle "optional-" at start of lines in
43963 one place rather than duplicating several cases. Handle each
43964 format of "macro" line with initial "optional-".
43965
028e2e38
JM
43966 * conform/conformtest.pl: Only accept expected constant or
43967 optional-constant values with "==". Parse all "constant" lines in
43968 one place. Parse all "optional-constant" lines in one place.
43969 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43970 * conform/data/fmtmsg.h-data: Likewise.
43971 * conform/data/netinet/in.h-data: Likewise.
43972 * conform/data/tar.h-data: Likewise.
43973 * conform/data/limits.h-data: Use "==" form on "constant" and
43974 "optional-constant" lines.
43975
1b8f2850
JM
43976 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43977 Use -std=c99 for XOPEN2K.
43978 (@knownproblems): Remove.
43979 (newtoken): Don't check %isknown.
43980
a05a144b
JM
43981 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43982 Do not expect macro.
43983 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43984 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43985 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43986 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43987 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43988 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43989 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43990 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43991 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43992 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43993 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43994 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43995 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43996 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43997 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43998 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43999 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44000 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44001 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44002 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44003 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44004 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44005 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44006 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44007 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44008 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44009 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44010 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44011 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44012 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44013 [XPG3] (acosh): Likewise.
44014 [XPG3] (asinh): Likewise.
44015 [XPG3] (atanh): Likewise.
44016 [XPG3] (cbrt): Likewise.
44017 [XPG3] (expm1): Likewise.
44018 [XPG3] (ilogb): Likewise.
44019 [XPG3] (log1p): Likewise.
44020 [XPG3] (logb): Likewise.
44021 [XPG3] (nextafter): Likewise.
44022 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44023 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44024 [XPG3] (remainder): Likewise.
44025 [XPG3] (rint): Likewise.
44026 [XPG3 || XPG4 || UNIX98] (round): Likewise.
44027 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44028 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44029 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44030 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44031 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44032 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44033 [UNIX98 || XOPEN2K] (scalb): Expect.
44034 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44035 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44036 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44037 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44038 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44039 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44040 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44041 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44042 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44043 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44044 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44045 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44046 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44047 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44048 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44049 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44050 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44051 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44052 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44053 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44054 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44055 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44056 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44057 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44058 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44059 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44060 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44061 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44062 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44063 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44064 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44065 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44066 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44067 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44068 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44069 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44070 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44071 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44072 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44073 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44074 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44075 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44076 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44077 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44078 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44079 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44080 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44081 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44082 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44083 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44084 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44085 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44086 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44087 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44088 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44089 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44090 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44091 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44092 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44093 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44094 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44095 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44096 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44097 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44098 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44099 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44100 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44101 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44102 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44103 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44104 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44105 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44106 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44107 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44108 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44109 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44110 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44111 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44112 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44113 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44114 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44115 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44116 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44117 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44118 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44119 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44120 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44121 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44122 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44123 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44124 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44125 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44126 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44127 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44128 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44129 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44130 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44131 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44132 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44133 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44134 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44135 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44136 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44137 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44138 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44139 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44140 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44141 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44142 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44143 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44144 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44145 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44146 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44147 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44148 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44149 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44150 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44151 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44152 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44153 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44154 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44155 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44156 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44157 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44158 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44159 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44160 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44161 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44162 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44163 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44164 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44165 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44166 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44167 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44168 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44169 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44170 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44171
73c5ebe3
JM
44172 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44173 _XOPEN_SOURCE_EXTENDED for XPG4.
44174
39c33b6c
JM
44175 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44176
62fde54f
JM
44177 * Makeconfig (localtime): Remove variable.
44178 (inst_localtime-file): Likewise.
44179
0741d64c
AS
441802012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44181
44182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44183 Update.
44184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44185 Update.
44186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44187 Update.
44188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44189 Update.
44190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44191 Update.
44192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44193 Update.
44194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44195 Update.
44196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44197 Update.
44198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44199 Update.
44200
7cb029ee
JM
442012012-05-01 Joseph Myers <joseph@codesourcery.com>
44202
44203 [BZ #2550]
44204 [BZ #2570]
44205 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44206 comparisons to determine direction to adjust input.
44207 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44208 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44209 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44210 Likewise.
44211 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44212 Likewise.
44213 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44214 Likewise.
44215 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44216 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44217 Likewise.
44218 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44219 Likewise.
44220 * math/libm-test.inc (nexttoward_test): Add more tests.
44221
412bd966
AS
442222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
44223
44224 [BZ #14040]
44225 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44226 in version GLIBC_2.1, not GLIBC_2.0.
44227 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44228 Likewise.
44229
9568c0c2
JM
442302012-04-30 Joseph Myers <joseph@codesourcery.com>
44231
adfbc8ac
JM
44232 [BZ #13942]
44233 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44234 (1 - x) * (1 + x).
44235 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44236 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44237 * math/libm-test.inc (acos_test): Add more tests.
44238 (asin_test): Likewise.
44239 * sysdeps/i386/fpu/libm-test-ulps: Update.
44240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44241
5ba3cc69
JM
44242 [BZ #14034]
44243 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44244 of square root.
44245 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44246 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44247 * math/libm-test.inc (acos_test_tonearest): New function.
44248 (acos_test_towardzero): Likewise.
44249 (acos_test_downward): Likewise.
44250 (acos_test_upward): Likewise.
44251 (asin_test_tonearest): Likewise.
44252 (asin_test_towardzero): Likewise.
44253 (asin_test_downward): Likewise.
44254 (asin_test_upward): Likewise.
44255 (main): Call the new functions.
44256 * sysdeps/i386/fpu/libm-test-ulps: Update.
44257 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44258
9568c0c2
JM
44259 [BZ #13884]
44260 [BZ #13924]
44261 * math/e_exp10.c: Include <float.h>.
44262 (__ieee754_exp10): Handle underflow here rather than multiplying
44263 large negative argument by M_LN10.
44264 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44265 of __ieee754_expf.
44266 * math/e_exp10l.c: Include <float.h>.
44267 (__ieee754_exp10l): Handle underflow here rather than multiplying
44268 large negative argument by M_LN10l.
44269 * math/libm-test.inc (exp10_test): Add another test. Do not allow
44270 spurious overflow exception on underflow.
44271
5ac3ea17
MP
442722012-04-29 Marek Polacek <polacek@redhat.com>
44273
44274 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44275 (__fortify_function): New macro.
44276 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44277 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44278 __extern_always_inline.
44279 * libio/bits/stdio2.h: Likewise.
44280 * libio/bits/stdio.h: Likewise.
44281 * string/string.h: Likewise.
44282 * string/bits/string3.h: Likewise.
44283 * include/stdio.h: Likewise.
44284 * stdlib/bits/stdlib.h: Likewise.
44285 * stdlib/stdlib.h: Likewise.
44286 * rt/bits/mqueue2.h: Likewise.
44287 * rt/mqueue.h: Likewise.
44288 * posix/bits/unistd.h: Likewise.
44289 * posix/unistd.h: Likewise.
44290 * io/bits/poll2.h: Likewise.
44291 * io/bits/fcntl2.h: Likewise.
44292 * io/fcntl.h: Likewise.
44293 * io/sys/poll.h: Likewise.
44294 * misc/bits/syslog.h: Likewise.
44295 * misc/bits/syslog-ldbl.h: Likewise.
44296 * misc/sys/syslog.h: Likewise.
44297 * socket/bits/socket2.h: Likewise.
44298 * socket/sys/socket.h: Likewise.
44299 * debug/tst-chk1.c: Likewise.
44300 * wcsmbs/bits/wchar2.h: Likewise.
44301 * wcsmbs/bits/wchar-ldbl.h: Likewise.
44302 * wcsmbs/wchar.h: Likewise.
44303
ecf0ebfb
AJ
443042012-04-29 Andreas Jaeger <aj@suse.de>
44305
44306 * Makerules (tests): Remove enable-check-abi protection.
44307 (check-abi-warn): Remove.
44308 (check-abi-%): Remove check-abi-warn usage.
44309
44310 * configure.in: Remove check-abi configure option.
44311 * configure: Regenerated.
44312 * config.make.in (enable-check-abi): Remove.
44313
6d5c57fa
AS
443142012-04-28 Andreas Schwab <schwab@linux-m68k.org>
44315
24c5d07e 44316 [BZ #14033]
ded5180a
AS
44317 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44318 double functions to double *_finite functions.
44319
7e0d315d
AS
44320 [BZ #13941]
44321 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44322 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44323 LDBL_MIN_EXP.
44324 * stdio-common/Makefile (tests): Add tst-sprintf3.
44325 * stdio-common/tst-sprintf3.c: New file.
44326
6d5c57fa
AS
44327 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44328 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44329
0749ff8b
JM
443302012-04-28 Joseph Myers <joseph@codesourcery.com>
44331
44332 * conform/conformtest.pl: Remove duplicate typed-constant
44333 handling.
44334
8dbd5d7b
DM
443352012-04-28 David S. Miller <davem@davemloft.net>
44336
44337 * Makerules (%.abilist): Add vpath on sysdep_dirs.
44338 (check-abi-%): Remove AWK script prerequisite and explicit
44339 abilist directory.
44340 (check-abi): Rewrite to just diff the symlist with the abilist.
44341 (config-tls, config-abi-config): Delete, no longer used.
44342 (update-abi-%): Remove AWK script and explicit abilist directory.
44343 (update-abi): Rewrite to simply compare and conditionally copy the
44344 symlist and the sysdep abilist file. Remove update-abi-config
44345 checks.
44346 * abilist/ld.abilist: Remove.
44347 * abilist/libBrokenLocale.abilist: Remove.
44348 * abilist/libanl.abilist: Remove.
44349 * abilist/libcrypt.abilist: Remove.
44350 * abilist/libdl.abilist: Remove.
44351 * abilist/librt.abilist: Remove.
44352 * abilist/libthread_db.abilist: Remove.
44353 * abilist/libutil.abilist: Remove.
44354 * scripts/extract-abilist.awk: Remove.
44355 * scripts/merge-abilist.awk: Remove.
44356 * sysdeps/generic/libcidn.abilist: New file.
44357 * sysdeps/generic/libnss_compat.abilist: New file.
44358 * sysdeps/generic/libnss_db.abilist: New file.
44359 * sysdeps/generic/libnss_dns.abilist: New file.
44360 * sysdeps/generic/libnss_files.abilist: New file.
44361 * sysdeps/generic/libnss_hesiod.abilist: New file.
44362 * sysdeps/generic/libnss_nis.abilist: New file.
44363 * sysdeps/generic/libnss_nisplus.abilist: New file.
44364 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44365 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44366 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44367 file.
44368 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44369 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44370 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44371 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44372 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44373 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44374 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44375 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44376 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44377 file.
44378 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44379 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44380 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44381 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44382 file.
44383 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44384 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44385 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44386 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44387 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44388 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44389 file.
44390 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44391 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44392 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44393 file.
44394 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44395 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44396 New file.
44397 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44398 New file.
44399 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44400 New file.
44401 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44402 New file.
44403 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44404 New file.
44405 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44406 New file.
44407 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44408 New file.
44409 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44410 New file.
44411 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44412 New file.
44413 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44414 New file.
44415 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44416 New file.
44417 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44418 New file.
44419 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44420 New file.
44421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44422 file.
44423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44424 New file.
44425 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44426 New file.
44427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44428 file.
44429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44430 New file.
44431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44432 New file.
44433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44434 file.
44435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44436 New file.
44437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44438 New file.
44439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44440 New file.
44441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44442 New file.
44443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44444 New file.
44445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44446 New file.
44447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44448 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44449 file.
44450 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44451 New file.
44452 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44453 file.
44454 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44455 file.
44456 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44457 file.
44458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44459 file.
44460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44461 file.
44462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44463 New file.
44464 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44465 file.
44466 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44467 file.
44468 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44469 New file.
44470 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44471 file.
44472 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44473 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44474 file.
44475 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44476 New file.
44477 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44478 file.
44479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44480 file.
44481 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44482 file.
44483 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44484 file.
44485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44486 file.
44487 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44488 New file.
44489 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44490 file.
44491 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44492 file.
44493 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44494 New file.
44495 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44496 file.
44497 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44498 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44499 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44500 file.
44501 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44502 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44503 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44504 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44505 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44506 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44507 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44509 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44510 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44511 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44512 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44513 file.
44514 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44515 New file.
44516 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44517 file.
44518 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44519 file.
44520 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44521 file.
44522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44523 file.
44524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44525 file.
44526 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44527 New file.
44528 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44529 New file.
44530 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44531 file.
44532 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44533 New file.
44534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44535 file.
44536 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44537 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44538 file.
44539 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44540 New file.
44541 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44542 file.
44543 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44544 file.
44545 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44546 file.
44547 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44548 file.
44549 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44550 file.
44551 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44552 New file.
44553 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44554 New file.
44555 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44556 file.
44557 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44558 New file.
44559 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44560 file.
44561
41d73a1b
JM
445622012-04-28 Joseph Myers <joseph@codesourcery.com>
44563
44564 * conform/conformtest.pl: Fix typo in handling typed-constant from
44565 allow-header.
44566
28aeeda4
JM
445672012-04-27 Joseph Myers <joseph@codesourcery.com>
44568
adae8f5e
JM
44569 * README: Cut down references to pre-2.6 Linux kernels and
44570 Linuxthreads. Update lists of configurations in libc and ports
44571 and sort alphabetically. Say "or newer" with Linux kernel version
44572 requirements.
44573
28aeeda4
JM
44574 * config.h.in [IS_IN_build]: Allow compiling without optimization.
44575
a462cb63
RA
445762012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
44577
44578 [BZ #887]
44579 * math/libm-test.inc (logb_test_downward): New test to expose
44580 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44581 rounding mode.
44582
6ad3493e
JM
445832012-04-27 Joseph Myers <joseph@codesourcery.com>
44584
44585 [BZ #14027]
44586 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44587 to be done.
44588 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44589 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44590
2ce4f015
JM
445912012-04-26 Joseph Myers <joseph@codesourcery.com>
44592
5aeb141a
JM
44593 * sysdeps/unix/i386/brk.S: Remove file.
44594 * sysdeps/unix/i386/dl-brk.S: Likewise.
44595 * sysdeps/unix/i386/pipe.S: Likewise.
44596 * sysdeps/unix/i386/sigreturn.S: Likewise.
44597 * sysdeps/unix/i386/syscall.S: Likewise.
44598 * sysdeps/unix/i386/vfork.S: Likewise.
44599 * sysdeps/unix/i386/wait.S: Likewise.
44600
7143acae
JM
44601 * sysdeps/unix/common/tcsendbrk.c: Move to ...
44602 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44603
2ce4f015
JM
44604 * configure.in (arm*-none*): Do not allow without
44605 --enable-hacker-mode.
44606 (netbsd*): Remove case setting base_os.
44607 (386bsd*): Likewise.
44608 (freebsd*): Likewise.
44609 (bsdi*): Likewise.
44610 (osf*): Likewise.
44611 (sunos*): Likewise.
44612 (ultrix*): Likewise.
44613 (newsos*): Likewise.
44614 (dynix*): Likewise.
44615 (*bsd*): Likewise.
44616 (sysv*): Likewise.
44617 (isc*): Likewise.
44618 (esix*): Likewise.
44619 (sco*): Likewise.
44620 (minix*): Likewise.
44621 (irix4*): Likewise.
44622 (irix6*): Likewise.
44623 (solaris[2-9]*): Likewise.
44624 (none): Likewise.
44625 * configure: Regenerated.
44626
0ac229c8
AZ
446272012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44628
44629 [BZ #11521]
44630 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44631 overflow or cancellation in calculating denominator.
44632 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44633 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44634 down expression to avoid unexpected rounding in newer GCCs.
44635 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44636
33f244f4
DM
446372012-04-26 David S. Miller <davem@davemloft.net>
44638
44639 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44640 long-double compat symbols.
44641 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44642 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44643 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44644 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44647 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44649 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44650 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44651 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44652 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44653 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44654
cfa1f3e8
DM
446552012-04-25 David S. Miller <davem@davemloft.net>
44656
44657 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44658 HWCAP_* values only after the memory barriers have been defined.
44659 (atomic_full_barrier): Define.
44660 (atomic_read_barrier): Define.
44661 (atomic_write_barrier): Define.
44662
6e236b92
SP
446632012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
44664
44665 * shlib-versions: Add libgcc_s version information.
44666 * sysdeps/generic/libgcc_s.h: Remove.
44667 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44668 libgcc_s.h.
44669 * sysdeps/gnu/unwind-resume.c: Likewise.
44670 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44671
aab39a09
DM
446722012-04-25 David S. Miller <davem@davemloft.net>
44673
44674 * sysdeps/unix/sparc/brk.S: Delete.
44675 * sysdeps/unix/sparc/dl-brk.S: Delete.
44676 * sysdeps/unix/sparc/pipe.S: Delete.
44677 * sysdeps/unix/sparc/sysdep.S: Delete.
44678 * sysdeps/unix/sparc/sysdep.h: Delete.
44679 * sysdeps/unix/sparc/vfork.S: Delete.
57f41c40
AS
44680 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44681 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44682 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44683 (ret_ERRVAL, r0, r1, MOVE): Define.
aab39a09
DM
44684 (JUMPTARGET): Remove.
44685 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44686 sysdeps/unix/sparc/sysdep.h
44687 (ENTRY, END): Remove.
44688 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44689
a3cc4f48
JM
446902012-04-25 Joseph Myers <joseph@codesourcery.com>
44691
2ed8cda2
JM
44692 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44693 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44694 -DIS_IN_build.
44695
35d76d59
JM
44696 * timezone/README: Update upstream location and email address for
44697 tzcode and tzdata.
44698 * timezone/zdump.c: Update from tzcode 2012b.
44699 * timezone/zic.c: Likewise.
44700
a3cc4f48
JM
44701 * configure.in (libc_cv_as_needed): Remove test.
44702 * configure: Regenerated.
44703 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44704 conditional definition.
44705 [$(have-as-needed) != yes] (no-as-needed): Likewise.
44706 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44707 * config.make.in (have-as-needed): Remove variable.
44708
ceab42c3
SP
447092012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
44710 Paul Pluzhnikov <ppluzhnikov@google.com>
44711
44712 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44713 strings correctly.
44714
3ce2865f
CLT
447152012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
44716
44717 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44718 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44719 * sysdeps/sh/strlen.S: Likewise.
44720
f37e0d68
JM
447212012-04-24 Joseph Myers <joseph@codesourcery.com>
44722
ae186e9a
JM
44723 * sysdeps/unix/fork.S: Remove file.
44724 * sysdeps/unix/i386/fork.S: Likewise.
44725 * sysdeps/unix/sparc/fork.S: Likewise.
44726
b96914af
JM
44727 * sysdeps/unix/system.c: Remove file.
44728 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44729
f37e0d68
JM
44730 * sysdeps/unix/getegid.S: Remove file.
44731 * sysdeps/unix/geteuid.S: Likewise.
44732
87ef29ca
RM
447332012-04-24 Roland McGrath <roland@hack.frob.com>
44734
83bcd236
RM
44735 * scripts/check-localplt.awk: New file.
44736 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44737 of diff.
44738 * scripts/data/localplt-generic.data: Add a comment.
44739
87ef29ca
RM
44740 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44741 NODE when __dir_mkfile failed.
44742 * sysdeps/mach/hurd/symlinkat.c: Likewise.
44743 Reported by Ludovic Courtès <ludo@gnu.org>.
44744
e5a6e567
AJ
447452012-04-24 Andreas Jaeger <aj@suse.de>
44746
44747 * Makerules (common-clean): Also remove gen-as-const-headers
44748 files.
44749
c1820385
JM
447502012-04-24 Joseph Myers <joseph@codesourcery.com>
44751
44752 * Makerules (native-compile): Do not change working directory for
44753 build. Use $(OUTPUT_OPTION) in command.
44754 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44755
94e02fc4
AZ
447562012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44757
44758 [BZ #13886]
44759 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44760 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44761 * math/libm-test.inc (floor_test): Add more tests.
44762 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44763
3a533ca3
JM
447642012-04-24 Joseph Myers <joseph@codesourcery.com>
44765
940ab4b3
JM
44766 * sysdeps/unix/getdents.c: Remove file.
44767 * sysdeps/unix/sysv/getdents.c: Likewise.
44768 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44769
90e037bd
JM
44770 * sysdeps/unix/syscalls.list (madvise): Add syscall from
44771 sysdeps/unix/mman/syscalls.list.
44772 (mmap): Likewise.
44773 (mprotect): Likewise.
44774 (msync): Likewise.
44775 (munmap): Likewise.
44776 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44777 * sysdeps/unix/mman/syscalls.list: Remove.
44778 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44779
3a533ca3
JM
44780 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44781 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44782 * configure: Regenerated.
44783 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44784 $(libgcc_s_suffix).
44785 * config.make.in (libgcc_s_suffix): Remove variable.
44786
1ad743de
JM
447872012-04-23 Joseph Myers <joseph@codesourcery.com>
44788
4ad451e2
JM
44789 * sysdeps/unix/sysv/gethostname.c: Move to ...
44790 * sysdeps/posix/gethostname.c: ... here.
44791
5e37ce39
JM
44792 * sysdeps/unix/execve.S: Remove file.
44793
1ad743de
JM
44794 * sysdeps/unix/_exit.S: Remove file.
44795
4e681b5b
AJ
447962012-04-23 Andreas Jaeger <aj@suse.de>
44797
44798 [BZ #13739]
44799 * manual/Makefile: Remove make dist support, there's no
44800 need for a stand-alone documentation tar ball.
44801 (TEXI2DVI): Define always, it's not in Makeconfig.
44802 (dist): Removed.
44803 (tar-it): Removed.
44804 (edition): Removed.
44805 (glibc-doc-$(edition).tar): Removed
44806 (%.Z): Removed.
44807 (%.gz): Removed.
44808 (%.uu): Removed.
44809 (ETAGS): Remove, it's in Makeconfig.
44810 (move-if-change): Remove, it's in Makeconfig.
44811
38686a03 448122012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
44813
44814 [BZ #13970]
44815 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44816 (strtod, strtof, strtold, strtol, strtoul, strtoq)
44817 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44818 (strtod_l, strtof_l, strtold_l): Remove __wur.
44819 It is not necessarily an error to ignore strtol's return value.
44820 One can reliably look at the stored endptr to decide whether
44821 the number had valid syntax.
44822
7c0616fa
AJ
448232012-04-21 Andreas Jaeger <aj@suse.de>
44824
803cb6b7 44825 [BZ #13739]
7c0616fa
AJ
44826 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44827
b0fe253f
JM
448282012-04-21 Joseph Myers <joseph@codesourcery.com>
44829
44830 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44831 * sysdeps/unix/sysv/Versions: Remove file.
44832
8280f22d
MT
448332012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
44834
44835 [BZ #13927]
44836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44837
75ce411f 448382012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
44839
44840 [BZ #7064]
44841 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44842 version from __vm86.
44843
097d59fa
JM
448442012-04-20 Joseph Myers <joseph@codesourcery.com>
44845
a90f3bcb
JM
44846 * sysdeps/unix/common/lxstat.c: Remove file.
44847 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44848
edc7ea78
JM
44849 * sysdeps/unix/sysv/Makefile: Remove file.
44850
cb78c221
JM
44851 * sysdeps/unix/sysv/direct.h: Remove file.
44852
efa6a45f
JM
44853 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44854 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44855 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44856 * sysdeps/unix/sysv/bits/signum.h: Likewise.
44857 * sysdeps/unix/sysv/bits/stat.h: Likewise.
44858 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44859 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44860
9c9f2d0c
JM
44861 * sysdeps/unix/sysv/setrlimit.c: Remove file.
44862
4541c83b
JM
44863 * sysdeps/unix/xmknod.c: Remove file.
44864 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44865
f5d153a0
JM
44866 * sysdeps/unix/sysv/settimeofday.c: Remove file.
44867
aa746595
JM
44868 * sysdeps/unix/sysv/i386/time.S: Remove file.
44869
cce5905e
JM
44870 * sysdeps/unix/fxstat.c: Remove file.
44871 * sysdeps/unix/xstat.c: Likewise.
44872 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44873
37fa3841
JM
44874 * sysdeps/unix/sysv/sigaction.c: Remove file.
44875
ff1962a3
JM
44876 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44877 (sysdep_headers): Remove variable.
44878 [termio.h not in sysdep_headers] (generated): Likewise.
44879 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44880 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44881 * sysdeps/unix/sysv/tcdrain.c: Likewise.
44882 * sysdeps/unix/sysv/tcflow.c: Likewise.
44883 * sysdeps/unix/sysv/tcflush.c: Likewise.
44884 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44885 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44886 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44887 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44888 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44889
e7740d31
JM
44890 * sysdeps/unix/siglist.c: Remove file.
44891
ee06f18b
JM
44892 * sysdeps/unix/getppid.S: Remove file.
44893
097d59fa
JM
44894 * sysdeps/unix/mkdir.c: Remove file.
44895 * sysdeps/unix/rmdir.c: Likewise.
44896
ff3d51ec
AS
448972012-04-19 Andreas Schwab <schwab@linux-m68k.org>
44898
44899 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44900 ERR_MAX value.
44901 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44902 errlist-compat value.
44903
50f81fd7
DM
449042012-04-18 David S. Miller <davem@davemloft.net>
44905
44906 * sysdeps/generic/memcopy.h (reg_char): Delete.
44907 * debug/strcat_chk.c: Use char, not reg_char.
44908 * debug/strcpy_chk.c: Likewise.
44909 * debug/strncat_chk.c: Likewise.
44910 * debug/strncpy_chk.c: Likewise.
44911 * string/memchr.c: Likewise.
44912 * string/memrchr.c: Likewise.
44913 * string/rawmemchr.c: Likewise.
44914 * string/strcat.c: Likewise.
44915 * string/strchr.c: Likewise.
44916 * string/strchrnul.c: Likewise.
44917 * string/strcmp.c: Likewise.
44918 * string/strcpy.c: Likewise.
44919 * string/strncat.c: Likewise.
44920 * string/strncmp.c: Likewise.
44921 * string/strncpy.c: Likewise.
44922
8ff41c46
WS
449232012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44924
44925 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44926 __builtin_memcopy is called when src and dest ranges are known to not
44927 overlap.
44928
6b652f46
WS
449292012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44930
44931 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44932 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44933 fwd_align_merge macro call.
44934 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44935 bwd_align_merge macro call.
44936 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44937
b282631e
WS
449382012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
44939
44940 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44941 bwd_align_merge macros.
44942 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44943 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44944 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44945
95aa737c
DM
449462012-04-18 David S. Miller <davem@davemloft.net>
44947
44948 * sysdeps/sparc/sparc64/memcopy.h: Delete.
44949
7a99a614
AJ
449502012-04-18 Andreas Jaeger <aj@suse.de>
44951
44952 [BZ# 6794]
44953 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44954 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44955 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44956
44957 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44958 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44959 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44960
44961 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44962 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44963 Adjust for changed ldbl-128 files.
44964
44965 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44966 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44967 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44968
e5270c23
DM
449692012-04-17 David S. Miller <davem@davemloft.net>
44970
44971 * sysdeps/sparc/sparc32/memcopy.h: Delete.
44972
fb5e92c9
AS
449732012-04-17 Andreas Schwab <schwab@linux-m68k.org>
44974
44975 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44976 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44977 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44978 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44979 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44980 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44981
76da7265
AZ
449822012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44983
44984 [BZ #6794]
44985 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44986 * math/libm-test.inc: Add ilogb errno and exception tests.
44987 * math/w_ilogb.c: New file: ilogb wrapper.
44988 * math/w_ilogbf.c: New file: ilogbf wrapper.
44989 * math/w_ilogbl.c: New file: ilogbl wrapper.
44990 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44991 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44992 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44993 exception being thrown with 0.0 as argument.
44994 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44995 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44996 exception being thrown with 0.0 as argument.
44997 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44998 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44999 exception being thrown with 0.0 as argument.
45000 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45001 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45002 exception being thrown with 0.0 as argument.
45003 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45004 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 45005 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
45006 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45007 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45008 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45009 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45010 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45011 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45012
0396e69d
PB
450132012-04-17 Petr Baudis <pasky@ucw.cz>
45014
45015 * include/sys/uio.h: Change __vector to __iovec to avoid clash
45016 with altivec.
45017
750b5926
MP
450182012-04-16 Marek Polacek <polacek@redhat.com>
45019
45020 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45021
751728a1
MP
450222012-04-16 Marek Polacek <polacek@redhat.com>
45023
45024 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45025 operands of fdivp instruction.
45026
34a27407
L
450272012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45028
45029 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45030 * elf/tst-auditmod3b.c: Likewise.
45031 * elf/tst-auditmod4b.c: Likewise.
45032 * elf/tst-auditmod5b.c: Likewise.
45033 * elf/tst-auditmod6b.c: Likewise.
45034 * elf/tst-auditmod6c.c: Likewise.
45035 * elf/tst-auditmod7b.c: Likewise.
45036 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45037 * sysdeps/x86_64/preconfigure.in: Likewise.
45038 * sysdeps/x86_64/preconfigure: Regenerated.
45039
7e73e17d
L
450402012-04-13 H.J. Lu <hongjiu.lu@intel.com>
45041
45042 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45043 __ILP32__.
45044
c7a6ab72
AB
450452012-04-13 Antoine Balestrat <merkil33@gmail.com>
45046
45047 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45048 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45049
a9e8e0e0
CL
450502012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
45051
45052 [BZ #13973]
45053 * locale/iso-639.def: Fix gl language name. Spotted by
45054 Yaron Shahrabani.
45055
ec98af7d
RM
450562012-04-12 Roland McGrath <roland@hack.frob.com>
45057
45058 [BZ #2074]
45059 * libio/libio.h (__io_write_fn): Update comment.
45060
247c3ede
PB
450612012-04-12 Petr Baudis <pasky@ucw.cz>
45062
45063 [BZ #2074]
45064 * stdio.texi (Hook Functions): The user provided writer function
45065 is not allowed to return -1.
45066
55939d6d
DM
450672012-04-11 David S. Miller <davem@davemloft.net>
45068
45069 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45070
90020f5a
MF
450712012-04-11 Mike Frysinger <vapier@gentoo.org>
45072
45073 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45074 Add a leading slash to rtkaio.
45075
288f9098
JM
450762012-04-11 Jim Meyering <meyering@redhat.com>
45077
90020f5a
MF
45078 [BZ #11959]
45079 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45080 It is not necessarily an error to ignore fwrite's return
45081 value. One can reliably use ferror to test for errors after
45082 the fact.
288f9098 45083
4be2b570
L
450842012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45085
45086 * bits/types.h (__snseconds_t): New type.
45087 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45088
45089 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45090 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45091 (__SNSECONDS_T_TYPE): Likewise.
45092 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45093 (__SNSECONDS_T_TYPE): Likewise.
45094 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45095 (__SNSECONDS_T_TYPE): Likewise.
45096
288f9098 450972012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
45098
45099 [BZ #2636]
45100 * manual/time.texi (Processor Time): Return type of times is
45101 elapsed real time since an arbitrary point in the past.
45102 (CPU Time): Move CLK_TCK from here...
45103 (Processor Time): ...to here. Correct description.
45104 * manual/conf.texi (Constants for Sysconf): Correct description of
45105 _SC_CLK_TCK.
45106
d7dd4413
DM
451072012-04-10 David S. Miller <davem@davemloft.net>
45108
45109 [BZ #13967]
45110 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45111 where the is a gap between DT_REL(A) and DT_JMPREL.
45112
b46068fc
L
451132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
45114
45115 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45116 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45117 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45118
73d65cc3
SP
451192012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
45120
45121 * elf/dl-support.c (_dl_inhibit_cache): New variable.
45122 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45123 (dl_main): Handle --inhibit-cache.
45124 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45125 _dl_inhibit_cache.
45126 * elf/dl-load.c (_dl_map_object): Use it.
45127 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45128
bcc8d661
JM
451292012-04-09 Joseph Myers <joseph@codesourcery.com>
45130
8f9a2fae
JM
45131 [BZ #13872]
45132 * sysdeps/i386/fpu/e_powl.S (p78): New object.
45133 (__ieee754_powl): Saturate large exponents rather than testing for
45134 overflow of y*log2(x).
45135 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45136 * math/libm-test.inc (pow_test): Do not permit spurious overflow
45137 exceptions.
45138
bcc8d661
JM
45139 [BZ #11521]
45140 * math/s_ctan.c: Include <float.h>.
45141 (__ctan): Avoid internal overflow or cancellation in calculating
45142 denominator.
45143 * math/s_ctanf.c: Likewise.
45144 * math/s_ctanl.c: Likewise.
45145 * math/s_ctanh.c: Likewise.
45146 * math/s_ctanhf.c: Likewise.
45147 * math/s_ctanhl.c: Likewise.
45148 * math/libm-test.inc (ctan_test): Add more tests.
45149 (ctanh_test): Likewise.
45150 * sysdeps/i386/fpu/libm-test-ulps: Update.
45151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45152
823fbbb4
AJ
451532012-04-09 Andreas Jaeger <aj@suse.de>
45154
03879793
AJ
45155 [BZ #6894]
45156 * manual/filesys.texi (Directory Entries): Mention that d_namlen
45157 is an optional BSD extension.
45158
823fbbb4
AJ
45159 [BZ #10254]
45160 * manual/stdio.texi (Opening Streams): Document additional fopen
45161 parameters.
45162
8de131cb
RM
451632012-04-09 Roland McGrath <roland@hack.frob.com>
45164
45165 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45166 %eax without telling the compiler.
45167
c0ed9d7d
CD
451682012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
45169
45170 [BZ # 13963]
45171 * manual/install.texi: Use sourceware.org.
45172
c483f6b4
JM
451732012-04-09 Joseph Myers <joseph@codesourcery.com>
45174
d7dd9453
JM
45175 [BZ #13873]
45176 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45177 (__ieee754_pow): Generate overflow and underflow using huge*huge
45178 and tiny*tiny rather than just returning constant infinity or zero
45179 for large exponents.
45180 * math/libm-test.inc (pow_test): Require overflow exceptions for
45181 applicable cases of large exponents.
45182
c483f6b4
JM
45183 [BZ #706]
45184 * sysdeps/i386/fpu/e_pow.S (p10): New object.
45185 (__ieee754_pow): Use iterative multiplication algorithm only for
45186 integer exponents with absolute value below 1024. Check for odd
45187 integer exponents when using algorithm for real exponents.
45188 * math/libm-test.inc (pow_test): Add more tests.
45189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45190
d2de7579
JM
451912012-04-08 Joseph Myers <joseph@codesourcery.com>
45192
45193 [BZ #13705]
45194 * math/libm-test.inc (exp_test): Do not allow overflow exception
45195 on underflow test.
45196
f77f1232
AJ
451972012-04-08 Aurelien Jarno <aurelien@aurel32.net>
45198
45199 [BZ #13705]
45200 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45201 instead of __kernel_standard_f.
45202
3884932b
MF
452032012-04-08 Mike Frysinger <vapier@gentoo.org>
45204
45205 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45206 * sysdeps/x86_64/memset_chk.S: Likewise.
45207
54472e9c
AJ
452082012-04-08 Andreas Jaeger <aj@suse.de>
45209
6ab0fbfc
AJ
45210 [BZ #10153]
45211 * manual/startup.texi (Environment Access): Describe return value
45212 for putenv and setenv.
45213
61efba8c
AJ
45214 [BZ #6895]
45215 * manual/filesys.texi (Directory Entries): Add description for
45216 DT_LNK.
45217
95c3f29a
AJ
45218 [BZ #6890]
45219 * manual/filesys.texi (Directory Entries): Clarify that it's file
45220 system not operating system in the description of DT_UNKNOWN.
45221
54472e9c
AJ
45222 [BZ #6578]
45223 * manual/syslog.texi (closelog): Fix reference, it's openlog.
45224
624254b1
SC
452252012-04-08 Stephen Compall <s11@member.fsf.org>
45226
45227 [BZ #6649]
45228 * manual/llio.texi (Opening and Closing Files): Add cross
45229 reference to explain mode argument.
45230
1e4920e0
MF
452312012-04-07 Mike Frysinger <vapier@gentoo.org>
45232
45233 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45234 * sysdeps/x86_64/memset_chk.S: Likewise.
45235
5ed848f3
DM
452362012-04-07 David S. Miller <davem@davemloft.net>
45237
45238 * elf/elf.h (R_SPARC_WDISP10): Define.
45239 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45240 R_SPARC_SIZE32.
45241 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45242 R_SPARC_SIZE64 and R_SPARC_H34.
45243
96154cd8
CD
452442012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
45245
45246 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45247 conditions and remove no longer applicable assertion.
45248
9904dc47
L
452492012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45250
45251 * bits/byteswap.h: Include <features.h>.
45252 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45253 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45254
f8887d0a
L
452552012-04-06 H.J. Lu <hongjiu.lu@intel.com>
45256
45257 * bits/byteswap.h (__bswap_16): Removed.
45258 Include <bits/byteswap-16.h> to get __bswap_16.
45259 * sysdeps/i386/bits/byteswap.h: Likewise.
45260 * sysdeps/s390/bits/byteswap.h: Likewise.
45261 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45262 * bits/byteswap-16.h: New file.
45263 * sysdeps/i386/bits/byteswap-16.h: Likewise.
45264 * sysdeps/s390/bits/byteswap-16.h: Likewise.
45265 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45266 * string/Makefile (headers): Add bits/byteswap-16.h.
45267
62470f60
PP
452682012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
45269
45270 [BZ #13895]
45271 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45272 extra indirection.
45273 * nss/Makefile (tests-static, tests): Add tst-nss-static.
45274 * nss/tst-nss-static.c: New.
45275
4dad7bab
RM
452762012-04-06 Robert Millan <rmh@gnu.org>
45277
45278 [BZ #6486]
45279 * manual/llio.texi (File Position Primitive): lseek
45280 refers to WHENCE when it really means OFFSET.
45281
e9142a17
AJ
452822012-04-06 Andreas Jaeger <aj@suse.de>
45283
2c040eff
AJ
45284 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45285 strncmp declarations.
45286
e9142a17
AJ
45287 * abilist/libc.abilist: Add __poll and __ppoll.
45288
ff9f1c5f
DM
452892012-04-05 David S. Miller <davem@davemloft.net>
45290
dcd2ae90
DM
45291 * scripts/check-local-headers.sh: Accept a host triplet in the
45292 path matched by the exclude regexp.
45293
993eb054
DM
45294 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45295 definition.
45296 * sysdeps/powerpc/powerpc32/dl-machine.h
45297 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45298 * sysdeps/s390/s390-32/dl-machine.h
45299 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45300 * sysdeps/sparc/sparc32/dl-machine.h
45301 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45302 * sysdeps/sparc/sparc64/dl-machine.h
45303 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45304
ff9f1c5f
DM
45305 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45306 lazy binding.
48e2e132 45307 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
45308 undefined symbol errors.
45309
48e2e132 45310 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
45311 DT_NEEDED entries.
45312
e80d6f94
MM
453132012-04-05 Michael Matz <matz@suse.de>
45314
45315 [BZ #13592]
45316 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45317
349fa79f
AJ
453182012-04-05 Andreas Jaeger <aj@suse.de>
45319
45320 [BZ #13908]
45321 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45322 comment.
45323
f402708f
KK
453242012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45325
45326 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45327 which ROUND is no valid rounding mode.
45328
2ecccfc9
KK
453292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45330
45331 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45332 read again.
45333 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45334
8a53f50f
KK
453352012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45336
45337 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45338 an exception using FPU order intentionally.
45339
453402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
45341
45342 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45343 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45344 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45345 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45346
d653abb7
SJ
453472012-04-05 Simon Josefsson <simon@josefsson.org>
45348
45349 [BZ #12340]
45350 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45351 EINVAL when BUFLEN is too smal.
45352
c3b1bf7d
TS
453532012-04-05 Thomas Schwinge <thomas@codesourcery.com>
45354
45355 [BZ #13553]
45356 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45357 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45358
b1aa60f3
AJ
453592012-04-03 Andreas Jaeger <aj@suse.de>
45360
c3b1bf7d 45361 [BZ #13938]
67f60a26
AJ
45362 * manual/setjmp.texi (System V contexts): Fix sentence.
45363
b1aa60f3
AJ
45364 [BZ #13926]
45365 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45366 New macro for this case.
45367 [!__GNUC__] (__bswap_64): New inline function for this case.
45368 * sysdeps/x86_64/bits/byteswap.h: Likewise.
45369 * bits/byteswap.h: Likewise.
45370 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45371 ull, guard with __GLIBC_HAVE_LONG_LONG.
45372
45373 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45374 __GLIBC_HAVE_LONG_LONG.
45375
45376 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45377 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45378
39c59c35
TMQMF
453792012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45380
45381 [BZ #13691]
45382 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45383 inptr and inend, rather than using last_ch.
45384
135ffda8
DM
453852012-04-02 David S. Miller <davem@davemloft.net>
45386
45387 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45388 * stdio-common/printf-parse.h (read_int): Change return type to
45389 'int', return -1 on INT_MAX overflow.
45390 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45391 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
45392 overflows INT_MAX. Check for overflow of in-format-string precision
45393 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
45394 SIZE_MAX not INT_MAX for integer overflow test.
45395 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45396 skip the construct in the format string but do not record anything.
45397 * stdio-common/bug22.c: Adjust to test both width/prevision
45398 INT_MAX overflow as well as total length INT_MAX overflow. Check
45399 explicitly for proper errno values.
45400
228c019e
TS
454012012-04-02 Thomas Schwinge <thomas@codesourcery.com>
45402
302cadd3
TS
45403 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45404 CHAR_MAX.
45405 * string/test-strcmp.c [! WIDE]: Likewise.
45406 * time/tst-mktime2.c: Likewise for INT_MAX.
45407 * string/test-string.h: #include <sys/param.h> for MIN.
45408
228c019e
TS
45409 * csu/init-first.c (__libc_init_first): Call __ctype_init.
45410 * sysdeps/i386/init-first.c (init): Likewise.
45411 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45412 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45413 * sysdeps/sh/init-first.c (init): Likewise.
45414
cfa633f5
UD
454152012-04-01 Ulrich Drepper <drepper@gmail.com>
45416
45417 * po/ru.po: Update from translation team.
d1635ef8 45418 * po/vi.po: Likewise.
cfa633f5 45419
6cd0a5ea
SP
454202012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
45421
45422 * resolv/nss_dns/dns-host.c: Merge copyright years.
45423
4b43400f
LD
454242012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
45425
45426 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45427 Optimize memcpy with prefetch if
45428 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
45429 src, dst pointers have unequal 16 byte alignments.
45430
48c41d04
SP
454312012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
45432
45433 [BZ #13928]
45434 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45435 from a CNAME entry and return the minimum ttl for the query.
45436 (gaih_getanswer_slice): Likewise.
45437
b8dc394d
JL
454382012-03-30 Jeff Law <law@redhat.com>
45439
45440 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45441 due to long keys.
45442 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45443 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45444
2f5a5ed0
JL
45445 * resolv/nss_dns/dns-host.c: Update copyright year.
45446
1d39e359
UD
454472012-03-30 Ulrich Drepper <drepper@gmail.com>
45448
c030f70c 45449 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 45450 requests to save a system call. Fix check that all bytes are sent.
c030f70c 45451
1d39e359
UD
45452 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45453 comments for sendmmsg.
45454
454552012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
45456
45457 [BZ #13691]
45458 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45459 with only 1 character between 0x0041 and 0x01b0.
45460 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45461 * wcsmbs/tst-mbsnrtowcs.c: New file.
45462
20fde227
DM
454632012-03-29 David S. Miller <davem@davemloft.net>
45464
45465 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45466 small copies by hand.
45467
984a4237
JL
454682012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
45469
45470 [BZ #13761]
57f41c40
AS
45471 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45472 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45473 group memberships.
984a4237 45474
18c9d62b
DM
454752012-03-28 David S. Miller <davem@davemloft.net>
45476
88d85d4f
DM
45477 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45478 that branches into memcpy.
45479 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45480 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45481 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45482 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45483 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45484 bits.
45485 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45486 implementation too.
45487 * sysdeps/sparc/mempcpy.S: New file.
45488
e5aa83e1
DM
45489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45490 the IFUNC routine in the libc case.
45491 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45492
88570753
DM
45493 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45494 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45495 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45496 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45497 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45498 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45499 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45500 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45501
249d7567
DM
45502 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45503 loop to 256 bytes instead of 64 bytes and fix test signedness.
45504
18c9d62b
DM
45505 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45506 * sysdeps/sparc/sparc32/Makefile: rather than here...
45507 * sysdeps/sparc/sparc64/Makefile: and here.
45508
05f3d1f6
UD
455092012-03-28 Ulrich Drepper <drepper@gmail.com>
45510
45511 * malloc/mallocbug.c: Avoid warnings about unused variables.
45512
86ae07a8
JL
455132012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
45514
45515 [BZ #13760]
45516 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45517 in the right place. Discard and retry query if response is
45518 larger than input buffer size.
45519
41bf21a1
JM
455202012-03-28 Joseph Myers <joseph@codesourcery.com>
45521
d6270972
JM
45522 [BZ #369]
45523 [BZ #2678]
45524 [BZ #3866]
45525 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45526 x for large integer exponent.
45527 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45528 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
45529 sign of result as needed afterwards.
45530 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45531 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45532 result for underflowing pow the same as for overflow.
45533 (__kernel_standard_l): Handle powl overflow and underflow here
45534 rather than calling __kernel_standard.
45535 * math/libm-test.inc (pow_test): Add more tests.
45536
414fca03 45537 [BZ #3868]
41bf21a1
JM
45538 [BZ #13879]
45539 [BZ #13910]
45540 [BZ #13911]
45541 [BZ #13912]
45542 [BZ #13913]
45543 [BZ #13915]
45544 [BZ #13916]
45545 [BZ #13917]
45546 [BZ #13918]
45547 [BZ #13919]
45548 [BZ #13920]
45549 [BZ #13921]
45550 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45551 * sysdeps/ieee754/k_standard.c: Include <float.h>.
45552 (__kernel_standard_l): New function.
45553 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45554 __kernel_standard.
45555 * math/w_acosl.c (__acosl): Likewise.
45556 * math/w_asinl.c (__asinl): Likewise.
45557 * math/w_atan2l.c (__atan2l): Likewise.
45558 * math/w_atanhl.c (__atanhl): Likewise.
45559 * math/w_coshl.c (__coshl): Likewise.
45560 * math/w_exp10l.c (__exp10l): Likewise.
45561 * math/w_exp2l.c (__exp2l): Likewise.
45562 * math/w_fmodl.c (__fmodl): Likewise.
45563 * math/w_hypotl.c (__hypotl): Likewise.
45564 * math/w_j0l.c (__j0l, __y0l): Likewise.
45565 * math/w_j1l.c (__j1l, __y1l): Likewise.
45566 * math/w_jnl.c (__jnl, __ynl): Likewise.
45567 * math/w_lgammal.c (__lgammal): Likewise.
45568 * math/w_log10l.c (__log10l): Likewise.
45569 * math/w_log2l.c (__log2l): Likewise.
45570 * math/w_logl.c (__logl): Likewise.
45571 * math/w_powl.c (__powl): Likewise.
45572 * math/w_remainderl.c (__remainderl): Likewise.
45573 * math/w_scalbl.c (sysv_scalbl): Likewise.
45574 * math/w_sinhl.c (__sinhl): Likewise.
45575 * math/w_sqrtl.c (__sqrtl): Likewise.
45576 * math/w_tgammal.c (__tgammal): Likewise.
45577 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45578 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45579 * math/libm-test.inc (acos_test): Add more tests.
45580 (acosh_test): Likewise.
45581 (asin_test): Likewise.
45582 (atanh_test): Likewise.
45583 (exp_test): Likewise.
45584 (exp10_test): Likewise.
45585 (exp2_test): Likewise.
45586 (expm1_test): Likewise.
45587 (lgamma_test): Likewise.
45588 (log_test): Likewise.
45589 (log10_test): Likewise.
45590 (log1p_test): Likewise.
45591 (log2_test): Likewise.
45592 (pow_test): Do not allow some spurious overflow exceptions.
45593 (sqrt_test): Add more tests.
45594 (tgamma_test): Likewise.
45595 (y0_test): Likewise.
45596 (y1_test): Likewise.
45597 (yn_test): Likewise.
45598
dd62fda6
AB
455992012-03-27 Anton Blanchard <anton@samba.org>
45600
45601 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45602 MAP_HUGETLB.
45603 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45604 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45605 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45606
1e3cdfda
AJ
456072012-03-27 David S. Miller <davem@davemloft.net>
45608
b855ab85
DM
45609 * conform/Makefile: Run run-conformtest.sh using $(BASH).
45610
1e3cdfda
AJ
45611 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45612 have-as-vis3 check.
45613
456142012-03-27 Andreas Jaeger <aj@suse.de>
45615
45616 * sysdeps/x86_64/elf/configure.in: Moved to ...
45617 * sysdeps/x86_64/configure.in: ... here.
45618 * sysdeps/x86_64/elf/start.S: Moved to ...
45619 * sysdeps/x86_64/start.S: ... here.
45620 * sysdeps/x86_64/elf/configure: Delete.
45621
45622 * sysdeps/x86_64/configure.in: Merge contents from
45623 sysdeps/i386/configure.in (without i686 check).
45624
45625 * sysdeps/i386/elf/Versions: Merge into ...
45626 * sysdeps/i386/Versions: ... this.
45627 * sysdeps/i386/elf/Versions: Delete file.
45628 * sysdeps/i386/elf/start.S: Moved to ...
45629 * sysdeps/i386/start.S: ...here.
45630 * sysdeps/i386/elf/configure.in: Merge into...
45631 * sysdeps/i386/configure.in: ...here.
45632 * sysdeps/i386/elf/configure.in: Delete file.
45633 * sysdeps/i386/elf/configure: Delete file.
45634
45635 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45636 * debug/backtracesyms.c: ... here.
45637 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45638 * debug/backtracesymsfd.c: ... here.
45639 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45640 * sysdeps/generic/ifunc-sel.h: ... here.
45641
45642 * sysdeps/unix/i386/start.c: Delete file.
45643 * sysdeps/unix/sparc/start.c: Delete file.
45644 * sysdeps/unix/start.c: Delete file.
45645
45646 * sysdeps/sh/elf/configure.in: Moved to ...
45647 * sysdeps/sh/configure.in: ... here.
45648 * sysdeps/sh/elf/start.S: Moved to ...
45649 * sysdeps/sh/start.S: ... here.
45650 * sysdeps/sh/elf/configure: Delete file.
45651
45652 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45653 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45654 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45655 * sysdeps/powerpc/powerpc64/entry.h: ... here.
45656 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45657 * sysdeps/powerpc/powerpc64/start.S: here.
45658 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45659 * sysdeps/powerpc/powerpc64/Makefile: ... this.
45660 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45661 * sysdeps/powerpc/powerpc64/configure.in: ... this.
45662 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45663
45664 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45665 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45666 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45667 * sysdeps/powerpc/powerpc32/start.S: ... here.
45668 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45669 * sysdeps/powerpc/powerpc32/configure.in: ... this.
45670 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45671
45672 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45673 * sysdeps/powerpc/ifunc-sel.h: ... here.
45674 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45675 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45676
45677 * sysdeps/sparc/elf/configure.in: Moved to ...
45678 * sysdeps/sparc/configure.in: ... here.
45679 * sysdeps/sparc/elf/configure: Delete file.
45680 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45681 * sysdeps/sparc/sparc32/start.S: ... here.
45682 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45683 * sysdeps/sparc/sparc64/start.S: ... here.
45684 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45685 * sysdeps/sparc/sparc32/Makefile: ... this.
45686 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45687 * sysdeps/sparc/sparc64/Makefile: ... this.
45688
45689 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45690 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45691 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45692 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45693 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45694 * sysdeps/s390/s390-32/setjmp.S: ... here.
45695 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45696 * sysdeps/s390/s390-32/configure.in: ... here.
45697 * sysdeps/s390/s390-32/elf/configure: Delete file.
45698 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45699 * sysdeps/s390/s390-32/start.S: ... here.
45700
45701 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45702 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45703 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45704 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45705 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45706 * sysdeps/s390/s390-64/setjmp.S: ... here.
45707 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45708 * sysdeps/s390/s390-64/configure.in: ... here
45709 * sysdeps/s390/s390-64/elf/configure: Delete file.
45710 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45711 * sysdeps/s390/s390-64/start.S: ... here.
45712 * sysdeps/s390/s390-64/elf/configure: Delete.
45713
45714 * configure.in: Remove support for elf directories in sysdeps.
45715
45716 * configure: Regenerated.
45717 * sysdeps/i386/configure: Regenerated.
45718 * sysdeps/powerpc/powerpc32/configure: Regenerated.
45719 * sysdeps/powerpc/powerpc64/configure: Regenerated.
45720 * sysdeps/s390/s390-32/configure: Regenerated.
45721 * sysdeps/s390/s390-64/configure: Regenerated.
45722 * sysdeps/sh/configure: Regenerated.
45723 * sysdeps/sparc/configure: Regenerated.
45724 * sysdeps/x86_64/configure: Regenerated.
45725
a3f61311
AS
457262012-03-26 Andreas Schwab <schwab@linux-m68k.org>
45727
c876e002
AS
45728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45729
a3f61311
AS
45730 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45731 denormal result into account.
45732
ac4c54f0
RM
457332012-03-25 Roland McGrath <roland@hack.frob.com>
45734
45735 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45736 Reported by Allan McRae <allan@archlinux.org>.
45737
6a9b9c02
JL
457382012-03-23 Jeff Law <law@redhat.com>
45739
45740 * nss/getnssent.c (__nss_getent): Fix typo.
45741
4c42a0c1
DM
457422012-03-23 David S. Miller <davem@davemloft.net>
45743
45744 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45745
1532c7ac
L
457462012-03-23 H.J. Lu <hongjiu.lu@intel.com>
45747
45748 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45749 to pad to uint64_t for each field.
45750 (dl_tls_index): Replace unsigned long with uint64_t.
45751
3ff42526
PP
457522012-03-23 Daniel Jacobowitz <dmj@google.com>
45753 Paul Pluzhnikov <ppluzhnikov@google.com>
45754
45755 [BZ #6528]
45756 * grp/Makefile (otherlibs): Don't set it.
45757 * inet/Makefile (otherlibs): Likewise.
45758 * login/Makefile (otherlibs): Likewise.
45759 * nscd/Makefile (otherlibs): Likewise.
45760 * posix/Makefile (otherlibs): Likewise.
45761 * pwd/Makefile (otherlibs): Likewise.
45762 * rt/Makefile (otherlibs): Likewise.
45763 * sunrpc/Makefile (otherlibs): Likewise.
45764 * nss/Makefile (otherlibs): Likewise.
45765 Add libnss_files to routines and static-only-routines.
45766 ($(objpfx)getent): Remove rule.
45767 * resolv/Makefile: Add libnss_dns and libresolv to routines and
45768 static-only-routines.
45769
7c69cd14
JM
457702012-03-22 Joseph Myers <joseph@codesourcery.com>
45771
45772 [BZ #13892]
45773 * math/s_cexp.c: Include <float.h>.
45774 (__cexp): Handle exp result overflowing not necessarily
45775 overflowing both real and imaginary parts of result.
45776 * math/s_cexpf.c: Likewise.
45777 * math/s_cexpl.c: Likewise.
45778 * math/libm-test.inc (cexp_test): Add more tests.
45779 * sysdeps/i386/fpu/libm-test-ulps: Update.
45780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45781
81b035fe
L
457822012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45783
45784 * include/link.h (ELFW): New macro.
45785 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45786 Replace ELF64_R_TYPE with ELFW(R_TYPE).
45787
1da7940c
L
457882012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45789
45790 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45791 with uint64_t.
45792
b749dbb9
L
457932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45794
45795 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45796 declaration.
45797 (struct La_x32_retval): Likewise.
45798
2ff87f3f
L
457992012-03-22 H.J. Lu <hongjiu.lu@intel.com>
45800
45801 * sysdeps/x86_64/preconfigure.in: New file.
45802 * sysdeps/x86_64/preconfigure: New generated file.
45803
c0df8e69
JM
458042012-03-22 Joseph Myers <joseph@codesourcery.com>
45805
48e44791
JM
45806 [BZ #13824]
45807 * math/e_exp2l.c: Include <float.h>.
45808 (__ieee754_exp2l): Handle overflow and underflow cases
45809 separately. Only pass fractional part of argument to
45810 __ieee754_expl.
45811 * math/libm-test.inc (exp2_test): Add more tests.
45812
c0df8e69
JM
45813 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45814 negating x to take absolute value.
45815 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45816 Likewise.
45817 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45818 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45819 Likewise.
45820 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45821 computing low part if x was negated.
45822 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45823
c8e43ba7
L
458242012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45825
45826 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45827 la_x32_gnu_pltexit.
45828 (pltexit): Cast int_retval to ptrdiff_t.
45829 * elf/tst-auditmod3b.c: Likewise.
45830 * elf/tst-auditmod4b.c: Likewise.
45831 * elf/tst-auditmod5b.c: Likewise.
45832 * elf/tst-auditmod6b.c: Likewise.
45833 * elf/tst-auditmod6c.c: Likewise.
45834 * elf/tst-auditmod7b.c: Likewise.
45835
45836 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45837 and x32_gnu_pltexit.
45838
45839 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45840 __ELF_NATIVE_CLASS.
45841 (La_x32_regs): New macro.
45842 (La_x32_retval): Likewise.
45843 (la_x32_gnu_pltenter): New function prototype.
45844 (la_x32_gnu_pltexit): Likewise.
45845
7998fa78
AS
458462012-03-21 Andreas Schwab <schwab@linux-m68k.org>
45847
dcb33988
AS
45848 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45849 exponent.
45850
233fc563
AS
45851 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45852
7998fa78
AS
45853 * configure.in (libc_cv_cc_nofma): Check for option to disable
45854 generation of FMA instructions.
45855 * configure: Regenerate.
45856 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45857 * sysdeps/ieee754/dbl-64/Makefile: New file.
45858 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45859 Remove brandred-fma4.
45860 (CFLAGS-brandred-fma4.c): Remove.
45861 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45862 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45863 define.
45864 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45865 define.
45866
8e95c99a
L
458672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45868
45869 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45870 LLONG_MAX != LONG_MAX.
45871 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45872 (_fitoa_word): Likewise.
45873 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45874 LLONG_MAX != LONG_MAX.
45875 * stdio-common/_itowa.h: Include <_itoa.h>.
45876 (_itowa_word): Use _ITOA_WORD_TYPE on value.
45877 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
45878 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
45879 only if not defined.
45880 (_ITOA_WORD_TYPE): Likewise.
45881 (_itoa_word): Use _ITOA_WORD_TYPE on value.
45882 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45883
6f4db457
DM
458842012-03-21 David S. Miller <davem@davemloft.net>
45885
45886 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45887
7785fe5a
L
458882012-03-21 H.J. Lu <hongjiu.lu@intel.com>
45889
45890 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45891 of x86_64 when setting libc_cv_slibdir, libdir and
45892 libc_cv_localedir.
45893 * sysdeps/unix/sysv/linux/configure: Regenerated.
45894
4535cd55
JM
458952012-03-21 Joseph Myers <joseph@codesourcery.com>
45896
45897 * manual/lang.texi (Old Varargs): Remove section.
45898 (How Variadic): Update menu.
45899 (va_start): Do not mention varargs.h.
45900
17228132
TS
459012012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45902 Joseph Myers <joseph@codesourcery.com>
45903
45904 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45905 link test.
45906 * configure: Regenerated.
45907
8149f976
TS
459082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
45909
05f3d1f6
UD
45910 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45911 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45912 conformtest.pl
8149f976 45913
1a4ac776
JM
459142012-03-21 Joseph Myers <joseph@codesourcery.com>
45915
be22ce65
JM
45916 * NOTES: Remove.
45917 * Makefile (files-for-dist): Remove NOTES.
45918 (NOTES): Remove rule.
45919 * README: Don't refer to NOTES.
45920 * manual/creature.texi: Don't include macros.texi.
45921 * manual/intro.texi (creature.texi): Remove comment referring to
45922 NOTES.
45923
40b601fb
JM
45924 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45925 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45926 * configure: Regenerated.
45927 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45928 LIBC_TRY_CC_OPTION.
45929 (libc_cv_as_i686): Likewise.
45930 (libc_cv_cc_avx): Likewise.
45931 (libc_cv_cc_sse2avx): Likewise.
45932 (libc_cv_cc_fma4): Likewise.
45933 (libc_cv_cc_novzeroupper): Likewise.
45934 * sysdeps/i386/configure: Regenerated.
45935
1a4ac776
JM
45936 [BZ #13883]
45937 * sysdeps/i386/fpu/s_cexp.S: Remove.
45938 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45939 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45940 * math/libm-test.inc (cexp_test): Add more tests.
45941 * sysdeps/i386/fpu/libm-test-ulps: Update.
45942 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45943
a458e7fe
AM
459442012-03-21 Allan McRae <allan@archlinux.org>
45945
45946 * timezone/Makefile: Do not install iso3166.tab and zone.tab
45947
0cb7efc5
JM
459482012-03-21 Joseph Myers <joseph@codesourcery.com>
45949
45950 [BZ #13871]
45951 * math/w_exp2.c: Do not include <float.h>.
45952 (o_threshold, u_threshold): Remove.
45953 (__exp2): Calculate result before checking finiteness and calling
45954 __kernel_standard.
45955 * math/w_exp2f.c: Likewise.
45956 * math/w_exp2l.c: Likewise.
45957 * math/libm-test.inc (exp2_test): Require overflow exception for
45958 1e6 input.
2460d3aa
JM
45959
45960 [BZ #3866]
45961 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45962 range of signed 64-bit integers before using fistpll. Remove
45963 checks for whether integers fit in mantissa bits.
45964 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45965 the range of signed 32-bit integers before using fistpl. Remove
45966 checks for whether integers fit in mantissa bits.
45967 * sysdeps/i386/fpu/e_powl.S (p64): New object.
45968 (__ieee754_powl): Test for y outside the range of signed 64-bit
45969 integers before using fistpll. Reduce 64-bit values to 63-bit
45970 ones as needed.
45971 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45972 divide-by-zero is raised for zero to large negative powers.
45973 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45974 (__ieee754_powl): Test for y outside the range of signed 64-bit
45975 integers before using fistpll. Reduce 64-bit values to 63-bit
45976 ones as needed.
45977 * math/libm-test.inc (pow_test): Add more tests.
45978
eb96ffb0
L
459792012-03-20 H.J. Lu <hongjiu.lu@intel.com>
45980
45981 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45982 <stdio-common/_itoa.h>.
45983 * debug/segfault.c: Likewise.
45984 * elf/dl-cache.c: Likewise.
45985 * elf/dl-minimal.c: Likewise.
45986 * elf/dl-misc.c: Likewise.
45987 * elf/dl-sysdep.c: Likewise.
45988 * elf/dl-version.c: Likewise.
45989 * elf/rtld.c: Likewise.
45990 * hurd/hurdsock.c: Likewise.
45991 * hurd/lookup-retry.c: Likewise.
45992 * malloc/malloc.c: Likewise.
45993 * malloc/mtrace.c: Likewise.
45994 * nscd/nscd_getgr_r.c: Likewise.
45995 * nscd/nscd_getpw_r.c: Likewise.
45996 * nscd/nscd_getserv_r.c: Likewise.
45997 * posix/getopt_init.c: Likewise.
45998 * posix/wordexp.c: Likewise.
45999 * stdio-common/_itoa.c: Likewise.
46000 * stdio-common/printf_fphex.c: Likewise.
46001 * stdio-common/vfprintf.c: Likewise.
46002 * string/_strerror.c: Likewise.
46003 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46004 * sysdeps/i386/i686/hp-timing.h: Likewise.
46005 * sysdeps/mach/_strerror.c: Likewise.
46006 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46007 * sysdeps/mach/hurd/sethostid.c: Likewise.
46008 * sysdeps/mach/hurd/xmknodat.c: Likewise.
46009 * sysdeps/mach/xpg-strerror.c: Likewise.
46010 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46011 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46012 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46013 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46014 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46015 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46016 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46017 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46018 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46019 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46020 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46021 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46022 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46023 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46024 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46025 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46026 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46027 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46028 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46029 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46030 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46031
46032 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46033
46034 * stdio-common/_itoa.h: Moved to ...
46035 * sysdeps/generic/_itoa.h: Here.
46036
46037 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46038
46039 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46040 instead of "_itoa.h" and "_itowa.h".
46041 * stdio-common/vfprintf.: Likewise.
46042
d1af992d
L
460432012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46044
46045 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46046 <bits/wordsize.h>.
46047 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46048 (__signbit): Likwise.
46049 (llrintf): Likwise.
46050 (llrint): Likwise.
46051
114883e0
L
460522012-03-20 H.J. Lu <hongjiu.lu@intel.com>
46053
46054 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46055 __WORDSIZE != 64.
46056
c135cc1b
JM
460572012-03-20 Joseph Myers <joseph@codesourcery.com>
46058
46059 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46060 OVERFLOW_EXCEPTION_OK.
46061 * math/libm-test.inc ("Philosophy"): Update comment about
46062 exception testing.
46063 (OVERFLOW_EXCEPTION): Define.
46064 (OVERFLOW_EXCEPTION_OK): Likewise.
46065 (INVALID_EXCEPTION_OK): Renumber.
46066 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46067 (IGNORE_ZERO_INF_SIGN): Likewise.
46068 (test_exceptions): Handle FE_OVERFLOW.
46069 (exp10_test): Expect overflow exceptions.
46070 (exp2_test): Likewise.
46071 (expm1_test): Likewise.
46072 (nextafter_test): Likewise.
46073 (pow_test): Likewise.
46074 (scalbn_test): Likewise.
46075 (scalbln_test): Likewise.
46076
95443d88
L
460772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46078
46079 * sysdeps/x86_64/bits/atomic.h
46080 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46081 64bit integer.
46082 (atomic_exchange_acq): Likewise.
46083 (__arch_exchange_and_add_body): Likewise.
46084 (__arch_add_body): Likewise.
46085 (atomic_add_negative): Likewise.
46086 (atomic_add_zero): Likewise.
46087
490df6c4
L
460882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46089
c2722551 46090 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
46091 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46092
5e52b189
L
460932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46094
46095 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46096 Check __x86_64__ instead of __WORDSIZE.
46097
a9879d4c
L
460982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46099
46100 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46101
5df98260
DM
461022012-03-19 David S. Miller <davem@davemloft.net>
46103
e1497744
DM
46104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46105
5df98260
DM
46106 * sysdeps/sparc/fpu/fenv_private.h: New file.
46107 * sysdeps/sparc/fpu/math_private.h: Use it.
46108 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46109 Remove.
57f41c40 46110 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
5df98260
DM
46111 (libc_feholdexcept_setroundl): Remove.
46112 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46113 Remove.
46114 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46115 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46116
b4c35121
L
461172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46118
46119 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46120 int64_t instead of long int.
46121 (INSERT_WORDS64): Likwise.
46122
56965fd7
L
461232012-03-19 H.J. Lu <hongjiu.lu@intel.com>
46124
46125 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46126 _Unwind_GetCFA return to _Unwind_Ptr first.
46127
83d1aec8
JM
461282012-03-19 Joseph Myers <joseph@codesourcery.com>
46129
1897ad44
JM
46130 [BZ #13629]
46131 * math/s_clog.c: Include <float.h>.
46132 (__clog): Scale large or subnormal inputs.
46133 * math/s_clogf.c: Likewise.
46134 * math/s_clogl.c: Likewise.
46135 * math/s_clog10.c: Include <float.h>.
46136 (M_LOG10_2): Define.
46137 (__clog10): Scale large or subnormal inputs.
46138 * math/s_clog10f.c: Likewise.
46139 * math/s_clog10l.c: Likewise.
46140 * math/libm-test.inc (clog_test): Add more tests.
46141 (clog10_test): Likewise.
46142 * sysdeps/i386/fpu/libm-test-ulps: Update.
46143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46144
7726d6a9
JM
46145 [BZ #11451]
46146 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46147 x and y.
46148 * math/libm-test.inc (atan2_test): Add another test.
46149
83d1aec8
JM
46150 * Makerules (common-objdir-compile): Remove.
46151 * sysdeps/unix/Makefile (config-generated): Do not add
46152 $(unix-generated) to variable.
46153 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46154 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46155 Remove rule.
46156 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46157 Likewise.
46158 [generic bits/local_lim.h] (before-compile): Do not append to
46159 variable.
46160 [generic bits/local_lim.h] (common-generated): Likewise.
46161 [generic sys/param.h] (before-compile): Do not append to variable.
46162 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46163 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46164 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46165 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46166 include.
46167 [generic sys/param.h] (sys/param.h-includes): Remove variable.
46168 [generic sys/param.h] (sys/param.h-includes): Remove rule.
46169 [generic sys/param.h] ($(addprefix
46170 $(common-objpfx),$(sys/param.h-includes))): Likewise.
46171 [generic sys/param.h] (common-generated): Do not append to
46172 variable.
46173 [generic sys/param.h] (sysdep_headers): Likewise.
46174 [generic bits/errno.h] (before-compile): Do not append to
46175 variable.
46176 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46177 rule.
46178 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46179 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46180 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46181 [generic bits/errno.h] (common-generated): Do not append to
46182 variable.
46183 [generic bits/ioctls.h] (before-compile): Do not append to
46184 variable.
46185 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46186 rule.
46187 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46188 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46189 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46190 rule.
46191 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46192 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46193 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46194 [generic bits/ioctls.h] (common-generated): Do not append to
46195 variable.
46196 [generic sys/syscall.h] (syscall.h): Remove variable.
46197 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46198 rule.
46199 [generic sys/syscall.h] (before-compile): Do not append to
46200 variable.
46201 [generic sys/syscall.h] (common-generated): Likewise.
46202 * sysdeps/unix/errnos-tmpl.c: Remove file.
46203 * sysdeps/unix/errnos.awk: Likewise.
46204 * sysdeps/unix/ioctls-tmpl.c: Likewise.
46205 * sysdeps/unix/ioctls.awk: Likewise.
46206 * sysdeps/unix/mk-local_lim.c: Likewise.
46207 * sysdeps/unix/snarf-ioctls: Likewise.
46208
4851a949
RH
462092012-03-19 Richard Henderson <rth@twiddle.net>
46210
bd37f2ee
RH
46211 * sysdeps/i386/fpu/fenv_private.h: New file.
46212 * sysdeps/i386/fpu/math_private.h: Use it.
46213 (math_opt_barrier, math_force_eval): Remove.
46214 (libc_feholdexcept_setround_53bit): Remove.
46215 (libc_feupdateenv_53bit): Remove.
46216 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46217 (math_opt_barrier, math_force_eval): Remove.
46218 (libc_feholdexcept): Remove.
46219 (libc_feholdexcept_setround): Remove.
46220 (libc_fetestexcept, libc_fesetenv): Remove.
46221 (libc_feupdateenv_test): Remove.
46222 (libc_feupdateenv, libc_feholdsetround): Remove.
46223 (libc_feresetround): Remove.
46224
d0adc922
RH
46225 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46226 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46227
0fe0f1f8
RH
46228 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46229 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46230 (libc_feupdateenv_testl): New.
46231 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46232 (libc_feupdateenv_testf): New.
46233 (libc_feupdateenv): Use libc_feupdateenv_test.
46234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46235 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46236
eb92c487
RH
46237 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46238 (libc_feholdsetroundf, libc_feholdsetroundl): New.
46239 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46240 (libc_feresetround_noex): New.
46241 (libc_feresetround_noexf): New.
46242 (libc_feresetround_noexl): New.
46243 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46244 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46245 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46246 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46247 SET_RESTORE_ROUND.
46248 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46249 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46250 (__cos): Likewise.
46251 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46252 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46253 SET_RESTORE_ROUND_NOEX.
46254 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46255 SET_RESTORE_ROUND_NOEXF.
46256 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46257 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46258 (libc_feholdsetroundf): New.
46259 (libc_feresetround, libc_feresetroundf): New.
46260
7d2e8012
RH
46261 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46262 (libc_feholdexcept_setround_53bit): Convert from macro to function.
46263 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
46264
b4dabbb4
RH
46265 * sysdeps/generic/math_private.h: Include <fenv.h>.
46266 (default_libc_feholdexcept): New.
46267 (default_libc_feholdexcept_setround): New.
46268 (default_libc_fesetenv, default_libc_feupdateenv): New.
46269 (libc_feholdexcept): Only define if undefined.
46270 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46271 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46272 (libc_feholdexcept_setroundl): Likewise.
46273 (libc_feholdexcept_setround_53bit): Likewise.
46274 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46275 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46276 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46277 (libc_feupdateenv_53bit): Likewise.
46278 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46279 (libc_feholdexcept): Convert from macro to inline function.
46280 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46281 (libc_fesetenv, libc_feupdateenv): Likewise.
46282
4851a949
RH
46283 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46284 not previously defined.
46285 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46286 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46287 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46288 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46289 * sysdeps/ieee754/flt-32/math_private.h: New file.
46290 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46291 math_private.h below SET_FLOAT_WORD.
46292 (__isnan, __isinf_ns, __finite): Remove.
46293 (__isnanf, __isinf_nsf, __finitef): Remove.
46294
e79d442e
AS
462952012-03-18 Andreas Schwab <schwab@linux-m68k.org>
46296
46297 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46298
90b80344
DM
462992012-03-17 David S. Miller <davem@davemloft.net>
46300
46301 [BZ #6471]
46302 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46303 for 2.16.
46304
edc21804
DM
463052012-03-16 David S. Miller <davem@davemloft.net>
46306
77e927af
DM
46307 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46308 warnings.
46309
374976dd
DM
46310 [BZ #6471]
46311 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46312 properly.
46313 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46314 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46315 sysdep_routines when subdir is sysvipc.
46316 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46317 __getshmlba helper.
46318
edc21804
DM
46319 * sysdeps/sparc/fpu/libm-test/ulps: Update.
46320
473c3ef3
L
463212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46322
46323 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46324 [__LP64__].
46325
eb0f39b6
L
463262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46327
46328 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46329 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46330 (__lround): Renamed to ...
46331 (__llround): This. Replace long int with long long int.
46332 Define lround functions as aliases of llround functions.
46333 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46334
6b6cd74b
L
463352012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46336
46337 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46338 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
46339 adresses to uintptr_t. Replace "long int" and "unsigned long
46340 int" with "greg_t" on va_arg.
46341
f1a77b01
L
463422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46343
46344 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46345 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46346
46347 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46348 Move e_machine check before EI_CLASS check. Handle x32
46349 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46350 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46351 SKIP_EM_IA_64 and include
46352 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46353
46354 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46355 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46356 (add_system_dir): New macro.
46357
46358 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46359 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46360
11b90b9f
JM
463612012-03-16 Joseph Myers <joseph@codesourcery.com>
46362
c36e1d23
JM
46363 [BZ #2551]
46364 [BZ #2552]
46365 [BZ #2553]
46366 [BZ #2554]
46367 [BZ #2562]
46368 [BZ #2563]
46369 [BZ #2565]
46370 [BZ #2566]
46371 [BZ #2576]
46372 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46373 (y0): Likewise.
46374 * math/w_j0f.c (j0f): Likewise.
46375 (y0f): Likewise.
46376 * math/w_j0l.c (__j0l): Likewise.
46377 (__y0l): Likewise.
46378 * math/w_j1.c (j1): Likewise.
46379 (y1): Likewise.
46380 * math/w_j1f.c (j1f): Likewise.
46381 (y1f): Likewise.
46382 * math/w_j1l.c (__j1l): Likewise.
46383 (__y1l): Likewise.
46384 * math/w_jn.c (jn): Likewise.
46385 (yn): Likewise.
46386 * math/w_jnf.c (jnf): Likewise.
46387 (ynf): Likewise.
46388 * math/w_jnl.c (__jnl): Likewise.
46389 (__ynl): Likewise.
46390 * math/libm-test.inc (j0_test): Add more tests.
46391 (j1_test): Likewise.
46392 (jn_test): Likewise. Add trailing semicolon to existing test.
46393 (y0_test): Likewise.
46394 (y1_test): Likewise.
46395 * sysdeps/i386/fpu/libm-test-ulps: Update.
46396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46397
11b90b9f
JM
46398 [BZ #13851]
46399 [BZ #13854]
46400 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46401 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46402 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46403 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46404 (__tanl): Set errno for infinite argument.
46405 * sysdeps/i386/fpu/mptan.c: Remove.
46406 * sysdeps/i386/fpu/s_tan.S: Likewise.
46407 * sysdeps/i386/fpu/s_tanl.S: Likewise.
46408 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46409 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46410 * math/libm-test.inc (tan_test): Add more tests and enable more
46411 tests for double and long double.
46412 * sysdeps/i386/fpu/libm-test-ulps: Update.
46413 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46414
6a1bd2a1
JK
464152012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
46416
46417 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46418 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46419
10a803e0
RM
464202012-03-16 Roland McGrath <roland@hack.frob.com>
46421
46422 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46423 * configure.in: Use it for both main tree and add-ons.
46424 * configure: Regenerated.
46425
f196c7f7
L
464262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
46427
46428 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46429
8848d99d
JM
464302012-03-16 Joseph Myers <joseph@codesourcery.com>
46431
96cbe7f4
JM
46432 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46433 in comment.
46434
8848d99d
JM
46435 [BZ #13851]
46436 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46437 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46438 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46439 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46440 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46441 infinite argument.
46442 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46443 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46444 != 0 for prec == 2.
46445 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46446 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46447 * sysdeps/i386/fpu/s_cosl.S: Likewise.
46448 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46449 * sysdeps/i386/fpu/s_sinl.S: Likewise.
46450 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46451 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46452 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46453 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46454 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46455 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46456 * math/libm-test.inc (cos_test): Add more tests and enable more
46457 tests for long double.
46458 (sin_test): Likewise.
46459 (sincos_test): Likewise.
46460 * sysdeps/i386/fpu/libm-test-ulps: Update.
46461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46462
dd7f4703
DM
464632012-03-16 David S. Miller <davem@davemloft.net>
46464
46465 * sysdeps/sparc/fpu/math_private.h: New file.
46466
006f1daa
DM
464672012-03-15 David S. Miller <davem@davemloft.net>
46468
c0c83bc8
DM
46469 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46470 file.
e6a62e18 46471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
46472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46473 file.
e6a62e18
DM
46474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46475 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46476 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46477 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46478 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46480 sysdep routines.
46481 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46482
88cb87d9
DM
46483 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46484 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46485
006f1daa 46486 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
46487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46488 sparc-ifunc.h
006f1daa 46489 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
46490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46491 Likewise.
46492 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46493 Likewise.
006f1daa
DM
46494 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46495 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46496 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
46497 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46498 Likewise.
006f1daa
DM
46499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46500 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46502 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
46503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46504 Likewise.
46505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46506 Likewise.
006f1daa
DM
46507 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46509 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46511 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46512 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46513 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46514 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46515 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46516 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46517 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46518 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46519 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46520 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46521 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46522 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46523 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46524 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46525 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46526 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46527 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46528 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46529 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46530 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46531
11e0098e
AS
465322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46533
46534 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46535 scaling.
46536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46537
e85b09d0
AJ
465382012-03-15 Andreas Jaeger <aj@suse.de>
46539
46540 [BZ #13852]
46541 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46542 ieee754/flt-32 implementation for sin, cos and sincos.
46543 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46544 * sysdeps/i386/fpu/s_cosf.S: Likewise.
46545 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46546 * sysdeps/i386/fpu/s_sinf.S: Likewise.
46547 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46548 ieee754/flt-32 implementation for tan.
46549
46550 * math/libm-test.inc (cos_test): Enable some large input tests for
46551 float as well
46552 (sin_test): Likewise.
46553 (sincos_test): Likewise.
46554 (tan_test): Add tests for large input.
46555
46556 * sysdeps/i386/fpu/libm-test-ulps: Update.
46557
81c64153
AJ
465582012-03-15 Andreas Jaeger <aj@suse.de>
46559
46560 [BZ #13658]
46561 * math/libm-test.inc (cos_test): Add more test cases.
46562 (sin_test): Likewise.
46563 (sincos_test): Likewise.
46564
7bbfa5c6
AJ
465652012-03-15 Andreas Jaeger <aj@suse.de>
46566
46567 [BZ #13837]
46568 * math/libm-test.inc (cos_test): Add a test case for large input
46569 value.
46570 (sin_test): Likewise.
46571 (sincos_test): Likewise.
46572
57f41c40
AS
465732012-03-15 Andreas Jaeger <aj@suse.de>
46574 Joseph Myers <joseph@codesourcery.com>
7bbfa5c6
AJ
46575
46576 [BZ #13658]
0671f479 46577 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
46578 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46579 * sysdeps/i386/fpu/branred.c: Likewise.
46580 * sysdeps/i386/fpu/dosincos.c: Likewise.
46581 * sysdeps/i386/fpu/mpa.c: Likewise.
46582 * sysdeps/i386/fpu/s_cos.S: Likewise.
46583 * sysdeps/i386/fpu/s_sin.S: Likewise.
46584 * sysdeps/i386/fpu/s_sincos.S: Likewise.
46585 * sysdeps/i386/fpu/sincos32.c: Likewise.
46586
46587 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46588 Define.
46589 (libc_feupdateenv_53bit): Define.
46590 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46591 Define.
46592 (libc_feupdateenv_53bit): Define.
46593
46594 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46595 53 bit (without extend i386 double precision).
46596
46597 * math/libm-test.inc (sincos_test): Add tests for large input.
46598 (sin): Likewise.
46599 (cos): Likewise.
46600
46601 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46602
9cad04ea
AS
466032012-03-15 Andreas Schwab <schwab@linux-m68k.org>
46604
46605 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46606
f7062b9a
DM
466072012-03-15 David S. Miller <davem@davemloft.net>
46608
46609 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46610 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46611 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46612 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46613 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46614 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46617 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46618 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46619 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46620 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46621 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46622 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46623 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
46624 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46625 file.
f7062b9a 46626 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
46627 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46628 file.
f7062b9a 46629 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
46630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46631 file.
f7062b9a 46632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
46633 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46634 file.
f7062b9a
DM
46635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46636 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46637 fmin/fmax sysdep routines.
46638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46639
7bd951ff
DM
466402012-03-14 David S. Miller <davem@davemloft.net>
46641
559398ab
DM
46642 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46643 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46644 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46645 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46646 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46647 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46648 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46649 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46650 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46651 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46652 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46653 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46654 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46655 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46656 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46657 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46658 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46659 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46660 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46661 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46662 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46663 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46664 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46665 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46666 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46667 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46668 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46669 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46670 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46671 routines.
46672 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46673 file.
559398ab 46674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
46675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46676 file.
559398ab 46677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
46678 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46679 file.
559398ab 46680 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
46681 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46682 file.
559398ab 46683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
46684 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46685 file.
559398ab 46686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
46687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46688 file.
46689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46690 file.
46691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46692 file.
46693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46694 file.
46695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46696 New file.
46697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46698 file.
46699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46700 file.
559398ab 46701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
46702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46703 file.
559398ab 46704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
46705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46706 file.
559398ab 46707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
46708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46709 file.
559398ab 46710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
46711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46712 VIS3 routines.
559398ab
DM
46713
46714 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46715 New file.
46716
5a1c1e32
DM
46717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46718
eae47a36
DM
46719 * sysdeps/sparc/configure.in: New file.
46720 * sysdeps/sparc/configure: Generate.
46721 * configure.in (libc_cv_sparc_as_vis3): Substitute.
46722 * configure: Regenerate.
46723 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46724 * config.make.in (have-as-vis3): New.
46725 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46726 available use -Av9d instead of -Av9a.
46727 * sysdeps/sparc/sparc64/Makefile: Likewise.
46728 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
46729 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46730 New file.
46731 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46732 file.
46733 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46734 New file.
46735 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46736 file.
eae47a36
DM
46737 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46738 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46739 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46740 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46741 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46742
c0c83bc8
DM
46743 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46744 fzeros/fnegs to load 0x80000000 into a float register instead of
46745 using the stack.
7bd951ff
DM
46746 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46747
bd951ccb
JM
467482012-03-14 Joseph Myers <joseph@codesourcery.com>
46749
46750 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46751 bits/syscall.h.
46752 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46753 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46754 ($(inst_includedir)/bits/syscall.h): Remove rule.
46755 ($(objpfx)bits/syscall.d): Include instead of
46756 $(objpfx)syscall-list.d.
46757 (generated): Change syscall-list.h and syscall-list.d to
46758 bits/syscall.h and bits/syscall.d.
46759
bb4e6db2
RM
467602012-03-14 Roland McGrath <roland@hack.frob.com>
46761
46762 [BZ #13846]
46763 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46764
aa4a2ae1
JM
467652012-03-14 Joseph Myers <joseph@codesourcery.com>
46766
e456826d
JM
46767 [BZ #13841]
46768 * math/s_csqrt.c: Include <float.h>.
46769 (__csqrt): Scale large or subnormal inputs.
46770 * math/s_csqrtf.c: Likewise.
46771 * math/s_csqrtl.c: Likewise.
46772 * math/libm-test.inc (csqrt_test): Add more tests.
46773 * sysdeps/i386/fpu/libm-test-ulps: Update.
46774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46775
aa4a2ae1
JM
46776 [BZ #13840]
46777 * math/libm-test.inc (hypot_test): Add more tests.
46778
7c10fd35
DM
467792012-03-13 David S. Miller <davem@davemloft.net>
46780
46781 [BZ #13840]
46782 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46783 double-precision for the calculation instead of scaling.
46784
f453b98b
JM
467852012-03-13 Joseph Myers <joseph@codesourcery.com>
46786
46787 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46788 manipulate bits before adding and subtracting TWO52[sx].
46789 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46790 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46791 Likewise.
46792 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46793
09a3453f
DM
467942012-03-13 David S. Miller <davem@davemloft.net>
46795
8e59da90
DM
46796 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46797 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46798 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46799 rtld-global-offsets.h
46800 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46801
2a8ab7f2
DM
46802 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46803 large parameters.
46804
10f62770
DM
46805 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46806
5f0bdb18
DM
46807 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46808 'err' in the ifdef scope in which it is actually used.
46809
09a3453f
DM
46810 * nss/nss_db/db-init.c: Include string.h
46811
b4b2eb5e
DM
468122012-03-12 David S. Miller <davem@davemloft.net>
46813
98bb2f1c
DM
46814 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46815 masking out of the most significant byte of random value used.
46816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46817 Fix coding style in previous change.
46818
b4b2eb5e
DM
46819 * sysdeps/unix/sysv/linux/kernel-features.h
46820 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46821 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46822 expression.
46823 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46824 later.
46825
6e226b09
DM
468262012-03-11 David S. Miller <davem@davemloft.net>
46827
a1bcbd40
DM
46828 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46829 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46830 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46831 for 'resultvar' otherwise things get truncated on 64-bit.
46832
cb9d6174
DM
46833 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46834 Fix masking out of the most significant byte of random value used.
46835
6e226b09
DM
46836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46837
058c132d
AS
468382012-03-10 Andreas Schwab <schwab@linux-m68k.org>
46839
46840 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46841
2d2cd515
DM
468422012-03-09 David S. Miller <davem@davemloft.net>
46843
46844 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46845 variables with appropriate CPP guards.
57f41c40
AS
46846 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46847 from the frame pointer, not the stack pointer. Correct layout
46848 comments. Fix test on resulting framesize and the management of
46849 the outregs buffer for pltexit. Preserve floating point return
46850 values across _dl_call_pltexit call.
2d2cd515
DM
46851 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46852 framesize and the management of the outregs buffer for pltexit.
46853 Preserve floating point return values across _dl_call_pltexit
46854 call.
57f41c40
AS
46855 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46856 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46857 (la_sparc64_gnu_pltexit): New functions.
2d2cd515
DM
46858 (print_exit): Fix format string for return register value.
46859
9a07f9d0
JM
468602012-03-10 Joseph Myers <joseph@codesourcery.com>
46861
46862 * sunrpc/Makefile (others): Add rpcgen.
46863 ($(objpfx)rpcgen): Remove special build rule and dependency on
46864 libc.
46865 * sunrpc/rpcgen.c: New file.
46866
547b5e30
PE
468672012-03-09 Paul Eggert <eggert@cs.ucla.edu>
46868
c524201a
PE
46869 [BZ #13673]
46870 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46871 * stdio-common/bug-vfprintf-nargs.c: Likewise.
46872 * sysdeps/i386/crti.S: Likewise.
46873 * sysdeps/i386/crtn.S: Likewise.
46874 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46875 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46876 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46877 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46878 * sysdeps/sh/crti.S: Likewise.
46879 * sysdeps/sh/crtn.S: Likewise.
46880 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46881
7b6235f2
PE
46882 [BZ #13673]
46883 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46884 with URL.
46885 * locale/programs/locfile-kw.gperf: Likewise.
46886 * locale/programs/charmap-kw.h: Regenerated.
46887 * locale/programs/locfile-kw.h: Likewise.
46888
547b5e30
PE
46889 [BZ #13673]
46890 * intl/plural.y: Replace FSF snail mail address with URL.
46891 * intl/plural.c: Regenerated.
46892
5f0a5dae
RH
468932012-03-09 Richard Henderson <rth@twiddle.net>
46894
46895 * include/math_private.h: Remove file.
46896 * math/math_private.h: Move file ...
46897 * sysdeps/generic/math_private.h: ... here.
46898
b8c03620
RH
46899 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46900 * sysdeps/powerpc/fpu/math_private.h: Likewise.
46901 * sysdeps/x86_64/fpu/math_private.h: Likewise.
46902
4e234f5d 46903 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
46904 and <math_private.h>.
46905 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46906 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46907 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46908 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46909 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46910 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46911 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46912 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46913 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46914 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46915 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46916 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46917 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46918 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46919 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46920 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46921 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46923 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46924 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46925 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46926 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46927 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46928 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46929 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46930 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46931 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46932 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46933 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46934 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46935 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46936 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46937 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46938 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46939 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46940 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46941 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46942 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46943 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46944 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46945 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46946 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46947 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46948 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46949 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46950 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46951 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46952 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46953 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46954 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46955 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46956 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46957 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46958 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46959 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46960 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46961 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46962 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46963 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46964 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46965 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46966 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46967 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46968 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46969 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46970 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46971 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46972 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46973 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46974 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46975 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46976 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46977 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46978 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46979 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46980 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46981 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46982 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46983 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46984 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46985 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46986 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46987 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46988 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46989 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46990 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46991 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46992 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46993 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46994 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46995 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46996 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46998 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46999 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47000 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47001 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47002 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47003 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47004 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47005 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47006 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47007 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47008 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47009 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47010 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47011 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47012 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47013 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47014 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47015 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47016 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47017 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47018 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47019 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47020 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47021 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47022 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47023 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47024 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47025 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47026 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47027 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47028 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47029 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47030 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47031 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47032 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47033 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47034 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47035 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47036 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47037 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47038 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47039 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47040 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47041 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47042 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47043 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47044 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47045 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47046 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47047 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47048 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47049 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47050 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47051 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47052 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47053 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47054 * sysdeps/ieee754/k_standard.c: Likewise.
47055 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47056 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47057 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47058 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47059 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47060 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47061 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47062 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47063 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47064 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47065 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47066 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47067 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47068 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47069 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47070 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47071 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47072 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47073 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47074 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47075 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47076 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47077 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47078 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47079 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47080 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47081 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47082 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47083 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47084 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47085 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47086 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47087 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47088 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47089 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47090 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47091 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47092 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47093 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47094 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47095 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47096 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47097 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47098 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47099 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47100 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47101 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47102 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47103 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47104 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47105 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47106 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47107 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47108 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47109 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47110 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47111 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47112 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47113 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47114 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47115 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47116 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47117 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47118 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47119 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47120 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47121 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47122 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47123 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47124 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47125 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47126 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47127 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47128 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47129 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47130 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47131 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47132 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47133 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47134 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47135 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47136 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47137 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47138 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47139 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47140 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47141 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47142 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47143 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47144 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47145 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47146 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47147 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47148 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47151 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47152 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47153 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47154 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47155 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47157 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47158 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47159 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47160 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47161 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47162 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47163 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47164 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47165 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47166 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47167 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47168 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47169 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47170 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47171 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47172 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47173 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47174 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47175 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47176 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47177 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47178 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47179 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47180 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47181 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47182 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47183 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47184 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47185 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47186 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47187 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47188 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47189 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47190 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47191 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47192 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47193 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47194 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47195 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47196 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47197 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47198 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47199 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47200 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47201 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47202 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47203 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47204 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47205 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47206 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47207 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47208 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47209 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47210 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47211 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47212 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47213 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47214 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47215 * sysdeps/ieee754/s_lib_version.c: Likewise.
47216 * sysdeps/ieee754/s_matherr.c: Likewise.
47217 * sysdeps/ieee754/s_signgam.c: Likewise.
47218 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47219 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47220 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47221 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47222 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47223 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47224 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47225 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47226 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47227 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47228 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47229 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47230 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47231 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47232 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47233 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47234 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47235 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47236 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47237 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47238 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 47239
1991fa03
JM
472402012-03-09 Joseph Myers <joseph@codesourcery.com>
47241
47242 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47243 * sunrpc/rpc_main.c: Likewise.
47244 * sunrpc/rpc_svcout.c: Likewise.
47245
60d6f5a6
DM
472462012-03-09 David S. Miller <davem@davemloft.net>
47247
47248 * include/math_private.h: New file.
47249
4962050e
JM
472502012-03-09 Joseph Myers <joseph@codesourcery.com>
47251
02a6f887
JM
47252 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47253 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47254 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47255 from <bits/socket_type.h>.
47256 (enum __socket_type): Don't define here.
47257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47258 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47259 bits/socket_type.h.
47260
c6e013c1
JM
47261 [BZ #13566]
47262 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47263 checking __USE_GNU.
47264
4962050e
JM
47265 * Makerules ($(inst_includedir)/%.h): New rule.
47266 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47267 (install-others): Remove variable setting.
47268 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47269
38842f45
RH
472702012-03-08 Richard Henderson <rth@twiddle.net>
47271
67bb6da6
RH
47272 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47273 from macro to inline function; merge with the
47274 !__LIBC_INTERNAL_MATH_INLINES version.
47275 (__ieee754_sqrtf): Likewise.
47276
15194b4b
RH
47277 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47278 to inline function.
47279 (__rintf, __floor, __floorf): Likewise.
47280
64e21ede
RH
47281 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47282 macro to inline function.
47283 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47284
38842f45
RH
47285 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47286 not <math/math_private.h>.
47287
c64bf5fe
DM
472882012-03-08 David S. Miller <davem@davemloft.net>
47289
47290 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47291 copyright year.
47292 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47293
82d86f28
TS
472942012-03-08 Thomas Schwinge <thomas@codesourcery.com>
47295
47296 * resolv/gai_misc.c (handle_requests): Fix struct timespec
47297 normalization.
47298 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47299 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47300
aea5d727
UD
473012012-03-08 Ulrich Drepper <drepper@gmail.com>
47302
47303 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
47304 be defined individually, they must be defined as a block. Define
47305 S for printing a string instead of hidint the different by using a
47306 macro for adding the 'l'.
47307 * stdio-common/tst-fphex-wide.c: Adjust.
47308
70bca0a3
MP
473092012-03-07 Marek Polacek <polacek@redhat.com>
47310
47311 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47312
65b81130
MP
473132012-03-08 Marek Polacek <polacek@redhat.com>
47314
47315 [BZ #13806]
47316 * stdio-common/Makefile (tests): Add tst-fphex-wide.
47317 * stdio-common/tst-fphex.c: Define a few macros to make the
47318 test reusable. Use them.
47319 * stdio-common/tst-fphex-wide.c: New file.
47320
07037eeb
JM
473212012-03-08 Joseph Myers <joseph@codesourcery.com>
47322
a7a93d50
JM
47323 [BZ #6911]
47324 * manual/macros.texi (gnusystems): New macro.
47325 (nongnusystems): Likewise.
47326 (gnulinuxhurdsystems): Likewise.
47327 (gnuhurdsystems): Likewise..
47328 (gnulinuxsystems): Likewise.
47329 * manual/charset.texi: Use new macros or @theglibc{} to refer to
47330 variants of the GNU system, not "GNU system".
47331 * manual/conf.texi: Likewise.
47332 * manual/errno.texi: Likewise. Update example of errno macro
47333 expansion.
47334 * manual/filesys.texi: Likewise.
47335 (getumask): Document as specific to GNU/Hurd.
47336 * manual/install.texi: Likewise. Reword some references to
47337 GNU/Linux.
47338 * manual/intro.texi: Likewise.
47339 * manual/io.texi: Likewise.
47340 (File Name Portability): Detail which constraints are inapplicable
47341 to all GNU systems and which are only inapplicable to GNU/Hurd.
47342 * manual/job.texi: Likewise.
47343 * manual/llio.texi: Likewise.
47344 (O_NOCTTY): Document as present on GNU/Linux.
47345 * manual/maint.texi: Likewise.
47346 * manual/memory.texi: Likewise.
47347 * manual/pattern.texi: Likewise.
47348 * manual/pipe.texi: Likewise.
47349 * manual/process.texi: Likewise.
47350 * manual/resource.texi: Likewise.
47351 (RUSAGE_CHILDREN): Remove statement about specifying a particular
47352 child on GNU/Hurd.
47353 * manual/setjmp.texi: Likewise.
47354 * manual/signal.texi: Likewise.
47355 * manual/startup.texi: Likewise.
47356 * manual/stdio.texi: Likewise.
47357 * manual/terminal.texi: Likewise.
47358 (ONLCR): Document as POSIX.
47359 (OXTABS): Document availability on GNU/Linux as XTABS.
47360 (ONOEOT): Document availability separately from other bits.
47361 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47362 * manual/time.texi: Likewise.
47363 * manual/users.texi: Likewise.
47364 * INSTALL: Regenerated.
47365 * sysdeps/gnu/errlist.c: Regenerated.
47366
07037eeb
JM
47367 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47368 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47369 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
47370 puts.
47371 * configure: Regenerated.
47372
d1d3431a
JM
473732012-03-07 Joseph Myers <joseph@codesourcery.com>
47374
af6a1e37
JM
47375 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47376 default includes instead of AC_HEADER_CHECK.
47377 * sysdeps/i386/configure: Regenerated.
47378
d1d3431a
JM
47379 [BZ #10716]
47380 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47381 * math/s_cacoshf.c (__cacoshf): Likewise.
47382 * math/s_cacoshl.c (__cacoshl): Likewise.
47383 * math/s_casinh.c (__casinh): Set signs of result from argument.
47384 * math/s_casinhf.c (__casinhf): Likewise.
47385 * math/s_casinhl.c (__casinhl): Likewise.
47386 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47387 (casinh_test): Add more tests.
47388 * sysdeps/i386/fpu/libm-test-ulps: Update.
47389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47390
482ff4da
UD
473912012-03-07 Ulrich Drepper <drepper@gmail.com>
47392
872fda05
UD
47393 * po/zh_TW.po: Update from translation team.
47394
a4300c7a
UD
47395 * login/Makefile (distribute): Remove variable.
47396 * catgets/Makefile: Likewise.
47397 * mach/Makefile: Likewise.
47398 * malloc/Makefile: Likewise.
47399 * misc/Makefile: Likewise.
47400 * iconv/Makefile: Likewise.
47401 * nscd/Makefile: Likewise.
47402 * hurd/Makefile: Likewise.
47403 * manual/Makefile: Likewise.
47404 * locale/Makefile: Likewise.
47405 * intl/Makefile: Likewise.
47406 * conform/Makefile: Likewise.
47407 * nss/Makefile: Likewise.
47408 * time/Makefile: Likewise.
47409 * soft-fp/Makefile: Likewise.
47410 * dirent/Makefile: Likewise.
47411 * gmon/Makefile: Likewise.
47412 * po/Makefile: Likewise.
47413 * rt/Makefile: Likewise.
47414 * socket/Makefile: Likewise.
47415 * math/Makefile: Likewise.
47416 * signal/Makefile: Likewise.
47417 * debug/Makefile: Likewise.
47418 * elf/Makefile: Likewise.
47419 * timezone/Makefile: Likewise.
47420 * stdlib/Makefile: Likewise.
47421 * iconvdata/Makefile: Likewise.
47422 * sunrpc/Makefile: Likewise.
47423 * io/Makefile: Likewise.
47424 * argp/Makefile: Likewise.
47425 * inet/Makefile: Likewise.
47426 * hesiod/Makefile: Likewise.
47427 * grp/Makefile: Likewise.
47428 * csu/Makefile: Likewise.
47429 * wctype/Makefile: Likewise.
47430 * crypt/Makefile: Likewise.
47431 * libio/Makefile: Likewise.
47432 * string/Makefile: Likewise.
47433 * nis/Makefile: Likewise.
47434 * resolv/Makefile: Likewise.
47435 * stdio-common/Makefile: Likewise.
47436 * wcsmbs/Makefile: Likewise.
47437 * dlfcn/Makefile: Likewise.
47438 * posix/Makefile: Likewise.
47439
3b7c4e74 47440 [BZ #6959]
482ff4da
UD
47441 * timezone/Makefile: Don't install timezone files, just the programs
47442 and scripts.
47443
f72ed77d
UD
474442012-03-06 Ulrich Drepper <drepper@gmail.com>
47445
a000466f
UD
47446 * nss/databases.def: Add missing gshadow entry.
47447
f72ed77d
UD
47448 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
47449
a53b7a4e
MP
474502012-03-06 Marek Polacek <polacek@redhat.com>
47451
47452 [BZ #13726]
47453 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47454 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47455 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47456 * stdio-common/tst-long-dbl-fphex.c: New file.
47457
e9258400
DM
474582012-03-06 David S. Miller <davem@davemloft.net>
47459
47460 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47461 (set_obp_int): New function.
47462 (get_obp_int): New function.
47463 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
47464 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47465 Avoid unused variable warnings on 'val' and use builtin_expect.
47466 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47467 __builtin_expect.
e9258400
DM
47468 (INLINE_CLONE_SYSCALL): Likewise.
47469
3bd2c723
DM
474702012-03-05 David S. Miller <davem@davemloft.net>
47471
47472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47473
bbb78d03
AS
474742012-03-05 Andreas Schwab <schwab@linux-m68k.org>
47475
884c5db4
AS
47476 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47477
bbb78d03
AS
47478 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47479 only for |x| >= 40.
47480 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47481
1c9f702a 474822012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
47483
47484 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47485 Replace gettimeofday with __vdso_gettimeofday.
47486
7be16f82
RM
47487 * sysdeps/unix/sysv/linux/x86_64/init-first.c
47488 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47489 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
47490
47491 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47492 time with __vdso_time.
47493
ed58a00f
JM
474942012-03-05 Joseph Myers <joseph@codesourcery.com>
47495
47496 * manual/lang.texi (size_t): Note types to which size_t may be
47497 equivalent with the GNU C Library, but do not describe when
47498 differences between them are significant.
47499
30ee4ced
AJ
475002012-03-05 Andreas Jaeger <aj@suse.de>
47501
47502 * sysdeps/i386/fpu/libm-test-ulps: Update.
47503
b7cd39e8
JM
475042012-03-05 Joseph Myers <joseph@codesourcery.com>
47505
47506 [BZ #3976]
47507 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47508 (__ieee754_pow): Save and restore rounding mode and use
47509 round-to-nearest for main computations.
47510 * math/libm-test.inc (pow_test_tonearest): New function.
47511 (pow_test_towardzero): Likewise.
47512 (pow_test_downward): Likewise.
47513 (pow_test_upward): Likewise.
47514 (main): Call the new functions.
47515 * sysdeps/i386/fpu/libm-test-ulps: Update.
47516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
47517
47518 [BZ #3976]
47519 * math/libm-test.inc (cosh_test_tonearest): New function.
47520 (cosh_test_towardzero): Likewise.
47521 (cosh_test_downward): Likewise.
47522 (cosh_test_upward): Likewise.
47523 (sinh_test_tonearest): Likewise.
47524 (sinh_test_towardzero): Likewise.
47525 (sinh_test_downward): Likewise.
47526 (sinh_test_upward): Likewise.
47527 (main): Call the new functions.
47528 * sysdeps/i386/fpu/libm-test-ulps: Update.
47529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47530
6c6a98c9
TV
475312012-03-05 Tom de Vries <tom@codesourcery.com>
47532
47533 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47534 default stack guard is set in last bytes.
47535 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47536
21bb2d2e 475372012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 47538
21bb2d2e 47539 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 47540
21bb2d2e
AJ
47541 [BZ #13656]
47542 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47543 possibly allocate from heap instead of stack.
47544 * stdio-common/bug-vfprintf-nargs.c: New file.
47545 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 47546
c6922934
AS
475472012-03-03 Andreas Schwab <schwab@linux-m68k.org>
47548
47549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47550
bc957d53
MP
475512012-03-03 Marek Polacek <polacek@redhat.com>
47552
47553 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47554 * math/math_private.h: Likewise.
47555 * stdlib/tst-strtod.c: Likewise.
47556 * sysdeps/i386/i486/bits/atomic.h: Likewise.
47557 * sysdeps/x86_64/bits/atomic.h: Likewise.
47558
6358490d
DM
475592012-03-02 David S. Miller <davem@davemloft.net>
47560
47561 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47562 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47563 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47564 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47565 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47566 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47567 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47568 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47569
01ae168d
RM
475702012-03-02 Roland McGrath <roland@hack.frob.com>
47571
d9a17c07
RM
47572 [BZ #13792]
47573 * manual/examples/README: New file, says the example source files
47574 can be used under GPL>=2.
47575 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47576 line containing just "*/".
47577 * manual/examples/add.c: Add copyright header (GPL>=2).
47578 * manual/examples/argp-ex1.c: Likewise.
47579 * manual/examples/argp-ex2.c: Likewise.
47580 * manual/examples/argp-ex3.c: Likewise.
47581 * manual/examples/argp-ex4.c: Likewise.
47582 * manual/examples/atexit.c: Likewise.
47583 * manual/examples/db.c: Likewise.
47584 * manual/examples/dir.c: Likewise.
47585 * manual/examples/dir2.c: Likewise.
47586 * manual/examples/execinfo.c: Likewise.
47587 * manual/examples/filecli.c: Likewise.
47588 * manual/examples/filesrv.c: Likewise.
47589 * manual/examples/fmtmsgexpl.c: Likewise.
47590 * manual/examples/genpass.c: Likewise.
47591 * manual/examples/inetcli.c: Likewise.
47592 * manual/examples/inetsrv.c: Likewise.
47593 * manual/examples/isockad.c: Likewise.
47594 * manual/examples/longopt.c: Likewise.
47595 * manual/examples/memopen.c: Likewise.
47596 * manual/examples/memstrm.c: Likewise.
47597 * manual/examples/mkfsock.c: Likewise.
47598 * manual/examples/mkisock.c: Likewise.
47599 * manual/examples/mygetpass.c: Likewise.
47600 * manual/examples/pipe.c: Likewise.
47601 * manual/examples/popen.c: Likewise.
47602 * manual/examples/rprintf.c: Likewise.
47603 * manual/examples/search.c: Likewise.
47604 * manual/examples/select.c: Likewise.
47605 * manual/examples/setjmp.c: Likewise.
47606 * manual/examples/sigh1.c: Likewise.
47607 * manual/examples/sigusr.c: Likewise.
47608 * manual/examples/stpcpy.c: Likewise.
47609 * manual/examples/strdupa.c: Likewise.
47610 * manual/examples/strftim.c: Likewise.
47611 * manual/examples/strncat.c: Likewise.
47612 * manual/examples/subopt.c: Likewise.
47613 * manual/examples/swapcontext.c: Likewise.
47614 * manual/examples/termios.c: Likewise.
47615 * manual/examples/testopt.c: Likewise.
47616 * manual/examples/testpass.c: Likewise.
47617 * manual/examples/timeval_subtract.c: Likewise.
47618
01ae168d
RM
47619 [BZ #13792]
47620 * manual/time.texi (Elapsed Time): Move timeval_subtract example
47621 function to ...
47622 * manual/timeval_subtract.c.texi: ... here, new file.
47623
49efa33d
DM
476242012-03-02 David S. Miller <davem@davemloft.net>
47625
47626 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47627
28afd92d
JM
476282012-03-02 Joseph Myers <joseph@codesourcery.com>
47629
804360ed
JM
47630 [BZ #3976]
47631 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47632 (__sin): Save and restore rounding mode and use round-to-nearest
47633 for all computations.
47634 (__cos): Save and restore rounding mode and use round-to-nearest
47635 for all computations.
47636 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47637 <fenv.h>.
47638 (tan): Save and restore rounding mode and use round-to-nearest for
47639 all computations.
47640 * math/libm-test.inc (cos_test_tonearest): New function.
47641 (cos_test_towardzero): Likewise.
47642 (cos_test_downward): Likewise.
47643 (cos_test_upward): Likewise.
47644 (sin_test_tonearest): Likewise.
47645 (sin_test_towardzero): Likewise.
47646 (sin_test_downward): Likewise.
47647 (sin_test_upward): Likewise.
47648 (tan_test_tonearest): Likewise.
47649 (tan_test_towardzero): Likewise.
47650 (tan_test_downward): Likewise.
47651 (tan_test_upward): Likewise.
47652 (main): Call the new functions.
47653 * sysdeps/i386/fpu/libm-test-ulps: Update.
47654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47655
a6d06d7b
JM
47656 [BZ #10135]
47657 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47658 small n, then large n, before computing and testing k+n.
47659 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47660 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47661 Likewise.
47662 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47663 Likewise.
47664 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47665 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47666 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47667 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47668 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47669 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47671 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47672 * math/libm-test.inc (scalbn_test): Add more tests.
47673 (scalbln_test): Likewise.
47674
07e12bb3
JM
47675 * manual/filesys.texi (mode_t): Describe constraints on size and
47676 signedness, not exact equivalence to a particular type.
47677 (ino_t): Likewise.
47678 (ino64_t): Likewise.
47679 (dev_t): Likewise.
47680 (nlink_t): Likewise.
47681 (blkcnt_t): Likewise.
47682 (blkcnt64_t): Likewise.
47683 * manual/llio.texi (off_t): Likewise.
47684
28afd92d
JM
47685 [BZ #3976]
47686 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47687 (__ieee754_exp): Save and restore rounding mode and use
47688 round-to-nearest for all computations.
47689 * math/libm-test.inc (exp_test_tonearest): New function.
47690 (exp_test_towardzero): Likewise.
47691 (exp_test_downward): Likewise.
47692 (exp_test_upward): Likewise.
47693 (main): Call the new functions.
47694 * sysdeps/i386/fpu/libm-test-ulps: Update.
47695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47696
b1eeb65d
CD
476972012-03-01 Chris Demetriou <cgd@google.com>
47698
47699 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47700 have predictable order.
47701
53362a4b
DM
477022012-03-01 David S. Miller <davem@davemloft.net>
47703
3c969083
DM
47704 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47705
759707de
DM
47706 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47707 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47708 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47709 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47710
dfdb8ff2
DM
47711 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47712 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47713 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47714 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47715 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47716 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47717 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47718 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47719 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47720
ead89f96
DM
47721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47722
7f66bd07
DM
47723 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47724 * sysdeps/sparc/fpu/libm-test-ulps: to here.
47725 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47726
53362a4b
DM
47727 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47728 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47729 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47730 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47731 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47732 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47733 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47734 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47735 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47736 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47737 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47738 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47739 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47740 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47741 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47742 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47743 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47744 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47745 * sysdeps/sparc/elf/configure: Regenerated.
47746
7b1902cb
JM
477472012-03-01 Joseph Myers <joseph@codesourcery.com>
47748
bec039bc
JM
47749 * configure.in (AS, LD): Require binutils 2.20 or later.
47750 * configure: Regenerated.
47751 * manual/install.texi (Tools for Compilation): Give binutils 2.20
47752 as required minimum version.
47753 * INSTALL: Regenerated.
47754
7b1902cb
JM
47755 [BZ #2541]
47756 [BZ #4108]
47757 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47758 before squaring exponent.
47759 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47760 bottom long double and 27 bits of top long double before squaring
47761 exponent.
47762 * math/libm-test.inc (erfc_test): Add more tests.
47763 * sysdeps/i386/fpu/libm-test-ulps: Update.
47764 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47765 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47766
f775c276
KT
477672012-03-01 Kai Tietz <ktietz@redhat.com>
47768
47769 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47770 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47771 containing bit-fields.
47772 * soft-fp/extended.h (_FP_UNION_E): Likewise.
47773 * soft-fp/single.h (_FP_UNION_S): Likewise.
47774 * soft-fp/double.h (_FP_UNION_D): Likewise.
47775
5b8a4d4a
JM
477762012-02-29 Joseph Myers <joseph@codesourcery.com>
47777
0bab47b6
JM
47778 [BZ #13786]
47779 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47780 not include ../strcmp.S.
47781 [USE_AS_STRNCASECMP_L]: Likewise.
47782 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47783 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47784 * sysdeps/i386/i686/multiarch/strncase_l-c.c
47785 (__strncasecmp_l_ia32): Define as alias to
47786 __strncasecmp_l_nonascii.
47787
0fcad3e2
JM
47788 [BZ #5794]
47789 * math/libm-test.inc (expm1_test): Add test for bug 5794.
47790 * sysdeps/i386/fpu/libm-test-ulps: Update.
47791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47792
5b8a4d4a
JM
47793 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47795
8fdceb2e
JL
477962012-02-29 Jeff Law <law@redhat.com>
47797
47798 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47799 out of bounds read.
47800
1f393a11
MP
478012012-02-29 Marek Polacek <polacek@redhat.com>
47802
47803 [BZ #13706]
47804 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47805 * elf/Makefile: Add rules to run tst-unused-dep.out.
47806
8847f037
DM
478072012-02-28 David S. Miller <davem@davemloft.net>
47808
47809 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47810 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47811 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47812 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47813 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47814 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47815
169d7f11
JM
478162012-02-29 Joseph Myers <joseph@codesourcery.com>
47817
47818 * math/libm-test.inc (llround_test): Move one test from
47819 lround_test. Use TEST_f_L in moved test.
47820 (lround_test): Move misplaced test to llround_test. Add testcase
47821 from bug 2561.
47822
39adf059
UD
478232012-02-28 Ulrich Drepper <drepper@gmail.com>
47824
47825 * sysdeps/x86_64/fpu/e_expf.S: New file.
47826 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47827
71b5d1c5
SB
478282012-02-28 Stanislav Brabec <sbrabec@suse.cz>
47829
47830 [BZ #13637]
47831 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47832 of remain_len that may cause incomplete multi-byte character and
47833 false match.
47834 * posix/bug-regex33.c: New file.
47835 * posix/Makefile (tests): Add bug-regex33.
47836
1f77f049
JM
478372012-02-28 Joseph Myers <joseph@codesourcery.com>
47838
47839 * manual/macros.texi: New file.
47840 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47841 * manual/libc.texinfo: Include macros.texi.
47842 * manual/creatute.texi: Likewise.
47843 * manual/install.texi: Likewise.
47844 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47845 @glibcadj{} in references to the GNU C Library.
47846 * manual/charset.texi: Likewise.
47847 * manual/conf.texi: Likewise.
47848 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
47849 when not using those macros.
47850 * manual/creature.texi: Likewise.
47851 * manual/crypt.texi: Likewise.
47852 * manual/errno.texi: Likewise.
47853 * manual/filesys.texi: Likewise.
47854 * manual/header.texi: Likewise.
47855 * manual/install.texi: Likewise.
47856 * manual/intro.texi: Likewise.
47857 * manual/io.texi: Likewise.
47858 * manual/job.texi: Likewise.
47859 * manual/lang.texi: Likewise.
47860 * manual/libc.texiinfo: Likewise.
47861 * manual/llio.texi: Likewise.
47862 * manual/locale.texi: Likewise.
47863 * manual/maint.texi: Likewise.
47864 * manual/math.texi: Likewise.
47865 * manual/memory.texi: Likewise.
47866 * manual/message.texi: Likewise.
47867 * manual/nss.texi: Likewise.
47868 * manual/pattern.texi: Likewise.
47869 * manual/process.texi: Likewise.
47870 * manual/resource.texi: Likewise.
47871 * manual/search.texi: Likewise.
47872 * manual/setjmp.texi: Likewise.
47873 * manual/signal.texi: Likewise.
47874 * manual/socket.texi: Likewise.
47875 * manual/startup.texi: Likewise.
47876 * manual/stdio.texi: Likewise.
47877 * manual/string.texi: Likewise.
47878 * manual/sysinfo.texi: Likewise.
47879 * manual/syslog.texi: Likewise.
47880 * manual/terminal.texi: Likewise.
47881 * manual/time.texi: Likewise.
47882 * manual/users.texi: Likewise.
47883 * INSTALL: Regenerated.
47884 * NOTES: Regenerated.
d40c5d54 47885 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 47886
450bf206
AS
478872012-02-28 Andreas Schwab <schwab@linux-m68k.org>
47888
47889 * include/dirent.h: Include <dirstream.h> before
47890 <dirent/dirent.h>.
47891
741a235b
DM
478922012-02-28 David S. Miller <davem@davemloft.net>
47893
47894 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47895 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47896 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47897 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47898
d6b5aa58
DM
478992012-02-27 David S. Miller <davem@davemloft.net>
47900
1aff59a3
DM
47901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47903 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47904 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47905
d6b5aa58
DM
47906 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47907 frame pointer instead of stack pointer relative arg slot.
47908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47909 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47910 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47911
433f48bf
CD
479122012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
47913
47914 [BZ #3992]
47915 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47916
d674b76d
DM
479172012-02-27 David S. Miller <davem@davemloft.net>
47918
47919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47921 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47922 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47923 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47924 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47925 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47926 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47927
0e7727f7
JM
479282012-02-27 Joseph Myers <joseph@codesourcery.com>
47929
47930 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47931 later. Allow versions 5-9.
43be4ca2 47932 * configure: Regenerated.
0e7727f7
JM
47933 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47934 required minimum version and 4.6 as recommended version. Do not
47935 mention bugs in GCC 2.7 and 2.8.
43be4ca2 47936 * INSTALL: Regenerated.
0e7727f7 47937
a78bc654
DM
479382012-02-27 David S. Miller <davem@davemloft.net>
47939
428d5830
DM
47940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47943 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47944 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47945 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47946 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47947 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47948
a78bc654
DM
47949 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47950 manipulate bits before adding and subtracting TWO112[sx].
47951 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47952
4579f81c
RM
479532012-02-27 Roland McGrath <roland@hack.frob.com>
47954
36c8acb4
RM
47955 [BZ #13775]
47956 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47957 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47958 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47959 being in POSIX, because they are in 1003.1-2008.
47960
84ad622b
RM
47961 * rt/tst-aio.c: Include <fcntl.h>.
47962 * rt/tst-aio7.c: Likewise.
47963 * rt/tst-aio64.c: Likewise.
47964
4579f81c
RM
47965 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47966
abd923db
JM
479672012-02-27 Joseph Myers <joseph@codesourcery.com>
47968
47969 * manual/install.texi (--with-headers): Describe headers as
47970 interface headers, not private headers.
47971 (Specific advice for GNU/Linux systems): Describe use of headers
47972 from "make headers_install", not private headers from older
47973 kernels.
43be4ca2 47974 * INSTALL: Regenerated.
abd923db
JM
47975 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47976 Change to 2.6.19.
47977 * sysdeps/unix/sysv/linux/configure: Regenerated.
47978
6664049b
JM
47979 * manual/llio.texi (fclean): Remove documentation.
47980
bb8b6697
JM
47981 * manual/Makefile (libc-texi-generated): New variable. Include
47982 version.texi.
47983 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47984 $(libc-texi-generated), not duplicated list of files.
47985 (version.texi, stamp-version): New rules.
47986 (realclean): Remove $(libc-texi-generated), not individual files
47987 from that list. Do not remove dir-add.texinfo.
47988 * manual/libc.texinfo: Comment out uses of edition numbers and
47989 references to printed manual. Remove last-updated dates.
47990 (EDITION): Comment out.
47991 (ISBN): Likewise.
47992 (VERSION, UPDATED): Remove.
47993 (version.texi): Include.
47994
12e5c3b9
AS
479952012-02-27 Andreas Schwab <schwab@linux-m68k.org>
47996
47997 * sysdeps/posix/spawni.c: Include <signal.h>.
47998 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47999 * sysdeps/pthread/aio_fsync.c: Likewise.
48000
4efeffc1 480012012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 48002
ba63ba08
UD
48003 * conform/Makefile (tests): Run only when not cross-compiling and
48004 when fast-check is not defined.
48005
d94a4670
UD
48006 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48007 * conform/data/limits.h-data: Fixes for POSIX2008.
48008 * conform/run-conformtest.sh: Run all tests.
48009 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48010 headers.
48011 * include/bits/dlfcn.h: Likewise.
48012 * include/langinfo.h: Likewise.
48013 * include/monetary.h: Likewise.
48014 * include/sys/poll.h: Likewise.
48015
48016 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48017 for __USE_GNU.
48018 * posix/spawn.h: Define __need_sigset_t.
48019 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48020 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48021 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
48022 to get sigevent_t only.
48023 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48024 only for __USE_GNU.
48025 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48026 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48027 process_vm_writev only for __USE_GNU.
48028 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
48029
48030 * conform/Makefile: For now ignore errors from run-conformtest.
48031 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
48032 POSIX to avoid namespace pollution. Don't prepend headers.
48033 * conform/data/aio.h-data: Fixes for POSIX testing.
48034 * conform/data/fcntl.h-data: Likewise.
48035 * conform/data/glob.h-data: Likewise.
48036 * conform/data/grp.h-data: Likewise.
48037 * conform/data/pthread.h-data: Likewise.
48038 * conform/data/pwd.h-data: Likewise.
48039 * conform/data/signal.h-data: Likewise.
48040 * conform/data/spawn.h-data: Likewise.
48041 * conform/data/stdio.h-data: Likewise.
48042 * conform/data/stdlib.h-data: Likewise.
48043 * conform/data/stropts.h-data: Likewise.
48044 * conform/data/sys/mman.h-data: Likewise.
48045 * conform/data/sys/stat.h-data: Likewise.
48046 * conform/data/sys/types.h-data: Likewise.
48047 * conform/data/sys/wait.h-data: Likewise.
48048 * conform/data/time.h-data: Likewise.
48049 * conform/data/unistd.h-data: Likewise.
48050 * conform/data/utime.h-data: Likewise.
48051
48052 * io/sys/stat.h: fchmod was always in POSIX.
48053 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48054 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48055 * rt/aio.h: Define __need_timespec before including <time.h>.
48056 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48057 struct. Add forward declaration of pthread_attr_t and use it in
48058 sigevent.
48059 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48060 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48061 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48062 always remove CLK_TCK definition.
48063
c20105c3
AS
480642012-02-26 Andreas Schwab <schwab@linux-m68k.org>
48065
48066 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48067
7a270350
UD
480682012-02-25 Ulrich Drepper <drepper@gmail.com>
48069
31341567
UD
48070 * conform/run-conformtest.sh: New file.
48071 * conform/Makefile: Run run-conformtest for tests.
48072 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
48073 support.
48074
48075 * conform/data/uchar.h-data: New file.
48076 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48077 * conform/data/arpa/inet.h-data: Likewise.
48078 * conform/data/assert.h-data: Likewise.
48079 * conform/data/complex.h-data: Likewise.
48080 * conform/data/cpio.h-data: Likewise.
48081 * conform/data/ctype.h-data: Likewise.
48082 * conform/data/dirent.h-data: Likewise.
48083 * conform/data/dlfcn.h-data: Likewise.
48084 * conform/data/errno.h-data: Likewise.
48085 * conform/data/fcntl.h-data: Likewise.
48086 * conform/data/float.h-data: Likewise.
48087 * conform/data/fmtmsg.h-data: Likewise.
48088 * conform/data/fnmatch.h-data: Likewise.
48089 * conform/data/ftw.h-data: Likewise.
48090 * conform/data/glob.h-data: Likewise.
48091 * conform/data/grp.h-data: Likewise.
48092 * conform/data/iconv.h-data: Likewise.
48093 * conform/data/inttypes.h-data: Likewise.
48094 * conform/data/langinfo.h-data: Likewise.
48095 * conform/data/libgen.h-data: Likewise.
48096 * conform/data/limits.h-data: Likewise.
48097 * conform/data/locale.h-data: Likewise.
48098 * conform/data/math.h-data: Likewise.
48099 * conform/data/monetary.h-data: Likewise.
48100 * conform/data/mqueue.h-data: Likewise.
48101 * conform/data/ndbm.h-data: Likewise.
48102 * conform/data/net/if.h-data: Likewise.
48103 * conform/data/netdb.h-data: Likewise.
48104 * conform/data/netinet/in.h-data: Likewise.
48105 * conform/data/nl_types.h-data: Likewise.
48106 * conform/data/poll.h-data: Likewise.
48107 * conform/data/pthread.h-data: Likewise.
48108 * conform/data/pwd.h-data: Likewise.
48109 * conform/data/regex.h-data: Likewise.
48110 * conform/data/sched.h-data: Likewise.
48111 * conform/data/search.h-data: Likewise.
48112 * conform/data/semaphore.h-data: Likewise.
48113 * conform/data/setjmp.h-data: Likewise.
48114 * conform/data/signal.h-data: Likewise.
48115 * conform/data/spawn.h-data: Likewise.
48116 * conform/data/stdarg.h-data: Likewise.
48117 * conform/data/stdio.h-data: Likewise.
48118 * conform/data/stdlib.h-data: Likewise.
48119 * conform/data/string.h-data: Likewise.
48120 * conform/data/strings.h-data: Likewise.
48121 * conform/data/stropts.h-data: Likewise.
48122 * conform/data/sys/ipc.h-data: Likewise.
48123 * conform/data/sys/mman.h-data: Likewise.
48124 * conform/data/sys/msg.h-data: Likewise.
48125 * conform/data/sys/resource.h-data: Likewise.
48126 * conform/data/sys/select.h-data: Likewise.
48127 * conform/data/sys/sem.h-data: Likewise.
48128 * conform/data/sys/shm.h-data: Likewise.
48129 * conform/data/sys/socket.h-data: Likewise.
48130 * conform/data/sys/stat.h-data: Likewise.
48131 * conform/data/sys/statvfs.h-data: Likewise.
48132 * conform/data/sys/time.h-data: Likewise.
48133 * conform/data/sys/timeb.h-data: Likewise.
48134 * conform/data/sys/times.h-data: Likewise.
48135 * conform/data/sys/types.h-data: Likewise.
48136 * conform/data/sys/uio.h-data: Likewise.
48137 * conform/data/sys/un.h-data: Likewise.
48138 * conform/data/sys/utsname.h-data: Likewise.
48139 * conform/data/sys/wait.h-data: Likewise.
48140 * conform/data/syslog.h-data: Likewise.
48141 * conform/data/tar.h-data: Likewise.
48142 * conform/data/termios.h-data: Likewise.
48143 * conform/data/utime.h-data: Likewise.
48144 * conform/data/utmpx.h-data: Likewise.
48145 * conform/data/varargs.h-data: Likewise.
48146 * conform/data/wchar.h-data: Likewise.
48147 * conform/data/wctype.h-data: Likewise.
48148 * conform/data/wordexp.h-data: Likewise.
48149
48150 * include/stropts.h: New file.
48151 * include/uchar.h: New file.
48152 * include/aio.h: Changes to allow conformtest.pl to use the headers.
48153 * include/assert.h: Likewise.
48154 * include/ctype.h: Likewise.
48155 * include/dirent.h: Likewise.
48156 * include/dlfcn.h: Likewise.
48157 * include/fcntl.h: Likewise.
48158 * include/fnmatch.h: Likewise.
48159 * include/glob.h: Likewise.
48160 * include/grp.h: Likewise.
48161 * include/libio.h: Likewise.
48162 * include/locale.h: Likewise.
48163 * include/math.h: Likewise.
48164 * include/net/if.h: Likewise.
48165 * include/netdb.h: Likewise.
48166 * include/netinet/in.h: Likewise.
48167 * include/pthread.h: Likewise.
48168 * include/pwd.h: Likewise.
48169 * include/regex.h: Likewise.
48170 * include/sched.h: Likewise.
48171 * include/search.h: Likewise.
48172 * include/setjmp.h: Likewise.
48173 * include/signal.h: Likewise.
48174 * include/stdio.h: Likewise.
48175 * include/stdlib.h: Likewise.
48176 * include/string.h: Likewise.
48177 * include/sys/cdefs.h: Likewise.
48178 * include/sys/mman.h: Likewise.
48179 * include/sys/msg.h: Likewise.
48180 * include/sys/resource.h: Likewise.
48181 * include/sys/select.h: Likewise.
48182 * include/sys/socket.h: Likewise.
48183 * include/sys/stat.h: Likewise.
48184 * include/sys/statvfs.h: Likewise.
48185 * include/sys/time.h: Likewise.
48186 * include/sys/times.h: Likewise.
48187 * include/sys/uio.h: Likewise.
48188 * include/sys/utsname.h: Likewise.
48189 * include/sys/wait.h: Likewise.
48190 * include/termios.h: Likewise.
48191 * include/time.h: Likewise.
48192 * include/ulimit.h: Likewise.
48193 * include/unistd.h: Likewise.
48194 * include/utime.h: Likewise.
48195 * include/wchar.h: Likewise.
48196 * include/wctype.h: Likewise.
48197 * include/wordexp.h: Likewise.
48198
48199 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48200
7a270350
UD
48201 * time/time.h: TIME_UTC must be a macro.
48202 Make timespec_get available for ISO C11 only as well.
48203
7724defc
UD
482042012-02-24 Ulrich Drepper <drepper@gmail.com>
48205
48206 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48207 Reported by Peng Haitao <penght@cn.fujitsu.com>.
48208
6b1d1d46
JM
482092012-02-24 Joseph Myers <joseph@codesourcery.com>
48210
48211 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 48212
0f8bbd69
JM
482132012-02-24 Joseph Myers <joseph@codesourcery.com>
48214
48215 * manual/texinfo.tex: Update to version 2012-01-19.16.
48216
66ab80bc
JM
482172012-02-24 Joseph Myers <joseph@codesourcery.com>
48218
48219 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48220
74981cc5
RM
482212012-02-24 Roland McGrath <roland@hack.frob.com>
48222
ee968201
RM
48223 [BZ #13738]
48224 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48225 * manual/fdl-1.3.texi: New file.
48226 * manual/fdl-1.1.texi: File removed.
48227
74981cc5
RM
48228 [BZ #13738]
48229 * manual/libc.texinfo (FDL_VERSION): New @set.
48230 Use it for mention of FDL in cover text.
48231 (Documentation License): Use it in @include file name.
48232
7bb764bc
JM
482332012-02-22 Joseph Myers <joseph@codesourcery.com>
48234 Roland McGrath <roland@hack.frob.com>
48235
48236 [BZ #5461]
57f41c40
AS
48237 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48238 (not LONG_LONG_MAX and LONG_LONG_MIN.
7bb764bc
JM
48239 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48240 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
48241 name.
48242 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48243
6cbeae47
JM
482442012-02-22 Joseph Myers <joseph@codesourcery.com>
48245
48246 [BZ #2547]
48247 [BZ #11365]
48248 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48249 manipulate bits before adding and subtracting TWO23[sx].
48250 * math/libm-test.inc (nearbyint_test): Add more tests.
48251
fe45ce09
JM
482522012-02-22 Joseph Myers <joseph@codesourcery.com>
48253
48254 [BZ #2548]
48255 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48256 bits before adding and subtracting TWO23[sx].
48257 * math/libm-test.inc (rint_test): Add more tests.
48258 (rint_test_tonearest): Likewise.
48259 (rint_test_towardzero): Likewise.
48260 (rint_test_downward): Likewise.
48261 (rint_test_upward: Likewise.
48262
ff3b3d82
JM
482632012-02-22 Joseph Myers <joseph@codesourcery.com>
48264
48265 [BZ #10110]
48266 * include/stdc-predef.h: New file. Extracted from features.h.
48267 * include/features.h: Include stdc-predef.h.
48268 * Makefile (headers): Add stdc-predef.h.
48269 * CONFORMANCE (Compiler limitations): Update.
48270
ef0aab35
JM
482712012-02-22 Joseph Myers <joseph@codesourcery.com>
48272
48273 * manual/libc.texinfo (VERSION, UPDATED): Revert.
48274
58639409
DM
482752012-02-21 David S. Miller <davem@davemloft.net>
48276
48277 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48278 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48279
c0e70b25
DM
482802012-02-20 David S. Miller <davem@davemloft.net>
48281
48282 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48283 using a normal save/restore sequence, rather than allocating a
48284 dummy stack frame just to store a frame pointer and restore.
48285 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48286
fb06851d
JM
482872012-02-21 Joseph Myers <joseph@codesourcery.com>
48288
48289 * manual/install.texi: Fix stray word in line-wrapped comment.
48290
7a8b71c3
DM
482912012-02-20 David S. Miller <davem@davemloft.net>
48292
d510c123
DM
48293 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48294 both binutils and gcc support GOTDATA.
48295
0722d7c2
DM
48296 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48297 "rd %pc" in the PIC register setup sequences.
48298
3d2b3019
DM
48299 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48300 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48301 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48302 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48303 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48304 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48305 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48306 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48307 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48308 (SYSCALL_ERROR_HANDLER): Likewise.
48309 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48310 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48311 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48312 (SYSCALL_ERROR_HANDLER): Likewise.
48313
c80098a9
DM
48314 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48315 (HAVE_GCC_GOTDATA): New.
48316 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48317 relocation support in both binutils and gcc.
48318 * sysdeps/sparc/elf/configure: Regenerate.
48319
3a2545a0
DM
48320 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48321 * sysdeps/sparc/sparc32/elf/configure: Delete.
48322 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48323 * sysdeps/sparc/sparc64/elf/configure: Delete.
48324 * sysdeps/sparc/elf/configure.in: New file.
48325 * sysdeps/sparc/elf/configure: Generate.
48326
7a8b71c3
DM
48327 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48328 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48329 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48330 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48331 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48332
f1e86fca
JM
483332012-02-21 Joseph Myers <joseph@codesourcery.com>
48334
48335 * manual/install.texi: Do not mention specific glibc version
48336 numbers.
48337 * manual/libc.texinfo (VERSION, UPDATED): Update.
48338 (@copying): Use @copyright{} and range of years.
48339
0e7dfaef
JM
483402012-02-21 Joseph Myers <joseph@codesourcery.com>
48341
48342 [BZ #13695]
48343 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48344 [crti.S not in sysdirs] (generated): Do not append.
48345 [crti.S not in sysdirs] (omit-deps): Likewise.
48346 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48347 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48348 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48349 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48350 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48351 Likewise.
48352 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48353 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48354 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48355 * csu/defs.awk: Remove file.
48356 * sysdeps/generic/initfini.c: Likewise.
48357 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48358 variable.
48359 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48360 Likewise.
48361
599af3ca
JM
483622012-02-20 Joseph Myers <joseph@codesourcery.com>
48363
48364 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48365 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48366 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48367 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48368 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48369 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48370 <bits/epoll.h>.
48371 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48372 (__EPOLL_PACKED): Define to empty if not defined by
48373 <bits/epoll.h>.
48374 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48376 bits/epoll.h.
48377
0e499750
JM
483782012-02-20 Joseph Myers <joseph@codesourcery.com>
48379
48380 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48381 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48383 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48384 <bits/timerfd.h>.
48385 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48386 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48387 bits/timerfd.h.
48388
5ad91f6e
JM
483892012-02-20 Joseph Myers <joseph@codesourcery.com>
48390
48391 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48392 in C locale.
48393 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48394 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48395 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48397
06b99b02
AJ
483982012-02-20 Aurelien Jarno <aurelien@aurel32.net>
48399
48400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48401 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48402
7638c0fd
AS
484032012-02-19 Andreas Schwab <schwab@linux-m68k.org>
48404
48405 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48406 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48407 defined.
48408 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48409 Likewise.
48410 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48411 entry for 2.16.
48412
92221550
AJ
484132012-02-19 Aurelien Jarno <aurelien@aurel32.net>
48414
48415 * math/w_acos.c: Use non-signaling floating-point comparisons.
48416 * math/w_acosf.c: Likewise.
48417 * math/w_acosh.c: Likewise.
48418 * math/w_acoshf.c: Likewise.
48419 * math/w_acoshl.c: Likewise.
48420 * math/w_acosl.c: Likewise.
48421 * math/w_asin.c: Likewise.
48422 * math/w_asinf.c: Likewise.
48423 * math/w_asinl.c: Likewise.
48424 * math/w_atanh.c: Likewise.
48425 * math/w_atanhf.c: Likewise.
48426 * math/w_atanhl.c: Likewise.
48427 * math/w_exp2.c: Likewise.
48428 * math/w_exp2f.c: Likewise.
48429 * math/w_exp2l.c: Likewise.
48430 * math/w_j0.c: Likewise.
48431 * math/w_j0f.c: Likewise.
48432 * math/w_j0l.c: Likewise.
48433 * math/w_j1.c: Likewise.
48434 * math/w_j1f.c: Likewise.
48435 * math/w_j1l.c: Likewise.
48436 * math/w_jn.c: Likewise.
48437 * math/w_jnf.c: Likewise.
48438 * math/w_log.c: Likewise.
48439 * math/w_log10.c: Likewise.
48440 * math/w_log10f.c: Likewise.
48441 * math/w_log10l.c: Likewise.
48442 * math/w_log2.c: Likewise.
48443 * math/w_log2f.c: Likewise.
48444 * math/w_log2l.c: Likewise.
48445 * math/w_logf.c: Likewise.
48446 * math/w_logl.c: Likewise.
48447 * math/w_sqrt.c: Likewise.
48448 * math/w_sqrtf.c: Likewise.
48449 * math/w_sqrtl.c: Likewise.
48450 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48451 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48452 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48453 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48454 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48455
ebaf36eb
JM
484562012-02-19 Joseph Myers <joseph@codesourcery.com>
48457
48458 [BZ #9739]
48459 * manual/string.texi (strnlen): Use correct parameter name in
48460 equivalent expression.
48461
71c254a6
JM
484622012-02-19 Joseph Myers <joseph@codesourcery.com>
48463
48464 [BZ #11174]
48465 * manual/users.texi (seteuid): Consistently use neweuid for
48466 argument name.
48467
16d2c631
JM
484682012-02-19 Joseph Myers <joseph@codesourcery.com>
48469
48470 [BZ #13704]
48471 * manual/nss.texi (Services in the NSS configuration): Correct
48472 list of services in example configuration file.
48473
cd837b09
NB
484742012-02-19 Nick Bowler <nbowler@draconx.ca>
48475
48476 [BZ #11322]
48477 * manual/arith.texi: Remove statements about negative zero
48478 behaving identically to zero.
48479
02c4bbad
JM
484802012-02-18 Joseph Myers <joseph@codesourcery.com>
48481
48482 [BZ #5993]
48483 * manual/install.texi: Do not document upgrading from libc5.
48484
366842e7
JM
484852012-02-18 Joseph Myers <joseph@codesourcery.com>
48486
48487 [BZ #4596]
48488 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48489
dd54084d
DM
484902012-02-18 David S. Miller <davem@davemloft.net>
48491
48492 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48493 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48494 %o7 across the call.
48495 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48496 instead.
48497 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48498 SETUP_PIC_REG_LEAF.
48499 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48500 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48501 * sysdeps/sparc/crtn.S: Likewise.
48502
2bcc53a3
UD
485032012-02-17 Ulrich Drepper <drepper@gmail.com>
48504
48505 * aout/Makefile: Remove.
48506
09c093b5
RK
485072012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
48508
48509 [BZ #13058]
48510 * manual/examples/argp-ex1.c (main): Format definition in GNU
48511 style.
48512 * manual/examples/argp-ex2.c (main): Likewise.
48513 * manual/examples/argp-ex3.c (main): Likewise.
48514 * manual/examples/argp-ex4.c (main): Likewise.
48515 * manual/examples/longopt.c (main): Use new-style prototype
48516 definition.
48517 * manual/examples/strncat.c (main): Specify return type and use
48518 (void) for arguments.
48519 * manual/examples/subopt.c (main): Use char **argv argument.
48520
2ee633a2
JM
485212012-02-17 Joseph Myers <joseph@codesourcery.com>
48522
48523 [BZ #5077]
48524 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48525 rounding modes.
48526
0520adde
FB
485272012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
48528
48529 [BZ #6907]
48530 * manual/string.texi (strchr): Change when strchrnul is
48531 recommended.
48532
3f4081cd
DGM
485332012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
48534
48535 [BZ #174]
48536 * manual/locale.texi (setlocale): Document LOCPATH.
48537
d1b10e78
JM
485382012-02-17 Joseph Myers <joseph@codesourcery.com>
48539
48540 [BZ #10210]
48541 * manual/process.texi (execle): Move @dots{} before last argument.
48542
79c6869c
PB
485432012-02-17 Paul Bolle <pebolle@tiscali.nl>
48544
48545 [BZ #12047]
48546 * manual/charset.texi (Generic Charset Conversion): Fix typo
48547 (LC_TYPE -> LC_CTYPE).
48548
cc6e48bc
NB
485492012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
48550
48551 [BZ #5805]
48552 * manual/arith.texi (scalbn): Use @var{} on parameter names.
48553 (scalbnf): Likewise.
48554 (scalbnl): Likewise.
48555 (scalbln): Likewise.
48556 (scalblnf): Likewise.
48557 (scalblnl): Likewise.
48558 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48559 (vwarnx): Likewise.
48560 (verr): Likewise.
48561 (verrx): Likewise.
48562 * manual/filesys.texi (telldir): Use braces around return type.
48563 * manual/llio.texi (mmap): Add space after comma.
48564 (mmap64): Likewise.
48565 * manual/math.texi (jn): Use @var{} on parameter names.
48566 (jnf): Likewise.
48567 (jnl): Likewise.
48568 (yn): Likewise.
48569 (ynf): Likewise.
48570 (ynl): Likewise.
48571 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48572 line.
48573 * manual/resource.texi (ulimit): Use @dots{} instead of literal
48574 "...".
48575 (sched_get_priority_min): Remove semicolon on @deftypefun line.
48576 (sched_get_priority_max): Likewise.
48577 * manual/signal.texi (sigvec): Add space after comma.
48578 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48579 names.
48580 (if_indextoname): Likewise.
48581 (if_freenameindex): Likewise.
48582 (sendto): Use ',' instead of '.' in prototype.
48583 * manual/startup.texi (syscall): Use @dots{} instead of literal
48584 "...".
48585 * manual/stdio.texi (__fpending): Separate initial words of
48586 paragraph from @deftypefun line.
48587 * manual/syslog.texi (syslog): Use @dots{} instead of literal
48588 "...".
48589 (vsyslog): Use @var{} on parameter names.
48590 * manual/terminal.texi (stty): Use @var{} on parameter names.
48591 * manual/users.texi (getutmp): Use @var{} on parameter names.
48592 (getutmpx): Likewise.
48593
5b23062f
JM
485942012-02-17 Joseph Myers <joseph@codesourcery.com>
48595
48596 [BZ #6884]
48597 * manual/stdio.texi (fopen): Fix typos in description of
48598 ",ccs=STRING".
48599
8dee4833
AJ
486002012-02-17 Aurelien Jarno <aurelien@aurel32.net>
48601
48602 [BZ #4026]
48603 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48604 get clock_id definition.
48605
9078ce93
TS
486062012-02-17 Thomas Schwinge <thomas@schwinge.name>
48607
48608 [BZ #4822]
48609 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48610 (madvise): Cast every argument to void on its own.
48611
3835c55f
JM
486122012-02-17 Joseph Myers <joseph@codesourcery.com>
48613
48614 [BZ #9902]
48615 * manual/startup.texi (Exit Status): Fix typo.
48616
35c47e37
JM
486172012-02-17 Joseph Myers <joseph@codesourcery.com>
48618
48619 [BZ #10140]
48620 * manual/examples/argp-ex1.c: Include <stdlib.h>.
48621 * manual/examples/argp-ex2.c: Likewise.
48622 * manual/examples/argp-ex3.c: Likewise.
48623
e3b69ca7
RH
486242012-02-16 Richard Henderson <rth@redhat.com>
48625
48626 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48627 * sysdeps/s390/s390-32/initfini.c: Remove.
48628 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48629 * sysdeps/s390/s390-64/initfini.c: Remove.
48630
df83af67
KK
486312012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48632
48633 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48634 compiler output for sysdeps/generic/initfini.c.
48635 * sysdeps/sh/elf/initfini.c: Remove file.
48636
f63f3380
DM
486372012-02-16 David S. Miller <davem@davemloft.net>
48638
fb59b3a4
DM
48639 [BZ #11494]
48640 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48641
f63f3380
DM
48642 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48643 * sysdeps/sparc/crti.S: New file.
48644 * sysdeps/sparc/crtn.S: New file.
48645 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48646 * sysdeps/sparc/sparc64/Makefile: Likewise.
48647
df6a4a4a
MF
486482012-02-15 Mike Frysinger <vapier@gentoo.org>
48649
6dd8f3dc 48650 [BZ #3335]
df6a4a4a
MF
48651 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48652
1cac7236
RM
486532012-02-15 Roland McGrath <roland@hack.frob.com>
48654
d2c736f8
RM
48655 [BZ #4822]
48656 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48657
1cac7236
RM
48658 * mach/devstream.c (cookie_io_functions_t): Macro removed.
48659 (write, read, close): Likewise.
48660 Patch by Aurelien Jarno <aurelien@aurel32.net>.
48661
8e475601
JM
486622012-02-15 Joseph Myers <joseph@codesourcery.com>
48663
48664 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48665 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48666 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48667 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48668 <bits/signalfd.h>.
48669 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48670 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48671 bits/signalfd.h.
48672
ed656b40
MP
486732012-02-14 Marek Polacek <polacek@redhat.com>
48674
48675 * sysdeps/x86_64/crti.S: New file.
48676 * sysdeps/x86_64/crtn.S: New file.
48677 * sysdeps/x86_64/elf/initfini.c: Remove file.
48678
2a979d3a
JM
486792012-02-13 Joseph Myers <joseph@codesourcery.com>
48680
48681 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48682 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48683 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48684 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48685 <bits/inotify.h>.
48686 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48687 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48688 bits/inotify.h.
48689
2a418ac3
JM
486902012-02-13 Joseph Myers <joseph@codesourcery.com>
48691
48692 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48693 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48694 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48695 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48696 <bits/eventfd.h>.
48697 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48698 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48699 bits/eventfd.h.
48700
fb779be7
TS
487012012-02-10 Thomas Schwinge <thomas@codesourcery.com>
48702
e19e83c5
RM
48703 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48704 __feraiseexcept instead of feraiseexcept.
7c35ffed 48705
fb779be7
TS
48706 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48707 nanosleep invocations.
48708 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48709 strings, and add error checking for a nanosleep invocations.
48710
59ba27a6
PE
487112012-02-09 Paul Eggert <eggert@cs.ucla.edu>
48712
48713 Replace FSF snail mail address with URLs, as per GNU coding standards.
48714 Most of the snail mail addresses were wrong anyway, and omitting
48715 them makes the source code easier to maintain. Almost all of the
48716 changes are to license notices and to locale LC_IDENTIFICATION
48717 addresses, except for this one:
48718 * manual/libc.texinfo: In "Published by", give the FSF's URL,
48719 not its snail mail address.
48720
57b957eb
RH
487212012-02-09 Richard Henderson <rth@twiddle.net>
48722
af850b1c
RH
48723 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48724 of kernel-features.h.
48725
57b957eb
RH
48726 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48727
6b73181a
MP
487282012-02-08 Marek Polacek <polacek@redhat.com>
48729
48730 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48731 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48732 * sysdeps/gnu/_G_config.h: Likewise.
48733 * sysdeps/generic/_G_config.h: Likewise.
48734
26ecc33a
AS
487352012-02-08 Andreas Schwab <schwab@linux-m68k.org>
48736
6c6dbc63
AS
48737 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48738 tests.
48739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48740
e216c012
AS
48741 * sysdeps/powerpc/powerpc32/crti.S: New file.
48742 * sysdeps/powerpc/powerpc32/crtn.S: New file.
48743 * sysdeps/powerpc/powerpc64/crti.S: New file.
48744 * sysdeps/powerpc/powerpc64/crtn.S: New file.
48745
26ecc33a
AS
48746 * Makeconfig (have-initfini): Don't set.
48747 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48748 * configure.in (nopic_initfini): Don't substitute.
48749 * config.h.in (HAVE_INITFINI): Don't #undef.
48750 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48751 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48752
3add8e13
JM
487532012-02-08 Joseph Myers <joseph@codesourcery.com>
48754
48755 Support crti.S and crtn.S provided directly by architectures.
48756 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48757 [crti.S in sysdirs] (omit-deps): Likewise.
48758 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48759 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48760 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48761 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48762 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48763 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48764 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48765 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48766 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48767 compiler output for sysdeps/generic/initfini.c.
48768 * sysdeps/i386/elf/Makefile: Remove file.
48769 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48770
a22f12b4
MP
487712012-02-07 Marek Polacek <polacek@redhat.com>
48772
48773 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48774 * sysdeps/gnu/_G_config.h: Likewise.
48775 * sysdeps/mach/hurd/_G_config.h: Likewise.
48776
148cf100
MP
487772012-02-07 Marek Polacek <polacek@redhat.com>
48778
48779 * math/Makefile (tests): Add tst-CMPLX2.
48780 * math/tst-CMPLX2.c: New file.
48781
cfdc0dd7
AS
487822012-02-07 Andreas Schwab <schwab@linux-m68k.org>
48783
84ba42c4
AS
48784 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48785
cfdc0dd7
AS
48786 * math/libm-test.inc (jn_test): Add missing L suffix.
48787
622c86f4
MP
487882012-02-06 Marek Polacek <polacek@redhat.com>
48789
48790 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48791 * sysdeps/i386/fpu/e_powf.S: Likewise.
48792 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48793 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48794 * sysdeps/i386/fpu/e_acosh.S: Likewise.
48795 * sysdeps/i386/fpu/e_pow.S: Likewise.
48796 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48797 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48798 * sysdeps/i386/fpu/s_expm1.S: Likewise.
48799 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48800 * sysdeps/i386/fpu/e_log2.S: Likewise.
48801 * sysdeps/i386/fpu/e_log2l.S: Likewise.
48802 * sysdeps/i386/fpu/e_scalb.S: Likewise.
48803 * sysdeps/i386/fpu/e_powl.S: Likewise.
48804 * sysdeps/i386/fpu/s_log1p.S: Likewise.
48805 * sysdeps/i386/fpu/e_log10f.S: Likewise.
48806 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48807 * sysdeps/i386/fpu/e_logl.S: Likewise.
48808 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48809 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48810 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48811 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48812 * sysdeps/i386/fpu/e_log2f.S: Likewise.
48813 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48814 * sysdeps/i386/fpu/e_log.S: Likewise.
48815 * sysdeps/i386/fpu/s_cexp.S: Likewise.
48816 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48817 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48818 * sysdeps/i386/fpu/e_logf.S: Likewise.
48819 * sysdeps/i386/fpu/e_log10l.S: Likewise.
48820 * sysdeps/i386/fpu/e_atanh.S: Likewise.
48821 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48822 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48823 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48824 * sysdeps/i386/fpu/e_log10.S: Likewise.
48825 * sysdeps/i386/fpu/s_frexp.S: Likewise.
48826 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48827 * sysdeps/i386/fpu/s_asinh.S: Likewise.
48828 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48829 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48830 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48831 * sysdeps/i386/asm-syntax.h: Likewise.
48832 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48833 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48834 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48835 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48836 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48837 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48838 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48839 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48840 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48841 * sysdeps/powerpc/sysdep.h: Likewise.
48842 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48843 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48844
d4a54ac6
JM
488452012-02-06 Joseph Myers <joseph@codesourcery.com>
48846
48847 [BZ #411]
48848 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48849
314054ea
JM
488502012-02-06 Joseph Myers <joseph@codesourcery.com>
48851
48852 * sysdeps/i386/sysdep.h: Include <features.h>.
48853 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48854 version.
48855
d8e0ca50
JM
488562012-02-05 Joseph Myers <joseph@codesourcery.com>
48857
48858 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48859 Define.
48860 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48861 LOAD_PIC_REG_STR.
48862
b1da7dd9
JM
488632012-02-03 Joseph Myers <joseph@codesourcery.com>
48864
48865 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48866 (SETUP_PIC_REG): Use GET_PC_THUNK.
48867 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48868 macro.
48869
9a1d9254
JM
488702012-02-03 Joseph Myers <joseph@codesourcery.com>
48871
48872 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48873 for non-PIC compilation.
48874 (SETUP_PIC_REG): Add .p2align directive.
48875 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48876 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48877 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48878 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48879 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48880 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48881 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48882 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48883 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48884 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48885 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48886 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48887 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48888 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48889 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48890 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48891 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48892 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48893 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48894 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48895 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48896 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48897 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48898 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48900 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48901 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48902 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48903 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48904 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48905 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48906 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48907 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48908 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48909 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48910 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48911 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48912 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48913 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48914 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48915 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48916
65dc3b75
JM
489172012-02-03 Joseph Myers <joseph@codesourcery.com>
48918
48919 * math/tst-CMPLX.c: Include <stdio.h>.
48920
d55bf177
JM
489212012-01-31 Joseph Myers <joseph@codesourcery.com>
48922
48923 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48924 float.
48925 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48926 * sysdeps/sparc/bits/mathdef.h: Likewise.
48927
69db4f8f
MP
489282012-01-31 Marek Polacek <polacek@redhat.com>
48929
48930 * libio/libio.h: Don't define _PARAMS.
48931 * locale/programs/config.h: Don't define PARAMS.
48932 * stdlib/strtol_l.c: Likewise.
48933 (__strtol_l): Remove PARAMS from the prototype.
48934
41b81892
UD
489352012-01-31 Ulrich Drepper <drepper@gmail.com>
48936
3b49edc0
UD
48937 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
48938 names. Just use the correct names. Remove unnecessary wrapper
48939 functions.
48940 * malloc/arena.c: Likewise.
48941 * malloc/hooks.c: Likewise.
48942
41b81892
UD
48943 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48944 ARENA_TEST says not to. Simplify test for creation of a new arena.
48945 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48946
27a25b6e
UD
489472012-01-30 Ulrich Drepper <drepper@gmail.com>
48948
48949 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48950 into tail calls.
48951 (update_get_addr): New function.
48952 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48953 GET_ADDR_MODULE parameter.
48954
c8a89e7d
JM
489552012-01-30 Joseph Myers <joseph@codesourcery.com>
48956
48957 * crypt/cert.c: Remove __STDC__ conditionals.
48958 * crypt/crypt-entry.c: Likewise.
48959 * crypt/crypt_util.c: Likewise.
48960 * libio/filedoalloc.c: Likewise.
48961 * libio/fileops.c: Likewise.
48962 * libio/genops.c: Likewise.
48963 * libio/iofclose.c: Likewise.
48964 * libio/iofdopen.c: Likewise.
48965 * libio/iofopen.c: Likewise.
48966 * libio/iofopen64.c: Likewise.
48967 * libio/iogetdelim.c: Likewise.
48968 * libio/iopopen.c: Likewise.
48969 * libio/obprintf.c: Likewise.
48970 * libio/oldfileops.c: Likewise.
48971 * libio/oldiofclose.c: Likewise.
48972 * libio/oldiofdopen.c: Likewise.
48973 * libio/oldiofopen.c: Likewise.
48974 * libio/oldiopopen.c: Likewise.
48975 * libio/wfiledoalloc.c: Likewise.
48976 * libio/wgenops.c: Likewise.
48977 * locale/programs/xmalloc.c: Likewise.
48978 * misc/syslog.c: Likewise.
48979 * stdio-common/xbug.c: Likewise.
48980 * string/memchr.c: Likewise.
48981 * string/memcmp.c: Likewise.
48982 * string/memrchr.c: Likewise.
48983 * string/rawmemchr.c: Likewise.
48984 * sysdeps/posix/getcwd.c: Likewise.
48985 * time/strftime_l.c: Likewise.
48986
3b100462
JM
489872012-01-30 Joseph Myers <joseph@codesourcery.com>
48988
48989 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
48990 * config.make.in (config-cflags-sse2avx): Define.
48991 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48992 Fix typo.
48993
607998af
CM
489942012-01-29 Chris Metcalf <cmetcalf@tilera.com>
48995
48996 * scripts/config.guess: Update from upstream config git repository.
48997 * scripts/config.sub: Likewise.
48998
3601428f
CM
489992012-01-28 Chris Metcalf <cmetcalf@tilera.com>
49000
3ac8b282
CM
49001 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49002 (EM_NUM): Update.
49003 (R_TILEPRO_*, R_TILEGX_*): New macros.
49004
e034841e
CM
49005 * scripts/firstversions.awk: Fix bug in version range handling.
49006
540d7568
CM
49007 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49008
3601428f
CM
49009 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49010
463de862
CM
49011 * include/sys/epoll.h: New file.
49012 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49013 libc_hidden_def.
49014
73139a76
UD
490152012-01-28 Ulrich Drepper <drepper@gmail.com>
49016
96bc5b45
UD
49017 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49018 Avoid unnecessary __WORDSIZE == 64 test.
49019 (fmaxf): Use VEX format if possible.
49020 (fmax): Likewise.
49021 (fminf): Likewise.
49022 (fmin): Likewise.
49023
56f6f6a2
UD
49024 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49025 * math/math_private.h: Remove libc_fegetround* and
49026 libc_fesetround*.
49027 * sysdeps/i386/configure.in: Check for -msse2avx.
49028 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49029 also if SSE2AVX is defined.
49030 Remove libc_fegetround* and libc_fesetround*.
49031 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49032 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
49033 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49034 of HAS_YMM_USABLE.
49035 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49036 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49037 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49038 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49039 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49040
73139a76
UD
49041 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49042
d73f93a4
AZ
490432012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49044
49045 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49046 size is not set.
49047 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49048
6ee65ed6
UD
490492012-01-27 Ulrich Drepper <drepper@gmail.com>
49050
49051 [BZ #13618]
49052 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49053 relocation.
49054 * Makeconfig (libm): Define.
49055 * elf/Makefile: Add rules to build and run tst-relsort1.
49056 * elf/tst-relsort1.c: New file.
49057 * elf/tst-relsort1mod1.c: New file.
49058 * elf/tst-relsort1mod2.c: New file.
49059
8db21882
JM
490602012-01-27 Joseph Myers <joseph@codesourcery.com>
49061
49062 * math/s_ldexp.c: Remove __STDC__ conditionals.
49063 * math/s_ldexpf.c: Likewise.
49064 * math/s_ldexpl.c: Likewise.
49065 * math/s_nextafter.c: Likewise.
49066 * math/s_nexttowardf.c: Likewise.
49067 * math/s_significand.c: Likewise.
49068 * math/s_significandf.c: Likewise.
49069 * math/s_significandl.c: Likewise.
49070 * math/w_jnl.c: Likewise.
49071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49077 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49080 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49081 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49082 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49083 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49084 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49086 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49087 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49088 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49089 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49090 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49091 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49092 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49093 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49094 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49095 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49096 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49097 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49098 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49099 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49100 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49101 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49102 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49103 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49104 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49105 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49106 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49107 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49108 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49109 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49110 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49111 * sysdeps/ieee754/k_standard.c: Likewise.
49112 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49113 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49114 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49115 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49116 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49117 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49118 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49119 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49120 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49121 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49122 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49124 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49125 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49126 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49127 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49128 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49129 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49130 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49131 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49132 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49133 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49134 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49135 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49136 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49137 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49138 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49140 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49141 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49142 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49143 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49144 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49145 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49146 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49147 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49148 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49149 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49150 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49151 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49152 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49153 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49154 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49155 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49156 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49157 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49158 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49159 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49160 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49161 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49162 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49163 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49164 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49165 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49166 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49167 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49168 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49169 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49170 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49172 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49173 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49174 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49175 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49176 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49177 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49178 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49179 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49180 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49181 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49182 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49183 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49184 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49185 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49186 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49187 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49188 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49189 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49190 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49191 * sysdeps/ieee754/s_matherr.c: Likewise.
49192 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49193 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49195 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49196
965a54a4
JM
491972012-01-26 Joseph Myers <joseph@codesourcery.com>
49198
49199 * crypt/md5.h: Remove __STDC__ conditionals.
49200 * libio/libioP.h: Likewise.
49201 * locale/programs/config.h: Likewise.
49202 * sysdeps/generic/sysdep.h: Likewise.
49203 * sysdeps/i386/asm-syntax.h: Likewise.
49204 * sysdeps/s390/asm-syntax.h: Likewise.
49205 * sysdeps/unix/sysdep.h: Likewise.
49206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49208
7071ad79
JM
492092012-01-26 Joseph Myers <joseph@codesourcery.com>
49210
49211 * libio/libio.h: Remove __STDC__ conditionals.
49212 * malloc/obstack.h: Likewise.
49213 * math/complex.h: Likewise.
49214 * math/math.h: Likewise.
49215 * sysdeps/generic/_G_config.h: Likewise.
49216 * sysdeps/gnu/_G_config.h: Likewise.
49217 * sysdeps/mach/hurd/_G_config.h: Likewise.
49218 * sysdeps/powerpc/bits/mathdef.h: Likewise.
49219 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49220 * sysdeps/sparc/bits/mathdef.h: Likewise.
49221
afc5ed09
UD
492222012-01-26 Ulrich Drepper <drepper@gmail.com>
49223
49224 [BZ #13583]
49225 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 49226 Clean up HAS_* macros.
afc5ed09 49227 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
49228 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49229 possible.
49230 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49231 HAS_AVX.
49232 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49233 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49234 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49235 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49236 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 49237
bdb6de1d
JM
492382012-01-25 Joseph Myers <joseph@codesourcery.com>
49239
49240 * elf/tst-unique3.cc (gets): Remove declaration.
49241 * elf/tst-unique3lib.cc (gets): Likewise.
49242 * elf/tst-unique3lib2.cc (gets): Likewise.
49243 * elf/tst-unique4.cc (gets): Likewise.
49244
b15549e6
UD
492452012-01-24 Ulrich Drepper <drepper@gmail.com>
49246
49247 * include/stdio.h: Add C++ protection. Add gets declarations and
49248 definitions.
49249 * debug/tst-chk1.c: Don't declare gets here.
49250 * stdio-common/tst-gets.c: Likewise.
49251
a037381f
JM
492522012-01-24 Joseph Myers <joseph@codesourcery.com>
49253
49254 * posix/glob: Remove directory.
49255
f1d4aa75
JM
492562012-01-24 Joseph Myers <joseph@codesourcery.com>
49257
49258 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49259
81c0c964
PT
492602012-01-22 Pino Toscano <toscano.pino@tiscali.it>
49261
49262 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49263 of the non-standard EPFNOSUPPORT.
49264
0ea698ae
ST
492652011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
49266
49267 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49268 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49269 ANYWHERE set to 1 only on KERN_NO_SPACE error.
49270
d220b117
UD
492712012-01-21 Ulrich Drepper <drepper@gmail.com>
49272
49273 * wcsmbs/uchar.h: Test __STDC_VERSION__.
49274
3e1aa84e
UD
492752012-01-20 Ulrich Drepper <drepper@gmail.com>
49276
49277 * nscd/aicache.c (addhstaiX): Do not cache negative results of
49278 transient errors.
49279 * nscd/grpcache.c (cache_addgr): Likewise.
49280 * nscd/hstcache.c (cache_addhst): Likewise.
49281 * nscd/initgrcache.c (addinitgroupsX): Likewise.
49282 * nscd/pwdcache.c (cache_addpw): Likewise.
49283 * nscd/servicescache.c (cache_addserv): Likewise.
49284
400aa020
UD
492852012-01-16 Ulrich Drepper <drepper@gmail.com>
49286
d77e7869
UD
49287 * malloc/malloc.c: Various cleanups.
49288 * malloc/hooks.c: Likewise.
49289
400aa020
UD
49290 * stdlib/Makefile (tests): Add bug-fmtmsg1.
49291 * stdlib/bug-fmtmsg1.c: New file.
49292
49293 * stdlib/fmtmsg.c (init): Add missing unlock.
49294 Patch by Peng Haitao <penght@cn.fujitsu.com>.
49295
e0a309cf
MP
492962012-01-12 Marek Polacek <polacek@redhat.com>
49297
49298 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49299 and _GNU_SOURCE.
49300
929d11c7
WS
493012012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
49302
49303 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49304 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49305 macro to ensure uniqueness of label name.
49306 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49307 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49308
41d0e869
UD
493092012-01-11 Ulrich Drepper <drepper@gmail.com>
49310
0cc5ed3b
UD
49311 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49312
41d0e869
UD
49313 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49314 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49315 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49317
a47a831a
UD
493182012-01-10 Ulrich Drepper <drepper@gmail.com>
49319
daa891c0
UD
49320 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49321
49322 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49323 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49324 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49325
e58ef0f2
UD
49326 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49327
a47a831a 49328 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
49329 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49330 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 49331 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
49332
49333 * math/bits/math-finite.h: Add ldexp support.
49334
a0bfc9c7
MP
493352012-01-10 Marek Polacek <polacek@redhat.com>
49336
49337 * locale/programs/localedef.h (show_archive_content): Add noreturn
49338 attribute.
49339
d6e97a1d
UD
493402012-01-09 Ulrich Drepper <drepper@gmail.com>
49341
49342 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49343
d5835c26
UD
493442012-01-08 Ulrich Drepper <drepper@gmail.com>
49345
e5f484c6
UD
49346 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49347
d5835c26
UD
49348 * io/Makefile (headers): Add bits/poll2.h.
49349
d1f741e9
WS
493502011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
49351
49352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49353 typo #include statement.
49354
ec09c1c4
UD
493552012-01-08 Ulrich Drepper <drepper@gmail.com>
49356
49357 * include/sys/cdefs.h: Define __attribute_alloc_size.
49358 * catgets/gencat.c: Add alloc_size attribute and apply consistently
49359 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49360 * elf/pldd.c: Likewise.
49361 * iconv/iconv_charmap.c: Likewise.
49362 * iconv/iconvconfig.c: Likewise.
49363 * iconv/strtab.c: Likewise.
49364 * locale/programs/locale.c: Likewise.
49365 * locale/programs/localedef.h: Likewise.
49366 * locale/programs/simple-hash.c: Likewise.
49367 * nscd/nscd.h: Likewise.
49368 * nss/makedb.c: Likewise.
49369 * sysdeps/generic/ldconfig.h: Likewise.
49370 * locale/programs/localedef.c: Remove xmalloc prototype.
49371 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49372
20b38e03
PP
493732012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
49374
49375 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49376 appropriate.
49377
a0da5fe1
UD
493782012-01-08 Ulrich Drepper <drepper@gmail.com>
49379
1d5a644a 49380 * math/Makefile (tests): Add tst-CMPLX.
669704fd 49381 * math/tst-CMPLX.c: New file.
1d5a644a 49382
8784a6db
UD
49383 * math/complex.h (CMPLXL): Fix typo.
49384
d9a216c0
UD
49385 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49386 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49387 GLIBC_2.16.
49388 * debug/tst-chk1.c: Add poll and ppoll tests.
49389 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49390 * include/sys/poll.h: Add hidden proto for ppoll.
49391 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49392 * sysdeps/mach/hurd/ppoll.c: Likewise.
49393 * io/ppoll.c: Likewise.
49394 * debug/poll_chk.c: New file.
49395 * debug/ppoll_chk.c: New file.
49396 * include/bits/poll2.h: New file.
49397 * io/bits/poll2.h: New file.
49398
ac097f5c
UD
49399 [BZ #1350]
49400 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49401
2119dcfa
UD
49402 * configure.in: static is always set to yes. Remove.
49403 * config.make.in: Don't set build-static.
49404 * Makeconfig: Remove use of build-static.
49405 * dlfcn/Makefile: Likewise.
49406 * elf/Makefile: Likewise.
49407 * math/Makefile: Likewise.
49408 * misc/Makefile: Likewise.
49409 * nptl/Makefile: Likewise.
49410 * sysdeps/mach/hurd/Makefile: Likewise.
49411
121766a9
UD
49412 * configure.in: PWD_P is not used anymore.
49413 * config.make.in: Remove PWD_P entry.
49414
51a1d39c 49415 * configure.in: Remove last remnants of RANLIB.
8720d066 49416 No need to check for signed size_t anymore.
215f4bdc
UD
49417 Don't set libc_commonpagesize and libc_relro_required here for Alpha
49418 and IA-64.
3857022a 49419 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
49420 * aclocal.m4: Likewise.
49421
d3ed7225
UD
49422 * wcsmbs/mbrtoc16.c: Implement using towc function.
49423 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49424 * wcsmbs/wcsmbsload.c: Likewise.
49425 * iconv/gconv_simple.c: Likewise.
49426 * iconv/gconv_int.h: Likewise.
49427 * iconv/gconv_builtin.h: Likewise.
49428 * iconv/iconv_prog.c: Remove CHAR16 handling.
49429
49430 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49431
49432 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49433
a0da5fe1
UD
49434 * configure.in: Remove --with-elf and --enable-bounded options.
49435 Dont set base_machine for ia64. More non-ELF conditions removed.
49436 Remove testing and setting of leading underscore information.
49437 * config.make.in (build-bounded): Set to no.
49438 * config.h.in: Remove NO_UNDERSCORES entry.
49439 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
49440 them.
49441 * csu/start.c: Remove !NO_UNDERSCORE code.
49442 * locale/localeinfo.h: Likewise.
49443 * sysdeps/generic/machine-gmon.h: Likewise.
49444 * sysdeps/generic/sysdep.h: Likewise.
49445 * sysdeps/i386/sysdep.h: Likewise.
49446 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49447 * sysdeps/mach/sysdep.h: Likewise.
49448 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49449 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49450 * sysdeps/sh/sysdep.h: Likewise.
49451 * sysdeps/sparc/sparc32/alloca.S: Likewise.
49452 * sysdeps/unix/i386/sysdep.S: Likewise.
49453 * sysdeps/unix/sparc/start.c: Likewise.
49454 * sysdeps/unix/sparc/sysdep.S: Likewise.
49455 * sysdeps/unix/sparc/sysdep.h: Likewise.
49456 * sysdeps/unix/start.c: Likewise.
49457 * sysdeps/unix/x86_64/sysdep.S: Likewise.
49458 * sysdeps/x86_64/sysdep.h: Likewise.
49459
df78418a
UD
494602012-01-07 Ulrich Drepper <drepper@gmail.com>
49461
a784e502
UD
49462 [BZ #13553]
49463 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49464 for non-gcc.
49465 * argp/argp-fmtstream.h: Use const instead __const.
49466 * argp/argp.h: Likewise.
49467 * assert/assert.h: Likewise.
49468 * bits/fenv.h: Likewise.
49469 * bits/sched.h: Likewise.
49470 * bits/sigset.h: Likewise.
49471 * bits/sigthread.h: Likewise.
49472 * catgets/nl_types.h: Likewise.
49473 * conform/data/pthread.h-data: Likewise.
49474 * crypt/crypt-private.h: Likewise.
49475 * crypt/crypt.h: Likewise.
49476 * crypt/crypt_util.c: Likewise.
49477 * ctype/ctype.h: Likewise.
49478 * debug/execinfo.h: Likewise.
49479 * debug/mbsnrtowcs_chk.c: Likewise.
49480 * debug/mbsrtowcs_chk.c: Likewise.
49481 * debug/wcsnrtombs_chk.c: Likewise.
49482 * debug/wcsrtombs_chk.c: Likewise.
49483 * debug/wcstombs_chk.c: Likewise.
49484 * dirent/dirent.h: Likewise.
49485 * dlfcn/dlfcn.h: Likewise.
49486 * elf/neededtest4.c: Likewise.
49487 * grp/grp.h: Likewise.
49488 * gshadow/gshadow.h: Likewise.
49489 * iconv/gconv.h: Likewise.
49490 * iconv/gconv_int.h: Likewise.
49491 * iconv/gconv_simple.c: Likewise.
49492 * iconv/iconv.h: Likewise.
49493 * iconv/loop.c: Likewise.
49494 * iconv/skeleton.c: Likewise.
49495 * include/aio.h: Likewise.
49496 * include/aliases.h: Likewise.
49497 * include/argz.h: Likewise.
49498 * include/arpa/inet.h: Likewise.
49499 * include/assert.h: Likewise.
49500 * include/dirent.h: Likewise.
49501 * include/dlfcn.h: Likewise.
49502 * include/execinfo.h: Likewise.
49503 * include/fcntl.h: Likewise.
49504 * include/fenv.h: Likewise.
49505 * include/glob.h: Likewise.
49506 * include/grp.h: Likewise.
49507 * include/libintl.h: Likewise.
49508 * include/mntent.h: Likewise.
49509 * include/netdb.h: Likewise.
49510 * include/pwd.h: Likewise.
49511 * include/rpc/netdb.h: Likewise.
49512 * include/sched.h: Likewise.
49513 * include/search.h: Likewise.
49514 * include/shadow.h: Likewise.
49515 * include/signal.h: Likewise.
49516 * include/stdio.h: Likewise.
49517 * include/stdlib.h: Likewise.
49518 * include/string.h: Likewise.
49519 * include/sys/socket.h: Likewise.
49520 * include/sys/stat.h: Likewise.
49521 * include/sys/statfs.h: Likewise.
49522 * include/sys/statvfs.h: Likewise.
49523 * include/sys/syslog.h: Likewise.
49524 * include/sys/time.h: Likewise.
49525 * include/sys/uio.h: Likewise.
49526 * include/time.h: Likewise.
49527 * include/unistd.h: Likewise.
49528 * include/utmp.h: Likewise.
49529 * include/wchar.h: Likewise.
49530 * include/wctype.h: Likewise.
49531 * inet/aliases.h: Likewise.
49532 * inet/arpa/inet.h: Likewise.
49533 * inet/netinet/ether.h: Likewise.
49534 * inet/netinet/in.h: Likewise.
49535 * intl/libintl.h: Likewise.
49536 * io/bits/fcntl2.h: Likewise.
49537 * io/fcntl.h: Likewise.
49538 * io/ftw.h: Likewise.
49539 * io/sys/poll.h: Likewise.
49540 * io/sys/stat.h: Likewise.
49541 * io/sys/statfs.h: Likewise.
49542 * io/sys/statvfs.h: Likewise.
49543 * io/utime.h: Likewise.
49544 * libio/bits/stdio.h: Likewise.
49545 * libio/bits/stdio2.h: Likewise.
49546 * libio/libio.h: Likewise.
49547 * libio/libioP.h: Likewise.
49548 * libio/stdio.h: Likewise.
49549 * locale/lc-ctype.c: Likewise.
49550 * locale/locale.h: Likewise.
49551 * login/utmp.h: Likewise.
49552 * malloc/arena.c: Likewise.
49553 * malloc/malloc.c: Likewise.
49554 * malloc/malloc.h: Likewise.
49555 * malloc/mcheck.c: Likewise.
49556 * malloc/mtrace.c: Likewise.
49557 * math/bits/mathcalls.h: Likewise.
49558 * math/fenv.h: Likewise.
49559 * math/math_private.h: Likewise.
49560 * misc/bits/error.h: Likewise.
49561 * misc/bits/syslog.h: Likewise.
49562 * misc/err.h: Likewise.
49563 * misc/error.h: Likewise.
49564 * misc/fstab.h: Likewise.
49565 * misc/mntent.h: Likewise.
49566 * misc/regexp.h: Likewise.
49567 * misc/search.h: Likewise.
49568 * misc/sgtty.h: Likewise.
49569 * misc/sys/mman.h: Likewise.
49570 * misc/sys/syslog.h: Likewise.
49571 * misc/sys/uio.h: Likewise.
49572 * misc/sys/xattr.h: Likewise.
49573 * misc/ttyent.h: Likewise.
49574 * nis/rpcsvc/ypclnt.h: Likewise.
49575 * nss/nss.h: Likewise.
49576 * posix/bits/unistd.h: Likewise.
49577 * posix/fnmatch.h: Likewise.
49578 * posix/glob.h: Likewise.
49579 * posix/sched.h: Likewise.
49580 * posix/spawn.h: Likewise.
49581 * posix/sys/wait.h: Likewise.
49582 * posix/unistd.h: Likewise.
49583 * posix/wordexp.h: Likewise.
49584 * pwd/pwd.h: Likewise.
49585 * resolv/netdb.h: Likewise.
49586 * resource/sys/resource.h: Likewise.
49587 * rt/aio.h: Likewise.
49588 * rt/bits/mqueue2.h: Likewise.
49589 * rt/mqueue.h: Likewise.
49590 * shadow/shadow.h: Likewise.
49591 * signal/signal.h: Likewise.
49592 * socket/send.c: Likewise.
49593 * socket/sendto.c: Likewise.
49594 * socket/sys/socket.h: Likewise.
49595 * stdio-common/printf.h: Likewise.
49596 * stdlib/bits/stdlib.h: Likewise.
49597 * stdlib/fmtmsg.h: Likewise.
49598 * stdlib/monetary.h: Likewise.
49599 * stdlib/stdlib.h: Likewise.
49600 * stdlib/ucontext.h: Likewise.
49601 * streams/stropts.h: Likewise.
49602 * string/argz.h: Likewise.
49603 * string/bits/string2.h: Likewise.
49604 * string/string.h: Likewise.
49605 * string/strings.h: Likewise.
49606 * sunrpc/rpc/auth.h: Likewise.
49607 * sunrpc/rpc/auth_des.h: Likewise.
49608 * sunrpc/rpc/clnt.h: Likewise.
49609 * sunrpc/rpc/netdb.h: Likewise.
49610 * sunrpc/rpc/pmap_clnt.h: Likewise.
49611 * sunrpc/rpc/xdr.h: Likewise.
49612 * sysdeps/generic/inttypes.h: Likewise.
49613 * sysdeps/generic/net/if.h: Likewise.
49614 * sysdeps/generic/sys/swap.h: Likewise.
49615 * sysdeps/gnu/net/if.h: Likewise.
49616 * sysdeps/gnu/utmpx.h: Likewise.
49617 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49618 * sysdeps/i386/i486/bits/string.h: Likewise.
49619 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49620 * sysdeps/s390/bits/string.h: Likewise.
49621 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49622 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49623 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49624 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49625 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49626 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49627 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49628 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49629 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49630 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49631 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49632 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49633 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49634 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49635 * sysdeps/unix/sysv/linux/readv.c: Likewise.
49636 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49637 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49638 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49639 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49641 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49642 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49643 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49644 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49645 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49646 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49647 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49648 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49649 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49650 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49651 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49652 * sysvipc/sys/ipc.h: Likewise.
49653 * sysvipc/sys/msg.h: Likewise.
49654 * sysvipc/sys/sem.h: Likewise.
49655 * sysvipc/sys/shm.h: Likewise.
49656 * termios/termios.h: Likewise.
49657 * time/sys/time.h: Likewise.
49658 * time/time.h: Likewise.
49659 * wcsmbs/bits/wchar2.h: Likewise.
49660 * wcsmbs/uchar.h: Likewise.
49661 * wcsmbs/wchar.h: Likewise.
49662 * wctype/wctype.h: Likewise.
49663
0269750c
UD
49664 [BZ #13551]
49665 * Makeconfig: Remove all but ELF support including AIX support.
49666 * Makerules: Likewise.
49667 * config.h.in: Likewise.
49668 * config.make.in: Likewise.
49669 * configure: Likewise.
49670 * configure.in: Likewise.
49671 * csu/Makefile: Likewise.
49672 * csu/version.c: Likewise.
49673 * debug/Makefile: Likewise.
49674 * dlfcn/Makefile: Likewise.
49675 * elf/Makefile: Likewise.
49676 * extra-lib.mk: Likewise.
49677 * iconv/Makefile: Likewise.
49678 * include/libc-symbols.h: Likewise.
49679 * include/shlib-compat.h: Likewise.
49680 * resolv/Makefile: Likewise.
49681 * resolv/res_libc.c: Likewise.
49682 * rt/Makefile: Likewise.
49683 * sysdeps/i386/asm-syntax.h: Likewise.
49684 * sysdeps/i386/sysdep.h: Likewise.
49685 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49686 * sysdeps/mach/sysdep.h: Likewise.
49687 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49688 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49689 * sysdeps/s390/asm-syntax.h: Likewise.
49690 * sysdeps/s390/s390-32/sysdep.h: Likewise.
49691 * sysdeps/s390/s390-64/sysdep.h: Likewise.
49692 * sysdeps/sh/sysdep.h: Likewise.
49693 * sysdeps/unix/sparc/sysdep.h: Likewise.
49694 * sysdeps/wordsize-32/divdi3.c: Likewise.
49695 * sysdeps/x86_64/sysdep.h: Likewise.
49696
00bbd29b
UD
49697 * argp/Versions: Remove _argp_unlock_xxx.
49698
49699 [BZ #13559]
49700 * abilist/ld.abilist: Update. Adjust for removal of tls option.
49701 * abilist/libBrokenLocale.abilist: Likewise.
49702 * abilist/libanl.abilist: Likewise.
49703 * abilist/libc.abilist: Likewise.
49704 * abilist/libcrypt.abilist: Likewise.
49705 * abilist/libdl.abilist: Likewise.
49706 * abilist/libm.abilist: Likewise.
49707 * abilist/libnsl.abilist: Likewise.
49708 * abilist/libpthread.abilist: Likewise.
49709 * abilist/libresolv.abilist: Likewise.
49710 * abilist/librt.abilist: Likewise.
49711 * abilist/libthread_db.abilist: Likewise.
49712 * abilist/libutil.abilist: Likewise.
49713 * abilist/libnss_db.abilist: New file.
49714
49715 * scripts/abilist.awk: Add support for indirect functions.
49716
a2693a0e
UD
49717 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49718
3f05895f
UD
49719 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49720
ecb6fb48
UD
49721 * shlib-versions: Remove entries for ports architectures.
49722
664f8cb9
UD
49723 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
49724 files in ports.
49725 * elf/stackguard-macros.h: Remove support for IA-64.
49726 * elf/tst-auditmod1.c: Likewise.
49727 * sysdeps/generic/ldsodefs.h: Likewise.
49728
7ae81d88
UD
49729 * sysdeps/unix/sysv/linux/configure.in: Ports should define
49730 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49731 configure files.
49732
bdeba135
UD
49733 [BZ #13552]
49734 * configure.in: Remove --enable-omitfp support.
49735 * FAQ.in: Adjust.
49736 * config.make.in: Likewise.
49737 * Makeconfig: Likewise.
49738 * manual/install.texi: Likewise.
49739
d75a0a62
UD
49740 In case anyone cares, the IA-64 architecture could move to ports.
49741 * sysdeps/ia64/*: Removed.
49742 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 49743 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 49744
dcc9756b
UD
49745 [BZ #13555]
49746 * configure.in: Remove entries for unsupported architectures.
49747
d3761ebc 49748 [BZ #13533]
9954432e
UD
49749 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49750 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
49751 routines.
49752 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49753 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49754 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
49755 fall back to using wcrtomb.
49756 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49757 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
49758 renaming.
49759 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49760 * wcsmbs/tst-c16c32-1.c: New file.
49761
49762 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49763 local variable.
49764
c3a87236
UD
49765 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49766
28926a1b
UD
49767 * elf/tst-unique3.cc: Add explicit declaration of gets.
49768 * elf/tst-unique3lib.cc: Likewise.
49769 * elf/tst-unique3lib2.cc: Likewise.
49770 * elf/tst-unique4.cc: Likewise.
49771
df78418a
UD
49772 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49773
8ecd6b2a
JM
497742012-01-06 Joseph Myers <joseph@codesourcery.com>
49775
49776 [BZ #13566]
49777 * assert/assert.h (static_assert): Don't define for C++.
49778 * libio/stdio.h (gets): Do declare for C++ <= C++11.
49779 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49780
9f115170
UD
497812012-01-03 Ulrich Drepper <drepper@gmail.com>
49782
5e0d0300
UD
49783 * iconv/loop.c (single loop): Fix assertion in storing of
49784 remaining bytes.
49785
9f115170
UD
49786 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49787
81fb02b0
UD
497882012-01-01 Ulrich Drepper <drepper@gmail.com>
49789
49790 * posix/getconf.c: Update copyright year.
49791 * nss/getent.c: Likewise.
a316c1f6 49792 * nss/makedb.c: Likewise.
81fb02b0
UD
49793 * iconv/iconvconfig.c: Likewise.
49794 * iconv/iconv_prog.c: Likewise.
49795 * elf/ldconfig.c: Likewise.
a316c1f6
UD
49796 * elf/pldd.c: Likewise.
49797 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
49798 * catgets/gencat.c: Likewise.
49799 * csu/version.c: Likewise.
49800 * elf/ldd.bash.in: Likewise.
49801 * elf/sprof.c (print_version): Likewise.
49802 * locale/programs/locale.c: Likewise.
49803 * locale/programs/localedef.c: Likewise.
a316c1f6 49804 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
49805 * nscd/nscd.c (print_version): Likewise.
49806 * debug/xtrace.sh: Likewise.
49807 * malloc/memusage.sh: Likewise.
49808 * malloc/mtrace.pl: Likewise.
49809 * debug/catchsegv.sh: Likewise.
49810
2ba92745
JJ
498112011-12-30 Jakub Jelinek <jakub@redhat.com>
49812
49813 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49814 pure attribute.
49815
dadebdae
UD
498162011-12-24 Ulrich Drepper <drepper@gmail.com>
49817
d3761ebc 49818 [BZ #13533]
db6af3eb
UD
49819 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49820 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49821 transformations.
49822 * iconv/gconv_int.h: Likewise.
49823 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49824 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49825 from libc for GLIBC_2.16.
49826 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49827 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49828 * wcsmbs/uchar.h: Really define mbstate_t.
49829 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49830 * wcsmbs/c16rtomb.c: New file.
49831 * wcsmbs/mbrtoc16.c: New file.
49832 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49833 for C/POSIX locale.
49834 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49835 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49836
dadebdae
UD
49837 * wcsmbs/wchar.h: Add missing __restrict.
49838
67371b56
UD
498392011-12-23 Ulrich Drepper <drepper@gmail.com>
49840
74033a25
UD
49841 [BZ #13532]
49842 * time/Makefile (routines): Add timespec_get.
49843 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49844 * time/time.h: Define TIME_UTC and declare timespec_get. Define
49845 timespec for ISO C11.
49846 * time/timespec_get.c: New file.
49847 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49848 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49849
380d7e87
UD
49850 [BZ #13531]
49851 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49852 * stdlib/stdlib.h: Declare aligned_alloc.
49853 * Versions.def: Add GLIBC_2.16 for libc.
49854 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49855
4e9e7a35
UD
49856 [BZ 13527]
49857 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49858 ISO C11.
49859
380d7e87 49860 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
49861 code.
49862
03a71829
UD
49863 [BZ #13528]
49864 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49865
839e283e
UD
49866 [BZ #13529]
49867 * assert/assert.h (static_assert): Define.
49868
ce5294e2 49869 * version.h: Update for 2.16 development version.
90fa7312 49870
8d44e150 49871 [BZ #13526]
d7809905
UD
49872 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49873 _ISOC11_SOURCE.
49874
c0da14cd
UD
49875 * version.h (RELEASE): Bump for 2.15 release.
49876 * include/features.h (__GLIBC_MINOR__): Bump to 15.
49877
530a3249
MP
49878 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49879 Patch by Marek Polacek <mpolacek@redhat.com>.
49880
67371b56
UD
49881 * bits/byteswap.h: Protect long long constants with __extension__.
49882 * sysdeps/i386/bits/byteswap.h: Likewise.
49883 * sysdeps/ia64/bits/byteswap.h: Likewise.
49884 * sysdeps/s390/bits/byteswap.h: Likewise.
49885 * sysdeps/x86_64/bits/byteswap.h: Likewise.
49886
15db4de1
LD
498872011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49888
49889 [BZ #13540]
bbe315ea
LD
49890 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49891 destination buffer.
15db4de1
LD
49892 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49893
2b2596b1
MP
498942011-12-23 Marek Polacek <polacek@redhat.com>
49895
49896 * elf/dl-addr.c (determine_info): Add inline keyword.
49897 * elf/tst-auditmod4b.c (check_avx): Likewise.
49898 * elf/tst-auditmod6b.c (check_avx): Likewise.
49899 * elf/tst-auditmod6c.c (check_avx): Likewise.
49900 * elf/tst-auditmod7b.c (check_avx): Likewise.
49901
70c6c246
UD
499022011-12-23 Ulrich Drepper <drepper@gmail.com>
49903
49904 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49905 !__SSE_MATH__.
49906
c044cf14
LD
499072011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49908
15db4de1 49909 [BZ #13540]
c044cf14
LD
49910 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49911 processing for last bytes.
49912
6b13d9d9
BH
499132011-08-06 Bruno Haible <bruno@clisp.org>
49914
d455f537
BH
49915 [BZ #13061]
49916 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49917 U+0385, not to U+1FEE.
49918
6b13d9d9
BH
49919 [BZ #13062]
49920 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49921 entry for U+00A5 U+0301.
49922
db910efd
UD
499232011-12-22 Ulrich Drepper <drepper@gmail.com>
49924
27deeafc
UD
49925 [BZ #13166]
49926 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49927 buffer for the output is too small.
49928
aed9d171
UD
49929 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49930 optimization.
49931
db910efd
UD
49932 [BZ #13185]
49933 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49934 SSE flags if possible.
49935
2bd779ae
LD
499362011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49937
e7f9dac3 49938 [BZ #13540]
2bd779ae
LD
49939 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49940 processing for last bytes.
49941
154bfc16
JM
499422011-12-22 Joseph Myers <joseph@codesourcery.com>
49943
49944 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49945 (syscall-list-default-options, syscall-list-default-condition)
49946 (syscall-list-includes): Define.
49947 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49948 list of ABIs and options and #if conditions for each ABI. Do not
49949 handle common syscalls between ABIs specially.
49950 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49951 Remove.
49952 (syscall-list-variants, syscall-list-32bit-options)
49953 (syscall-list-32bit-condition, syscall-list-64bit-options)
49954 (syscall-list-64bit-condition): Define.
49955 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49956 (syscall-list-variants, syscall-list-32bit-options)
49957 (syscall-list-32bit-condition, syscall-list-64bit-options)
49958 (syscall-list-64bit-condition): Define.
49959 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49960 Remove.
49961 (syscall-list-variants, syscall-list-32bit-options)
49962 (syscall-list-32bit-condition, syscall-list-64bit-options)
49963 (syscall-list-64bit-condition): Define.
49964 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49965 Remove.
49966 (syscall-list-variants, syscall-list-32bit-options)
49967 (syscall-list-32bit-condition, syscall-list-64bit-options)
49968 (syscall-list-64bit-condition): Define.
49969
21eaf3a5
UD
499702011-12-22 Ulrich Drepper <drepper@gmail.com>
49971
16c6f992
UD
49972 * locale/iso-639.def: Add brx entry.
49973
41043168
UD
49974 [BZ #13328]
49975 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49976 Proposed by Mariusz_Cukr <marcukr@op.pl>.
49977
21eaf3a5
UD
49978 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49979 __feraiseexcept_renamed.
49980
e3a851a2
UD
499812011-12-21 Ulrich Drepper <drepper@gmail.com>
49982
4920765e
UD
49983 [BZ #13538]
49984 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49985 EPOLLET with unsigned values.
49986 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49987 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49988
e3a851a2
UD
49989 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49990 to large cancellation.
49991 * math/s_cacoshf.c: Likewise.
49992 * math/s_cacoshl.c: Likewise.
49993
b27e24b8
RK
499942011-11-18 Richard B. Kreckel <kreckel@ginac.de>
49995
49996 [BZ #13305]
aebefeee 49997 [BZ #12786]
b27e24b8
RK
49998 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49999 * math/s_cacoshf.c: Likewise.
50000 * math/s_cacoshl.c: Likewise.
50001
ee190f67
UD
500022011-12-21 Ulrich Drepper <drepper@gmail.com>
50003
50004 [BZ #13439]
50005 * iconv/gconv.h: Define __GCONV_SWAP.
50006 * iconvdata/unicode.c: The swap bit must be stored in __flags.
50007 * iconvdata/utf-16.c: Likewise.
50008 * iconvdata/utf-32.c: Likewise.
50009
707f25df
AS
500102011-12-21 Andreas Schwab <schwab@linux-m68k.org>
50011
50012 [BZ #13524]
50013 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50014 numerator after shifting it by one limb.
50015
d2daaa1e
RÁE
500162011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
50017
50018 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50019 under [__USE_EXTERN_INLINES].
50020
a4647e72
UD
500212011-12-17 Ulrich Drepper <drepper@gmail.com>
50022
50023 [BZ #13446]
50024 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50025
f0b264f1
AZ
500262011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50027
50028 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50029 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50030 optimized code.
50031 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50032 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50033 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50034 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50035 for strncasecmp/strncasecmp_l compilation.
50036 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50037 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50038
8ef4f244
MP
500392011-12-08 Marek Polacek <mpolacek@redhat.com>
50040
50041 [BZ #13484]
50042 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50043 of __asm__.
50044
97ac2654
UD
500452011-12-17 Ulrich Drepper <drepper@gmail.com>
50046
50047 [BZ #13506]
50048 * time/tzfile.c (__tzfile_read): Check values from file header.
50049
91d2a845
WS
500502011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
50051
50052 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50053 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50054 * powerpc/powerpc32/dl-start.S: Likewise.
50055 * powerpc/powerpc32/elf/start.S: Likewise.
50056 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50057 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50058 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50059 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50060 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50061 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50062 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50063 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50064 * powerpc/powerpc32/fpu/s_round.S: Likewise.
50065 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50066 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50067 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50068 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50069 * powerpc/powerpc32/memset.S: Likewise.
50070 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50071 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50072 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50073 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50074 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50075 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50076 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50077 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50078 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50079 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50080 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50081 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50082 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50083
a1267ba1
AZ
500842011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50085
50086 * math/libm-test.inc: Added more nearbyint tests.
50087 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50088 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50089 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50090 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50091
ad8ac1bd
RL
500922011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
50093
50094 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50095 FD_CLOEXEC.
50096
1d3e4b61
UD
500972011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50098
50099 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50100 Add wcscpy-ssse3 wcscpy-c.
50101 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50102 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50103 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50104 * sysdeps/x86_64/wcschr.S: New file.
50105 * sysdeps/x86_64/wcsrchr.S: New file.
50106 * string/test-strcmp.c: Remove checking of wcscmp function for
50107 wrong alignments.
50108 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50109 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50110 wcsrchr-sse2 wcsrchr-c.
50111 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50112 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50113 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50114 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50115 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50116 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50117 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50118 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50119 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50120 * wcsmbc/wcschr.c (WCSCHR): New macro.
50121
5b330a2d
UD
501222011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50123
50124 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50125 * wcsmbs/test-wcsrchr.c: New file.
50126 * string/test-strrchr.c: Add wcsrchr support.
50127 (WIDE): New macro.
50128 * wcsmbs/test-wcscpy.c: New file.
50129 * string/test-strcpy.c: Add wcscpy support.
50130 (WIDE): New macro.
26428b7c 50131
f039c043
UD
501322011-12-10 Ulrich Drepper <drepper@gmail.com>
50133
50134 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50135 the inner loop.
50136
850fb039
AS
501372011-12-06 Andreas Schwab <schwab@linux-m68k.org>
50138
50139 [BZ #13472]
50140 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50141
4efbd5cb
UD
501422011-12-04 Ulrich Drepper <drepper@gmail.com>
50143
52ff5dd0 50144 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 50145 Minor optimizations.
52ff5dd0 50146
4efbd5cb
UD
50147 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50148 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50149 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50150
8a426e12
UD
501512011-12-03 Ulrich Drepper <drepper@gmail.com>
50152
aff2453d
UD
50153 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50154 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50155 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50156 for gcc to avoid warnings.
50157 * inet/Makefile (tests): Add tst-checks.
50158 * inet/tst-checks.c: New file.
50159
50160 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50161 warning.
50162
50163 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50164 __wmemcmp_sse2.
50165
50166 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50167 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50168
8a426e12
UD
50169 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50170
9bea3473
UD
501712011-12-02 Ulrich Drepper <drepper@gmail.com>
50172
3a965496
UD
50173 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50174 problem.
50175
9bea3473
UD
50176 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50177
f101631b
UD
501782011-11-29 Joseph Myers <joseph@codesourcery.com>
50179
50180 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50181 conditional on GCC version.
50182 (__arch_compare_and_exchange_val_8_acq)
50183 (__arch_compare_and_exchange_val_16_acq)
50184 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50185 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50186 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50187
a98275aa
UD
501882011-12-02 Joseph Myers <joseph@codesourcery.com>
50189
50190 * sysdeps/sh/backtrace.c: New file.
50191
d4cc29a2
AS
501922011-12-02 Andreas Schwab <schwab@redhat.com>
50193
50194 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
50195 parenthesis.
50196
6257af2d
AS
501972011-12-01 Andreas Schwab <schwab@redhat.com>
50198
50199 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50200 falling back to utime.
50201
b5f44c1a
AS
502022011-11-30 Andreas Schwab <schwab@redhat.com>
50203
50204 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50205 expectations for float.
50206
f3a6cc0a
AS
502072011-11-29 Andreas Schwab <schwab@redhat.com>
50208
50209 * locale/weight.h (findidx): Add parameter len.
50210 * locale/weightwc.h (findidx): Likewise.
50211 * posix/fnmatch_loop.c (FCT): Adjust caller.
50212 * posix/regcomp.c (build_equiv_class): Likewise.
50213 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50214 * posix/regexec.c (check_node_accept_bytes): Likewise.
50215 * string/strcoll_l.c (STRCOLL): Likewise.
50216 * string/strxfrm_l.c (STRXFRM): Likewise.
50217
9d65ea3a
UD
502182011-11-17 Ulrich Drepper <drepper@gmail.com>
50219
50220 * Makefile.in: Remove CVSOPT handling.
50221 * configure.in: Remove use of AC_REVISION.
50222 * iconvdata/Makefile (distribute): No need to filter out CVS.
50223 * scripts/list-sources.sh: Remove CVS, subversion and monotone
50224 handling.
50225
5583a086
AS
502262011-11-16 Andreas Schwab <schwab@redhat.com>
50227
50228 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50229 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50230 [USE_AS_STRNCASECMP_L]: Likewise.
50231 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50232 NO_TLS_DIRECT_SEG_REFS.
50233 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50234 Fix argument offsets for non-PIC.
50235 [USE_AS_STRNCASECMP_L]: Likewise.
50236 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50237 NO_TLS_DIRECT_SEG_REFS.
50238
d62a8200
UD
502392011-11-15 Ulrich Drepper <drepper@gmail.com>
50240
9d65ea3a 50241 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
50242 O_CLOEXEC.
50243 * locale/loadlocale.c (_nl_load_locale): Likewise.
50244
09f93bd3
AS
502452011-11-15 Andreas Schwab <schwab@redhat.com>
50246
446514f9
AS
50247 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50248 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50249 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50250 (SYSCALL_GETTIME): Set errno on error.
50251
09f93bd3
AS
50252 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50253 count references to noai6ai_cached.
50254
312be3f9
UD
502552011-11-15 Ulrich Drepper <drepper@gmail.com>
50256
50257 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50258
50259 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50260 FD_CLOEXEC for /proc/self/maps.
50261
50262 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50263 FD_CLOEXEC for /proc/meminfo.
50264
50265 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50266 gai.conf.
50267
50268 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
50269 FD_CLOEXEC for given file.
50270
50271 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50272
50273 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50274 FD_CLOEXEC for /etc/hosts.
50275 (_gethtent): Likewise.
50276
50277 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50278
50279 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50280 cancellation and set FD_CLOEXEC for /etc/netgroup.
50281
50282 * nss/nss_files/files-key.c (search): Don't allow cancellation when
50283 reading /etc/publickey.
50284
50285 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50286 allow cancellation when reading /etc/group.
50287
50288 * nss/nss_files/files-alias.c (internal_setent): Don't allow
50289 cancellation.
50290 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
50291
50292 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50293 when using data file.
50294
50295 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50296
50297 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50298 (write_nis_obj): Use "c" and "e" in fopen.
50299
50300 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50301
50302 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50303
50304 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50305
50306 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50307
50308 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50309 locale.alias.
50310
50311 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50312
50313 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50314
50315 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50316
50317 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50318 file parsing and set FD_CLOEXEC.
50319
82af0fa8
UD
503202011-11-14 Ulrich Drepper <drepper@gmail.com>
50321
50322 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50323
a5fb313c
AS
503242011-11-14 Andreas Schwab <schwab@redhat.com>
50325
50326 * malloc/arena.c (arena_get2): Don't call reused_arena when
50327 _int_new_arena failed.
50328
6abf3465
UD
503292011-11-14 Ulrich Drepper <drepper@gmail.com>
50330
50331 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50332 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50333 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50334 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50335 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50336 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50337 to compile strcasecmp and strncasecmp.
50338 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50339 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50340
50341 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50342
76e3966e
UD
503432011-11-13 Ulrich Drepper <drepper@gmail.com>
50344
50345 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50346 locale-defines.sym to gen-as-const-headers.
50347 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50348 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50349 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50350 to compile strcasecmp and strncasecmp.
50351 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50352 strcasecmp_l and strncasecmp_l.
50353 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50354 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50355 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50356 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50357 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50358 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50359 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50360 * sysdeps/i386/i686/multiarch/strncase.S: New file.
50361 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50362 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50363 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50364
ab26144e
UD
503652011-11-12 Ulrich Drepper <drepper@gmail.com>
50366
7edb22ef
UD
50367 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50368 result of SYSDEP_GETTIME_CPU to retval.
50369 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50370 parameter list to macro. Remove trailing semicolon. Adjust users.
50371
9694fc44
UD
50372 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50373 variable.
50374
8ad89ef8
UD
50375 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50376 mantissa words.
50377 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50378
0c822ef9
UD
50379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50380 from unused variable.
50381
874e0564
UD
50382 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50383 DWARF definitions.
50384 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50385 for assembling.
50386
3a2edc79
UD
50387 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50388 over namespaces.
50389
f3c2577f
UD
50390 * sunrpc/rpc_prot.c (rejected): Fix case value.
50391
294ce126
UD
50392 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50393 unsigned long long int to avoid warnings in shift.
50394
5e2b63c6
UD
50395 * posix/regex_internal.c (re_string_reconstruct): Actually use result
50396 of use of trans.
50397 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50398 variable tmp.
50399
e7f4b08e
UD
50400 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50401 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50402 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50403
ab26144e
UD
50404 * nis/nis_table.c (nis_list): Use variable of correct type for
50405 result of __follow_path call.
50406
8a6d5255
AZ
504072011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50408
50409 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50410 of math functions ceil, trunc, floor, round, and sqrt, when
50411 avaliable on the platform.
50412 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50413 name clash.
50414 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50415 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50416 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50417
aaddc98c
MP
504182011-10-30 Marek Polacek <mpolacek@redhat.com>
50419
50420 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50421 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50422
95b7042b
RM
504232011-11-11 Roland McGrath <roland@hack.frob.com>
50424
50425 * include/unistd.h: Fix __readlink return type.
50426 Reported by Chris Metcalf <cmetcalf@tilera.com>.
50427
57769839
UD
504282011-11-11 Ulrich Drepper <drepper@gmail.com>
50429
50430 * stdlib/ucontext.h: Undo last change for makecontext.
50431
edc5984d
AS
504322011-11-11 Andreas Schwab <schwab@redhat.com>
50433
98591e58
AS
50434 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50435
edc5984d
AS
50436 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50437 * setjmp/setjmp.h: Mark functions as non-leaf.
50438 * setjmp/bits/setjmp2.h: Likewise.
50439 * stdlib/ucontext.h: Likewise.
50440
77cdc054
AS
504412011-11-10 Andreas Schwab <schwab@redhat.com>
50442
50443 * malloc/arena.c (_int_new_arena): Don't increment narenas.
50444 (reused_arena): Don't check arena limit.
50445 (arena_get2): Atomically check arena limit.
50446
fe72eebd
UD
504472011-11-08 Ulrich Drepper <drepper@gmail.com>
50448
5f078c32
UD
50449 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50450 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50451
fe72eebd
UD
50452 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50453 instructions.
50454
ae1bc2fa
AS
504552011-11-07 Andreas Schwab <schwab@redhat.com>
50456
7583a88d
AS
50457 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50458 handler when locking.
50459
ae1bc2fa
AS
50460 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50461 Fix size of allocated buffer.
50462
10fb0bfa
AS
504632011-11-04 Andreas Schwab <schwab@redhat.com>
50464
998832a4
AS
50465 [BZ #10103]
50466 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50467 declarations for long double functions.
50468 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50469
10fb0bfa
AS
50470 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50471
3d7ba52b
AS
504722011-11-03 Andreas Schwab <schwab@redhat.com>
50473
a9ae54a1
AS
50474 * nscd/nscd.c (main): Don't start AVC thread until credentials are
50475 installed.
50476
3d7ba52b
AS
50477 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50478 is disabled.
50479
bc8db248
ST
504802011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
50481
50482 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50483
45b96dd6
AS
504842011-11-01 Andreas Schwab <schwab@linux-m68k.org>
50485
647776f6
AS
50486 * include/alloca.h (stackinfo_alloca_round): Define.
50487 (extend_alloca): Use it.
50488 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50489 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50490 here.
50491
d91a8b93
AS
50492 * scripts/check-local-headers.sh: Ignore libaudit.h.
50493
45b96dd6
AS
50494 * nscd/Makefile (extra-objs): Make recursively expanded.
50495
432d41ce
UD
504962011-11-01 Ulrich Drepper <drepper@gmail.com>
50497
34372fc6
UD
50498 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50499 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50500
fadb59f8
UD
50501 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50502 * posix/tst-rfc3484-2.c: Likewise.
50503 * posix/tst-rfc3484-3.c: Likewise.
50504
78239589
UD
50505 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50506 process_vm_writev.
50507 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50508 process_vm_writev.
50509 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50510 process_vm_writev from libc using GLIBC_2.15 version.
50511
432d41ce
UD
50512 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50513
02f9c6cf
PP
505142011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
50515
50516 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50517 stack usage.
50518
3a2c0242
UD
505192011-10-31 Ulrich Drepper <drepper@gmail.com>
50520
f4ec4833
UD
50521 [BZ #13367]
50522 * nss/getent.c (initgroups_keys): Show error message in case no group
50523 names are given.
50524
3a2c0242
UD
50525 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50526 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50527 __bump_nl_timestamp.
50528 * nscd/connections (nscd_init): When host database is served open
50529 netlink socket and request notification about configuration changes.
50530 (main_loop_poll): Track netlink file descriptor and bump timestamp
50531 in case data becomes available.
50532 (main_loop_epoll): Likewise.
50533 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50534 (database_pers_head): Add extra_data fileds.
50535 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50536 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50537 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50538 Adjust caller.
50539 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50540 in6ai data, call __free_in6ai.
50541 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50542 Add -DHAVE_NETLINK.
50543 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
50544 interface information. Reuse previous data if netlink timestamp
50545 is not changed.
50546 (__bump_nl_timestamp): New function.
50547 (__free_in6ai): New function.
50548
636064eb
UD
505492011-10-30 Ulrich Drepper <drepper@gmail.com>
50550
50551 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50552 close_not_cancel_no_status here.
50553 (__check_pf): Reorganize code a bit to not call close twice if OOM.
50554
9beb2334
UD
505552011-10-29 Ulrich Drepper <drepper@gmail.com>
50556
6ef76f3b
UD
50557 [BZ #13276]
50558 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50559 return value.
50560
0ffc4f3e 50561 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
50562 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50563 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50564
cb95113e
UD
505652011-07-03 Andreas Jaeger <aj@suse.de>
50566
50567 [BZ #10709]
50568 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50569 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50570 * math/libm-test.inc (sin_test): Add test case.
50571
a1b560ff
UD
505722011-10-29 Ulrich Drepper <drepper@gmail.com>
50573
c9aaface
UD
50574 [BZ #13337]
50575 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50576 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50577
d272e7f1
UD
50578 * elf/chroot_canon.c (chroot_canon): Cleanups.
50579
1bc33071
UD
50580 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50581
1760874d
TJ
50582 [BZ #13335]
50583 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50584 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50585
51d91b18
UD
50586 * string/test-strchr.c: Make usable for strchrnul testing.
50587 * string/test-strchrnul.c: New file.
50588 * string/Makefile (strop-tests): Add strchrnul.
50589
a1b560ff 50590 * po/it.po: Update from translation team.
b611fb81 50591 * po/es.po: Likewise.
a1b560ff 50592
a5b81e1f
UD
505932011-10-28 Ulrich Drepper <drepper@gmail.com>
50594
fd52bc6d
UD
50595 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50596 the three constants needed as parameters. Drop the others.
50597 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50598 __m128i_strloadu_tolower.
52e4b9eb
UD
50599 Create and initialize variable zero and use it in all the places
50600 where _mm_setzero_si128 was used.
fd52bc6d 50601
a5b81e1f
UD
50602 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50603 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50604 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50605 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50606 anymore.
50607 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50608 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50609 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50610 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50611 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50612 __mpranred, __mptan.
50613 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50614 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50615 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50616 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50617 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50618 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50619 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50620 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50621 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50622
b4343346
AS
506232011-10-28 Andreas Schwab <schwab@redhat.com>
50624
0c92d8a8
AS
50625 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50626 redefine if SHARED.
50627 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50628
b4343346
AS
50629 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50630 wide char related routines to wcsmbs subdir.
50631
3871f58f
AS
506322011-10-27 Andreas Schwab <schwab@redhat.com>
50633
50634 [BZ #13344]
50635 * misc/sys/cdefs.h (__THROWNL): Define.
50636 * posix/unistd.h: Use __THREADNL instead of __THREAD
50637 for memory synchronization functions.
50638
94d44d9f
RM
506392011-10-26 Roland McGrath <roland@hack.frob.com>
50640
21b64b15 50641 [BZ #13349]
94d44d9f
RM
50642 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50643 doesn't exist.
50644 * manual/stdio.texi (Obstack Streams): Node removed.
50645
f6ce9294
AS
506462011-10-26 Andreas Schwab <schwab@redhat.com>
50647
80479147
AS
50648 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50649 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50650 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50651
f6ce9294
AS
50652 * math/math_private.h (math_force_eval): Allow non-addressable
50653 arguments.
50654 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50655
618280a1
UD
506562011-10-25 Ulrich Drepper <drepper@gmail.com>
50657
e0016b11
UD
50658 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50659 file is not needed.
50660
50661 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50662 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50663 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50664 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50665 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50666 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50667 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50668 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50669 Add AVX variants.
50670 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50671 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50672 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50673 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50674 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50675 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50676 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50677 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50678 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50679 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50680 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50681 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50682 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50683 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50684 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50685 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50686 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50687 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50688 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50689
50690 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50691 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
50692
618280a1
UD
50693 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50694 place. Use VEX encoding when compiling for AVX.
50695
37822576
AS
506962011-10-25 Andreas Schwab <schwab@redhat.com>
50697
1f1e1947
AS
50698 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50699 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50700
37822576
AS
50701 * string/test-strchr.c (do_test): Don't generate NUL bytes.
50702
31ea014d
UD
507032011-10-25 Ulrich Drepper <drepper@gmail.com>
50704
d7826aa1 50705 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 50706 useless if() expression.
d7826aa1
UD
50707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50708 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50709 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50710 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50711 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50712 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50713 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50714 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50715 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50716 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50717 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50719 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50720 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50721 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50723 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50724 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50725 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50726
31ea014d
UD
50727 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50728
16437fec
AS
507292011-10-25 Andreas Schwab <schwab@redhat.com>
50730
50731 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50732 condition.
50733 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50734
31d3cc00
UD
507352011-10-25 Ulrich Drepper <drepper@gmail.com>
50736
50737 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50738 .text section. Avoid duplicate constants.
50739 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50740 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50741 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50742 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50743 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50744 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50745 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50746 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50747 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50748 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50749 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50750 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50751 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50752 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50753 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50754 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50755 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50756 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50757 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50758 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50759 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50760 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50761 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50762 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50763 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50764 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50765 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50766 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50767 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50768 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50769 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50770 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50771 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50772 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50773 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50774 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50775 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50776 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50777 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50778 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50779 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50780 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50781 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50782 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50783 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50784
58985aa9
UD
507852011-10-24 Ulrich Drepper <drepper@gmail.com>
50786
202c9deb
UD
50787 * sysdeps/x86_64/dla.h: Move to ...
50788 * sysdeps/x86_64/fpu/dla.h: ...here.
50789 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50790 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 50791
af968f62
UD
50792 * config.make.in: Add have-mfma4 entry.
50793 * configure.in: Substitute libc_cv_cc_fma4.
50794 * math/Makefile (dbl-only-routines): Add sincostab.
50795 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50796 Use __sincostab not sincos.
50797 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50798 name is a macro.
50799 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50800 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50801 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50802 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
50803 using __copysign.
50804 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
50805 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
50806 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50807 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50808 and __inv.
50809 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50810 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50811 __copysign.
50812 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
50813 define aliases when function name is a macro.
50814 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50815 sysdeps/ieee754/dbl-64/sincos.tbl.
50816 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50817 fma4-enabled routines.
50818 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50819 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50820 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50821 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50822 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50823 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50824 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50825 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50826 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50827 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50828 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50829 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50830 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50831 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50832 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50833 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50834 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50835 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50836 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50837 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50838 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50839 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50840 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50841 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50842 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50843 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50844 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50845 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50846 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50847 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50848
58985aa9
UD
50849 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50850 rename.
50851 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50852 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50853 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50854 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50855 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50856 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50857 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50858 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50859
a201fbcf
AS
508602011-10-24 Andreas Schwab <schwab@redhat.com>
50861
50862 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50863
fc2ee42a
LD
508642011-10-23 Ulrich Drepper <drepper@gmail.com>
50865
bb3129bd
UD
50866 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50867
0275fff8
UD
50868 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50869 prediction.
50870 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50871
2fa2ae85
UD
50872 * string/strnlen.c: Don't define STRNLEN, reverse logic.
50873 Remove unused variable magic_bits.
50874 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50875
fc2ee42a
LD
50876 * string/strnlen.c: Define and use STRNLEN macro.
50877 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50878 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50880 * wcsmbs/wcslen.c: Define and use WCSLEN.
50881 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50882 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50883 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50884 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50885 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50886 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50887 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50888
ce7dd29f
LD
508892011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50890
50891 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50892 strnlen-sse2-no-bsf.
50893 Rename strlen-no-bsf to strlen-sse2-no-bsf.
50894 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50895 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50896 Add strnlen support.
50897 (USE_AS_STRNLEN): New macro.
50898 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50899 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50900 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50901 * sysdeps/x86_64/wcslen.S: New file.
50902
979c70a3
MZ
509032011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
50904
50905 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50906 XMM-moves are used for copying on small sizes.
50907
2d09f82f
LD
509082011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50909
50910 * wcsmbs/Makefile (strop-tests): Add wcschr.
50911 * wcsmbs/test-wcschr.c: New file.
50912 * string/test-strchr.c: Update.
50913 Add wcschr support.
50914 (WIDE): New macro.
50915
619fccca
LD
509162011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50917
2d09f82f 50918 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
50919 * wcsmbs/test-wcslen.c: New file.
50920 * string/test-strlen.c: Update.
50921 Add wcslen support.
50922 (WIDE): New macro.
50923
09f699ea
UD
509242011-10-23 Ulrich Drepper <drepper@gmail.com>
50925
50926 * po/it.po: Update from translation team.
50927
95584d3b
LD
509282011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50929
50930 * sysdeps/x86_64/wcscmp.S: Update.
50931 Fix wrong comparison semantics.
50932 wcscmp shall use signed comparison not unsigned.
50933 Don't use substraction to avoid overflow bug.
50934 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50935 * wcsmbc/wcscmp.c: Likewise.
50936 * string/test-strcmp.c: Likewise.
50937 Add new tests to check cases with negative values.
50938
c8b3296b
UD
509392011-10-23 Ulrich Drepper <drepper@gmail.com>
50940
50941 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50942 * sysdeps/x86_64/dla.h: ...here. New file.
50943 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50944 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50945 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50948 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50949 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50950 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50951 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50952
246ad57a
AS
509532011-10-23 Andreas Schwab <schwab@linux-m68k.org>
50954
50955 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50956 __ynl_finite aliases.
50957
a1a87169
UD
509582011-10-22 Ulrich Drepper <drepper@gmail.com>
50959
0d355eb7
UD
50960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50961
a1a87169
UD
50962 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50963 define DLA_FMA.
50964 [DLA_FMA] (EMULV): Use DLA_FMA.
50965 [DLA_FMA] (MUL12): Use EMULV.
50966 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50967 that are not needed.
50968 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50969 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50970 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50971 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50972 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50973 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50974 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50975
ee2aafe0
AS
509762011-10-22 Andreas Schwab <schwab@linux-m68k.org>
50977
50978 * math/s_nan.c: Undef __nan.
50979 * math/s_nanf.c: Undef __nanf.
50980 * math/s_nanl.c: Undef __nanl.
50981 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50982 "math_private.h".
50983
bc62c2fb
UD
509842011-10-22 Ulrich Drepper <drepper@gmail.com>
50985
77425c63
UD
50986 * math/s_catan.c: Add branch predictions.
50987 * math/s_catanf.c: Likewise.
50988 * math/s_catanh.c: Likewise.
50989 * math/s_catanhf.c: Likewise.
50990 * math/s_catanhl.c: Likewise.
50991 * math/s_catanl.c: Likewise.
50992 * math/s_cexp.c: Likewise.
50993 * math/s_cexpf.c: Likewise.
50994 * math/s_cexpl.c: Likewise.
50995 * math/s_clog.c: Likewise.
50996 * math/s_clog10.c: Likewise.
50997 * math/s_clog10f.c: Likewise.
50998 * math/s_clog10l.c: Likewise.
50999 * math/s_clogf.c: Likewise.
51000 * math/s_clogl.c: Likewise.
51001 * math/s_csqrt.c: Likewise.
51002 * math/s_csqrtf.c: Likewise.
51003 * math/s_csqrtl.c: Likewise.
51004 * math/s_ctanf.c: Likewise.
51005 * math/s_ctanh.c: Likewise.
51006 * math/s_ctanhf.c: Likewise.
51007 * math/s_ctanhl.c: Likewise.
51008 * math/s_ctanl.c: Likewise.
51009
bc62c2fb
UD
51010 * math/math_private.h: Define __nan, __nanf, __nanl.
51011 * math/s_cacosh.c: Include <math_private.h>.
51012 * math/s_cacoshl.c: Likewise.
51013 * math/s_casinh.c: Likewise.
51014 * math/s_casinhf.c: Likewise.
51015 * math/s_casinhl.c: Likewise.
51016 * math/s_ccos.c: Rely entire on ccosh.
51017 * math/s_ccosf.c: Rely entire on ccoshf.
51018 * math/s_ccosl.c: Rely entirely on ccoshl.
51019 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
51020 Remove tests for FE_INVALID.
51021 * math/s_ccoshf.c: Likewise.
51022 * math/s_ccoshl.c: Likewise.
51023 * math/s_csin.c: Likewise.
51024 * math/s_csinf.c: Likewise.
51025 * math/s_csinh.c Likewise.
51026 * math/s_csinhf.c: Likewise.
51027 * math/s_csinhl.c: Likewise.
51028 * math/s_csinl.c: Likewise.
51029 * math/s_ctan.c: Likewise.
51030 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51031 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51032 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51033
8ec250a4
UD
510342011-10-21 Ulrich Drepper <drepper@gmail.com>
51035
c196fed8
UD
51036 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51037 compilation problems.
51038
8ec250a4
UD
51039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51040 __builtin_expect.
51041
8d4f46c6
UD
510422011-10-20 Ulrich Drepper <drepper@gmail.com>
51043
ed72b654
UD
51044 * sysdeps/i386/configure.in: Test for -mfma4 option.
51045 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51046 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51047 COMMON_CPUID_INDEX_80000001.
51048 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51049 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51050 use it if FMA3 is not supported.
51051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51052
8d4f46c6
UD
51053 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51054 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51055
d45c60c2
AS
510562011-10-20 Andreas Schwab <schwab@redhat.com>
51057
51058 [BZ #12892]
51059 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51060 it would create a cycle with a link time dependency.
51061
d9a4d2ab
UD
510622011-10-19 Ulrich Drepper <drepper@gmail.com>
51063
855d1560
UD
51064 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51065 instruction.
51066 * string/Makefile (strop-tests): Add rawmemchr.
51067 * string/test-rawmemchr.c: New file.
51068
d9a4d2ab
UD
51069 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51070 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
51071 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
51072 when compiling str{,n}casecmp and when AVX is available. Hook up
51073 new optimized code in initializers.
51074
8f3b1ffe
AS
510752011-10-19 Andreas Schwab <schwab@redhat.com>
51076
51077 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51078 __feraiseexcept instead of feraiseexcept.
51079
d38f1dba
UD
510802011-10-18 Ulrich Drepper <drepper@gmail.com>
51081
d9a8d0ab
UD
51082 * math/math_private.h: Define defaults for libc_fetestexcept and
51083 libc_feupdateenv.
51084 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51085 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51087 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51088 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51089 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51090 libc_fetestexcept and libc_feupdateenv.
51091
4855e3dd
UD
51092 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51093 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51094 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51095 * sysdeps/x86_64/fpu/math_private.h: Define special version of
51096 libc_feholdexcept_setround.
51097
581d30e3
UD
51098 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51099 Add s_nearbyint-c and s_nearbyintf-c.
51100 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51101 nearbyintf inlines.
51102 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51103 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51104 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51105 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51106
d38f1dba
UD
51107 * math/math_private.h: Define defaults for libc_fegetround,
51108 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51109 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51110 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51111 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51112 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51113 standard functions.
51114 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51115 Remove comments and hacks for old compiler versions.
51116 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51117 libc_fegetround, libc_fesetround, libc_feholdexcept, and
51118 libc_feholdexceptl.
51119
caa6c9d8
AS
511202011-10-18 Andreas Schwab <schwab@redhat.com>
51121
51122 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
51123 (__feraiseexcept_renamed): Add __NTH.
51124 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
51125 namespace violations.
51126
97c066e6
UD
511272011-10-17 Ulrich Drepper <drepper@gmail.com>
51128
99ce7b04
UD
51129 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51130
1004d182
UD
51131 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51132
228a984d
UD
51133 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51134 recently added interfaces.
51135 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51136
c8553a6a
UD
51137 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51138 about macro parameter expansion.
51139
ed22dcf6
UD
51140 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51141 __NO_MATH_INLINES is defined. Cleanups.
51142
51143 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51144 and __floorf is target has SSE4.1.
51145 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51146 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51147 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51148 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51149
b171c137
UD
51150 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51151 name.
51152 (floorf): Likewise.
51153
97c066e6
UD
51154 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51155
629f62ef
AS
511562011-10-17 Andreas Schwab <schwab@redhat.com>
51157
49a43d80
AS
51158 * misc/sys/cdefs.h: Fix last change.
51159
629f62ef
AS
51160 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51161 database lookup.
51162
e453f6cd
UD
511632011-10-16 Ulrich Drepper <drepper@gmail.com>
51164
aa78043a
UD
51165 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51166
ad0f5cad
UD
51167 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51168 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51169 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51170 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51171 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51172 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51173 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51174 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51175 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51176 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51177 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51178 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51179 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51180 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51181 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51182 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51183 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51184 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51185 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51186 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51187 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51188 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51189
51190 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51191 ceil, ceilf, floor, floorf.
51192
51193 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51194 Perform IRELATIVE relocations last.
51195
e453f6cd
UD
51196 * elf/do-rel.h: Add another parameter nrelative, replacing the
51197 local variable with the same name. Change name of the function
51198 to end in Rel or Rela (uppercase).
51199 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51200 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
51201 elf_dynamic_do_##reloc function.
51202
fd5bdc09
UD
512032011-10-15 Ulrich Drepper <drepper@gmail.com>
51204
79b195b5
UD
51205 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51206 is sufficient, at least on modern CPUs.
51207
d4a28569
UD
51208 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51209
b61099b5
UD
51210 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51211 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51212
bcf01e6d
UD
51213 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51214 __expl_finite.
51215 * math/bits/math-finite.h: Add entries for exp.
51216 * math/e_expl.c: Add __*_finite alias.
51217 * sysdeps/i386/fpu/e_exp.S: Likewise.
51218 * sysdeps/i386/fpu/e_expf.S: Likewise.
51219 * sysdeps/i386/fpu/e_expl.c: Likewise.
51220 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51221 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51222 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51223 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51224 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51225 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51226 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51227
ba1a0d59
UD
51228 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51229 is sufficient, at least on modern CPUs.
51230
fd5bdc09
UD
51231 * ctype/ctype-info.c (__ctype_init): Define.
51232 * include/ctype.h (__ctype_init): Declare.
51233 (__ctype_b_loc): The variable is always initialized.
51234 (__ctype_toupper_loc): Likewise.
51235 (__ctype_tolower_loc): Likewise.
51236 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51237 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51238
7872cfb0
AS
512392011-10-15 Andreas Schwab <schwab@linux-m68k.org>
51240
b468825a
AS
51241 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51242
7872cfb0
AS
51243 * configure.in: Also look in $cxxmachine/include for C++ system
51244 headers.
51245
be13f7bf
LD
512462011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51247
51248 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51249 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51250 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51251 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
51252 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51253 (USE_AS_WMEMCMP): New macro.
51254 Fixing indents.
51255 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51256 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51257 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51258 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51259 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51260 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51261 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51262 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51263 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51264 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51265 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51266 (USE_AS_WMEMCMP): New macro.
51267 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51268 * sysdeps/string/test-memcmp.c: Update.
51269 Fix simple_wmemcmp.
51270 Add new tests.
51271 * wcsmbs/wmemcmp.c: Update.
51272 (WMEMCMP): New macro.
51273 Fix overflow bug.
51274
556a2007
AJ
512752011-10-12 Andreas Jaeger <aj@suse.de>
51276
51277 [BZ #13268]
51278 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51279
538faaa7
UD
512802011-10-15 Ulrich Drepper <drepper@gmail.com>
51281
ab6737ff
UD
51282 * libio/iofwide.c (do_length): Avoid warning.
51283
538faaa7
UD
51284 * ctype/ctype.h (__isctype_f): Add missing __THROW.
51285
396a21b1
UD
512862011-10-14 Ulrich Drepper <drepper@gmail.com>
51287
cdf2901f
UD
51288 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51289
38ad40ce
UD
51290 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51291 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51292 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51293 * sysdeps/i386/i686/fpu/e_log.S: New file.
51294 * sysdeps/i386/i686/fpu/e_logf.S: New file.
51295 * sysdeps/i386/i686/fpu/e_logl.S: New file.
51296
396a21b1
UD
51297 * ctype/ctype.h: Add support for inlined isXXX functions when
51298 compiling C++ code.
51299
6b1f68c9
AS
513002011-10-14 Andreas Schwab <schwab@redhat.com>
51301
349290c0
AS
51302 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51303
6b1f68c9
AS
51304 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51305
f2282d42
RM
513062011-10-13 Roland McGrath <roland@hack.frob.com>
51307
51308 [BZ #13291]
51309 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51310
5298ffa8
AS
513112011-10-13 Andreas Schwab <schwab@redhat.com>
51312
714fad23
AS
51313 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51314 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51315 feraiseexcept.
51316
81dcc7fb
AS
51317 * sysdeps/x86_64/memrchr.S: Check for zero size.
51318
5298ffa8
AS
51319 * string/stratcliff.c: Add memrchr tests.
51320
951fbcec
LD
513212011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51322
51323 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51324 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51325 rawmemchr-sse2 rawmemchr-sse2-bsf.
51326 * sysdeps/i386/i686/multiarch/memchr.S: New file.
51327 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51328 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51329 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51330 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51331 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51332 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51333 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51334 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51335 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51336 * string/memrchr.c (MEMRCHR): New macro.
51337
0ac5ae23
UD
513382011-10-12 Ulrich Drepper <drepper@gmail.com>
51339
51340 Add integration with gcc's -ffinite-math-only and optimize wrapper
51341 functions in libm.
51342 * Versions.def: Define GLIBC_2.15 version for libm.
51343 * math/Makefile (headers): Add bits/math-finite.h.
51344 * math/bits/math-finite.h: New file.
51345 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51346 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51347 * math/e_acoshl.c: Add __*_finite alias.
51348 * math/e_acosl.c: Likewise.
51349 * math/e_asinl.c: Likewise.
51350 * math/e_atan2l.c: Likewise.
51351 * math/e_atanhl.c: Likewise.
51352 * math/e_coshl.c: Likewise.
51353 * math/e_exp10.c: Likewise.
51354 * math/e_exp10f.c: Likewise.
51355 * math/e_exp10l.c: Likewise.
51356 * math/e_exp2l.c: Likewise.
51357 * math/e_fmodl.c: Likewise.
51358 * math/e_gammal_r.c: Likewise.
51359 * math/e_hypotl.c: Likewise.
51360 * math/e_j0l.c: Likewise.
51361 * math/e_j1l.c: Likewise.
51362 * math/e_jnl.c: Likewise.
51363 * math/e_lgammal_r.c: Likewise.
51364 * math/e_log10l.c: Likewise.
51365 * math/e_log2l.c: Likewise.
51366 * math/e_logl.c: Likewise.
51367 * math/e_powl.c: Likewise.
51368 * math/e_sinhl.c: Likewise.
51369 * math/e_sqrtl.c: Likewise.
51370 * math/e_scalb.c: Completely rewritten and optimized.
51371 * math/e_scalbf.c: Likewise.
51372 * math/e_scalbl.c: Likewise.
51373 * math/w_acos.c: Likewise.
51374 * math/w_acosf.c: Likewise.
51375 * math/w_acosl.c: Likewise.
51376 * math/w_acosh.c: Likewise.
51377 * math/w_acoshf.c: Likewise.
51378 * math/w_acoshl.c: Likewise.
51379 * math/w_asin.c: Likewise.
51380 * math/w_asinf.c: Likewise.
51381 * math/w_asinl.c: Likewise.
51382 * math/w_atan2.c: Likewise.
51383 * math/w_atan2f.c: Likewise.
51384 * math/w_atan2l.c: Likewise.
51385 * math/w_atanh.c: Likewise.
51386 * math/w_atanhf.c: Likewise.
51387 * math/w_atanhl.c: Likewise.
51388 * math/w_exp10.c: Likewise.
51389 * math/w_exp10f.c: Likewise.
51390 * math/w_exp10l.c: Likewise.
51391 * math/w_fmod.c: Likewise.
51392 * math/w_fmodf.c: Likewise.
51393 * math/w_fmodl.c: Likewise.
51394 * math/w_j0.c: Likewise.
51395 * math/w_j0f.c: Likewise.
51396 * math/w_j0l.c: Likewise.
51397 * math/w_j1.c: Likewise.
51398 * math/w_j1f.c: Likewise.
51399 * math/w_j1l.c: Likewise.
51400 * math/w_jn.c: Likewise.
51401 * math/w_jnf.c: Likewise.
51402 * math/w_log.c: Likewise.
51403 * math/w_logf.c: Likewise.
51404 * math/w_logl.c: Likewise.
51405 * math/w_log10.c: Likewise.
51406 * math/w_log10f.c: Likewise.
51407 * math/w_log10l.c: Likewise.
51408 * math/w_log2.c: Likewise.
51409 * math/w_log2f.c: Likewise.
51410 * math/w_log2l.c: Likewise.
51411 * math/w_pow.c: Likewise.
51412 * math/w_powf.c: Likewise.
51413 * math/w_powl.c: Likewise.
51414 * math/w_remainder.c: Likewise.
51415 * math/w_remainderf.c: Likewise.
51416 * math/w_remainderl.c: Likewise.
51417 * math/w_scalb.c: Likewise.
51418 * math/w_scalbf.c: Likewise.
51419 * math/w_scalbl.c: Likewise.
51420 * math/w_sqrt.c: Likewise.
51421 * math/w_sqrtf.c: Likewise.
51422 * math/w_sqrtl.c: Likewise.
51423 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51424 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
51425 used.
51426 * math/math_private.h: Declare __kernel_standard_f.
51427 * math/w_cosh.c: Remove cruft and optimize a bit.
51428 * math/w_coshf.c: Likewise.
51429 * math/w_coshl.c: Likewise.
51430 * math/w_exp2.c: Likewise.
51431 * math/w_exp2f.c: Likewise.
51432 * math/w_exp2l.c: Likewise.
51433 * math/w_hypot.c: Likewise.
51434 * math/w_hypotf.c: Likewise.
51435 * math/w_hypotl.c: Likewise.
51436 * math/w_lgamma.c: Likewise.
51437 * math/w_lgamma_r.c: Likewise.
51438 * math/w_lgammaf.c: Likewise.
51439 * math/w_lgammaf_r.c: Likewise.
51440 * math/w_lgammal.c: Likewise.
51441 * math/w_lgammal_r.c: Likewise.
51442 * math/w_sinh.c: Likewise.
51443 * math/w_sinhf.c: Likewise.
51444 * math/w_sinhl.c: Likewise.
51445 * math/w_tgamma.c: Likewise.
51446 * math/w_tgammaf.c: Likewise.
51447 * math/w_tgammal.c: Likewise.
51448 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51449 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51450 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51451 Minor optimizations. Pretty printing. Remove cruft.
51452 * sysdeps/i386/fpu/e_acosf.S: Likewise.
51453 * sysdeps/i386/fpu/e_acosh.S: Likewise.
51454 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51455 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51456 * sysdeps/i386/fpu/e_acosl.c: Likewise.
51457 * sysdeps/i386/fpu/e_asin.S: Likewise.
51458 * sysdeps/i386/fpu/e_asinf.S: Likewise.
51459 * sysdeps/i386/fpu/e_atan2.S: Likewise.
51460 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51461 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
51463 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51464 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51465 * sysdeps/i386/fpu/e_exp10.S: Likewise.
51466 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51467 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51468 * sysdeps/i386/fpu/e_exp2.S: Likewise.
51469 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51470 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51471 * sysdeps/i386/fpu/e_fmod.S: Likewise.
51472 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51473 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51474 * sysdeps/i386/fpu/e_hypot.S: Likewise.
51475 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51476 * sysdeps/i386/fpu/e_log.S: Likewise.
51477 * sysdeps/i386/fpu/e_log10.S: Likewise.
51478 * sysdeps/i386/fpu/e_log10f.S: Likewise.
51479 * sysdeps/i386/fpu/e_log10l.S: Likewise.
51480 * sysdeps/i386/fpu/e_log2.S: Likewise.
51481 * sysdeps/i386/fpu/e_log2f.S: Likewise.
51482 * sysdeps/i386/fpu/e_log2l.S: Likewise.
51483 * sysdeps/i386/fpu/e_logf.S: Likewise.
51484 * sysdeps/i386/fpu/e_logl.S: Likewise.
51485 * sysdeps/i386/fpu/e_pow.S: Likewise.
51486 * sysdeps/i386/fpu/e_powf.S: Likewise.
51487 * sysdeps/i386/fpu/e_powl.S: Likewise.
51488 * sysdeps/i386/fpu/e_remainder.S: Likewise.
51489 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51490 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51491 * sysdeps/i386/fpu/e_scalb.S: Likewise.
51492 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51493 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51494 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51495 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51496 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51500 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51501 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51502 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51503 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51513 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51514 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51515 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51516 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51517 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51518 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51519 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51520 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51521 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51522 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51523 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51524 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51525 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51526 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51527 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51528 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51529 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51530 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51531 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51532 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51533 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51534 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51535 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51536 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51537 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51538 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51539 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51540 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51541 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51542 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51543 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51544 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51545 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51546 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51547 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51548 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51549 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51550 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51551 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51552 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51553 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51554 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51555 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51556 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51557 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51558 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51559 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51560 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51561 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51562 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51563 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51564 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51565 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51566 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51567 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51568 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51569 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51570 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51571 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51572 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51573 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51574 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51575 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51576 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51577 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51578 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51579 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51580 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51581 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51582 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51583 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51584 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51585 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51586 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51587 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51588 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51589 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51590 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51591 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51592 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51593 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51594 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51595 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51596 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51597 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51598 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51599 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51600 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51601 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51602 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51603 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51604 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51605 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51606 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51607 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
51608 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51609 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51610 (__isnanf): Likewise.
51611 (__isinf_ns): Likewise.
51612 (__isinf_nsf): Likewise.
51613 (__finite): Likewise.
51614 (__finitef): Likewise.
51615 (__ieee754_sqrt): Define as macro.
51616 (__ieee754_sqrtf): Define as macro.
51617 (__ieee754_sqrtl): Define as macro.
51618 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51619 inlined copy.
51620 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51621 __FINITE_MATH_ONLY__ consistent.
51622 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51623
12cc2fcd
AS
516242011-10-10 Andreas Schwab <schwab@linux-m68k.org>
51625
a843a204
AS
51626 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51627 of rawmemchr.
51628
12cc2fcd
AS
51629 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51630
c853acd5
UD
516312011-10-09 Ulrich Drepper <drepper@gmail.com>
51632
51633 * po/ja.po: Update from translation team.
51634
c658d255
RM
516352011-10-08 Roland McGrath <roland@hack.frob.com>
51636
110946e4
RM
51637 * locale/programs/locarchive.c (prepare_address_space): New function.
51638 (create_archive, enlarge_archive, open_archive): Use it.
51639
50604220
RM
51640 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51641 inside [SHARED], where it is used.
51642
c658d255
RM
51643 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51644
51645 * nss/getent.c (netgroup_keys): Remove unused variable.
51646 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51647
6a621eb7
UD
516482011-10-08 Ulrich Drepper <drepper@gmail.com>
51649
7edb55ce
UD
51650 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51651 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51653 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51654 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51655 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51656 * math/Makefile (libm-calls): Add s_isinf_ns.
51657 * math/divtc3.c: Use __isinf_nsl instead of isinf.
51658 * math/multc3.c: Likewise.
51659 * math/s_casin.c: Likewise.
51660 * math/s_casinf.c: Likewise.
51661 * math/s_casinl.c: Likewise.
51662 * math/s_ccos.c: Likewise.
51663 * math/s_ccosf.c: Likewise.
51664 * math/s_ccosl.c: Likewise.
51665 * math/s_ctan.c: Likewise.
51666 * math/s_ctanf.c: Likewise.
51667 * math/s_ctanh.c: Likewise.
51668 * math/s_ctanhf.c: Likewise.
51669 * math/s_ctanhl.c: Likewise.
51670 * math/s_ctanl.c: Likewise.
51671 * math/w_fmod.c: Likewise.
51672 * math/w_fmodf.c: Likewise.
51673 * math/w_fmodl.c: Likewise.
51674 * math/w_remainder.c: Likewise.
51675 * math/w_remainderf.c: Likewise.
51676 * math/w_remainderl.c: Likewise.
51677 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51678 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51679 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51680 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51681 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51682 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51683 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51684 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51685
187da0ae
UD
51686 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51687 of the number.
51688 * stdio-common/printf_fphex.c: Likewise.
51689 * stdio-common/printf_size.c: Likewise.
51690
9277c064
UD
51691 * math/e_exp10.c: Include math_private.h using <...> not "...".
51692 * math/e_exp10f.c: Likewise.
51693 * math/e_exp10l.c: Likewise.
51694 * math/e_exp2l.c: Likewise.
51695 * math/e_j0l.c: Likewise.
51696 * math/e_j1l.c: Likewise.
51697 * math/e_jnl.c: Likewise.
51698 * math/e_lgammal_r.c: Likewise.
51699 * math/e_rem_pio2l.c: Likewise.
51700 * math/e_scalb.c: Likewise.
51701 * math/e_scalbf.c: Likewise.
51702 * math/e_scalbl.c: Likewise.
51703 * math/k_cosl.c: Likewise.
51704 * math/k_sinl.c: Likewise.
51705 * math/k_tanl.c: Likewise.
51706 * math/s_cacoshf.c: Likewise.
51707 * math/s_catan.c: Likewise.
51708 * math/s_catanf.c: Likewise.
51709 * math/s_catanh.c: Likewise.
51710 * math/s_catanhf.c: Likewise.
51711 * math/s_catanhl.c: Likewise.
51712 * math/s_catanl.c: Likewise.
51713 * math/s_ccosh.c: Likewise.
51714 * math/s_ccoshf.c: Likewise.
51715 * math/s_ccoshl.c: Likewise.
51716 * math/s_cexp.c: Likewise.
51717 * math/s_cexpf.c: Likewise.
51718 * math/s_cexpl.c: Likewise.
51719 * math/s_clog.c: Likewise.
51720 * math/s_clog10.c: Likewise.
51721 * math/s_clog10f.c: Likewise.
51722 * math/s_clog10l.c: Likewise.
51723 * math/s_clogf.c: Likewise.
51724 * math/s_clogl.c: Likewise.
51725 * math/s_csin.c: Likewise.
51726 * math/s_csinf.c: Likewise.
51727 * math/s_csinh.c: Likewise.
51728 * math/s_csinhf.c: Likewise.
51729 * math/s_csinhl.c: Likewise.
51730 * math/s_csinl.c: Likewise.
51731 * math/s_csqrt.c: Likewise.
51732 * math/s_csqrtf.c: Likewise.
51733 * math/s_csqrtl.c: Likewise.
51734 * math/s_ctan.c: Likewise.
51735 * math/s_ctanf.c: Likewise.
51736 * math/s_ctanh.c: Likewise.
51737 * math/s_ctanhf.c: Likewise.
51738 * math/s_ctanhl.c: Likewise.
51739 * math/s_ctanl.c: Likewise.
51740 * math/s_ldexp.c: Likewise.
51741 * math/s_ldexpf.c: Likewise.
51742 * math/s_ldexpl.c: Likewise.
51743 * math/s_significand.c: Likewise.
51744 * math/s_significandf.c: Likewise.
51745 * math/s_significandl.c: Likewise.
51746 * math/w_acos.c: Likewise.
51747 * math/w_acosf.c: Likewise.
51748 * math/w_acosh.c: Likewise.
51749 * math/w_acoshf.c: Likewise.
51750 * math/w_acoshl.c: Likewise.
51751 * math/w_acosl.c: Likewise.
51752 * math/w_asin.c: Likewise.
51753 * math/w_asinf.c: Likewise.
51754 * math/w_asinl.c: Likewise.
51755 * math/w_atan2.c: Likewise.
51756 * math/w_atan2f.c: Likewise.
51757 * math/w_atan2l.c: Likewise.
51758 * math/w_atanh.c: Likewise.
51759 * math/w_atanhf.c: Likewise.
51760 * math/w_atanhl.c: Likewise.
51761 * math/w_cosh.c: Likewise.
51762 * math/w_coshf.c: Likewise.
51763 * math/w_coshl.c: Likewise.
51764 * math/w_dremf.c: Likewise.
51765 * math/w_exp10.c: Likewise.
51766 * math/w_exp10f.c: Likewise.
51767 * math/w_exp10l.c: Likewise.
51768 * math/w_exp2.c: Likewise.
51769 * math/w_exp2f.c: Likewise.
51770 * math/w_fmod.c: Likewise.
51771 * math/w_fmodf.c: Likewise.
51772 * math/w_fmodl.c: Likewise.
51773 * math/w_hypot.c: Likewise.
51774 * math/w_hypotf.c: Likewise.
51775 * math/w_hypotl.c: Likewise.
51776 * math/w_j0.c: Likewise.
51777 * math/w_j0f.c: Likewise.
51778 * math/w_j0l.c: Likewise.
51779 * math/w_j1.c: Likewise.
51780 * math/w_j1f.c: Likewise.
51781 * math/w_j1l.c: Likewise.
51782 * math/w_jn.c: Likewise.
51783 * math/w_jnf.c: Likewise.
51784 * math/w_jnl.c: Likewise.
51785 * math/w_lgamma.c: Likewise.
51786 * math/w_lgamma_r.c: Likewise.
51787 * math/w_lgammaf.c: Likewise.
51788 * math/w_lgammaf_r.c: Likewise.
51789 * math/w_lgammal.c: Likewise.
51790 * math/w_lgammal_r.c: Likewise.
51791 * math/w_log.c: Likewise.
51792 * math/w_log10.c: Likewise.
51793 * math/w_log10f.c: Likewise.
51794 * math/w_log10l.c: Likewise.
51795 * math/w_log2.c: Likewise.
51796 * math/w_log2f.c: Likewise.
51797 * math/w_log2l.c: Likewise.
51798 * math/w_logf.c: Likewise.
51799 * math/w_logl.c: Likewise.
51800 * math/w_pow.c: Likewise.
51801 * math/w_powf.c: Likewise.
51802 * math/w_powl.c: Likewise.
51803 * math/w_remainder.c: Likewise.
51804 * math/w_remainderf.c: Likewise.
51805 * math/w_remainderl.c: Likewise.
51806 * math/w_scalb.c: Likewise.
51807 * math/w_scalbf.c: Likewise.
51808 * math/w_scalbl.c: Likewise.
51809 * math/w_sinh.c: Likewise.
51810 * math/w_sinhf.c: Likewise.
51811 * math/w_sinhl.c: Likewise.
51812 * math/w_sqrt.c: Likewise.
51813 * math/w_sqrtf.c: Likewise.
51814 * math/w_sqrtl.c: Likewise.
51815 * math/w_tgamma.c: Likewise.
51816 * math/w_tgammaf.c: Likewise.
51817 * math/w_tgammal.c: Likewise.
51818
6a621eb7
UD
51819 * po/ja.po: Update from translation team.
51820
bf582445
AJ
518212011-09-29 Andreas Jaeger <aj@suse.de>
51822
f9efbf3a
AJ
51823 [BZ #13179]
51824 * sunrpc/netname.c (netname2host): Fix logic.
51825
bf582445
AJ
51826 [BZ #6779]
51827 [BZ #6783]
51828 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51829 correctly.
51830 * math/w_remainder.c (__remainder): Likewise.
51831 * math/w_remainderf.c (__remainderf): Likewise.
51832 * math/libm-test.inc (remainder_test): Add test cases.
51833
48693bea
AK
518342011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51835
51836 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
51837 sdiv_qrnnd.
51838
42622229
LD
518392011-10-07 Ulrich Drepper <drepper@gmail.com>
51840
51841 * string/test-memcmp.c: Avoid unncessary #defines.
51842 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51843
093ecf92
LD
518442011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51845
51846 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51847 Use new sse2 version for core i3 - i7 as it's faster
51848 than sse42 version.
51849 (bit_Prefer_PMINUB_for_stringop): New.
51850 * sysdeps/x86_64/rawmemchr.S: Update.
51851 Replace with faster SSE2 version.
51852 * sysdeps/x86_64/memrchr.S: New file.
51853 * sysdeps/x86_64/memchr.S: Update.
51854 Replace with faster SSE2 version.
51855
fde56e5c
MP
518562011-09-12 Marek Polacek <mpolacek@redhat.com>
51857
51858 * elf/dl-load.c (lose): Add cast to avoid warning.
51859
21fd49a9
UD
518602011-10-07 Ulrich Drepper <drepper@gmail.com>
51861
5a06e643
UD
51862 * po/ca.po: Update from translation team.
51863
684ae515
UD
51864 * inet/getnetgrent_r.c: Hook up nscd.
51865 * nscd/Makefile (routines): Add nscd_netgroup.
51866 (nscd-modules): Add netgroupcache.
51867 (CFLAGS-netgroupcache.c): Define.
51868 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51869 (cache_search): Add const to second parameter.
51870 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51871 INNETGR.
51872 (dbs): Add netgrdb entry.
51873 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51874 (verify_persistent_db): Handle netgrdb.
51875 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51876 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51877 GETFDNETGR.
51878 (netgroup_response_header): Define.
51879 (innetgroup_response_header): Define.
51880 (datahead): Add netgroup_response_header and innetgroup_response_header
51881 elements.
51882 * nscd/nscd.conf: Add entries for netgroup cache.
51883 * nscd/nscd.h (dbtype): Add netgrdb.
51884 (_PATH_NSCD_NETGROUP_DB): Define.
51885 (netgroup_iov_disabled): Declare.
51886 (xmalloc, xcalloc, xrealloc): Move declarations here.
51887 (cache_search): Adjust prototype.
51888 Add netgroup-related prototypes.
51889 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51890 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51891 (__nscd_innetgr): Declare.
51892 * nscd/selinux.c (perms): Use access_vector_t as element type and
51893 add netgroup-related initializers.
51894 * nscd/netgroupcache.c: New file.
51895 * nscd/nscd_netgroup.c: New file.
51896 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51897 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51898 For four parameters use innetgr.
51899 * nss/nss_files/files-init.c: Add definition and callback for netgr.
51900 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51901 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51902 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51903
21fd49a9
UD
51904 * nscd/connections.c (register_traced_file): Don't register file
51905 for disabled databases.
51906
054c0457
UD
519072011-10-06 Ulrich Drepper <drepper@gmail.com>
51908
32b63198
UD
51909 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51910
054c0457
UD
51911 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51912 from tree and freeing node.
51913
64031225
JO
519142011-09-25 Jiri Olsa <jolsa@redhat.com>
51915
51916 * nss/nsswitch.c (__nss_database_lookup): Handle
51917 nss_parse_service_list out of memory case.
51918
0490345c
JO
519192011-09-15 Jiri Olsa <jolsa@redhat.com>
51920
51921 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51922 out of memory case.
51923
3a62d00d
AS
519242011-10-04 Andreas Schwab <schwab@redhat.com>
51925
51926 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51927 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51928 pass it down.
51929 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51930 elf_machine_rela, elf_machine_lazy_rel.
51931 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51932 (ELF_DYNAMIC_DO_REL): Likewise.
51933 (ELF_DYNAMIC_DO_RELA): Likewise.
51934 (ELF_DYNAMIC_RELOCATE): Likewise.
51935 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51936 to ELF_DYNAMIC_DO_REL.
51937 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51938 (dl_main): In trace mode always set __RTLD_NOIFUNC.
51939 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51940 elf_machine_rela.
51941 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51942 skip_ifunc, don't call ifunc function if non-zero.
51943 (elf_machine_rela): Likewise.
51944 (elf_machine_lazy_rel): Likewise.
51945 (elf_machine_lazy_rela): Likewise.
51946 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51947 (elf_machine_lazy_rel): Likewise.
51948 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51949 Likewise.
51950 (elf_machine_lazy_rel): Likewise.
51951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51952 Likewise.
51953 (elf_machine_lazy_rel): Likewise.
51954 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51955 (elf_machine_lazy_rel): Likewise.
51956 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51957 (elf_machine_lazy_rel): Likewise.
51958 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51959 (elf_machine_lazy_rel): Likewise.
51960 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51961 (elf_machine_lazy_rel): Likewise.
51962 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51963 (elf_machine_lazy_rel): Likewise.
51964 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51965 (elf_machine_lazy_rel): Likewise.
51966
68577918
UD
519672011-09-28 Ulrich Drepper <drepper@gmail.com>
51968
51969 * nss/nss_files/files-init.c (_nss_files_init): Use static
51970 initialization for all the *_traced_file variables.
51971
68822d74
AS
519722011-09-28 Andreas Schwab <schwab@redhat.com>
51973
51974 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51975
2056100b
RM
519762011-09-27 Roland McGrath <roland@hack.frob.com>
51977
51978 [BZ #13226]
51979 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51980
32c76b63
AS
519812011-09-27 Andreas Schwab <schwab@redhat.com>
51982
51983 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51984 Reread the line before reparsing it.
51985
bf972c9d
AS
519862011-09-26 Andreas Schwab <schwab@redhat.com>
51987
51988 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51989
e057a1b5
JM
519902011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
51991 Maxim Kuvyrkov <maxim@codesourcery.com>
51992 Joseph Myers <joseph@codesourcery.com>
51993
51994 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51995 if needed for __stack_chk_guard.
51996
bc7e1c36
RM
519972011-09-19 Roland McGrath <roland@hack.frob.com>
51998
ecb1482f
RM
51999 * sysdeps/posix/spawni.c (script_execute): Always define it.
52000 It will be optimized away if unused.
52001 (maybe_script_execute): New function.
52002 (__spawni): Call it.
52003
bc7e1c36
RM
52004 * Makerules: Don't include tls.make.
52005 (config-tls): Always set to thread.
52006 * tls.make.c: File removed.
52007
1c3b002b
MF
520082011-09-19 Mike Frysinger <vapier@gentoo.org>
52009
52010 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52011 * config.make.in (CPPFLAGS-config): New substituted variable.
52012
2840865d
UD
520132011-09-15 Ulrich Drepper <drepper@gmail.com>
52014
88738eb6
UD
52015 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52016
cbf645a6 52017 [BZ #13192]
2840865d
UD
52018 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52019 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52020
b402e91a
RM
520212011-09-15 Roland McGrath <roland@hack.frob.com>
52022
52023 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52024 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52025 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52026 (CALL_FAIL): Likewise.
52027 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52028 (CALL_FAIL): Macro removed.
52029 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52030
4c1a1f71
UD
520312011-09-15 Ulrich Drepper <drepper@gmail.com>
52032
52033 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52034 for __FINITE_MATH_ONLY__ == 1.
52035
edc121be
AS
520362011-09-15 Andreas Schwab <schwab@redhat.com>
52037
52038 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52039 __ieee754_sqrt instead of sqrt.
52040 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52041 __ieee754_sqrtf instead of sqrtf.
52042 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52043 __floorf instead of floorf.
52044 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52045 __floorf, __truncf instead of floorf, truncf.
52046
cd205654
UD
520472011-09-14 Ulrich Drepper <drepper@gmail.com>
52048
ee4d0315
UD
52049 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52050
cd205654
UD
52051 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52052 __extern_always_inline.
52053 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52054 32-bit.
52055
48b67d71
AS
520562011-09-14 Andreas Schwab <schwab@redhat.com>
52057
52058 * elf/rtld.c (dl_main): Also relocate in dependency order when
52059 doing symbol dependency testing.
52060
1ae12c75
AS
520612011-09-13 Andreas Schwab <schwab@linux-m68k.org>
52062
52063 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52064 Always define `refsym'.
52065
995a80df
AS
520662011-09-13 Andreas Schwab <schwab@redhat.com>
52067
e529793b
AS
52068 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52069 (__FD_ELT): Renamed from __FDELT.
52070 * misc/bits/select2.h (__FD_ELT): Likewise.
52071 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52072 __FD_MASK instead of __FDELT, __FDMASK.
52073 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52074 Likewise.
52075 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52076 Likewise.
52077
52d4fef8
AS
52078 * elf/Makefile (gen-ldd): Fix pattern.
52079
995a80df
AS
52080 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52081 (init_tls): Likewise.
52082
8682f8b0
UD
520832011-09-12 Ulrich Drepper <drepper@gmail.com>
52084
52085 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52086
de82006d
AS
520872011-09-12 Andreas Schwab <schwab@redhat.com>
52088
a7c8e6a1
AS
52089 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52090 `struct cmsghdr *' instead of `void *'.
52091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52092 Likewise.
52093
0f31fe77
AS
520942011-09-11 Andreas Schwab <schwab@linux-m68k.org>
52095
52096 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52097 if non-absolute.
52098 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52099 ldd_rewrite_script.
0f31fe77 52100
32b4c839
UD
521012011-09-11 Ulrich Drepper <drepper@gmail.com>
52102
83cd1420
UD
52103 * configure.in: Remove --with-tls option.
52104 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52105 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52106 out in case it is missing.
52107 * sysdeps/ia64/elf/configure.in: Likewise.
52108 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52109 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52110 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52111 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52112 * sysdeps/sh/elf/configure.in: Likewise.
52113 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52114 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52115 * sysdeps/x86_64/elf/configure.in: Likewise.
52116 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52117 * sysdeps/mach/hurd/tls.h: Likewise.
52118
633f745d
UD
52119 [BZ #13067]
52120 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52121
f318beb8
UD
52122 [BZ #13090]
52123 * configure.in: Fix use of AC_INIT.
52124
32b4c839
UD
52125 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52126
3ce1f295
UD
521272011-09-10 Ulrich Drepper <drepper@gmail.com>
52128
bb016596
UD
52129 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52130 __set_errno.
8e58439c
UD
52131 * malloc/hooks.c: Likewise.
52132
aebae053 52133 [BZ #11929]
02d46fc4
UD
52134 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
52135 variables statically.
52136 (narenas): Initialize.
52137 (list_lock): Initialize.
bb016596
UD
52138 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
52139 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
52140 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52141 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
52142 Add initializers to main_arena and mp_.
52143 (malloc_state): Remove pagesize member. Change all users to use
52144 GLRO(dl_pagesize).
52145
52146 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52147 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
52148 is always initialized.
52149
22a89187
UD
52150 * malloc/malloc.c: Removed unused configurations and dead code.
52151 * malloc/arena.c: Likewise.
52152 * malloc/hooks.c: Likewise.
02d46fc4 52153 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 52154
d063d164
UD
52155 * include/tls.h: Removed. USE___THREAD must always be defined.
52156 * bits/libc-tsd.h: Don't handle !USE___THREAD.
52157 * elf/dl-libc.c: Likewise.
52158 * elf/dl-tsd.c: Likewise.
52159 * include/errno.h: Likewise.
52160 * include/netdb.h: Likewise.
52161 * include/resolv.h: Likewise.
52162 * inet/herrno-loc.c: Likewise.
52163 * inet/herrno.c: Likewise.
52164 * malloc/arena.c: Likewise.
52165 * malloc/hooks.c: Likewise.
52166 * malloc/malloc.c: Likewise.
52167 * resolv/res-state.c: Likewise.
52168 * resolv/res_libc.c: Likewise.
52169 * sysdeps/i386/dl-machine.h: Likewise.
52170 * sysdeps/ia64/dl-machine.h: Likewise.
52171 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52172 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52173 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52174 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52175 * sysdeps/sh/dl-machine.h: Likewise.
52176 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52177 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52178 * sysdeps/unix/i386/sysdep.S: Likewise.
52179 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52180 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52181 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52182 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52183 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52184 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52185 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52186 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52187 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52188 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52189 * sysdeps/unix/x86_64/sysdep.S: Likewise.
52190 * sysdeps/x86_64/dl-machine.h: Likewise.
52191 * tls.make.c: Likewise.
52192
3ce1f295
UD
52193 * configure.in: Remove --with-__thread option. Make tests for
52194 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52195 tls_model attribute fail if no support is available. Remove
52196 USE_IN_LIBIO.
52197 * Makeconfig: Adjust for dropped configure option. All features are
52198 now mandatory.
52199 * Makerules: Likewise.
52200 * Versions.def: Likewise.
52201 * argp/argp-fmtstream.c: Likewise.
52202 * argp/argp-fmtstream.h: Likewise.
52203 * argp/argp-help.c: Likewise.
52204 * assert/assert.c: Likewise.
52205 * config.h.in: Likewise.
52206 * config.make.in: Likewise.
52207 * configure: Likewise.
52208 * configure.in: Likewise.
52209 * csu/Versions: Likewise.
52210 * csu/init.c: Likewise.
52211 * elf/tst-audit2.c: Likewise.
52212 * elf/tst-tls10.c: Likewise.
52213 * elf/tst-tls10.h: Likewise.
52214 * elf/tst-tls11.c: Likewise.
52215 * elf/tst-tls12.c: Likewise.
52216 * elf/tst-tls14.c: Likewise.
52217 * elf/tst-tlsmod11.c: Likewise.
52218 * elf/tst-tlsmod12.c: Likewise.
52219 * elf/tst-tlsmod13.c: Likewise.
52220 * elf/tst-tlsmod13a.c: Likewise.
52221 * elf/tst-tlsmod14a.c: Likewise.
52222 * elf/tst-tlsmod15b.c: Likewise.
52223 * elf/tst-tlsmod16a.c: Likewise.
52224 * elf/tst-tlsmod16b.c: Likewise.
52225 * elf/tst-tlsmod7.c: Likewise.
52226 * elf/tst-tlsmod8.c: Likewise.
52227 * elf/tst-tlsmod9.c: Likewise.
52228 * gmon/gmon.c: Likewise.
52229 * grp/fgetgrent_r.c: Likewise.
52230 * grp/putgrent.c: Likewise.
52231 * hurd/fopenport.c: Likewise.
52232 * include/libc-symbols.h: Likewise.
52233 * include/tls.h: Likewise.
52234 * intl/gettextP.h: Likewise.
52235 * intl/loadinfo.h: Likewise.
52236 * locale/global-locale.c: Likewise.
52237 * locale/localeinfo.h: Likewise.
52238 * mach/devstream.c: Likewise.
52239 * malloc/arena.c: Likewise.
52240 * malloc/set-freeres.c: Likewise.
52241 * misc/err.c: Likewise.
52242 * misc/getttyent.c: Likewise.
52243 * misc/mntent_r.c: Likewise.
52244 * posix/getopt.c: Likewise.
52245 * posix/wordexp.c: Likewise.
52246 * pwd/fgetpwent_r.c: Likewise.
52247 * resolv/Versions: Likewise.
52248 * resolv/res_hconf.c: Likewise.
52249 * shadow/fgetspent_r.c: Likewise.
52250 * shadow/putspent.c: Likewise.
52251 * stdio-common/printf_fphex.c: Likewise.
52252 * stdio-common/tmpfile.c: Likewise.
52253 * stdlib/abort.c: Likewise.
52254 * stdlib/fmtmsg.c: Likewise.
52255 * sunrpc/auth_unix.c: Likewise.
52256 * sunrpc/clnt_perr.c: Likewise.
52257 * sunrpc/clnt_tcp.c: Likewise.
52258 * sunrpc/clnt_udp.c: Likewise.
52259 * sunrpc/clnt_unix.c: Likewise.
52260 * sunrpc/openchild.c: Likewise.
52261 * sunrpc/svc_simple.c: Likewise.
52262 * sunrpc/svc_tcp.c: Likewise.
52263 * sunrpc/svc_udp.c: Likewise.
52264 * sunrpc/svc_unix.c: Likewise.
52265 * sunrpc/xdr.c: Likewise.
52266 * sunrpc/xdr_array.c: Likewise.
52267 * sunrpc/xdr_rec.c: Likewise.
52268 * sunrpc/xdr_ref.c: Likewise.
52269 * sunrpc/xdr_stdio.c: Likewise.
52270
1248c1c4
PB
522712011-09-09 Ulrich Drepper <drepper@gmail.com>
52272
52273 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52274
522752011-07-03 Andreas Jaeger <aj@suse.de>
52276
52277 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52278 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52279 regenerate with gen-libm-tests.pl.
52280
522812010-05-12 Petr Baudis <pasky@suse.cz>
52282
52283 [BZ #11589]
52284 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52285 around j0() zero points by switching to j1().
52286 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52287 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52288 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52289 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52290
f22e1074
UD
522912011-09-09 Ulrich Drepper <drepper@gmail.com>
52292
f19009c1
UD
52293 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52294 instead of 0.
52295 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 52296 instead of 0.
f19009c1
UD
52297 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52298 Patch in part by Pavel Roskin <proski@gnu.org>.
52299
3f8cc204
UD
52300 [BZ #13138]
52301 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52302 realloc.
52303 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
52304 Free memory block if necessary.
52305
f22e1074
UD
52306 [BZ #12847]
52307 * libio/genops.c (INTDEF): For string streams the _lock pointer can
52308 be NULL. Don't lock in this case.
52309
0a2349f9
RM
523102011-09-09 Roland McGrath <roland@hack.frob.com>
52311
52312 * elf/elf.h (ELFOSABI_GNU): New macro.
52313 (ELFOSABI_LINUX): Define to that.
52314
f3cdd467
DZ
523152011-07-29 Denis Zaitceff <zaitceff@gmail.com>
52316
52317 * string/strncat.c (strncat): Undef the symbol in case it has been
52318 defined in bits/string.h.
52319
74718d13
UD
523202011-09-09 Ulrich Drepper <drepper@gmail.com>
52321
633e9e0f
UD
52322 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52323
0a2349f9 52324 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
52325 link map.
52326
f9924780
AJ
523272011-08-17 Andreas Jaeger <aj@suse.de>
52328
52329 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52330
7f5517aa
PP
523312011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
52332 Ian Lance Taylor <iant@google.com>
52333
52334 * math/libm-test.inc (lround_test): New testcase.
52335 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52336
762011fe
UD
523372011-09-08 Ulrich Drepper <drepper@gmail.com>
52338
92963737
UD
52339 * Makefile: Remove support for automatic cvs check-ins.
52340 * Makerules: Likewise.
52341 * config.make.in: Likewise.
52342 * configure.in: Likewise.
52343 * intl/Makefile: Likewise.
52344 * locale/Makefile: Likewise.
52345 * po/Makefile: Likewise.
52346 * posix/Makefile: Likewise.
52347 * sysdeps/gnu/Makefile: Likewise.
52348 * sysdeps/mach/hurd/Makefile: Likewise.
52349 * sysdeps/sparc/sparc32/Makefile: Likewise.
52350
b0727fd8
JS
52351 [BZ #13118]
52352 * posix/Makefile (bug-regex32-ENV): Define.
52353 Patch by John Stanley <jpsinthemix@verizon.net>.
52354
a0f33f99
UD
52355 * misc/Makefile (headers): Add bits/select2.h.
52356 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52357 * misc/bits/select2.h: New file.
52358 * include/bits/select2.h: New file.
52359 * debug/Makefile (routines): Add fdelt_chk.
52360 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52361 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52362 FD_ISSET.
52363 * debug/fdelt_chk.c: New file.
52364
762011fe
UD
52365 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
52366 * wcsmbs/test-wmemcmp.c: Likewise.
52367 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 52368 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
52369
523702011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52371
52372 * string/Makefile (strop-tests): Add memcmp.
52373 * string/test-wmemcmp.c: New file.
52374 * string/test-memcmp.c: Add wmemcmp support.
52375
7f513ec8
RM
523762011-09-08 Roland McGrath <roland@hack.frob.com>
52377
0442afb4
RM
52378 [BZ #13153]
52379 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52380 2011-07-19 change.
52381
7f513ec8
RM
52382 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52383 garbage value in a __mach_port_mod_refs call in the cases of the
52384 task-self and thread-self ports.
52385
a12b2239
ST
523862011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
52387
52388 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52389
610f9ab4
AS
523902011-09-08 Andreas Schwab <schwab@redhat.com>
52391
7f513ec8 52392 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 52393
48882a1a
LD
523942011-09-07 Ulrich Drepper <drepper@gmail.com>
52395
b49865be
UD
52396 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52397
fdc86bc9
UD
52398 * elf/dl-libc.c (dlerror_run): Pass back error code from
52399 dl_catch_error.
52400
c966526a
UD
52401 [BZ #13123]
52402 * elf/dl-load.c (lose): Free l_origin if it is valid.
52403
48882a1a
LD
52404 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52405 names.
52406 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52407 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52408 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52409 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52410 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52411 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52412
77a2a8b4
AZ
524132011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52414
52415 * sysdeps/powerpc/fpu/e_hypot.c: New file.
52416 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52417 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52418 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52419 * sysdeps/powerpc/fpu/k_cosf.c: New file.
52420 * sysdeps/powerpc/fpu/k_sinf.c: New file.
52421 * sysdeps/powerpc/fpu/s_cosf.c: New file.
52422 * sysdeps/powerpc/fpu/s_sinf.c: New file.
52423 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52424 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52425
24f579d8
AM
524262011-08-15 Alan Modra <amodra@gmail.com>
52427
52428 [BZ #13092]
52429 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52430 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52431 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
52432 ppc_mcount to static-only-routines.
52433 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52434 __mcount_internal.
52435 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52436 __mcount_internal with usual JUMPTARGET. Remove useless nop.
52437
3d4837df
UD
524382011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
52439
52440 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52441 for finite and infinity parameters.
52442
22700377
WS
524432011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
52444
52445 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52446 and add nop instructions for throughput optimization.
52447 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52448
5025581e
WS
524492011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
52450
52451 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52452 aligned copy for power7 with vector-scalar instructions.
52453 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52454
08a300c9
L
524552011-07-24 H.J. Lu <hongjiu.lu@intel.com>
52456
52457 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52458 AVX check.
52459
59178ef9
AS
524602011-09-07 Andreas Schwab <schwab@redhat.com>
52461
52462 [BZ #13144]
52463 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52464 last change.
52465
e38ba7ab
UD
524662011-09-07 Ulrich Drepper <drepper@gmail.com>
52467
52468 * sysdeps/unix/sysv/linux/x86_64/init-first.c
52469 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52470 syscall wrapper around clock_gettime in __vdso_clock_gettime.
52471 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52472 clock_gettime.
52473
d53a73ac
UD
524742011-09-06 Ulrich Drepper <drepper@gmail.com>
52475
fc8bffcc
UD
52476 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52477 Forgot to demangle the pointer.
52478
ceaa0c5d
UD
52479 * sysdeps/i386/sysdep.h: Define atom_text_section.
52480 * sysdeps/x86_64/sysdep.h: Likewise.
52481 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52482 section with atom_text_section.
52483 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52484 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52485 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52487 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52488
a77d3c17
UD
52489 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52490 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52491 already be defined. Change to take two parameters and don't assign
52492 result to variable. Adjust all users.
52493 Define INTERNAL_GETTIME if not already defined.
52494 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52495 call.
52496 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52497 HAVE_CLOCK_GETTIME_VSYSCALL.
52498 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52499
d53a73ac
UD
52500 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52501 gettimeofday vsyscall, just use time.
52502
a8f84144
AS
525032011-09-06 Andreas Schwab <schwab@redhat.com>
52504
52505 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52506 <errno.h>.
52507
ef606249
UD
525082011-09-06 Ulrich Drepper <drepper@gmail.com>
52509
52510 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52511 syscall on x86-64.
52512 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52513 syscall.
52514 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52515 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52516 syscall if possible.
52517
6585cb60
UD
525182011-09-05 Ulrich Drepper <drepper@gmail.com>
52519
52520 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52521 e_ident. Don't pass to find_mapsXX.
52522 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52523
a5f524e4
LD
525242011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52525
52526 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52527 strchr-sse2-no-bsf strrchr-sse2-no-bsf
52528 * sysdeps/x86_64/multiarch/strchr.S: Update.
52529 Check bit_slow_BSF bit.
52530 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52531 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52532 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52533
554881ef
UD
525342011-09-05 Ulrich Drepper <drepper@gmail.com>
52535
d96de963
UD
52536 [BZ #13134]
52537 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52538 before glibc 2.15.
52539 (tryshell): Define.
52540 (__spawni): Change last parameter to be flag. Test
52541 SPAWN_XFLAGS_USE_PATH flag to use path or not.
52542 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52543 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52544 * posix/spawni.c: Likewise.
52545 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52546 * posix/spawnp.c: Likewise. Change normal version to use
52547 SPAWN_XFLAGS_USE_PATH.
52548 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52549 SPAWN_XFLAGS_TRY_SHELL.
52550
d48e5868
UD
52551 [BZ #13150]
52552 * posix/glob.h: Remove gcc 1.x support.
52553
554881ef
UD
52554 [BZ #13068]
52555 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52556
693fb948
LD
525572011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52558
52559 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52560 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52561 strrchr-sse2-bsf
52562 * sysdeps/i386/i686/multiarch/strchr.S: New file.
52563 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52564 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52565 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52566 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52567 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52568
1b48c537
UD
525692011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52570
49d42c37
UD
52571 * sysdeps/x86_64/wcscmp.S: New file.
52572
1b48c537
UD
52573 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52574 wcscmp-c wcscmp-sse2
52575 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52576 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52577 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52578 * wcsmbs/wcscmp.c: Allow renaming.
52579
15c95c5d
DM
525802011-09-05 David S. Miller <davem@davemloft.net>
52581
52582 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52583 stack slot, rather than the struct return pointer slot.
52584 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52585 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52586 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52587 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52588
2f0ad8f3
UD
525892011-09-05 Ulrich Drepper <drepper@gmail.com>
52590
d88ae418
UD
52591 * po/ja.po: Update from translation team.
52592
2f0ad8f3
UD
52593 [BZ #13144]
52594 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52595 kernel in 64-bit binaries.
52596
5f4318d1
DM
525972011-09-01 David S. Miller <davem@davemloft.net>
52598
52599 * elf/elf.h (HWCAP_SPARC_*): Move to..
52600 * sysdeps/sparc/sysdep.h: this new file and add new values.
52601 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52602 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52603 _DL_HWCAP_COUNT to 24.
52604 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52605 entries.
52606 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52607 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52608 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52609 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52610 instead of magic constants.
52611 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52612
3ba57516
DM
526132011-08-31 David S. Miller <davem@davemloft.net>
52614
52615 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52616 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52617 Reimplement to do errno handling inline.
52618 (SYSCALL_ERROR_HANDLER): New macro.
52619 (__SYSCALL_STRING): Do not do errno handling in asm.
52620 (__CLONE_SYSCALL_STRING): Delete.
52621 (__INTERNAL_SYSCALL_STRING): Delete.
52622 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52623 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52624 (PSEUDO): Reimplement to do errno handling inline.
52625 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52626 (SYSCALL_ERROR_HANDLER): New macro.
52627 (__SYSCALL_STRING): Do not do errno handling in asm.
52628 (__CLONE_SYSCALL_STRING): Delete.
52629 (__INTERNAL_SYSCALL_STRING): Delete.
52630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52631 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52632 i386.
52633 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52634 (inline_syscall*): Add 'err' argument.
52635 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52636 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52637 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52638 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52639
52640 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52641 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52642
2bc17433
AS
526432011-08-30 Andreas Schwab <schwab@redhat.com>
52644
52645 * elf/rtld.c (dl_main): Relocate objects in dependency order.
52646
fbeb5f4d
JO
526472011-08-29 Jiri Olsa <jolsa@redhat.com>
52648
52649 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52650 directive.
52651
ad69cc26
DM
526522011-08-24 David S. Miller <davem@davemloft.net>
52653
52654 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52655
39dd69df
AS
526562011-08-24 Andreas Schwab <schwab@redhat.com>
52657
52658 * elf/Makefile: Add rules to build and run unload8 test.
52659 * elf/unload8.c: New file.
52660 * elf/unload8mod1.c: New file.
52661 * elf/unload8mod1x.c: New file.
52662 * elf/unload8mod2.c: New file.
52663 * elf/unload8mod3.c: New file.
52664
52665 * elf/dl-close.c (_dl_close_worker): Reset private search list if
52666 it wasn't used.
52667
2c0b250a
DM
526682011-08-23 David S. Miller <davem@davemloft.net>
52669
52670 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52671 subtract stack bias.
52672 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52673 %sp not %fp in calculations.
52674 (_JMPBUF_UNWINDS_ADJ): Likewise.
52675
22044b48
DM
52676 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52677 (aio_suspend): Call it to force an exception region around the
52678 AIO_MISC_WAIT() invocation.
52679
2cae4995
AS
526802011-08-23 Andreas Schwab <schwab@redhat.com>
52681
52682 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52683 backslash.
52684
873a772e
AJ
526852011-07-04 Aurelien Jarno <aurelien@aurel32.net>
52686
52687 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52688 protection macro.
52689 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52690 and <dl-machine.h>.
52691 (Elf64_FuncDesc): Remove.
52692
25ad0df1
DM
526932011-08-22 David S. Miller <davem@davemloft.net>
52694
52695 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52696 sigaltstack check, add missing cfi directives.
52697 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52698 missing cfi directives, and sigaltstack handling.
52699
e888bcbe
AS
527002011-08-16 Andreas Schwab <schwab@redhat.com>
52701
52702 [BZ #11724]
52703 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52704 object is seen twice.
52705 * elf/dl-fini.c (_dl_sort_fini): Likewise.
52706
52707 * elf/Makefile (distribute): Add tst-initorder2.c.
52708 (tests): Add tst-initorder2.
52709 (modules-names): Add tst-initorder2a tst-initorder2b
52710 tst-initorder2c tst-initorder2d. Add rules to build them.
52711 ($(objpfx)tst-initorder2.out): New rule.
52712 * elf/tst-initorder2.c: New file.
52713 * elf/tst-initorder2.exp: New file.
52714
87162f46
AS
527152011-08-22 Andreas Schwab <schwab@redhat.com>
52716
70538b7f
AS
52717 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52718
f55ffe58
AS
52719 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52720 dependencies back to end of function.
52721
87162f46
AS
52722 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52723 $(elfobjdir)/ld.so.
52724
91b392a4
UD
527252011-08-21 Ulrich Drepper <drepper@gmail.com>
52726
52727 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52728 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52729 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52730 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52731 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52732 of __vdso_gettimeofday.
52733 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52734 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
52735 attribute_hidden.
52736 (_libc_vdso_platform_setup): Remove initialization of
52737 __vdso_gettimeofday and __vdso_time.
52738
5c43483f
UD
527392011-08-20 Ulrich Drepper <drepper@gmail.com>
52740
775a77e7
UD
52741 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52742 and fgetc_unlocked.
52743 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52744 getc_unlocked.
89f447ed 52745
49c74ba9
UD
52746 * elf/dl-open.c (add_to_global): Report additions to the global scope
52747 for LD_DEBUG=scopes.
52748 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 52749 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 52750
5c43483f
UD
52751 [BZ #13114]
52752 * stdio-common/Makefile (tests): Add bug24.
52753 * stdio-common/bug24.c: New file.
52754
a101b025
AJ
527552011-08-19 Andreas Jaeger <aj@suse.de>
52756
52757 [BZ #13114]
52758 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52759 non-existant file when using close-on-exec mode.
52760
c88f1766
UD
527612011-08-20 Ulrich Drepper <drepper@gmail.com>
52762
0276a718
UD
52763 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52764 the very first instruction.
52765
c88f1766
UD
52766 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52767 the CFI state in the end.
52768 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52769 inclusion of dl-trampoline.h.
52770 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52771
51ccffa0
AS
527722011-08-19 Andreas Schwab <schwab@redhat.com>
52773
94d7165f
AS
52774 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52775 expectations for long double.
52776
51ccffa0
AS
52777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52778 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52779
fd708658 527802011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
52781
52782 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52783 artificual limit depends upon the system page size.
52784
44f0a71e
UD
527852011-08-17 Ulrich Drepper <drepper@gmail.com>
52786
52787 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52788 * resolv/Makefile: Define CFLAGS-libresolv.
52789
8de79a24
AS
527902011-08-17 Andreas Schwab <schwab@redhat.com>
52791
52792 * nss/makedb.c (compute_tables): Make variables used in nested
52793 function static.
52794
27724598
UD
527952011-08-17 Ulrich Drepper <drepper@gmail.com>
52796
c5305d88
UD
52797 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52798 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52799 if buffer was too small.
52800
27724598
UD
52801 * elf/pldd.c (main): Attach to all threads in the process.
52802 Rewrite /proc handling to use *at functions.
52803
076fe015
UD
528042011-08-16 Ulrich Drepper <drepper@gmail.com>
52805
174baab3
UD
52806 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52807 specifies first scope to show.
52808 (dl_open_worker): Update callers. Move printing scope of new
52809 object to before the relocation.
44f0a71e 52810 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
52811 * sysdeps/generic/ldsodefs.h: Update declaration.
52812
076fe015
UD
52813 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52814 string for the scope number.
52815
a60df2c3
UD
528162011-08-14 Ulrich Drepper <drepper@gmail.com>
52817
52818 * nscd/servicescache.c (cache_addserv): Make sure written is always
52819 initialized.
52820
5e4287d1
RM
528212011-08-14 Roland McGrath <roland@hack.frob.com>
52822
85ae0589
RM
52823 * sysdeps/i386/i486/bits/atomic.h
52824 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52825 statement expression, so as to suppress "set but not used" warning.
52826 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52827
69f63097
RM
52828 * string/strncat.c (STRNCAT): Use prototype definition.
52829
675456ef
RM
52830 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52831 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52832 -Iprograms here.
52833 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52834 (localedef-modules): Add localedef.
52835 (locale-modules): Add locale.
52836
5e4287d1
RM
52837 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52838 * elf/rtld.c (dl_main): Invert order of assignment in last change,
52839 to avoid a warning.
52840
9c96ff23
DM
528412011-08-14 David S. Miller <davem@davemloft.net>
52842
52843 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52844 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52845
f9ddf089
UD
528462011-08-13 Ulrich Drepper <drepper@gmail.com>
52847
44f0a71e 52848 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
52849 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52850 * elf/rtld.c (dl_main): Set l_name of vDSO.
52851 Call _dl_show_scope when DL_DEBUG_SCOPES.
52852 (process_dl_debug): Recognize scopes flag and also set it for all.
52853 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52854 Declare _dl_show_scope.
52855
1dc27704
UD
52856 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52857 (do_dlopen): Pass caller_dlopen to dl_open.
52858 (__libc_dlopen_mode): Initialize caller_dlopen.
52859
f9ddf089
UD
52860 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52861 of libc. Make tolower call locale-independent. Optimize a bit by
52862 using isdigit instead of isalnum.
52863 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52864
9ac533d3
UD
528652011-08-12 Ulrich Drepper <drepper@gmail.com>
52866
52867 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52868 was a dependency or dynamically loaded.
52869
89edf2e9
UD
528702011-08-11 Ulrich Drepper <drepper@gmail.com>
52871
8e999d29
UD
52872 * intl/l10nflist.c: Allow architecture-specific pop function.
52873 * sysdeps/x86_64/l10nflist.c: New file.
52874
89edf2e9
UD
52875 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52876 classification.
52877
14d96785
AS
528782011-08-10 Andreas Schwab <schwab@redhat.com>
52879
52880 * include/dirent.h: Add libc_hidden_proto for scandirat and
52881 scandirat64. Don't declare __scandirat64.
52882 * dirent/scandirat.c: Add libc_hidden_def.
52883 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52884 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52885
6761ac04
DM
528862011-08-10 David S. Miller <davem@davemloft.net>
52887
52888 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52889 enum.
52890 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52891 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52892 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52893
c55fbd1e
UD
528942011-08-09 Ulrich Drepper <drepper@gmail.com>
52895
52896 * Versions.def [libc]: Add GLIBC_2.15.
52897 * dirent/Makefile (routines): Add scandirat and scandirat64.
52898 * dirent/Versions [libc]: Export scandirat and scandirat64 for
52899 GLIBC_2.15.
52900 * dirent/dirent.h: Declare scandirat and scandirat64.
52901 * dirent/scandirat.c: New file.
52902 * dirent/scandirat64.c: New file.
52903 * sysdeps/wordsize-64/scandirat.c: New file.
52904 * sysdeps/wordsize-64/scandirat64.c: New file.
52905 * dirent/opendir.c: Define opendirat.
52906 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
52907 using scandirat.
52908 * dirent/scandir64.c: Adjust for scandir.c change.
52909 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
52910 __scandirat64, and __scandir_cancel_handler.
52911 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
52912 additional parameter and use openat instead of open (outside of ld.so).
52913 Add new __opendir as wrapper around __opendirat.
52914 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52915 here without requiring old scandirat implementation.
52916
879165f2
UD
529172011-08-08 Ulrich Drepper <drepper@gmail.com>
52918
52919 * dirent/scandir.c (cancel_handler): Renamed to
52920 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
52921 defined. Adjust users.
52922 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52923 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52924
cb7e923b
UD
529252011-08-04 Ulrich Drepper <drepper@gmail.com>
52926
16292edd
UD
52927 * string/test-string.h (IMPL): Use __STRING to expand name and then
52928 stringify it.
52929
cb7e923b
UD
52930 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
52931 of cleanups.
52932
cff82933
LD
529332011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
52934
52935 * string/Makefile: Update.
52936 (strop-tests): Append strncat.
52937 * string/test-wcscmp.c: New file.
52938 New comprehensive test for wcscmp.
52939 * string/test-strcmp.c: Update.
52940 (WIDE): New define.
52941
9be9bfcc
AS
529422011-07-22 Andreas Schwab <schwab@redhat.com>
52943
52944 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52945 line.
52946
2e96f1c7
AS
529472011-07-26 Andreas Schwab <schwab@redhat.com>
52948
52949 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52950 encoding to ACE if AI_IDN.
52951
85188888
JJ
529522011-08-01 Jakub Jelinek <jakub@redhat.com>
52953
52954 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52955 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52956
5fa16e9b
LD
529572011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52958
52959 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52960 Fix overflow bug in strncat.
52961 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52962
52963 * string/test-strncat.c: Update.
52964 Add new tests for checking overflow bugs.
52965
529662011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
52967
52968 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52969 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52970 * sysdeps/i386/i686/multiarch/strcat.S: New file.
52971 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52972 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52973 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52974 * sysdeps/i386/i686/multiarch/strncat.S: New file.
52975 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52976 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52977
52978 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52979 (USE_AS_STRCAT): Define.
52980 Add strcat and strncat support.
52981 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52982
8c1a459f
AS
529832011-07-25 Andreas Schwab <schwab@redhat.com>
52984
52985 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52986 __n bigger than INT_MAX+1.
52987 (__strncmp_g): Likewise.
52988
bba33c28
UD
529892011-07-23 Ulrich Drepper <drepper@gmail.com>
52990
798be72d
UD
52991 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52992 * libio/stido.h: Likewise.
52993
8accd4dc
UD
52994 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52995 (AF_NFC): Define.
52996 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52997 (AF_NFC): Define.
52998
cbff0d96
UD
52999 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53000 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53001 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53002 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53003 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53004
9191c04a
UD
53005 [BZ #13021]
53006 * scripts/test-installation.pl: Don't expect libnss_test1 to be
53007 installed.
53008
bba33c28
UD
53009 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53010 typo.
53011 (_dl_x86_64_save_sse): Likewise.
53012
90f139dd
UD
530132011-07-22 Ulrich Drepper <drepper@gmail.com>
53014
1aae088a
UD
53015 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53016 OSXSAVE.
53017 (_dl_x86_64_save_sse): Likewise.
53018
8e2045f5
UD
53019 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53020
90f139dd
UD
53021 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53022
1d002f25
AS
530232011-07-21 Andreas Schwab <schwab@redhat.com>
53024
53025 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53026 change.
53027 (_dl_x86_64_save_sse): Use correct AVX check.
53028
21137f89
UD
530292011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
53030
53031 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53032 bug in strncpy/strncat.
53033 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53034
a65c0b7a
UD
530352011-07-21 Ulrich Drepper <drepper@gmail.com>
53036
53037 * string/tester.c (test_strcat): Add tests for different alignments
53038 of source and destination.
53039 (test_strncat): Likewise.
53040
6986b98a
UD
530412011-07-20 Ulrich Drepper <drepper@gmail.com>
53042
90bb2039
UD
53043 [BZ #12852]
53044 * posix/glob.c (glob): Check passed in values before using them in
53045 expressions to avoid some overflows.
53046 (glob_in_dir): Likewise.
53047
5644ef54
UD
53048 [BZ #13007]
53049 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53050 check for AVX enablement so that we don't crash with old kernels and
53051 new hardware.
53052 * elf/tst-audit4.c: Add same checks here.
53053 * elf/tst-audit6.c: Likewise.
53054
53055 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 53056
bfc9dc9b
AS
530572011-07-09 Andreas Schwab <schwab@linux-m68k.org>
53058
53059 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53060
702e64bb
UD
530612011-07-20 Ulrich Drepper <drepper@gmail.com>
53062
53063 * po/cs.po: Update from translation team.
53064 * po/bg.po: Likewise.
53065
295e904f
MP
530662011-07-12 Marek Polacek <mpolacek@redhat.com>
53067
53068 * misc/sys/cdefs.h: Add support for const attribute.
53069 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53070 to gnu_dev_{major,minor,makedev} functions.
53071
3ff94596
MP
530722011-07-20 Marek Polacek <mpolacek@redhat.com>
53073
53074 * intl/dcigettext.c (get_output_charset): Add missing bracket.
53075
28b59fca
AS
530762011-07-20 Andreas Schwab <schwab@redhat.com>
53077
53078 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53079 strlen results.
53080
19df733e
AK
530812011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53082
53083 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53084 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53085 register in order to avoid conflicts with the soft frame pointer
53086 being held in r11 when necessary.
53087 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53088 (INTERNAL_VSYSCALL_NCS): Likewise.
53089
c8835729
MP
530902011-07-14 Marek Polacek <mpolacek@redhat.com>
53091
53092 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53093 * elf/dl-fini.c (_dl_fini): Adjust caller.
53094 * elf/dl-close.c (_dl_close_worker): Likewise.
53095 * sysdeps/generic/ldsodefs.h: Adjust declaration.
53096
b902330c
MP
530972011-07-15 Marek Polacek <mpolacek@redhat.com>
53098
8991e135
MP
53099 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53100 "aux_cache->nlibs < 0".
53101
b902330c
MP
53102 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53103 in the reload-count case.
53104
99710781
LD
531052011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53106
53107 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53108 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53109 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53110 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53111 * sysdeps/x86_64/multiarch/strcat.S: New file.
53112 * sysdeps/x86_64/multiarch/strncat.S: New file.
53113 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53114 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53115 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53116 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53117 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53118 (USE_AS_STRCAT): Define.
53119 Add strcat and strncat support.
53120 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53121 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53122 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53123 * string/strncat.c: Update.
53124 (USE_AS_STRNCAT): Define.
53125 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53126 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53127 and i7.
53128 * sysdeps/x86_64/multiarch/init-arch.h
53129 (bit_Prefer_PMINUB_for_stringop): New.
53130 (index_Prefer_PMINUB_for_stringop): Likewise.
53131 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53132 bit_Prefer_PMINUB_for_stringop.
53133
7dc6bd90
UD
531342011-07-19 Ulrich Drepper <drepper@gmail.com>
53135
53136 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53137 buffer64.
53138 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53139 of casting of buffer.
53140 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53141 buffer32 and buffer64.
53142 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53143 writes instead of casting of buffer.
53144 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53145 buffer32.
53146 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53147 casting of buffer.
53148
e0e72284
AS
531492011-07-19 Andreas Schwab <schwab@redhat.com>
53150
53151 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53152
feb1eb0b
UD
531532011-07-19 Ulrich Drepper <drepper@gmail.com>
53154
53155 * nscd/nscd.c (termination_handler): Don't do anything for a database
53156 if it has not yet been initialized.
53157
298711ff
UD
531582011-07-18 Ulrich Drepper <drepper@gmail.com>
53159
53160 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53161
531622011-07-15 Marek Polacek <mpolacek@redhat.com>
53163
53164 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53165
f9d68389
UD
531662011-07-18 Ulrich Drepper <drepper@gmail.com>
53167
53168 * po/nl.po: Update from translation team.
53169 * po/sv.po: Likewise.
53170
db290cf5
RM
531712011-07-16 Roland McGrath <roland@hack.frob.com>
53172
53173 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53174 now disallowed by GCC.
5c550700 53175
fd5e21c7
RM
53176 * configure.in (use-default-link): Default to yes if a test -shared
53177 link meets our qualifications.
53178 * configure: Regenerated.
53179
5c550700
RM
53180 * config.make.in (output-format): New variable.
53181 * configure.in: Check for ld --print-output-format support.
53182 * configure: Regenerated.
53183 * Makerules ($(common-objpfx)format.lds)
53184 [$(output-format) != unknown]: Just use $(output-format),
53185 instead of the linker-script munging.
53186
9fa2c032
RM
531872011-07-14 Roland McGrath <roland@hack.frob.com>
53188
a6928d51
RM
53189 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53190 of $(common-objpfx)shlib.lds.
53191 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53192
661607b3
RM
53193 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53194 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53195
9fa2c032
RM
53196 * configure.in (-z relro check): Adjust test code to add a large
53197 writable data section after it.
53198 * configure: Regenerated.
53199
defe9061
RM
532002011-07-11 Roland McGrath <roland@hack.frob.com>
53201
53202 * configure.in (-z relro check): Fix test code to make the variable
53203 truly const.
53204 * configure: Regenerated.
53205
319b9ad4
UD
532062011-07-11 Ulrich Drepper <drepper@gmail.com>
53207
53208 * nscd/nscd.h (struct traced_file): Define.
53209 (struct database_dyn): Remove inotify_descr, reset_res, and filename
53210 elements. Add traced_files.
53211 (inotify_fd): Declare.
53212 (register_traced_file): Declare.
53213 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53214 (inotify_fd): Export.
53215 (resolv_conf_descr): Remove.
53216 (nscd_init): Move inotify descriptor creation to main.
53217 Don't register files for notification here.
53218 (register_traced_file): New function.
53219 (invalidate_cache): Don't use reset_res to determine whether to call
53220 res_init, go through the list of registered files.
53221 (main_loop_poll): The inotify descriptors are now stored in the
53222 structures for the traced files.
53223 (main_loop_epoll): Likewise
53224 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
53225 to __nss_disable_nscd.
53226 * nscd/cache.c (prune_cache): There is no single inotify descriptor
53227 for a database anymore. Check the records for all the registered
53228 files instead.
53229 * nss/Makefile (libnss_files-routines): Add files-init.
53230 (libnss_db-routines): Add db-init.
53231 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53232 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53233 * nss/nss_db/db-init.c: New file.
53234 * nss/nss_files/files-init.c: New file.
53235 * nss/nsswitch.c (nss_load_library): New function. Broken out of
53236 __nss_lookup_function.
53237 (__nss_lookup_function): Call nss_load_library.
53238 (nss_load_all_libraries): New function.
53239 (__nss_disable_nscd): Take parameter with callback function for files
53240 to register. Set is_nscd. Load all the DSOs for the NSS modules
53241 used for the cached services.
53242 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53243 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53244 options for features to all the files in nscd.
53245
53246 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53247
23bee3e8
RM
532482011-07-10 Roland McGrath <roland@hack.frob.com>
53249
53250 * csu/elf-init.c (__libc_csu_init): Comment typo.
53251
46a5b7f0
UD
532522011-07-09 Ulrich Drepper <drepper@gmail.com>
53253
53254 * po/pl.po: Update from translation team.
53255 * po/ja.po: Likewise.
53256 * po/ru.po: Likewise.
53257 * po/ko.po: Likewise.
53258 * po/fr.po: Likewise.
53259
d30cf5bb
RM
532602011-07-09 Roland McGrath <roland@hack.frob.com>
53261
113ddea4
RM
53262 * configure.in (.ctors/.dtors header and trailer check):
53263 Use an empirical test on a built program.
53264 * configure: Regenerated.
53265
574920b4
RM
53266 * configure.in (-z relro check): Use an empirical test on a built DSO.
53267 Detect, but do not require, on ia64.
53268 * configure: Regenerated.
53269
d30cf5bb
RM
53270 * configure.in (READELF): Find it with AC_CHECK_TOOL.
53271 Update tests that use readelf to use $READELF instead.
53272 * configure: Regenerated.
53273
8538fdb3
UD
532742011-07-08 Ulrich Drepper <drepper@gmail.com>
53275
53276 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53277 if the result is not used.
53278
04d08991
AJ
532792011-07-05 Andreas Jaeger <aj@suse.de>
53280
53281 [BZ#9696]
53282 * stdlib/tst-strtod.c: Add testcase.
53283
de283087
AD
532842011-07-07 Ulrich Drepper <drepper@gmail.com>
53285
4e5f31c8 53286 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 53287 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
53288 The latter has a higher limit. Take additional parameter to pass to
53289 the new function.
53290 (__pathconf): Pass file to __statfs_link_max.
53291 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53292 __statfs_link_max.
53293 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53294 __statfs_link_max.
53295
de283087
AD
53296 [BZ #12868]
53297 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53298 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53299 Handle Lustre.
53300 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53301 (__statfs_filesize_max): Likewise.
53302 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53303
c75fa153
AJ
533042011-07-05 Andreas Jaeger <aj@suse.de>
53305
53306 * resolv/res_comp.c (dn_skipname): Remove unused variable.
53307
1a544854
UD
533082011-07-06 Marek Polacek <mpolacek@redhat.com>
53309
53310 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53311 `status' variable.
53312 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53313 Likewise.
53314
6f0eec67
UD
533152011-07-04 H.J. Lu <hongjiu.lu@intel.com>
53316
53317 * Makefile (strop-tests): Add strncat.
53318 * string/test-strncat.c: New file.
53319
aae30307
UD
533202011-06-30 Marek Polacek <mpolacek@redhat.com>
53321
53322 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53323
c0cfb5eb
UD
533242011-06-21 Andreas Jaeger <aj@suse.de>
53325
53326 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53327 Copy rule from iconvdata/Makefile.
53328
01636b21
UD
533292011-07-06 Ulrich Drepper <drepper@gmail.com>
53330
53331 [BZ #12922]
53332 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53333 but no long options are defined, just return 'W'.
53334
9895c8bc
UD
533352011-06-22 Marek Polacek <mpolacek@redhat.com>
53336
53337 [BZ #9696]
53338 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53339
5d4cf042
UD
533402011-07-06 Ulrich Drepper <drepper@gmail.com>
53341
53342 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53343 netgroups to read.
960e5535 53344 (innetgr): Likewise.
5d4cf042 53345
751eb97e
RM
533462011-07-05 Roland McGrath <roland@hack.frob.com>
53347
53348 * config.make.in (install_root): Default to $(DESTDIR).
53349
f15f1e45
UD
533502011-07-05 Ulrich Drepper <drepper@gmail.com>
53351
53352 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53353
4e34ac6a
RM
533542011-07-02 Roland McGrath <roland@hack.frob.com>
53355
5e9b6af4
RM
53356 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53357
84f9ea0f
RM
53358 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53359 containing directory rather than embedding absolute directory names.
53360
ea5ee9f7
RM
53361 * scripts/check-local-headers.sh: Rewritten using awk.
53362 Match by word, not by line. Print error messages for matches.
53363 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53364
1b74661a
RM
53365 * Makerules [shlib-lds-flags empty]:
53366 ($(common-objpfx)libc_pic.opts): New target.
53367 ($(common-objpfx)libc_pic.os.clean): New target.
53368 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53369
53370 * config.make.in (OBJCOPY): New variable.
53371 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53372 * configure: Regenerated.
53373
f781ef40
RM
53374 * config.make.in (use-default-link): New variable.
53375 * configure.in (use_default_link): Grok --with-default-link to set it.
53376 * configure: Regenerated.
53377 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53378 (shlib-lds, shlib-lds-flags): Define to empty.
53379
2d4fa81e
RM
53380 * Makerules (shlib-lds): New variable.
53381 (shlib-lds-flags): New variable.
53382 (build-shlib, build-moduile, build-module-asneeded): Use it.
53383 ($(common-objpfx)libc.so): Use $(shlib-lds).
53384 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53385 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53386
31fffa6b
RM
53387 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53388 DT_FLAGS/DT_FLAGS_1 with zero flags.
53389
4e34ac6a
RM
53390 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53391 linker script munging.
53392
fcfc776b
UD
533932011-07-02 Ulrich Drepper <drepper@gmail.com>
53394
53395 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53396 as 128-bit value.
53397 * crypt/sha512.c (sha512_process_block): Perform total addition using
53398 128-bit if possible.
53399 (__sha512_finish_ctx): Likewise.
53400 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53401 as 64-bit value.
53402 * crypt/sha256.c (SWAP64): Define.
53403 (sha256_process_block): Perform total addition using 64-bit if
53404 possible.
53405 (__sha256_finish_ctx): Likewise.
53406
99231d9a
UD
534072011-07-01 Ulrich Drepper <drepper@gmail.com>
53408
53409 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
53410 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53411 * nscd/hstcache.c (cache_addhst): Likewise.
53412 * nscd/grpcache.c (cache_addgr): Likewise.
53413 * nscd/aicache.c (addhstaiX): Likewise
53414 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53415
445b4a53
TK
534162011-07-01 Thorsten Kukuk <kukuk@suse.de>
53417
53418 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53419 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53420 * nscd/hstcache.c (cache_addhst): Likewise.
53421 * nscd/grpcache.c (cache_addgr): Likewise.
53422 * nscd/aicache.c (addhstaiX): Likewise
53423
6d4d8e8e
AS
534242011-07-01 Andreas Schwab <schwab@redhat.com>
53425
53426 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53427 domain only when needed.
53428
89f654c5
AS
534292011-06-30 Andreas Schwab <schwab@redhat.com>
53430
53431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53432 is always restored.
53433
cf3b23ff
UD
534342011-06-29 Ulrich Drepper <drepper@gmail.com>
53435
53436 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53437 are re-adding the entry.
53438 * nscd/servicescache.c (cache_addserv): Likewise.
53439
751626f9
AJ
534402011-06-30 Aurelien Jarno <aurelien@aurel32.net>
53441
53442 * sysdeps/generic/dl-irel.h: fix protection against multiple
53443 inclusions.
53444 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53445
9113ea1f
UD
534462011-06-28 Ulrich Drepper <drepper@gmail.com>
53447
5c0b8d90
UD
53448 [BZ #12935]
53449 * malloc/memusage.sh: Fix quoting in message.
53450 * debug/xtrace.sh: Likewise.
53451
9113ea1f
UD
53452 * configure.in: Remove support for --experimental-malloc option, make
53453 it the default.
53454 * config.make.in: Likewise.
53455 * malloc/Makefile: Likewise.
53456
a4172181
AS
534572011-06-27 Andreas Schwab <schwab@redhat.com>
53458
53459 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53460 two-byte characters.
53461
78a7eee7
RM
534622011-06-27 Roland McGrath <roland@hack.frob.com>
53463
62bede13
RM
53464 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53465 AC_CACHE_CHECK invocation.
53466 * configure: Regenerated.
53467
78a7eee7
RM
53468 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53469
5ce33a62
UD
534702011-06-27 Ulrich Drepper <drepper@gmail.com>
53471
034807a9
UD
53472 [BZ #12350]
53473 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
53474 bit from old_res_options.
53475
4902da17
UD
53476 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53477
5ce33a62
UD
53478 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53479 value type for setfct.
53480
c2344f56
L
534812011-06-23 H.J. Lu <hongjiu.lu@intel.com>
53482
53483 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53484 __gettimeofday instead of gettimeofday.
53485
68468076
UD
534862011-06-26 Ulrich Drepper <drepper@gmail.com>
53487
53488 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53489
acb0d739
L
534902011-06-24 H.J. Lu <hongjiu.lu@intel.com>
53491
53492 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53493
53494 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53495 info.
53496
8912479f
L
534972011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53498
53499 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53500 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53501 strcpy-sse2-unaligned strncpy-sse2-unaligned
53502 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53503 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53504 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53505 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53506 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53507 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53508 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53509 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53510 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53511 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53512 (STRCPY): Support SSE2 and SSSE3 versions.
53513
d5495a11
UD
535142011-06-24 Ulrich Drepper <drepper@gmail.com>
53515
53516 [BZ #12874]
53517 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53518 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53519 kernels which artificially limit size of requests.
53520
0b1cbaae
L
535212011-06-22 H.J. Lu <hongjiu.lu@intel.com>
53522
53523 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53524 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53525 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53526 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53527 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53528 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53529 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53530 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53531 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53532 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53533 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53534 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53535 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53536 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53537 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53538 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53539 Enable unaligned load optimization for Intel Core i3, i5 and i7
53540 processors.
53541 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53542 Define.
53543 (index_Fast_Unaligned_Load): Define.
53544 (HAS_FAST_UNALIGNED_LOAD): Define.
53545
07f494a0
MP
535462011-06-23 Marek Polacek <mpolacek@redhat.com>
53547
53548 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53549
fa3fc0fe
UD
535502011-06-22 Ulrich Drepper <drepper@gmail.com>
53551
53552 [BZ #12907]
53553 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53554 until it is clear that the information is realy needed.
53555 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53556
e12df166
AS
535572011-06-22 Andreas Schwab <schwab@redhat.com>
53558
53559 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53560
852eb34d
UD
535612011-06-22 Ulrich Drepper <drepper@gmail.com>
53562
84e2a551
UD
53563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53564 /sys/devices/system/cpu/online if it is usable.
53565
852eb34d
UD
53566 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53567 reading the information from the /proc filesystem to once a second.
53568
6e502e19
UD
535692011-06-21 Andreas Jaeger <aj@suse.de>
53570
53571 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53572 NULL after inclusion of kernel headers.
53573
75d39ff2
UD
535742011-06-21 Ulrich Drepper <drepper@gmail.com>
53575
51f9aa6a
UD
53576 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53577 calls to internal_setent.
53578
c0244a9d
UD
53579 [BZ #12885]
53580 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53581 addresses using gethostbyname4_r ignore IPv4 addresses.
53582
c5e3c2ae
UD
53583 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53584 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
53585
75d39ff2
UD
53586 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53587
42675c6f
DM
535882011-06-20 David S. Miller <davem@davemloft.net>
53589
53590 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53591 inclusions.
53592 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53593
53594 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53595 (elf_irel): Use it.
53596 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53597 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53598 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53599 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53600 * sysdeps/x86_64/dl-irel.h: Likewise.
53601
53602 * elf/dl-runtime.c: Use elf_ifunc_invoke.
53603 * elf/dl-sym.c: Likewise.
53604
57912a71
UD
536052011-06-15 Ulrich Drepper <drepper@gmail.com>
53606
53607 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
53608 need to dereference resplen2.
53609
ee22793d
AS
536102011-06-14 Andreas Schwab <schwab@redhat.com>
53611
53612 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53613
a9e836b0
UD
536142011-06-15 Ulrich Drepper <drepper@gmail.com>
53615
77fb9117
UD
53616 * Makeconfig: Define vardbdir and inst_vardbdir.
53617 * nss/Makefile: Add rules to install db-Makefile.
53618
40c1b22c
UD
53619 * nss/nss_db/db-XXX.c: Cleanup.
53620
9f2da732
UD
53621 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53622 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53623 GLIBC_PRIVATE.
53624 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53625 * nss/makedb.c: Implement -g option to specify that value strings
53626 are generated and should not be added to table iterated over for
53627 get*ent calls.
53628 * nss/nss_db/db-initgroups.c: New file.
53629
82e9a1f7
UD
53630 * nss/getent.c: Add support for initgroups lookups through getgrouplist
53631 interface.
53632
c41af17e
UD
53633 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53634 (internal_getgrouplist): Adjust to name change.
53635 Update use_initgroups_entry if this is not the first call.
53636 * nss/databases.def: Add initgroups entry.
53637
a9e836b0
UD
53638 * nss/makedb.c (compute_tables): Check result of multiple hash table
53639 sizes to minimize maximum chain length.
53640
2666d441
UD
536412011-06-14 Ulrich Drepper <drepper@gmail.com>
53642
53643 * Versions.def: Add entry for libnss_db.
53644 * shlib-versions: Likewise.
53645 * nss/Makefile: Add rules to build libnss_db.
53646 * nss/Versions: Add libnss_db information. Organize libnss_files
53647 entries better.
53648 * nss/db-Makefile: Add gshadow support. Change rules for the new
53649 makedb progra. Some minor improvements to generate smaller files.
53650 * nss/nss_db/nss_db.h: Move NSS database header data structures to
53651 here from...
53652 * nss/makedb.c: ...here.
53653 Improve database format to be smaller and require less memory at
53654 runtime.
53655 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
53656 db anymore.
53657 * nss/nss_db/db-netgrp.c: Likewise.
53658 * nss/nss_db/db-open.c: Likewise.
53659 * nss/nss_files/flies-XXX.x: Adjust comments.
53660 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53661 * nss/nss_files/files-grp.c: Likewise.
53662 * nss/nss_files/files-hosts.c: Likewise.
53663 * nss/nss_files/files-network.c: Likewise.
53664 * nss/nss_files/files-proto.c: Likewise.
53665 * nss/nss_files/files-pwd.c: Likewise.
53666 * nss/nss_files/files-rpc.c: Likewise.
53667 * nss/nss_files/files-service.c: Likewise.
53668 * nss/nss_files/files-sgrp.c: Likewise.
53669 * nss/nss_files/files-spwd.c: Likewise.
53670 * nss/nss_db/db-alias.c: Removed.
53671 * nss/nss_db/dummy-db.h: Removed.
53672
9ee76b5a
UD
536732011-06-02 Ulrich Drepper <drepper@gmail.com>
53674
53675 * nss/makedb.c: Rewritten to not use database library.
53676 * nss/Makefile: Update to build new makedb program.
53677
c71ca1f8
AJ
536782011-06-14 Andreas Jaeger <aj@suse.de>
53679
53680 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53681 memset declaration.
53682
3154bfb8
UD
536832011-06-10 Andreas Schwab <schwab@redhat.com>
53684
53685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53686 tmpbuf.
53687
b350afab
RM
536882011-06-10 Roland McGrath <roland@hack.frob.com>
53689
decd4e50
RM
53690 * Makerules (shlib.lds): Fail if the linker script comes out empty.
53691 * elf/Makefile ($(objpfx)ld.so): Likewise.
53692
5615eaf2
RM
53693 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53694 Don't list ld.so twice in dependencies.
53695
53696 * posix/bug-regex31.c: Include <stdlib.h>.
53697
53698 * nscd/hstcache.c (cache_addhst): Remove unused variable.
53699
53700 * nis/nss_compat/compat-spwd.c
53701 (getspent_next_nss_netgr): Remove unused variable.
53702 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53703
53704 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53705 nonmembers" output to use the right array.
53706
53707 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53708
53709 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53710
53711 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53712 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53713 * catgets/gencat.c (read_input_file): Likewise.
53714 * locale/programs/locarchive.c (enlarge_archive): Likewise.
53715
53716 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53717 variable definition inside #if's controlling its use.
53718
53719 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53720
53721 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53722
53723 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53724
53725 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53726 unreachable code.
53727
53728 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53729
b68e08db
RM
53730 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53731 * configure: Regenerated.
53732
b350afab
RM
53733 * Makerules: Revert last change.
53734 * elf/Makefile: Likewise.
53735
28368601
RM
537362011-06-09 Roland McGrath <roland@hack.frob.com>
53737
53738 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53739 * elf/Makefile ($(objpfx)librtld.os): Likewise.
53740 (reloc-link): Likewise.
53741
11988f8f
UD
537422011-06-09 Ulrich Drepper <drepper@gmail.com>
53743
53744 * elf/Makefile: Add rules to build pldd.
53745 * elf/pldd.c: New file.
53746 * elf/pldd-xx.c: New file.
53747
e80fab37
UD
537482011-06-07 Ulrich Drepper <drepper@gmail.com>
53749
53750 * version.h: Update for 2.15 development version.
53751
9b849836
DM
537522011-06-07 David S. Miller <davem@davemloft.net>
53753
53754 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53755 ifuncs.
53756 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53757 elf_machine_lazy_rel): Likewise.
53758 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53759 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53760 elf_machine_lazy_rel): Likewise.
53761 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53762 dl_hwcap via passed in argument.
53763 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53764 Likewise.
53765
5a31b283
AK
537662011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53767
53768 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
53769
069e52f8
RM
537702011-06-06 Roland McGrath <roland@hack.frob.com>
53771
53772 [BZ #12849]
53773 * manual/fdl-1.1.texi: New file, verbatim from:
53774 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53775 * manual/lgpl-2.1.texi: New file, verbatim from:
53776 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53777 * manual/Makefile (licenses): New variable, list those new file names.
53778 (texis): Use it.
53779 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53780
53781 * manual/fdl.texi: File removed.
53782 * manual/lesser.texi: File removed.
53783 * manual/libc.texinfo (Copying, Documentation License):
53784 Use new @include file names, put @appendix directive before @include.
53785
f16846a5
JJ
537862011-06-04 Jakub Jelinek <jakub@redhat.com>
53787
53788 [BZ #12841]
53789 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53790 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53791 (mq_open): Add __NTH.
53792
3d29045b
L
537932011-06-02 H.J. Lu <hongjiu.lu@intel.com>
53794
53795 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53796 Assume Intel Core i3/i5/i7 processor if AVX is available.
53797
8c297311
UD
537982011-05-31 Ulrich Drepper <drepper@gmail.com>
53799
53800 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53801 typo.
53802
c8fc0c91
UD
538032011-05-31 Andreas Schwab <schwab@redhat.com>
53804
53805 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53806 memory. Use alloca_account. Fix memory leak when retrying.
53807
5b27a807
UD
538082011-05-31 Ulrich Drepper <drepper@gmail.com>
53809
356f8bc6
UD
53810 * version.h (RELEASE): Bump for 2.14 release.
53811 * include/features.h (__GLIBC_MINOR__): Bump to 14.
53812
5b27a807
UD
53813 * config.make.in (RANLIB): Remove entry.
53814
01f16ab0
UD
538152011-05-30 Ulrich Drepper <drepper@gmail.com>
53816
41fce8bd
UD
53817 * po/Makefile (po-sed-cmd): Add ksh to extensions.
53818 (libc.pot): Work around missing support for .ksh extension in xgettext.
53819
4769ae77
UD
53820 [BZ #12684]
53821 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53822 if both request failed.
53823 (send_dg): In case of server errors clear resplen or *resplen2.
53824
6b1e7d19
UD
53825 [BZ #12454]
53826 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53827 when there are multiple maps.
53828 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53829 (_dl_fini): Remove test here.
53830
01f16ab0
UD
53831 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53832
b1ebd700
UD
538332011-05-29 Ulrich Drepper <drepper@gmail.com>
53834
7ae22829
UD
53835 [BZ #12350]
53836 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53837 bit from old_res_options.
53838 (gaih_inet): Likewise.
53839
553149f6 53840 [BZ #11099]
18a84741 53841 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
53842 as signed.
53843
652ffab1
UD
53844 * resolv/res_init.c (res_setoptions): Make the code more compact.
53845
16985fd0
UD
53846 [BZ #11558]
53847 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53848 set RES_USEVC.
53849
0464f746
UD
53850 [BZ #11634]
53851 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53852
7d17596c
UD
53853 * malloc/malloc.h: Mark malloc hook variables as deprecated.
53854
cf6bbbd7
UD
53855 [BZ #11781]
53856 * malloc/malloc.h: Declare malloc hook variables as volatile.
53857
13f1ab36
UD
53858 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53859 in last patch.
53860
b1ebd700
UD
53861 [BZ #11799]
53862 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 53863 raise in the comment.
80e2212d
UD
53864 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53865 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53866 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 53867
ce67228d
UD
538682011-05-28 Ulrich Drepper <drepper@gmail.com>
53869
8887a920
UD
53870 [BZ #12811]
53871 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53872 grow the buffers more if it already has to be sufficient.
53873 (build_wcs_upper_buffer): Likewise.
53874 * posix/regexec.c (check_matching): Likewise.
53875 (clean_state_log_if_needed): Likewise.
53876 (extend_buffers): Don't enlarge buffers beyond size of the input
53877 buffer.
53878 Patches mostly by Emil Wojak <emil@wojak.eu>.
53879 * posix/bug-regex32.c: New file.
53880 * posix/Makefile (tests): Add bug-regex32.
53881
4f031072
UD
53882 * locale/findlocale.c (_nl_find_locale): Return right away if
53883 _nl_explode_name failed.
53884 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53885
d0478f0c
UD
53886 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53887
de81b246
UD
53888 * debug/xtrace.sh: Unify messages.
53889 * malloc/memusage.sh: Likewise.
53890
c738465a
UD
53891 [BZ #12813]
53892 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53893 time symbol from vDSO. Substitute with vsyscall if not available.
53894 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53895 __vdso_time.
53896
f1f929d7
UD
53897 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53898 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53899 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53900 Add sendmmsg and internal_sendmmsg.
53901 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53902 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53903 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53904
ce67228d
UD
53905 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53906 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53908
e57420c6
UD
539092011-05-27 Ulrich Drepper <drepper@gmail.com>
53910
a8509ca5
UD
53911 [BZ #12813]
53912 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53913 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
53914 available.
53915 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53916 __vdso_getcpu.
53917
e57420c6
UD
53918 [BZ #12814]
53919 * iconvdata/Makefile (tests): Add bug-iconv9.
53920 * iconvdata/bug-iconv9.c: New file.
53921
4d07db15
AS
539222011-05-27 Andreas Schwab <schwab@redhat.com>
53923
53924 [BZ #12814]
53925 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53926
ea486f69
JJ
539272011-05-25 Jakub Jelinek <jakub@redhat.com>
53928
53929 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53930 (struct user_regs_struct): Change intcs field back to cs.
53931
6f038433
UD
539322011-05-25 Ulrich Drepper <drepper@gmail.com>
53933
53934 * po/ja.po: Update from translation team.
53935
67f86a25
UD
539362011-05-23 Ulrich Drepper <drepper@gmail.com>
53937
53938 [BZ #12795]
53939 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53940 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53941
def7fbd6
AS
539422011-05-20 Andreas Schwab <schwab@redhat.com>
53943
53944 * stdlib/longlong.h: Update from GCC.
53945
f50ef8f1
AS
539462011-05-23 Andreas Schwab <schwab@redhat.com>
53947
53948 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53949 parameter name.
53950 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53951 Add parameter name.
53952 (__sysconf): Pass it down.
53953
de7ce8f1
UD
539542011-05-22 Ulrich Drepper <drepper@gmail.com>
53955
f2962a71
UD
53956 [BZ #12671]
53957 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53958 some situations.
53959 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53960 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53961 add in in __libc_use_alloca calls. Adjust callers.
53962 (glob): Use malloc in some situations.
53963
de7ce8f1
UD
53964 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53965 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53966 pltexit.
53967
aec84f53
UD
539682011-05-21 Ulrich Drepper <drepper@gmail.com>
53969
05bb4a68
UD
53970 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53971 and CLOCK_BOOTTIME_ALARM.
53972
7ea72f99
UD
53973 [BZ #12782]
53974 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53975 is returned.
53976
7e4afad5
UD
53977 * string/_strerror.c (__strerror_r): Print negative errors as signed
53978 numbers.
53979
8e211fec
UD
53980 [BZ #12777]
53981 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53982 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53983 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53984
f7d82dc9
UD
53985 * configure.in: Fix typo in redirection and correct removal of test
53986 files in two cases.
53987
cc9e536d
UD
53988 [BZ #12788]
53989 * locale/setlocale.c (new_composite_name): Fix test to check for
53990 identical name of all categories.
53991
aec84f53
UD
53992 [BZ #12792]
53993 * libio/filedoalloc.c (local_isatty): New function.
53994 (_IO_file_doallocate): Use local_isatty.
53995 * stdio-common/perror.c (perror): In case a new stream is used
53996 forward the stream error.
53997 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53998 error flag.
53999
78e64fdc
RT
540002011-05-20 Ulrich Drepper <drepper@gmail.com>
54001
34a9094f
UD
54002 [BZ #11869]
54003 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54004 alloca.
54005 * include/alloca.h (extend_alloca_account): Define.
54006
78e64fdc
RT
54007 [BZ #11857]
54008 * posix/regex.h: Fix comments with documentation of user-accessible
54009 fields after compilation and describe correct free'ing of pattern
54010 after re_compile_pattern.
54011 Patch by Reuben Thomas <rrt@sc3d.org>.
54012
457bddfc
RA
540132011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
54014
54015 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54016 and -mno-altivec to prevent the compiler from using Altivec and/or
54017 VSX instructions when the corresponding registers are not available.
54018
a4527b51
AS
540192011-05-19 Andreas Schwab <schwab@redhat.com>
54020
54021 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54022
ed690b2f
UD
540232011-05-19 Ulrich Drepper <drepper@gmail.com>
54024
54025 * libio/freopen.c (freopen): Use __dup2, not dup2.
54026 * libio/freopen64.c (freopen64): Likewise.
54027
8db73634
L
540282011-05-17 H.J. Lu <hongjiu.lu@intel.com>
54029
54030 [BZ #12775]
54031 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54032 * math/Makefile (tests): Add test-powl.
54033 (CFLAGS-test-powl.c): Define.
54034 * math/test-powl.c: New file.
54035
0a197a9d
L
540362011-05-16 H.J. Lu <hongjiu.lu@intel.com>
54037
54038 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54039
ee30c380
UD
540402011-05-17 Ulrich Drepper <drepper@gmail.com>
54041
54042 [BZ #11837]
54043 * iconvdata/gb18030.c: Update to GB18020-2005.
54044
6ce75379
UD
540452011-05-16 Ulrich Drepper <drepper@gmail.com>
54046
a4b89fd8
AR
54047 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54048 RE_SYNTAX_POSIX_AWK): Update to match recent development.
54049 Patch by Aharon Robbins <arnold@skeeve.com>.
54050
ea389b12
UD
54051 [BZ #11892]
54052 * stdlib/putenv.c (putenv): Don't always create copy of the variable
54053 on the stack.
54054
68a3f91f
UD
54055 [BZ #11895]
54056 * misc/pselect.c (__pselect): Handle timeout value errors hidden
54057 through underflows.
54058
15cc7dd1
UD
54059 [BZ #12766]
54060 * misc/error.c (error_at_line): Ensure file_name and old_file_name
54061 point to strings before performing equality test for error_one_per_line
54062 mode.
54063
f3799213
UD
54064 [BZ #11697]
54065 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54066
d79a9c94
UD
54067 [BZ #11820]
54068 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54069 (struct user_fpregs_struct): Avoid __uint*_t types.
54070
56e5eb46
UD
54071 [BZ #6420]
54072 * malloc/mtrace.c (tr_where): Add additional parameter to point to
54073 symbol info. Use it instead of calling _dl_addr locally.
54074 (lock_and_info): New function.
54075 (tr_freehook): Call lock_and_info and pass symbol info as additional
54076 parameter to tr_where.
54077 (tr_mallochook): Likewise.
54078 (tr_reallochook): Likewise.
54079 (tr_memalignhook): Likewise.
54080
6ce75379
UD
54081 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
54082 used and couldn't be at all thread-safe.
54083
f8a3b5bf
UD
540842011-05-15 Ulrich Drepper <drepper@gmail.com>
54085
94b7cc37
UD
54086 * libio/freopen.c (freopen): Don't close old file descriptor
54087 before the new one is opened. Instead dup the new file descriptor
54088 to the old one after the new stream is created.
54089 * libio/freopen64.c (freopen64): Likewise.
54090 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54091 * libio/fileops.c (_IO_new_file_close_it): Handle new
54092 _IO_FLAGS2_NOCLOSE flag.
54093 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54094 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54095 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54096 _IO_FLAGS2_NOCLOSE flag.
54097 * include/unistd.h: Add hidden_proto for dup3.
54098 Define __have_dup3.
54099 * io/dup3.c: Define hidden symbol.
54100 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54101
bd25564e
UD
54102 [BZ #7101]
54103 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54104 when an incomplete long option is used.
54105 * posix/tst-getopt_long1.c: New file.
54106 * posix/Makefile (tests): Add tst-getopt_long1.
54107
c84cfef4
UD
54108 [BZ #10138]
54109 * scripts/config.guess: Update from autoconf-2.68.
54110 * scripts/config.sub: Likewise.
54111
3b85df27
UD
54112 [BZ #10157]
54113 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54114 tests into ...
54115 (has_cpuclock): ...this. New function.
54116 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54117 macro here based on has_cpuclock code.
54118
15a856b1
UD
54119 [BZ #10149]
54120 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54121 First byte (not low byte) is now always NUL.
54122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54123
05f399e6
UD
54124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54125 Use non-cancelable interfaces.
54126
10a52685 54127 [BZ #9809]
94ecc67d
UD
54128 * locale/iso-639.def: Add entry for Sorani.
54129
f8a3b5bf
UD
54130 [BZ #11901]
54131 * include/stdlib.h: Move include protection to the right place.
54132 Define abort_msg_s. Declare __abort_msg with it.
54133 * stdlib/abort.c (__abort_msg): Adjust type.
54134 * assert/assert.c (__assert_fail_base): New function. Majority
54135 of code from __assert_fail. Allocate memory for __abort_msg with
54136 mmap.
54137 (__assert_fail): Now call __assert_fail_base.
54138 * assert/assert-perr.c: Remove bulk of implementation. Use
54139 __assert_fail_base.
54140 * include/assert.hL Declare __assert_fail_base.
54141 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54142 mmap.
54143 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54144
1af4e298
UD
541452011-05-14 Ulrich Drepper <drepper@gmail.com>
54146
f8a3b5bf 54147 [BZ #11952]
d26dfc60
MG
54148 [BZ #12453]
54149 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54150 until all modules are registered in the DTV.
54151 * elf/Makefile: Add rules to build and run tst-tls19.
54152 * elf/tst-tls19.c: New file.
54153 * elf/tst-tls19mod1.c: New file.
54154 * elf/tst-tls19mod2.c: New file.
54155 * elf/tst-tls19mod3.c: New file.
54156 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54157
2fc54d6f
UD
54158 [BZ #12083]
54159 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54160 correctly.
54161
98d76b46
UD
54162 [BZ #12601]
54163 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54164 two-byte sequence errors.
54165 * iconvdata/Makefile (tests): Add bug-iconv8.
54166 * iconvdata/bug-iconv8.c: New file.
54167
da3c19ef
UD
54168 [BZ #12626]
54169 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54170 buf2 definition.
54171
ca408c15
UD
54172 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54173
d6f67f7d
UD
54174 [BZ #12432]
54175 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54176 (dummy_getcfa): New function.
54177 (init): Get _Unwind_GetCFA address, use dummy if not found.
54178 (backtrace_helper): In recursion check, also check whether CFA changes.
54179 (__backtrace): Completely initialize arg.
54180
1af4e298 54181 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
54182 storing incomplete byte sequence in state object. Avoid testing for
54183 guaranteed too small input if we know there is enough data available.
1af4e298 54184
da62f81b
AS
541852011-05-11 Andreas Schwab <schwab@redhat.com>
54186
54187 * Makeconfig (+link-pie): Indent.
54188 * Rules (binaries-pie): Define if $(have-fpie) and
54189 $(build-shared).
54190 (binaries-shared): Also filter out $(binaries-pie).
54191 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54192 * nscd/Makefile (others-pie): Add nscd.
54193 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54194 ($(objpfx)nscd): Remove command override.
54195 * login/Makefile (others-pie): Add pt_chown.
54196 ($(objpfx)pt_chown): Remove command override.
54197 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54198 remove command overrides.
54199
fcabc0f8
UD
542002011-05-13 Ulrich Drepper <drepper@gmail.com>
54201
20030ae6
UD
54202 * libio/tst_putwc.c: Fix error messages.
54203
fcabc0f8
UD
54204 [BZ #12724]
54205 * libio/fileops.c (_IO_new_file_close_it): Always flush when
54206 currently writing and seek to current position when not.
54207 * libio/Makefile (tests): Add bug-fclose1.
54208 * libio/bug-fclose1.c: New file.
54209
320a5dc0
PB
542102011-05-12 Ulrich Drepper <drepper@gmail.com>
54211
54212 [BZ #12511]
54213 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54214 don't set DF_1_NODELETE here.
54215 (do_lookup_x): When entering new entry test for copy relocation
54216 and if necessary set DF_1_NODELETE flag.
54217 * elf/tst-unique4.cc: New file.
54218 * elf/tst-unique4.h: New file.
54219 * elf/tst-unique4lib.cc: New file.
54220 * elf/Makefile: Add rules to build and run tst-unique4.
54221 Patch by Piotr Bury <pbury@goahead.com>.
54222
22836f52
UD
542232011-05-11 Ulrich Drepper <drepper@gmail.com>
54224
f574184a
UD
54225 [BZ #12052]
54226 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54227
e1fb097f
UD
54228 [BZ #12625]
54229 * misc/mntent_r.c (addmntent): Flush the stream after the output
54230
22836f52
UD
54231 [BZ #12393]
54232 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54233 (is_trusted_path_normalize): Skip initial colon. Append slash
54234 to empty buffer. Duplicate is_trusted_path code but allow
54235 constructed patch to be prefix.
54236 (is_dst): Allow $ORIGIN followed by /.
54237 (_dl_dst_substitute): Correct clearing of check_for_trusted.
54238 Correct testing of result of is_trusted_path_normalize
54239 (decompose_rpath): Fix warning.
54240
7b3b0b2a
UD
542412011-05-10 Ulrich Drepper <drepper@gmail.com>
54242
54243 [BZ #11257]
54244 * grp/initgroups.c (internal_getgrouplist): When we found the service
54245 list through the initgroups entry in nsswitch.conf do not always
54246 continue on a successful lookup. Don't always use the
eac80ce2 54247 __nss_group_database value if it is set.
7b3b0b2a
UD
54248 * nss/nsswitch.conf (initgroups): Change action for successful db
54249 lookup to continue for compatibility.
54250
2a81eaa5
UD
542512011-05-09 Ulrich Drepper <drepper@gmail.com>
54252
be97a69e
UD
54253 [BZ #11532]
54254 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54255 and CP774 modules.
54256 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54257 and CP774 modules.
54258 * iconvdata/tst-tables.sh: Likewise.
54259 * iconvdata/cp770.c: New file.
54260 * iconvdata/cp771.c: New file.
54261 * iconvdata/cp772.c: New file.
54262 * iconvdata/cp773.c: New file.
54263 * iconvdata/cp774.c: New file.
54264 * iconvdata/testdata/CP770: New file.
54265 * iconvdata/testdata/CP770..UTF8: New file.
54266 * iconvdata/testdata/CP771: New file.
54267 * iconvdata/testdata/CP771..UTF8: New file.
54268 * iconvdata/testdata/CP772: New file.
54269 * iconvdata/testdata/CP772..UTF8: New file.
54270 * iconvdata/testdata/CP773: New file.
54271 * iconvdata/testdata/CP773..UTF8: New file.
54272 * iconvdata/testdata/CP774: New file.
54273 * iconvdata/testdata/CP774..UTF8: New file.
54274
54275 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54276 END CHARMAP line.
54277 * iconvdata/gen-8bit-gap.sh: Likewise.
54278 * iconvdata/gen-8bit.sh: Likewise.
54279
c1e9e399
UD
54280 * locale/iso-639.def: Add ary entry.
54281
24c55fb3 54282 [BZ #11258]
96b4b1b0
UD
54283 * locale/C-translit.h.in: Add U20A1 transliteration.
54284
bdc2f971
KB
54285 [BZ #12178]
54286 * locale/iso-639.def: Add wae entry.
54287 Patch by Kevin Bortis <bortis@translate-wae.ch>.
54288
2952b117
UD
54289 [BZ #12545]
54290 * locale/programs/localedef.c (construct_output_path): Use ssize_t
54291 for n.
54292
2a81eaa5
UD
54293 [BZ #12711]
54294 * locale/C-translit.h.in: Add entry for U20B9.
54295 Patch by pravin.d.s@gmail.com.
54296
28377d1b
UD
542972011-05-08 Ulrich Drepper <drepper@gmail.com>
54298
7fb90fb8
UD
54299 [BZ #12713]
54300 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54301 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
54302 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
54303 in rtld. Use *stat64.
7fb90fb8 54304 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 54305 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 54306 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
54307 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54308 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54309 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54310 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54311 __fstatat64 macros.
7fb90fb8
UD
54312 * include/dirent.h: Add libc_hidden_proto for rewinddir.
54313 * dirent/rewinddir.c: Add libc_hidden_def.
54314 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 54315 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 54316
28377d1b
UD
54317 * include/dirent.h (__alloc_dir): Add flags parameter.
54318 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54319 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54320 __alloc_dir.
54321 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
54322 from fdopendir if O_CLOEXEC is already set.
54323
66bdbaa4
AM
543242011-03-15 Alan Modra <amodra@gmail.com>
54325
54326 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54327 l_tls_firstbyte_offset non-zero. Save padding offset in
54328 l_tls_firstbyte_offset for later use.
54329 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54330 freeing static tls block.
54331
95721191
JN
543322011-03-05 Jonathan Nieder <jrnieder@gmail.com>
54333
54334 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54335 where #ifdef was intended. The intent is to prevent ARG_MAX from
54336 being defined by the kernel headers.
54337
f87dfb1f
UD
543382011-05-07 Ulrich Drepper <drepper@gmail.com>
54339
54340 [BZ #12734]
54341 * resolv/resolv.h: Define RES_NOTLDQUERY.
54342 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54343 no-tld-query and set RES_NOTLDQUERY.
54344 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54345 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54346 modern BIND to search name as TLD unless forbidden.
54347
47c3cd7a
UD
543482011-05-07 Petr Baudis <pasky@suse.cz>
54349 Ulrich Drepper <drepper@gmail.com>
54350
54351 [BZ #12393]
54352 * elf/dl-load.c (fillin_rpath): Move trusted path check...
54353 (is_trusted_path): ...to here.
c1e9ea35 54354 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 54355 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 54356 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 54357
8a35c912
PP
543582011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
54359
54360 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54361 __BEGIN/__END_DECLS.
54362
acd41f47
UD
543632011-05-06 Ulrich Drepper <drepper@gmail.com>
54364
54365 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54366 NSS_STATUS_NOTFOUND if no record was found.
54367
597df647
AS
543682011-05-05 Andreas Schwab <schwab@redhat.com>
54369
54370 * sunrpc/Makefile (headers): Add rpc/netdb.h.
54371 (headers-not-in-tirpc): Remove rpc/netdb.h
54372 * resolv/netdb.h: Revert last change.
54373
b9af1301
PP
543742011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
54375
54376 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54377 circular dependency between libgcc.a and libc.a.
54378
4e34d5f5
AS
543792011-05-05 Andreas Schwab <schwab@redhat.com>
54380
54381 * resolv/netdb.h: Don't include <rpc/netdb.h>.
54382 * nis/Makefile: Don't install rpcsvc/*.
54383 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54384 instead of <rpc/types.h>.
54385 (MAXHOSTNAMELEN): Define.
54386
00ee369c
AS
543872011-05-03 Andreas Schwab <schwab@redhat.com>
54388
54389 * elf/ldconfig.c (add_dir): Don't crash on empty path.
54390
0b592a30
MB
543912011-04-28 Maciej Babinski <mbabinski@google.com>
54392
54393 [BZ #12714]
54394 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54395 gethostbyname4_r when IPv6 results are possible.
54396
6e04cbbe
UD
543972011-05-02 Ulrich Drepper <drepper@gmail.com>
54398
54399 [BZ #12723]
54400 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54401 _PC_PIPE_BUF handling.
54402
e4ecafe0
BH
544032011-04-30 Bruno Haible <bruno@clisp.org>
54404
54405 [BZ #12717]
54406 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54407 * resolv/netdb.h (getnameinfo): Change type of flags parameter
54408 to 'int'.
54409 * inet/getnameinfo.c (getnameinfo): Likewise.
54410
125ee683
UD
544112011-04-29 Ulrich Drepper <drepper@gmail.com>
54412
54413 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54414 to groups setting in database lookup.
54415 * nss/nsswitch.conf: Add initgroups entry.
54416
b722481a
EB
544172011-04-22 Ulrich Drepper <drepper@gmail.com>
54418
54419 [BZ #12685]
54420 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54421 mode string.
54422 Patch by Eric Blake <eblake@redhat.com>.
54423
4df46dbd
L
544242011-04-20 H.J. Lu <hongjiu.lu@intel.com>
54425
54426 * sunrpc/Makefile (need-export-routines): Add svc_run.
54427 (routines): Remove svc_run.
54428 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54429 * sunrpc/clnt_perr.c (clnt_perrno): Export.
54430 * sunrpc/svc_run.c (svc_run): Likewise.
54431 * sunrpc/svc_udp.c (svcudp_create): Likewise.
54432
e84142d2
UD
544332011-04-21 Ulrich Drepper <drepper@gmail.com>
54434
54435 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54436 problem in reallocation in last patch.
54437
877175d8
UD
544382011-04-20 Ulrich Drepper <drepper@gmail.com>
54439
54440 * sunrpc/Makefile: Move inclusion of Rules.
54441
ab8eed78
UD
544422011-04-19 Ulrich Drepper <drepper@gmail.com>
54443
54444 * nss/nss_files/files-initgroups.c: New file.
54445 * nss/Makefile (libnss_files-routines): Add files-initgroups.
54446 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54447 _nss_files_initgroups_dyn.
54448
e3d8f584
RS
544492011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
54450
54451 * elf/elf.h (R_ARM_IRELATIVE): Define.
54452
af190f45
UD
544532011-04-19 Ulrich Drepper <drepper@gmail.com>
54454
54455 * po/ru.po: Update from translation team.
54456
53cf59ef
UD
544572011-04-17 Ulrich Drepper <drepper@gmail.com>
54458
54459 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54460 dependencies.
54461
4c559bcd
MF
544622011-02-06 Mike Frysinger <vapier@gentoo.org>
54463
54464 [BZ #12653]
54465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54466 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54467 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54468 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54469 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54470
4420675c
AS
544712011-03-28 Andreas Schwab <schwab@linux-m68k.org>
54472
54473 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54474 differing bytes.
54475 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54476 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54477 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54478
75ea32ab
UD
544792011-04-17 Ulrich Drepper <drepper@gmail.com>
54480
54481 [BZ #12420]
54482 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54483 storing it.
54484 * stdlib/bug-getcontext.c: New file.
54485 * stdlib/Makefile: Add rules to build and run bug-getcontext.
54486
27390476
AK
544872011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54488
54489 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54490 instructions into .machine "z9-109".
54491 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54492 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54493
10442705
AK
544942011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54495
54496 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54497 between environment variables and auxiliary vector.
54498
7b57bfe5
UD
544992011-04-16 Ulrich Drepper <drepper@gmail.com>
54500
54501 * Makefile: Add rules to build linkobj/libc.so.
54502 * include/libc-symbols.h: Define libc_hidden_nolink.
54503 * include/rpc/auth.h: Mark functions which are to be hidden.
54504 * include/rpc/auth_des.h: Likewise.
54505 * include/rpc/auth_unix.h: Likewise.
54506 * include/rpc/clnt.h: Likewise.
54507 * include/rpc/des_crypt.h: Likewise.
54508 * include/rpc/key_prot.h: Likewise.
54509 * include/rpc/pmap_clnt.h: Likewise.
54510 * include/rpc/pmap_prot.h: Likewise.
54511 * include/rpc/pmap_rmt.h: Likewise.
54512 * include/rpc/rpc_msg.h: Likewise.
54513 * include/rpc/svc.h: Likewise.
54514 * include/rpc/svc_auth.h: Likewise.
54515 * include/rpc/xdr.h: Likewise.
54516 * nis/Makefile: Link all DSOs against linkobj/libc.so.
54517 * nss/Makefile: Likewise.
54518 * sunrpc/Makefile: Don't install headers. Build library with normal
54519 entry points. Don't build rpcinfo. Link RPC tests appropriately.
54520 * sunrpc/auth_des.c: Hide exported symbols by default, export some
54521 for the compat linking library. Remove use of INTDEF/INTUSE.
54522 * sunrpc/auth_none.c: Likewise.
54523 * sunrpc/auth_unix.c: Likewise.
54524 * sunrpc/authdes_prot.c: Likewise.
54525 * sunrpc/authuxprot.c: Likewise.
54526 * sunrpc/clnt_gen.c: Likewise.
54527 * sunrpc/clnt_perr.c: Likewise.
54528 * sunrpc/clnt_raw.c: Likewise.
54529 * sunrpc/clnt_simp.c: Likewise.
54530 * sunrpc/clnt_tcp.c: Likewise.
54531 * sunrpc/clnt_udp.c: Likewise.
54532 * sunrpc/clnt_unix.c: Likewise.
54533 * sunrpc/des_crypt.c: Likewise.
54534 * sunrpc/des_soft.c: Likewise.
54535 * sunrpc/get_myaddr.c: Likewise.
54536 * sunrpc/key_call.c: Likewise.
54537 * sunrpc/key_prot.c: Likewise.
54538 * sunrpc/netname.c: Likewise.
54539 * sunrpc/pm_getmaps.c: Likewise.
54540 * sunrpc/pm_getport.c: Likewise.
54541 * sunrpc/pmap_clnt.c: Likewise.
54542 * sunrpc/pmap_prot.c: Likewise.
54543 * sunrpc/pmap_prot2.c: Likewise.
54544 * sunrpc/pmap_rmt.c: Likewise.
54545 * sunrpc/publickey.c: Likewise.
54546 * sunrpc/rpc_cmsg.c: Likewise.
54547 * sunrpc/rpc_common.c: Likewise.
54548 * sunrpc/rpc_dtable.c: Likewise.
54549 * sunrpc/rpc_prot.c: Likewise.
54550 * sunrpc/rpc_thread.c: Likewise.
54551 * sunrpc/rtime.c: Likewise.
54552 * sunrpc/svc.c: Likewise.
54553 * sunrpc/svc_auth.c: Likewise.
54554 * sunrpc/svc_authux.c: Likewise.
54555 * sunrpc/svc_raw.c: Likewise.
54556 * sunrpc/svc_run.c: Likewise.
54557 * sunrpc/svc_simple.c: Likewise.
54558 * sunrpc/svc_tcp.c: Likewise.
54559 * sunrpc/svc_udp.c: Likewise.
54560 * sunrpc/svc_unix.c: Likewise.
54561 * sunrpc/svcauth_des.c: Likewise.
54562 * sunrpc/xcrypt.c: Likewise.
54563 * sunrpc/xdr.c: Likewise.
54564 * sunrpc/xdr_array.c: Likewise.
54565 * sunrpc/xdr_float.c: Likewise.
54566 * sunrpc/xdr_intXX_t.c: Likewise.
54567 * sunrpc/xdr_mem.c: Likewise.
54568 * sunrpc/xdr_rec.c: Likewise.
54569 * sunrpc/xdr_ref.c: Likewise.
54570 * sunrpc/xdr_sizeof.c: Likewise.
54571 * sunrpc/xdr_stdio.c: Likewise.
54572
e6c61494
UD
545732011-04-10 Ulrich Drepper <drepper@gmail.com>
54574
54575 [BZ #12650]
54576 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54577 * sysdeps/ia64/dl-tls.h: Likewise.
54578 * sysdeps/powerpc/dl-tls.h: Likewise.
54579 * sysdeps/s390/dl-tls.h: Likewise.
54580 * sysdeps/sh/dl-tls.h: Likewise.
54581 * sysdeps/sparc/dl-tls.h: Likewise.
54582 * sysdeps/x86_64/dl-tls.h: Likewise.
54583 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54584
34fe483e
AS
545852011-03-14 Andreas Schwab <schwab@redhat.com>
54586
54587 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54588 rpath element also skip the following colon.
54589 (expand_dynamic_string_token): Add is_path parameter and pass
54590 down to DL_DST_REQUIRED and _dl_dst_substitute.
54591 (decompose_rpath): Call expand_dynamic_string_token with
54592 non-zero is_path. Ignore empty rpaths.
54593 (_dl_map_object_from_fd): Call expand_dynamic_string_token
54594 with zero is_path.
54595
f12a32e6
AS
545962011-04-08 Andreas Schwab <schwab@linux-m68k.org>
54597
54598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54599 Make cancelable.
54600
38a7d692
UD
546012011-04-09 Ulrich Drepper <drepper@gmail.com>
54602
54603 [BZ #12655]
54604 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54605 Patch by Filipe David Manana <fdmanana@apache.org>.
54606
e451d22b
AS
546072011-04-07 Andreas Schwab <schwab@redhat.com>
54608
54609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54610 Maintain aligned stack.
54611 (CHECK_RSP): Remove unused macro.
54612
dedc7c7b
UD
546132011-04-03 Ulrich Drepper <drepper@gmail.com>
54614
54615 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54616 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54617
94521213
UD
546182011-04-02 Ulrich Drepper <drepper@gmail.com>
54619
54620 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54621
8cb700c0 54622 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 54623
0354e355
L
546242011-03-26 H.J. Lu <hongjiu.lu@intel.com>
54625
54626 [BZ #12518]
54627 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54628 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54629 * sysdeps/x86_64/memmove.c: New file.
54630 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54631 (memcpy): Renamed to ...
54632 (__new_memcpy): This.
54633 (memcpy): Provide GLIBC_2_14 memcpy.
54634 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54635 (memcpy): Provide GLIBC_2_2_5 memcpy.
54636
8593482f
UD
546372011-04-01 Ulrich Drepper <drepper@gmail.com>
54638
54639 [BZ #12631]
54640 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54641
81a5726b
AS
546422011-03-30 Andreas Schwab <schwab@redhat.com>
54643
54644 * misc/syncfs.c: New file.
54645 * misc/Makefile (routines): Add syncfs.
54646 * posix/unistd.h: Declare syncfs.
54647 * sysdeps/unix/syscalls.list: Add syncfs.
54648
00e5419f
AS
546492011-04-01 Andreas Schwab <schwab@redhat.com>
54650
54651 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54652 open_by_handle_at.
54653 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54654 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54655 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54656 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54657 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54658 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54659 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54660
748876bf
UD
546612011-04-01 Ulrich Drepper <drepper@gmail.com>
54662
658e451d
UD
54663 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54664 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54665 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54667 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54668 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54669 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54670
748876bf
UD
54671 * io/Makefile: Compile fallocate.c, fallocate64.c, and
54672 sync_file_range.c with -fexceptions.
54673 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54674 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54675 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54676 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54677 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54678 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54679 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
54680 sync_file_range as cancellation point
54681 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
54682 now a wrapper around __call_sync_file_range with cancellation handling.
54683 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54684 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
54685 function name to __call_sync_file_range.
54686 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54687 Add call_sync_file_range.
748876bf 54688
6e63d5e1
AS
546892011-04-01 Andreas Schwab <schwab@redhat.com>
54690
54691 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 54692 bits/timex.h.
6e63d5e1 54693
46998f74
UD
546942011-04-01 Ulrich Drepper <drepper@gmail.com>
54695
4c1423ed
UD
54696 * iconv/iconv.h: Fix typo in comment.
54697 * io/fcntl.h: Likewise.
54698 * libio/stdio.h: Likewise.
54699 * posix/spawn.h: Likewise.
54700 * posix/unistd.h: Likewise.
54701 * stdlib/stdlib.h: Likewise.
54702 * time/time.h: Likewise.
54703 * wcsmbs/wchar.h: Likewise.
54704
158648c0
UD
54705 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54706 open_by_handle): Add.
54707 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54708 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
54709 Augment a few comments.
54710 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54711 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54712 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54713 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54715 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54716 open_by_handle.
54717
46998f74
UD
54718 * io/fcntl.h (AT_EMPTY_PATH): Define.
54719
83fe108b
UD
547202011-03-30 Ulrich Drepper <drepper@gmail.com>
54721
54722 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54723 * sysdeps/unix/sysv/linux/bits/time.h: New file.
54724 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54725 to...
54726 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
54727 * Versions.def: Add GLIBC_2.14.
54728 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54729 Export.
83fe108b 54730
bb242059
UD
547312011-03-22 Ulrich Drepper <drepper@gmail.com>
54732
54733 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54734 round counter.
54735 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54736
c97a1282
L
547372011-03-20 H.J. Lu <hongjiu.lu@intel.com>
54738
54739 [BZ #12597]
54740 * string/test-strncmp.c (do_page_test): New function.
54741 (check2): Likewise.
54742 (test_main): Call check2.
54743 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54744
2a115601
UD
547452011-03-20 Ulrich Drepper <drepper@gmail.com>
54746
54747 [BZ #12587]
54748 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54749 Handle cache information in CPU leaf 4.
54750 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54751
8126d904
UD
547522011-03-18 Ulrich Drepper <drepper@gmail.com>
54753
042c49c6 54754 [BZ #12583]
8126d904
UD
54755 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54756 character representation.
54757 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54758
ccfe366e
RA
547592011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
54760
54761 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54762 END(__isnan) to END(__isnanf) to match function entry point/label
54763 EALIGN(__isnanf,...).
54764
c6e13027
JJ
547652011-03-10 Jakub Jelinek <jakub@redhat.com>
54766
54767 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54768
33f85a3f
UD
547692011-03-10 Ulrich Drepper <drepper@gmail.com>
54770
028478fa
UD
54771 [BZ #12510]
54772 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54773 copy from the symbol referenced in the relocation to initialize the
54774 used variable.
54775 Patch by Piotr Bury <pbury@goahead.com>.
54776 * elf/Makefile: Add rules to build and tst-unique3.
54777 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54778 * elf/tst-unique3.cc: New file.
54779 * elf/tst-unique3.h: New file.
54780 * elf/tst-unique3lib.cc: New file.
54781 * elf/tst-unique3lib2.cc: New file.
54782
33f85a3f
UD
54783 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54784
03592fc7
MF
547852011-03-10 Mike Frysinger <vapier@gentoo.org>
54786
54787 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54788 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
54789 to _start.
03592fc7 54790
6a5ee102
UD
547912011-03-06 Ulrich Drepper <drepper@gmail.com>
54792
54793 * elf/dl-load.c (_dl_map_object): If we are looking for the first
54794 to-be-loaded object along a path to loader is ld.so.
54795
7e4ba49c
HJ
547962011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54797 Ulrich Drepper <drepper@gmail.com>
54798
54799 * sysdeps/x86_64/memset.S: After aligning destination, code
54800 branches to different locations depending on the value of
54801 misalignment, when multiarch is enabled. Fix this.
54802
548032011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
54804
54805 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54806 Set _x86_64_preferred_memory_instruction for AMD processsors.
54807 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54808 Set bit_Prefer_SSE_for_memop for AMD processors.
54809
13a804de
UD
548102011-03-04 Ulrich Drepper <drepper@gmail.com>
54811
54812 * libio/fmemopen.c (fmemopen): Optimize a bit.
54813
9d25c392
AS
548142011-03-03 Andreas Schwab <schwab@redhat.com>
54815
54816 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54817
a5543c6a
RM
548182011-03-03 Roland McGrath <roland@redhat.com>
54819
54820 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54821
012d35f7
DM
548222011-02-28 Aurelien Jarno <aurelien@aurel32.net>
54823
7e4ba49c 54824 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
54825 __bzero_ultra1 instead of __memset_ultra1.
54826
4bff6e01
AS
548272011-02-23 Andreas Schwab <schwab@redhat.com>
54828 Ulrich Drepper <drepper@gmail.com>
54829
54830 [BZ #12509]
54831 * include/link.h (struct link_map): Add l_orig_initfini.
54832 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54833 returning unsuccessfully.
54834 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54835 close of a file loaded at startup, restore the original l_initfini
54836 list.
54837 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54838 list, store the pointer.
54839 * elf/Makefile ($(objpfx)noload-mem): New rule.
54840 (noload-ENV): Define.
54841 (tests): Add $(objpfx)noload-mem.
54842 * elf/noload.c: Include <memcheck.h>.
54843 (main): Call mtrace. Close all opened handles.
54844
f2092faf
AS
548452011-02-17 Andreas Schwab <schwab@redhat.com>
54846
54847 [BZ #12454]
54848 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54849 dependencies are missing.
54850
6c8a2e88
ST
548512011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
54852
f2092faf 54853 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
54854 Hurd needs munmap.
54855 * sysdeps/mach/hurd/ifreq.h: New file.
54856
84a42118
PB
548572011-01-27 Petr Baudis <pasky@suse.cz>
54858 Ulrich Drepper <drepper@gmail.com>
54859
071f805e 54860 [BZ 12445]#
84a42118
PB
54861 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54862 to extend_alloca().
54863 * stdio-common/bug23.c: New file.
54864 * stdio-common/Makefile (tests): Add bug23.
54865
e23fe25b
AS
548662010-09-28 Andreas Schwab <schwab@redhat.com>
54867 Ulrich Drepper <drepper@gmail.com>
54868
54869 [BZ #12489]
54870 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54871 before performing relro protection. At old place add assertion
54872 to make sure nothing changed.
54873
d3f02e10
NS
548742011-02-17 Nathan Sidwell <nathan@codesourcery.com>
54875 Glauber de Oliveira Costa <glommer@gmail.com>
54876
54877 * elf/elf.h: Add new ARM TLS relocs.
54878
d55fd7a5
RA
548792011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
54880
54881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54882 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54883 cast from r3.
54884 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
54885 'tests' variable.
54886 * sysdeps/wordsize-64/tst-writev.c: New file.
54887
2206397e
RA
548882011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
54889
54890 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54891 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54892 insns in _dl_start to prevent a TOC reference before relocs are
54893 resolved.
54894
e9433893
UD
548952011-02-15 Ulrich Drepper <drepper@gmail.com>
54896
54897 [BZ #12469]
54898 * Makeconfig: Remove RANLIB definition.
54899 * Makerules: Don't use RANLIB.
54900 * aclocal.m4: Remove ranlib test.
54901 * configure.in: No need to check for ranlib.
54902 * elf/rtld-Rules: Don't use RANLIB.
54903
f75286c6
ST
549042011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
54905
8e31c82d
ST
54906 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54907 protection macro.
54908 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54909 inclusion protection macro.
54910
f75286c6
ST
54911 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54912 SIGRTMIN and SIGRTMAX and print information in that case only when
54913 SIGRTMIN is defined.
54914
c1d0e639
JJ
549152011-02-11 Jakub Jelinek <jakub@redhat.com>
54916
54917 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54918 arginfo fn returning -1.
54919
54920 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54921 and thousands string is zero terminated.
54922
edf9294e
AS
549232011-02-03 Andreas Schwab <schwab@redhat.com>
54924
54925 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54926 sysdeps/unix/sysv/linux/bits/socket.h.
54927
2b7e92df
ST
549282011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
54929
edf9294e
AS
54930 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54931 (__CPU_COUNT): Remove old macros.
54932 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54933 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54934 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
54935 (__sched_cpualloc, __sched_cpufree): Add declarations.
54936
a4c7ea7b
UD
549372011-02-05 Ulrich Drepper <drepper@gmail.com>
54938
54939 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54940 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54941 * nscd/aicache.c (addhstaiX): Return timeout of added value.
54942 (readdhstai): Return value of addhstaiX call.
54943 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54944 (addgrbyX): Return value returned by cache_addgr.
54945 (readdgrbyname): Return value returned by addgrbyX.
54946 (readdgrbygid): Likewise.
54947 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54948 (addpwbyX): Return value returned by cache_addpw.
54949 (readdpwbyname): Return value returned by addhstbyX.
54950 (readdpwbyuid): Likewise.
54951 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54952 (addservbyX): Return value returned by cache_addserv.
54953 (readdservbyname): Return value returned by addservbyX:
54954 (readdservbyport): Likewise.
54955 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54956 (addhstbyX): Return value returned by cache_addhst.
54957 (readdhstbyname): Return value returned by addhstbyX.
54958 (readdhstbyaddr): Likewise.
54959 (readdhstbynamev6): Likewise.
54960 (readdhstbyaddrv6): Likewise.
54961 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54962 (readdinitgroups): Return value returned by addinitgroupsX.
54963 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54964 (prune_cache): Keep track of timeout value of re-added entries.
54965 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54966 * nscd/nscd.h: Adjust prototypes of readd* functions.
54967
a0bf67cc
RM
549682011-02-04 Roland McGrath <roland@redhat.com>
54969
54970 * nis/nis_server.c (nis_servstate): Use the right name for 0.
54971 (nis_stats): Likewise.
54972 * nis/nis_modify.c (nis_modify): Likewise.
54973 * nis/nis_remove.c (nis_remove): Likewise.
54974 * nis/nis_add.c (nis_add): Likewise.
54975
54976 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54977
54978 * posix/fnmatch_loop.c: Add some consts.
54979
54980 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54981
435b95eb
L
549822011-02-02 H.J. Lu <hongjiu.lu@intel.com>
54983
54984 [BZ #12460]
54985 * config.make.in (config-cflags-novzeroupper): Define.
54986 * configure.in: Substitute libc_cv_cc_novzeroupper.
54987 * elf/Makefile (AVX-CFLAGS): Define.
54988 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54989 (CFLAGS-tst-auditmod4a.c): Likewise.
54990 (CFLAGS-tst-auditmod4b.c): Likewise.
54991 (CFLAGS-tst-auditmod6b.c): Likewise.
54992 (CFLAGS-tst-auditmod6c.c): Likewise.
54993 (CFLAGS-tst-auditmod7b.c): Likewise.
54994 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54995
8517b15e
UD
549962011-02-02 Ulrich Drepper <drepper@gmail.com>
54997
54998 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54999 function to the callback.
55000 Patch partly by Jiri Olsa <jolsa@redhat.com>.
55001
10a656fe
AS
550022011-02-02 Andreas Schwab <schwab@redhat.com>
55003
55004 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55005 of errno.
55006
968dad0a
UD
550072011-01-19 Ulrich Drepper <drepper@gmail.com>
55008
9f94d2ea 55009 [BZ #11724]
968dad0a
UD
55010 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55011 of constructors.
55012 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55013 of destructors.
55014 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55015
55016 [BZ #11724]
55017 * elf/Makefile: Add rules to build and run new test.
55018 * elf/tst-initorder.c: New file.
55019 * elf/tst-initorder.exp: New file.
55020 * elf/tst-initordera1.c: New file.
55021 * elf/tst-initordera2.c: New file.
55022 * elf/tst-initordera3.c: New file.
55023 * elf/tst-initordera4.c: New file.
55024 * elf/tst-initorderb1.c: New file.
55025 * elf/tst-initorderb2.c: New file.
55026 * elf/tst-order-a1.c: New file.
55027 * elf/tst-order-a2.c: New file.
55028 * elf/tst-order-a3.c: New file.
55029 * elf/tst-order-a4.c: New file.
55030 * elf/tst-order-b1.c: New file.
55031 * elf/tst-order-b2.c: New file.
55032 * elf/tst-order-main.c: New file.
55033 New test case by George Gensure <werkt0@gmail.com>.
55034
86e92359
UD
550352010-10-01 Andreas Schwab <schwab@redhat.com>
55036
55037 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55038 decoding ACE if AI_CANONIDN.
55039
5d5732b0
UD
550402011-01-18 Ulrich Drepper <drepper@gmail.com>
55041
55042 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55043
a77e8cbc
UD
550442011-01-17 Ulrich Drepper <drepper@gmail.com>
55045
6392473f
UD
55046 * version.h (RELEASE): Bump for 2.13 release.
55047 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55048
620a0529
UD
55049 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55050
18ba70a5
UD
55051 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55052 MADV_NOHUGEPAGE.
32465c3e
UD
55053 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55054 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55055 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55056 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55057 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55059
c0dafcf1
UD
55060 * posix/getconf.c: Update copyright year.
55061 * catgets/gencat.c: Likewise.
55062 * csu/version.c: Likewise.
55063 * debug/catchsegv.sh: Likewise.
55064 * debug/xtrace.sh: Likewise.
55065 * elf/ldconfig.c: Likewise.
55066 * elf/ldd.bash.in: Likewise.
55067 * elf/sprof.c (print_version): Likewise.
55068 * iconv/iconv_prog.c: Likewise.
55069 * iconv/iconvconfig.c: Likewise.
55070 * locale/programs/locale.c: Likewise.
55071 * locale/programs/localedef.c: Likewise.
55072 * malloc/memusage.sh: Likewise.
55073 * malloc/mtrace.pl: Likewise.
55074 * nscd/nscd.c (print_version): Likewise.
55075 * nss/getent.c: Likewise.
55076
a77e8cbc
UD
55077 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55078 PF_CAIF, and PF_ALG.
55079 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55080
77e8bddf
AS
550812011-01-16 Andreas Schwab <schwab@linux-m68k.org>
55082
1f20b93a
AS
55083 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55084 (modules-names): Use them.
55085 (ifunc-test-modules, ifunc-pie-tests): Define.
55086 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55087 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55088 (test-extras): Likewise.
55089 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55090 $(compile-command.c).
55091 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55092 (all-built-dso): Define.
55093 (check-textrel.out, check-execstack.out): Depend on it.
55094
77e8bddf
AS
55095 * configure.in: Don't override --enable-multi-arch.
55096
bc425b33
UD
550972011-01-15 Ulrich Drepper <drepper@gmail.com>
55098
55099 [BZ #6812]
55100 * nscd/hstcache.c (tryagain): Define.
55101 (cache_addhst): Return tryagain not notfound for temporary errors.
55102 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55103 failed.
55104
794c3ad3
UD
551052011-01-14 Ulrich Drepper <drepper@gmail.com>
55106
70181fdd
UD
55107 [BZ #10563]
55108 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55109 to make the syscall.
55110 * sysdeps/unix/sysv/linux/setgroups.c: New file.
55111
794c3ad3
UD
55112 [BZ #12378]
55113 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55114 and fall back to matching as normal character if the string ends before
55115 the matching ']' is found. This is what POSIX requires.
55116 * posix/testfnm.c: Adjust test result.
55117 * posix/globtest.sh: Adjust test result. Add new test.
55118 * posix/tst-fnmatch.input: Likewise.
55119 * posix/tst-fnmatch2.c: Add new test.
55120
68dc9497
AS
551212010-12-28 Andreas Schwab <schwab@linux-m68k.org>
55122
55123 * elf/Makefile (check-execstack): Revert last change. Depend on
55124 check-execstack.h.
55125 (check-execstack.h): New target.
55126 (generated): Add check-execstack.h.
55127 * elf/check-execstack.c: Include "check-execstack.h".
55128 (main): Revert last change.
55129 (handle_file): Return zero if GNU_STACK is absent and
55130 DEFAULT_STACK_PERMS doesn't include PF_X.
55131
451f001b
UD
551322011-01-13 Ulrich Drepper <drepper@gmail.com>
55133
cfa28e56
UD
55134 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55135 in child fails because the descriptor is already closed.
8cf8ce17
UD
55136 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55137 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55138 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 55139
1086d70d
UD
55140 [BZ #12397]
55141 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55142 syscall.
55143
451f001b
UD
55144 [BZ #10484]
55145 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55146 temporary buffer used to handle multi lookups locally.
a85b5cb4 55147 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 55148
08769175
UD
551492011-01-12 Ulrich Drepper <drepper@gmail.com>
55150
55151 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55152 loader is ld.so.
55153
5e49c52e
UD
551542011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
55155
55156 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55157 alignment for SSE2.
55158
60522a5f
UD
551592011-01-12 Ulrich Drepper <drepper@gmail.com>
55160
55161 [BZ #12394]
55162 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55163 characters. When rounding increased number of integer digits recompute
55164 number of groups.
55165 * stdio-common/tst-grouping.c: New file.
55166 * stdio-common/Makefile: Add rules to build and run tst-grouping.
55167
f257bbd7
UD
551682011-01-09 Ulrich Drepper <drepper@gmail.com>
55169
55170 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55171 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
55172
55173 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55174 void.
55175 * bits/select.h: Likewise.
55176
fa9c15cb
UD
551772011-01-08 Ulrich Drepper <drepper@gmail.com>
55178
55179 * po/ja.po: Update from translation team.
55180
16c2895f
DM
551812011-01-04 David S. Miller <davem@sunset.davemloft.net>
55182
55183 [BZ #11155]
55184 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55185 implementation just like for lxstat, fxstatat, et al.
55186
2543fef2
JM
551872010-12-27 Jim Meyering <meyering@redhat.com>
55188
55189 [BZ #12348]
55190 * posix/regexec.c (build_trtable): Return failure indication upon
55191 calloc failure. Otherwise, re_search_internal could infloop on OOM.
55192
98727dbe
UD
551932010-12-25 Ulrich Drepper <drepper@gmail.com>
55194
5bd6dc5c
UD
55195 [BZ #12201]
55196 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55197 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55198 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55199 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55200
97983464
UD
55201 [BZ #12207]
55202 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55203
98727dbe
UD
55204 [BZ #12204]
55205 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55206 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55207
4a531bb0
L
552082010-12-15 H.J. Lu <hongjiu.lu@intel.com>
55209
55210 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55211 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55212 script has SORT_BY_INIT_PRIORITY.
55213 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55214 NO_CTORS_DTORS_SECTIONS is defined.
55215 * elf/soinit.c: Likewise.
55216 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55217 NO_CTORS_DTORS_SECTIONS is defined.
55218 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55219 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55220 * sysdeps/sh/init-first.c: Likewise.
55221 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55222
07eb4b71
UD
552232010-12-24 Ulrich Drepper <drepper@gmail.com>
55224
55225 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55226 always use the slow path.
55227
30950a5f
RA
552282010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
55229
55230 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55231 similar rule which adds the sysdep directories to the header search in
55232 order to pick up the correct platform stackinfo.h.
55233 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55234 perform test if it is, otherwise return successfully without testing.
55235 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55236 DEFAULT_STACK_PERMS define in stackinfo.h.
55237 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55238 defined in stackinfo.h.
55239 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55240 DEFAULT_STACK_PERMS defined in stackinfo.h.
55241 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55242 * sysdeps/ia64/stackinfo.h: Likewise.
55243 * sysdeps/s390/stackinfo.h: Likewise.
55244 * sysdeps/sh/stackinfo.h: Likewise.
55245 * sysdeps/sparc/stackinfo.h: Likewise.
55246 * sysdeps/x86_64/stackinfo.h: Likewise.
55247 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55248 PF_X for powerpc64. Retain PF_X for powerpc32.
55249
db753e2c
UD
552502010-12-19 Ulrich Drepper <drepper@gmail.com>
55251
14b697f7
UD
55252 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55253 accurately.
db753e2c
UD
55254 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55255 GETDENTS_64BIT_ALIGNED.
55256
28300719
UD
552572010-12-14 Ulrich Drepper <dreper@gmail.com>
55258
14b697f7 55259 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 55260
4f197237
AS
552612010-12-10 Andreas Schwab <schwab@redhat.com>
55262
dbb0472f
AS
55263 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55264 _GNU_SOURCE.
55265
4f197237
AS
55266 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55267 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55268 Remove __restrict.
55269 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55270 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55271
fb88ac72
UD
552722010-12-09 Ulrich Drepper <drepper@gmail.com>
55273
55274 [BZ #11655]
55275 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55276 are initialized.
55277
42acbb92
JJ
552782010-12-09 Jakub Jelinek <jakub@redhat.com>
55279
55280 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55281
c038d98d
UD
552822010-12-03 Ulrich Drepper <drepper@gmail.com>
55283
55284 * po/it.po: Update from translation team.
55285
3a4a2499
L
552862010-12-01 H.J. Lu <hongjiu.lu@intel.com>
55287
55288 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55289 unused codes.
55290
1e24cf6e
UD
552912010-11-30 Ulrich Drepper <drepper@gmail.com>
55292
55293 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55294
a7690819
AS
552952010-11-24 Andreas Schwab <schwab@redhat.com>
55296
55297 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55298 specially.
55299 (gaih_getanswer_slice): Likewise.
55300
3bf8d1b1
JJ
553012010-10-20 Jakub Jelinek <jakub@redhat.com>
55302
55303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55304
6db52fbb
PB
553052010-05-31 Petr Baudis <pasky@suse.cz>
55306
55307 [BZ #11149]
55308 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55309 silently even in the chroot mode.
55310
eaca7569
UD
553112010-11-22 Ulrich Drepper <drepper@gmail.com>
55312
55313 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55314 last patch a bit. Pretty printing
55315
3056dcdb
UD
553162010-05-31 Petr Baudis <pasky@suse.cz>
55317
55318 [BZ #10085]
55319 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55320 initialization of skip_initgroups_dyn.
55321
cf7c9078
UD
553222010-11-19 Ulrich Drepper <drepper@gmail.com>
55323
55324 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55325 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55326
a1fb5e3e
UD
553272010-11-16 Ulrich Drepper <drepper@gmail.com>
55328
55329 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55330
3540d66b
AS
553312010-11-11 Andreas Schwab <schwab@redhat.com>
55332
55333 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55334 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55335 (tst-fnmatch-ENV): Set MALLOC_TRACE.
55336 ($(objpfx)tst-fnmatch-mem): New rule.
55337 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55338 * posix/tst-fnmatch.c (main): Call mtrace.
55339
13b69574
L
553402010-11-11 H.J. Lu <hongjiu.lu@intel.com>
55341
55342 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55343 Support Intel processor model 6 and model 0x2c.
55344
da93d214
LM
553452010-11-10 Luis Machado <luisgpm@br.ibm.com>
55346
55347 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55348 signed comparison.
55349
8ca52c6e
L
553502010-11-09 H.J. Lu <hongjiu.lu@intel.com>
55351
55352 [BZ #12205]
55353 * string/test-strncasecmp.c (check_result): New function.
55354 (do_one_test): Use it.
55355 (check1): New function.
55356 (test_main): Use it.
55357 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55358 Support strcasecmp and strncasecmp.
55359
69da074d
UD
553602010-11-08 Ulrich Drepper <drepper@gmail.com>
55361
55362 [BZ #12194]
55363 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55364 * sysdeps/x86_64/bits/byteswap.h: Likewise.
55365
ff02d528
L
553662010-11-07 H.J. Lu <hongjiu.lu@intel.com>
55367
55368 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55369 IFUNC support.
55370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55371 memset-x86-64.
55372 * sysdeps/x86_64/multiarch/bzero.S: New file.
55373 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55374 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55375 * sysdeps/x86_64/multiarch/memset.S: New file.
55376 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55377 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55378 Set bit_Prefer_SSE_for_memop for Intel processors.
55379 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55380 Define.
55381 (index_Prefer_SSE_for_memop): Define.
55382 (HAS_PREFER_SSE_FOR_MEMOP): Define.
55383
344d0b54
LM
553842010-11-04 Luis Machado <luisgpm@br.ibm.com>
55385
55386 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55387 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55388
c0dde15b
UD
553892010-11-03 H.J. Lu <hongjiu.lu@intel.com>
55390
55391 [BZ #12191]
55392 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55393 (__x86_64_raw_data_cache_size_half): Likewise.
55394 (__x86_64_raw_shared_cache_size): Likewise.
55395 (__x86_64_raw_shared_cache_size_half): Likewise.
55396
55397 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55398 (__x86_64_raw_data_cache_size_half): Likewise.
55399 (__x86_64_raw_shared_cache_size): Likewise.
55400 (__x86_64_raw_shared_cache_size_half): Likewise.
55401 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55402 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55403 and __x86_64_raw_shared_cache_size_half. Round
55404 __x86_64_data_cache_size_half, __x86_64_data_cache_size
55405 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55406 to multiple of 256 bytes.
55407
0e516e0e
MS
554082010-11-03 Ulrich Drepper <drepper@gmail.com>
55409
55410 [BZ #12167]
55411 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55412 of inacessible symlinks. Verify result of symlink before returning it.
55413 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55414 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55415
0e012e87
ER
554162010-10-28 Erich Ritz <erichritz@gmail.com>
55417
55418 * math/math.h (isinf): Fix typo in comment.
55419
de0ff7bc
UD
554202010-11-01 Ulrich Drepper <drepper@gmail.com>
55421
55422 * po/da.po: Update from translation team.
55423
fa41c84d
UD
554242010-10-26 Ulrich Drepper <drepper@gmail.com>
55425
55426 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55427 is added to the list.
55428
f0967738
AK
554292010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55430 Ulrich Drepper <drepper@gmail.com>
55431
55432 * elf/dl-object.c (_dl_new_object): Don't append the new object to
55433 the global list here. Move code to...
55434 (_dl_add_to_namespace_list): ...here. New function.
55435 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55436 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55437 * elf/dl-load.c (lose): Don't remove the element from the list.
55438 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55439 (_dl_map_object): Likewise.
55440
554412010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
55442
55443 [BZ #12159]
55444 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55445 into all bytes of SSE register.
55446 Patch by Richard Li <richardpku@gmail.com>.
55447
f0967738 554482010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
55449
55450 [BZ #12140]
55451 * malloc/malloc.c (_int_free): Fill correct number of bytes when
55452 perturbing.
55453
d0b9e94f
MB
554542010-10-20 Michael B. Brutman <brutman@us.ibm.com>
55455
55456 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55457 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55458 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55459 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55461 submachine.
55462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55463
8e9f92e9
AS
554642010-10-22 Andreas Schwab <schwab@redhat.com>
55465
55466 * include/dlfcn.h (__RTLD_SECURE): Define.
55467 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
55468 mode & __RTLD_SECURE instead.
55469 (open_path): Rename preloaded parameter to secure.
55470 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55471 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55472 * elf/dl-deps.c (openaux): Likewise.
55473 * elf/rtld.c (struct map_args): Remove is_preloaded.
55474 (map_doit): Don't use it.
55475 (dl_main): Likewise.
55476 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55477 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55478
bc96fbda
AS
554792010-09-09 Andreas Schwab <schwab@redhat.com>
55480
55481 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55482 (sysd-rules-targets): Remove duplicates.
55483 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55484 rtld-%.$o dependency.
55485
22cd1c9b
AS
554862010-10-18 Andreas Schwab <schwab@redhat.com>
55487
55488 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55489 _dl_map_object do it.
55490
18edac48
UD
554912010-10-19 Ulrich Drepper <drepper@gmail.com>
55492
55493 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55494 fast fma builtins, define the macros in the C99 standard.
55495 (FP_FAST_FMAF): Likewise.
55496 (FP_FAST_FMAL): Likewise.
55497 * sysdeps/x86_64/bits/mathdef.h: Likewise.
55498
55499 * bits/mathdef.h: Update copyright year.
55500 * sysdeps/powerpc/bits/mathdef.h: Likewise.
55501
d2050124
MM
555022010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
55503
55504 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55505 builtins, define the macros in the C99 standard.
55506 (FP_FAST_FMAF): Likewise.
55507 (FP_FAST_FMAL): Likewise.
55508 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55509 multiply/add.
55510 (FP_FAST_FMAF): Likewise.
55511
475facd1
JJ
555122010-10-15 Jakub Jelinek <jakub@redhat.com>
55513
55514 [BZ #3268]
55515 * math/libm-test.inc (fma_test): Some new testcases.
55516 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55517 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55518 y and infinite z. Do multiplication by C already in long double.
55519 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55521 y and infinite z. Do bitwise or of inexact bit into u.d.
55522 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55523 * sysdeps/i386/fpu/s_fmaf.S: Removed.
55524 * sysdeps/i386/fpu/s_fma.S: Removed.
55525 * sysdeps/i386/fpu/s_fmal.S: Removed.
55526
7c08a05c
JJ
555272010-10-16 Jakub Jelinek <jakub@redhat.com>
55528
55529 [BZ #3268]
55530 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55531 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55532 computation is not scheduled after fetestexcept. Fix value
55533 of minimum denormal long double.
55534
f3f7372d
JJ
555352010-10-14 Jakub Jelinek <jakub@redhat.com>
55536
55537 [BZ #3268]
55538 * math/libm-test.inc (fma_test): Add some more tests.
55539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55540 correctly.
55541
14d43591
AS
555422010-10-15 Andreas Schwab <schwab@redhat.com>
55543
55544 * scripts/data/localplt-s390-linux-gnu.data: New file.
55545 * scripts/data/localplt-s390x-linux-gnu.data: New file.
55546
5e908464
JJ
555472010-10-13 Jakub Jelinek <jakub@redhat.com>
55548
55549 [BZ #3268]
55550 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55551 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55552 instead of dbl-64.
55553 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55554 inlines.
55555 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55556 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55557 if one of x and y is very large and the other is subnormal.
55558 * sysdeps/s390/fpu/s_fmaf.c: New file.
55559 * sysdeps/s390/fpu/s_fma.c: New file.
55560 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55561 * sysdeps/powerpc/fpu/s_fma.S: New file.
55562 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55563 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55564 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55565
555662010-10-12 Jakub Jelinek <jakub@redhat.com>
55567
55568 [BZ #3268]
55569 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55570 fma tests.
55571 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55572 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55573 * sysdeps/i386/i686/multiarch/s_fma.c: Include
55574 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55575 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55576 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55577 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55578
b833d51f
UD
555792010-10-12 Ulrich Drepper <drepper@redhat.com>
55580
55581 [BZ #12078]
55582 * posix/regcomp.c (parse_branch): One more memory leak plugged.
55583 * posix/bug-regex31.input: Add test case.
55584
1751705d
UD
555852010-10-11 Ulrich Drepper <drepper@gmail.com>
55586
e9b9cbf5
UD
55587 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55588 * posix/bug-regex31.input: New file.
55589
55590 [BZ #12078]
55591 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55592 (parse_sub_exp): Fix last change, use postorder.
55593
ef06edbe
UD
55594 * posix/bug-regex31.c: New file.
55595 * posix/Makefile: Add rules to build and run bug-regex31.
55596
a129c80d
UD
55597 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55598
55599 [BZ #12078]
55600 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55601
b76b818e
UD
55602 [BZ #12108]
55603 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55604 to have entries in sys_siglist.
55605
1751705d
UD
55606 [BZ #12093]
55607 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55608 be NULL.
55609
9ff8d36f
JJ
556102010-10-07 Jakub Jelinek <jakub@redhat.com>
55611
55612 [BZ #3268]
55613 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55614 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55615 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55616 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55618 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55619 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55620 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55621 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55622 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55623 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55624 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55625 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55626 * math/ftestexcept.c (fetestexcept): Likewise.
55627 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55628 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55629 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55630 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55631 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55632 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55633 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55634
af325969
UD
556352010-10-11 Ulrich Drepper <drepper@gmail.com>
55636
c579b202 55637 [BZ #12107]
af325969
UD
55638 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55639 newline.
55640
67a67b95
UD
556412010-10-06 Ulrich Drepper <drepper@gmail.com>
55642
55643 * string/bug-strstr1.c: New file.
55644 * string/Makefile: Add rules to build and run bug-strstr1.
55645
5fb308bc
EB
556462010-10-05 Eric Blake <eblake@redhat.com>
55647
55648 [BZ #12092]
55649 * string/str-two-way.h (two_way_long_needle): Always clear memory
55650 when skipping input due to the shift table.
55651
45db99c7
UD
556522010-10-03 Ulrich Drepper <drepper@gmail.com>
55653
3b111893
UD
55654 [BZ #12005]
55655 * malloc/mcheck.c: Handle large requests.
55656
45db99c7
UD
55657 [BZ #12077]
55658 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55659 for strncmp and strncasecmp.
55660 * string/stratcliff.c: Add tests for strcmp and strncmp.
55661 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55662
cf7a1eb8
NI
556632010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
55664
55665 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55666 __set_fpscr.
55667
6484ba5e
AJ
556682010-09-30 Andreas Jaeger <aj@suse.de>
55669
55670 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55671 (CGROUP_SUPER_MAGIC): Define.
55672 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55673 Handle btrfs and cgroup file systems.
55674 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55675 Likewise.
55676
91c42559
LM
556772010-09-27 Luis Machado <luisgpm@br.ibm.com>
55678
55679 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55680 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55681
87a97932
AK
556822010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
55683
55684 [BZ #12067]
55685 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55686 trying to locate the ELF header.
55687
c21cc9bc
AS
556882010-09-27 Andreas Schwab <schwab@redhat.com>
55689
55690 [BZ #11611]
55691 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55692 Mask out sign-bit copies when constructing f_fsid.
55693
315970f6
PB
556942010-09-24 Petr Baudis <pasky@suse.cz>
55695
55696 * debug/stack_chk_fail_local.c: Add missing licence exception.
55697 * debug/warning-nop.c: Likewise.
55698
1ac7a2c7
JM
556992010-09-15 Joseph Myers <joseph@codesourcery.com>
55700
55701 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55702 implementing getdents64 using getdents syscall, set d_type if
55703 __ASSUME_GETDENTS32_D_TYPE.
55704
56801c50
AS
557052010-09-16 Andreas Schwab <schwab@redhat.com>
55706
55707 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55708 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55709
dda51327
UD
557102010-09-21 Ulrich Drepper <drepper@redhat.com>
55711
55712 [BZ #12037]
55713 * posix/unistd.h: Undo change of feature selection for ftruncate from
55714 2010-01-11.
55715
8ffcee4a
UD
557162010-09-20 Ulrich Drepper <drepper@redhat.com>
55717
a545ecd9 55718 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
55719 detection.
55720
e24f0a8b
AS
557212010-09-20 Andreas Schwab <schwab@redhat.com>
55722
55723 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55724 fanotify_mark.
55725 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55726
7291c56f
AS
557272010-09-14 Andreas Schwab <schwab@redhat.com>
55728
55729 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55730 variables after CHECK_SP call.
55731 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55732
bc5fb037
AS
557332010-09-13 Andreas Schwab <schwab@redhat.com>
55734 Ulrich Drepper <drepper@redhat.com>
55735
55736 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55737 re-relocationg ld.so.
55738 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55739 _dl_init_paths call.
55740 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
55741 here anymore.
55742
e66e7419
UD
557432010-09-14 Ulrich Drepper <drepper@redhat.com>
55744
55745 * resolv/res_init.c (__res_vinit): Count the default server we added.
55746
c044aa75
CLT
557472010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
55748 Ulrich Drepper <drepper@redhat.com>
55749
55750 [BZ #11968]
55751 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55752 (____longjmp_chk): Use %ebx for saving value across system call.
55753 Add unwind info.
55754
32cf4069
AS
557552010-09-06 Andreas Schwab <schwab@redhat.com>
55756
55757 * manual/Makefile: Don't mix pattern rules with normal rules.
55758
817328ee
AS
557592010-09-05 Andreas Schwab <schwab@linux-m68k.org>
55760
55761 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55762 operation.
55763 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55764 * libio/iofopncook.c (_IO_cookie_init): Likewise.
55765 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55766 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55767 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55768 Likewise.
55769
29fddf61
UD
557702010-09-04 Ulrich Drepper <drepper@redhat.com>
55771
55772 [BZ #11979]
55773 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55774 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55775
0959ffc9
UD
557762010-09-02 Ulrich Drepper <drepper@redhat.com>
55777
55778 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55779 * sysdeps/x86_64/addmul_1.S: Likewise.
55780 * sysdeps/x86_64/lshift.S: Likewise.
55781 * sysdeps/x86_64/mul_1.S: Likewise.
55782 * sysdeps/x86_64/rshift.S: Likewise.
55783 * sysdeps/x86_64/sub_n.S: Likewise.
55784 * sysdeps/x86_64/submul_1.S: Likewise.
55785
ece29840
ST
557862010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
55787
0959ffc9
UD
55788 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55789 Define __sched_param instead of SCHED_* and sched_param when
ece29840 55790 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 55791 * bits/sched.h [__need_schedparam]
ece29840 55792 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
55793 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55794 (__defined_schedparam): Define to 1.
ece29840
ST
55795 (__sched_param): New structure, identical to sched_param.
55796 (__need_schedparam): Undefine.
55797
e53a31fe
MF
557982010-08-31 Mike Frysinger <vapier@gentoo.org>
55799
fdc0c10d
MF
55800 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55801 (epoll_create1): Declare.
55802
e53a31fe
MF
55803 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55804
a726d796
AS
558052010-08-31 Andreas Schwab <schwab@redhat.com>
55806
55807 [BZ #7066]
55808 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55809 shifting retval into place.
55810
2f3e3dc7
UD
558112010-09-01 Ulrich Drepper <drepper@redhat.com>
55812
f2933da9
UD
55813 * nis/rpcsvc/nis.h: Update copyright notice.
55814 * nis/rpcsvc/nis.x: Likewise.
55815 * nis/rpcsvc/nis_callback.h: Likewise.
55816 * nis/rpcsvc/nis_callback.x: Likewise.
55817 * nis/rpcsvc/nis_object.x: Likewise.
55818 * nis/rpcsvc/nis_tags.h: Likewise.
55819 * nis/rpcsvc/yp.h: Likewise.
55820 * nis/rpcsvc/yp.x: Likewise.
55821 * nis/rpcsvc/ypupd.h: Likewise.
55822 * nis/yp_xdr.c: Likewise.
55823 * nis/ypupdate_xdr.c: Likewise.
55824
2f3e3dc7
UD
55825 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
55826 mainly the body of pmap_getport. Add parameters to specify timeouts.
55827 (pmap_getport): Use __libc_rpc_getport.
55828 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55829 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55830 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55831
f3dcc2f9
AS
558322010-08-31 Andreas Schwab <schwab@linux-m68k.org>
55833
55834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55835 fanotify_mark.
55836
6d34eb5b
RM
558372010-08-27 Roland McGrath <roland@redhat.com>
55838
55839 * sysdeps/i386/i686/multiarch/Makefile
55840 (CFLAGS-varshift.c): New variable.
55841
9ea3de11
UD
558422010-08-27 Ulrich Drepper <drepper@redhat.com>
55843
c96d23fc
UD
55844 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55845 * sysdeps/i386/i686/multiarch/varshift.c: New file.
55846
9ea3de11
UD
55847 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55848
55849 * sysdeps/x86_64/strlen.S: Minimal code improvement.
55850
623aac7f
L
558512010-08-26 H.J. Lu <hongjiu.lu@intel.com>
55852
55853 * sysdeps/x86_64/strlen.S: Unroll the loop.
55854 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55855 strlen-sse2 strlen-sse2-bsf.
55856 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55857 __strlen_no_bsf if bit_Slow_BSF is set.
55858 (__strlen_sse42): Removed.
55859 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55860 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55861
8b2b7715
RM
558622010-08-25 Roland McGrath <roland@redhat.com>
55863
55864 * sysdeps/x86_64/multiarch/varshift.S: File removed.
55865 * sysdeps/x86_64/multiarch/varshift.c: New file.
55866 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55867 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55868 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55869 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55870
e73015f2
L
558712010-08-25 H.J. Lu <hongjiu.lu@intel.com>
55872
55873 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55874 strlen-sse2 strlen-sse2-bsf.
55875 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55876 __strlen_sse2_bsf if bit_Slow_BSF is unset.
55877 (__strlen_sse2): Removed.
55878 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55879 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55880 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55881 bit_Slow_BSF for Atom.
55882 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55883 (index_Slow_BSF): Define.
55884 (HAS_SLOW_BSF): Define.
55885
df24a73e
UD
558862010-08-25 Ulrich Drepper <drepper@redhat.com>
55887
55888 [BZ #10851]
55889 * resolv/res_init.c (__res_vinit): When no server address at all
55890 is given default to loopback.
55891
f2ac4868
RM
558922010-08-24 Roland McGrath <roland@redhat.com>
55893
09055553
RM
55894 * configure.in: Remove config-name.h generation.
55895 * configure: Regenerated.
55896 * config-name.in: File removed.
55897 * scripts/config-uname.sh: New file.
55898 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55899 ($(objdir)config-name.h): New target.
55900
f2ac4868
RM
55901 * sunrpc/rpc_parse.h: Avoid nested comment.
55902
73f27d5e
RH
559032010-08-24 Richard Henderson <rth@redhat.com>
55904 Ulrich Drepper <drepper@redhat.com>
55905 H.J. Lu <hongjiu.lu@intel.com>
55906
55907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55908 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55909 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55910 Replace _mm_srli_si128 with __m128i_shift_right. Replace
55911 _mm_alignr_epi8 with _mm_loadu_si128.
55912 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55913 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55914 (__m128i_shift_right): Removed.
55915 * sysdeps/i386/i686/multiarch/varshift.h: New file.
55916 * sysdeps/i386/i686/multiarch/varshift.S: New file.
55917 * sysdeps/x86_64/multiarch/varshift.h: New file.
55918 * sysdeps/x86_64/multiarch/varshift.S: New file.
55919
84b9230c
MF
559202010-08-21 Mike Frysinger <vapier@gentoo.org>
55921
55922 * configure.in: Move assembler checks to before sysdep dir checking.
55923
9bbd0ddc
PB
559242010-08-20 Petr Baudis <pasky@suse.cz>
55925
55926 * LICENSES: Sync the sunrpc license.
55927
9da4bb31
UD
559282010-08-19 Ulrich Drepper <drepper@redhat.com>
55929
a7ab6ec8
UD
55930 * sunrpc/auth_des.c: Update copyright notice once again.
55931 * sunrpc/auth_none.c: Likewise.
55932 * sunrpc/auth_unix.c: Likewise.
55933 * sunrpc/authdes_prot.c: Likewise.
55934 * sunrpc/authuxprot.c: Likewise.
55935 * sunrpc/bindrsvprt.c: Likewise.
55936 * sunrpc/clnt_gen.c: Likewise.
55937 * sunrpc/clnt_perr.c: Likewise.
55938 * sunrpc/clnt_raw.c: Likewise.
55939 * sunrpc/clnt_simp.c: Likewise.
55940 * sunrpc/clnt_tcp.c: Likewise.
55941 * sunrpc/clnt_udp.c: Likewise.
55942 * sunrpc/clnt_unix.c: Likewise.
55943 * sunrpc/des_crypt.c: Likewise.
55944 * sunrpc/des_soft.c: Likewise.
55945 * sunrpc/get_myaddr.c: Likewise.
55946 * sunrpc/getrpcport.c: Likewise.
55947 * sunrpc/key_call.c: Likewise.
55948 * sunrpc/key_prot.c: Likewise.
55949 * sunrpc/openchild.c: Likewise.
55950 * sunrpc/pm_getmaps.c: Likewise.
55951 * sunrpc/pm_getport.c: Likewise.
55952 * sunrpc/pmap_clnt.c: Likewise.
55953 * sunrpc/pmap_prot.c: Likewise.
55954 * sunrpc/pmap_prot2.c: Likewise.
55955 * sunrpc/pmap_rmt.c: Likewise.
55956 * sunrpc/rpc/auth.h: Likewise.
55957 * sunrpc/rpc/auth_unix.h: Likewise.
55958 * sunrpc/rpc/clnt.h: Likewise.
55959 * sunrpc/rpc/des_crypt.h: Likewise.
55960 * sunrpc/rpc/key_prot.h: Likewise.
55961 * sunrpc/rpc/netdb.h: Likewise.
55962 * sunrpc/rpc/pmap_clnt.h: Likewise.
55963 * sunrpc/rpc/pmap_prot.h: Likewise.
55964 * sunrpc/rpc/pmap_rmt.h: Likewise.
55965 * sunrpc/rpc/rpc.h: Likewise.
55966 * sunrpc/rpc/rpc_des.h: Likewise.
55967 * sunrpc/rpc/rpc_msg.h: Likewise.
55968 * sunrpc/rpc/svc.h: Likewise.
55969 * sunrpc/rpc/svc_auth.h: Likewise.
55970 * sunrpc/rpc/types.h: Likewise.
55971 * sunrpc/rpc/xdr.h: Likewise.
55972 * sunrpc/rpc_clntout.c: Likewise.
55973 * sunrpc/rpc_cmsg.c: Likewise.
55974 * sunrpc/rpc_common.c: Likewise.
55975 * sunrpc/rpc_cout.c: Likewise.
55976 * sunrpc/rpc_dtable.c: Likewise.
55977 * sunrpc/rpc_hout.c: Likewise.
55978 * sunrpc/rpc_main.c: Likewise.
55979 * sunrpc/rpc_parse.c: Likewise.
55980 * sunrpc/rpc_parse.h: Likewise.
55981 * sunrpc/rpc_prot.c: Likewise.
55982 * sunrpc/rpc_sample.c: Likewise.
55983 * sunrpc/rpc_scan.c: Likewise.
55984 * sunrpc/rpc_scan.h: Likewise.
55985 * sunrpc/rpc_svcout.c: Likewise.
55986 * sunrpc/rpc_tblout.c: Likewise.
55987 * sunrpc/rpc_util.c: Likewise.
55988 * sunrpc/rpc_util.h: Likewise.
55989 * sunrpc/rpcinfo.c: Likewise.
55990 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55991 * sunrpc/rpcsvc/key_prot.x: Likewise.
55992 * sunrpc/rpcsvc/klm_prot.x: Likewise.
55993 * sunrpc/rpcsvc/mount.x: Likewise.
55994 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55995 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55996 * sunrpc/rpcsvc/rex.x: Likewise.
55997 * sunrpc/rpcsvc/rstat.x: Likewise.
55998 * sunrpc/rpcsvc/rusers.x: Likewise.
55999 * sunrpc/rpcsvc/sm_inter.x: Likewise.
56000 * sunrpc/rpcsvc/spray.x: Likewise.
56001 * sunrpc/rpcsvc/yppasswd.x: Likewise.
56002 * sunrpc/rtime.c: Likewise.
56003 * sunrpc/svc.c: Likewise.
56004 * sunrpc/svc_auth.c: Likewise.
56005 * sunrpc/svc_authux.c: Likewise.
56006 * sunrpc/svc_raw.c: Likewise.
56007 * sunrpc/svc_run.c: Likewise.
56008 * sunrpc/svc_simple.c: Likewise.
56009 * sunrpc/svc_tcp.c: Likewise.
56010 * sunrpc/svc_udp.c: Likewise.
56011 * sunrpc/svc_unix.c: Likewise.
56012 * sunrpc/svcauth_des.c: Likewise.
56013 * sunrpc/xcrypt.c: Likewise.
56014 * sunrpc/xdr.c: Likewise.
56015 * sunrpc/xdr_array.c: Likewise.
56016 * sunrpc/xdr_float.c: Likewise.
56017 * sunrpc/xdr_mem.c: Likewise.
56018 * sunrpc/xdr_rec.c: Likewise.
56019 * sunrpc/xdr_ref.c: Likewise.
56020 * sunrpc/xdr_sizeof.c: Likewise.
56021 * sunrpc/xdr_stdio.c: Likewise.
56022
9da4bb31
UD
56023 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56024 handling.
56025
bdaa77bc
AS
560262010-08-19 Andreas Schwab <schwab@redhat.com>
56027
56028 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56029
fe2f79db
LM
560302010-08-19 Luis Machado <luisgpm@br.ibm.com>
56031
56032 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56033 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56034 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56035 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56036 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56037 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56038 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56039 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56040 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56041 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56042 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56043 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56044 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56045 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56046
b9b42ee0
AB
560472010-07-26 Anton Blanchard <anton@samba.org>
56048
56049 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56050 * malloc/arena.c (heap_trim): Likewise.
56051
1c06ba31
UD
560522010-08-16 Ulrich Drepper <drepper@redhat.com>
56053
56054 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56055 here. Not...
56056 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56057 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56058
f8392f40
L
560592010-08-12 H.J. Lu <hongjiu.lu@intel.com>
56060
56061 * sysdeps/i386/elf/Makefile: New file.
56062
3162f12e
AS
560632010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56064
56065 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56066 from fanotify_init.
56067 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56068 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56069
28c90b2c
UD
560702010-08-15 Ulrich Drepper <drepper@redhat.com>
56071
56072 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56073 of strncasecmp_l.
1feccb6c 56074 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 56075
ca6bb004
UD
560762010-08-14 Ulrich Drepper <drepper@redhat.com>
56077
e9f82e0d
UD
56078 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56079 strncase_l-nonascii.
56080 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56081 Add strncase_l-ssse3.
56082 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56083 * sysdeps/x86_64/strcmp.S: Likewise.
56084 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56085 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56086 * sysdeps/x86_64/strncase.S: New file.
56087 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56088 * sysdeps/x86_64/strncase_l.S: New file.
56089 * string/Makefile (strop-tests): Add strncasecmp.
56090 * string/test-strncasecmp.c: New file.
56091
56092 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56093 warning.
56094
ca6bb004
UD
56095 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56096 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56097
052fa7b3
AS
560982010-08-14 Andreas Schwab <schwab@linux-m68k.org>
56099
56100 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56101
962dba78
UD
561022010-08-12 Ulrich Drepper <drepper@redhat.com>
56103
56104 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56105 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56106 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56107
bebff237
AM
561082010-05-01 Alan Modra <amodra@gmail.com>
56109
56110 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56111 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56112 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56113 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56114 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56115 tidying. Don't tail-call __sigjmp_save for static lib.
56116 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56117 save location.
56118 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56119 (CALL_MCOUNT): Add eh info, and nop after bl.
56120 (TAIL_CALL_SYSCALL_ERROR): New macro.
56121 (PSEUDO_RET): Use it.
56122 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56123 Correct save location of integer regs and cr.
56124 (_dl_profile_resolve): Correct cr save location. Delete nops
56125 after bl when SHARED. Reduce cfi size a little by better
56126 placement of cfi directives.
56127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56128 make a stack frame. Instead use parm save area as a temp.
56129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56130 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
56131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56132 Don't make a stack frame for parent, use parm save area.
56133 Increase child stack frame to 112 bytes. Don't save unused reg,
56134 and adjust reg usage. Set up cfi on error recovery and
56135 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56137 (__makecontext): Add dummy nop after jump to exit.
56138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56139 Use correct parm save area and cr save, reduce stack frame.
56140 Correct cfi for possible PSEUDO_RET frame setup.
56141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56142 Branch to local label emitted by PSEUDO_RET rather than
56143 __syscall_error.
56144
02637374
AS
561452010-08-12 Andreas Schwab <schwab@redhat.com>
56146
56147 [BZ #11904]
56148 * locale/programs/locale.c (print_assignment): New function.
56149 (show_locale_vars): Use it.
56150
c3e2f19b
UD
561512010-08-11 Ulrich Drepper <drepper@redhat.com>
56152
3cdaa6ad
UD
56153 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56154 field.
56155 (struct statfs64): Likewise.
56156 (_STATFS_F_FLAGS): Define.
56157 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56158 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56159 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56160 (ST_VALID): Define locally.
56161 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56162 __statvfs_getflags, use the provided value.
56163 * sysdeps/unix/sysv/linux/kernel-features.h: Define
56164 __ASSUME_STATFS_F_FLAGS.
56165
754f7da3
UD
56166 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56167
10b3bedc
UD
56168 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56169 Add sys/fanotify.h.
56170 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56171 fanotify_mask for GLIBC_2.13.
56172 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56173 fanotify_init and fanotify_mark.
56174 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56175 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56176
c08fb0d7
UD
56177 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56178 Add prlimit.
56179 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56180 prlimit64 for GLIBC_2.13.
56181 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56182 prlimit64.
56183 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56184 syscall.
56185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56186 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56187 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56188 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56189 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
56190 add prlimit alias.
56191 * sysdeps/unix/sysv/linux/prlimit.c: New file.
56192
15bac72b
UD
56193 [BZ #11903]
56194 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56195 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56196
c3e2f19b
UD
56197 * nss/Makefile: Add rules to build and run tst-nss-test1.
56198 * shlib-versions: Add entry for libnss_test1.
56199 * nss/nss_test1.c: New file.
56200 * nss/tst-nss-test1.c: New file.
56201
56202 * nss/nsswitch.c (__nss_database_custom): Define new variable.
56203 (__nss_configure_lookup): Set appropriate entry in
56204 __nss_configure_lookup to true.
56205 * nss/nsswitch.h: Define enum with indeces of databases in
56206 databases and __nss_database_custom arrays. Declare
56207 __nss_database_custom.
56208 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56209 to avoid using nscd when custom rules are installed.
56210 * nss/getXXbyYY_r.c: Likewise.
56211 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56212
56213 * nss/nss_files/files-parse.c: Whitespace fixes.
56214
f15ce4d8
UD
562152010-08-09 Ulrich Drepper <drepper@redhat.com>
56216
56217 [BZ #11883]
56218 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56219 * posix/fnmatch_loop.c: Likewise.
56220
d22e4cc9
AK
562212010-07-17 Andi Kleen <ak@linux.intel.com>
56222
56223 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56224 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56225 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56226 * Versions.def [GLIBC_2.13]: Add.
56227
805bc17d
UD
562282010-08-06 Ulrich Drepper <drepper@redhat.com>
56229
56230 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56231 Also fail if tpwd after pwuid call is NULL.
56232
5a42321d
ST
562332010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
56234
56235 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56236 when converting to ms.
56237
fd3ebeda
ST
562382010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
56239
56240 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56241 EOPNOTSUPP errors with ENOTTY.
56242 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56243 EOPNOTSUPP errors with ENOTTY.
56244
73507d3a
UD
562452010-07-31 Ulrich Drepper <drepper@redhat.com>
56246
56247 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56248 Add strcasecmp_l-ssse3.
56249 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56250 strcasecmp.
56251 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56252 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56253 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56254
fe36dd02
UD
562552010-07-30 Ulrich Drepper <drepper@redhat.com>
56256
66f6765a
UD
56257 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56258
42e08a54
UD
56259 * string/Makefile (strop-tests): Add strcasecmp.
56260 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56261 strcasecmp_l-nonascii.
56262 (gen-as-const-headers): Add locale-defines.sym.
56263 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56264 * sysdeps/x86_64/strcasecmp.S: New file.
56265 * sysdeps/x86_64/strcasecmp_l.S: New file.
56266 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56267 * sysdeps/x86_64/locale-defines.sym: New file.
56268 * string/test-strcasecmp.c: New file.
56269
fe36dd02
UD
56270 * string/test-strcasestr.c: Test both ends of the range of characters.
56271 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56272
48cbc0d6
RM
562732010-07-29 Roland McGrath <roland@redhat.com>
56274
76e6d6bc 56275 [BZ #11856]
48cbc0d6
RM
56276 * manual/locale.texi (Yes-or-No Questions): Fix example code.
56277
880113d9
UD
562782010-07-27 Ulrich Drepper <drepper@redhat.com>
56279
56280 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56281 for ld.so.
56282
deb9cabb
AS
562832010-07-27 Andreas Schwab <schwab@redhat.com>
56284
56285 * manual/memory.texi (Malloc Tunable Parameters): Document
56286 M_PERTURB.
56287
1c7570ff
RM
562882010-07-26 Roland McGrath <roland@redhat.com>
56289
56290 [BZ #11840]
56291 * configure.in (-fgnu89-inline check): Set and substitute
56292 gnu89_inline, not libc_cv_gnu89_inline.
56293 * configure: Regenerated.
56294 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56295
24fb0f88
UD
562962010-07-26 Ulrich Drepper <drepper@redhat.com>
56297
56298 * string/test-strnlen.c: New file.
56299 * string/Makefile (strop-tests): Add strnlen.
56300 * string/tester.c (test_strnlen): Add a few more test cases.
56301 * string/tst-strlen.c: Better error reporting.
56302
56303 * sysdeps/x86_64/strnlen.S: New file.
56304
8e96b93a
UD
563052010-07-24 Ulrich Drepper <drepper@redhat.com>
56306
56307 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56308 lower-latency instructions.
56309
dbc676d4
UD
563102010-07-23 Ulrich Drepper <drepper@redhat.com>
56311
56312 * string/test-strcasestr.c: New file.
56313 * string/test-strstr.c: New file.
56314 * string/Makefile (strop-tests): Add strstr and strcasestr.
56315 * string/str-two-way.h: Don't undefine MAX.
56316 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56317
f6a31e0e
AS
563182010-07-21 Andreas Schwab <schwab@redhat.com>
56319
56320 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56321 strcasestr-nonascii.
56322 (CFLAGS-strcasestr-nonascii.c): Define.
56323 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56325 Remove unused attribute.
56326
5dbc3b6c
RM
563272010-07-20 Roland McGrath <roland@redhat.com>
56328
56329 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56330 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
56331 ld.so.cache was broken. With it, there is no way to disable dsocaps
56332 like LD_HWCAP_MASK can disable hwcaps.
56333
23d101d8
EPM
563342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56335
56336 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56337
cc9f2e47
UD
563382010-07-16 Ulrich Drepper <drepper@redhat.com>
56339
56340 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56341 call in strcasestr.
56342 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56343 __strcasestr_sse42_nonascii.
56344 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56345 strcasestr-nonascii.c.
56346 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56347
77c1b069
LM
563482010-06-15 Luis Machado <luisgpm@br.ibm.com>
56349
56350 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56351 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56352 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56353 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56354
440566c3
UD
563552010-07-09 Ulrich Drepper <drepper@redhat.com>
56356
56357 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56358 fcntl.
56359
5be9d05d
AS
563602010-07-06 Andreas Schwab <schwab@redhat.com>
56361
c30b7ee2 56362 [BZ #11577]
5be9d05d
AS
56363 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56364 dl_signal_cerror.
56365
8a492a67
UD
563662010-07-06 Ulrich Drepper <drepper@redhat.com>
56367
56368 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56369 _PC_PIPE_BUF using F_GETPIPE_SZ.
56370
713df3d5
RM
563712010-07-05 Roland McGrath <roland@redhat.com>
56372
56373 * manual/arith.texi (Rounding Functions): Fix rint description
56374 implicit in round description.
56375
702e8f14
UD
563762010-07-02 Ulrich Drepper <drepper@redhat.com>
56377
56378 * elf/Makefile: Fix linking for a few tests to make recent linker
56379 happy.
56380
52ed8be9
AS
563812010-06-30 Andreas Schwab <schwab@redhat.com>
56382
56383 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56384 $(common-objpfx)libc_nonshared.a.
56385
f47c9a11
LM
563862010-06-21 Luis Machado <luisgpm@br.ibm.com>
56387
56388 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56389 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56390 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56391 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56392 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56393 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56394 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56395 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56408 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56410 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56411 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56412 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56413 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56414 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56415 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56416 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56417 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56418 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56419 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56420 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56421 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56436
6fb8cbcb
L
564372010-06-25 H.J. Lu <hongjiu.lu@intel.com>
56438
56439 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56440 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
56441 * string/memmove.c (memmove): Renamed to ...
56442 (MEMMOVE): ...this. Default to memmove.
56443 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56444 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56445 (END_CHK): Define.
56446 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56447 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56448 mempcpy-ssse3-back memmove-ssse3-back.
56449 * sysdeps/x86_64/multiarch/bcopy.S: New file .
56450 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56451 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56452 * sysdeps/x86_64/multiarch/memcpy.S: New file.
56453 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56454 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56455 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56456 * sysdeps/x86_64/multiarch/memmove.c: New file.
56457 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56458 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56459 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56460 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56461 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56462 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56463 Define.
56464 (index_Fast_Copy_Backward): Define.
56465 (HAS_ARCH_FEATURE): Define.
56466 (HAS_FAST_REP_STRING): Define.
56467 (HAS_FAST_COPY_BACKWARD): Define.
56468
4e733bac 564692010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
56470
56471 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56472 Restore proper fallback handling.
56473
63c4ed22
UD
564742010-06-19 Ulrich Drepper <drepper@redhat.com>
56475
ac2b484c
UD
56476 [BZ #11701]
56477 * posix/group_member.c (__group_member): Correct checking loop.
56478
63c4ed22
UD
56479 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56480 OOM in getpwuid_r correctly. Return error number when the caller
56481 should return, otherwise -1.
56482 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56483 call returning > 0 value.
56484 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56485
765ade4b
AS
564862010-06-07 Andreas Schwab <schwab@redhat.com>
56487
56488 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56489 libc_nonshared.a from targets in modules-names.
56490
80da2e09
KS
564912010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
56492
56493 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56494 requires it.
56495
158db122
LM
564962010-06-10 Luis Machado <luisgpm@br.ibm.com>
56497
56498 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56499 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56500 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56501 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56502
caa78cf8
AS
565032010-06-02 Andreas Schwab <schwab@redhat.com>
56504
56505 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56506
b2ef2c01
UD
565072010-06-14 Ulrich Drepper <drepper@redhat.com>
56508
56509 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56510 and F_GETPIPE_SZ.
56511 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56512 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56513 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56514 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56515 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56516 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56517
fbd643b6
RM
565182010-06-14 Roland McGrath <roland@redhat.com>
56519
56520 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56521
f32f2869
JJ
565222010-06-07 Jakub Jelinek <jakub@redhat.com>
56523
56524 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56525 __REDIRECT followed by __THROW.
56526 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56527 * posix/getopt.h (getopt): Likewise.
56528
2a50c078
EPM
565292010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
56530
56531 * hurd/lookup-at.c (__file_name_lookup_at): Accept
56532 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
56533 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56534 in AT_FLAGS.
56535 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56536 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56537
eb5ad2eb
LM
565382010-05-28 Luis Machado <luisgpm@br.ibm.com>
56539
56540 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56541
3c88fe1e
L
565422010-05-26 H.J. Lu <hongjiu.lu@intel.com>
56543
56544 [BZ #11640]
56545 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56546 Properly check family and model.
56547
d2f73151
TY
565482010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
56549
56550 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56551
ebd2e13d
LM
565522010-05-24 Luis Machado <luisgpm@br.ibm.com>
56553
56554 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56555
b32b8b45
UD
565562010-05-21 Ulrich Drepper <drepper@redhat.com>
56557
56558 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56559 symbol reference.
56560
9acbe24d
AS
565612010-05-19 Andreas Schwab <schwab@redhat.com>
56562
56563 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56564 symbol reference.
56565
f0ccf6ea
AS
565662010-05-21 Andreas Schwab <schwab@redhat.com>
56567
3d04ff3a
AS
56568 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56569 and internal_recvmmsg.
56570 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56571 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56572 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56573 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56574
f0ccf6ea
AS
56575 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56576 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56577 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56578
5b08ac57
AS
565792010-05-20 Andreas Schwab <schwab@redhat.com>
56580
56581 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56582
4828935d
LM
565832010-05-17 Luis Machado <luisgpm@br.ibm.com>
56584
56585 POWER7 optimizations.
56586 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56587 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56588
373d545e
UD
565892010-05-19 Ulrich Drepper <drepper@redhat.com>
56590
56591 * version.h: Update for 2.13 development version.
56592
21a2b1ae
AS
565932010-05-12 Andrew Stubbs <ams@codesourcery.com>
56594
56595 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56596 exceptions. Return 0.
56597
3f7dcb2b
RM
565982010-05-07 Roland McGrath <roland@redhat.com>
56599
56600 * elf/ldconfig.c (main): Add a const.
56601
5f24d53a 566022010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 56603
a160f8d8
UD
56604 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56605 (args_options): Add no-idn option.
56606 (ahosts_keys_int): Add idn_flags to ai_flags.
56607 (parse_option): Handle 'i' option to clear idn_flags.
56608
5f24d53a
UD
56609 * malloc/malloc.c (_int_free): Possible race in the most recently
56610 added check. Only act on the data if no current modification
56611 happened.
265bb1ce
UD
56612
56613See ChangeLog.17 for earlier changes.